Из того же класса неполиткорректное:
"а полякам запиши дату дважды, чтобы уж точно дошло"
X++:
if (_cursor.TableId == tableNum(ProjInvoiceCost))
{
tmpPSAProjInvoice.TransDate = projInvoiceCost.TransDate;
// <GEEHU><GEEPL>
if (SysCountryRegionCode::isLegalEntityInCountryRegion([#isoHU, #isoPL]))
{
tmpPSAProjInvoice.LineTaxAmount = projInvoiceCost.TaxAmount;
}
// </GEEPL></GEEHU>
if (SysCountryRegionCode::isLegalEntityInCountryRegion([#isoHU, #isoLT]))
{
// There may be tax amounts that should be excluded from the invoice. Remove the excluded amounts from the line's tax amount.
tmpPSAProjInvoice.LineTaxAmount -= PSAProjInvoiceRPTHelperEE::getExcludedTaxAmount(projInvoiceJour.LedgerVoucher, _cursor);
}
// <GEEPL>
if (SysCountryRegionCode::isLegalEntityInCountryRegion([#isoPL]))
{
tmpPSAProjInvoice.TransDate = projInvoiceCost.TransDate;
}
// </GEEPL>
}