Странное
В коде класса провайдера PsaProjInvoiceDP вроде бы единственное место с упоминанием расчета LineTaxAmount из projInvoiceEmpl выглядит вот так
Интересно действительно ли литовские фанаты проектов на выходе отчета хотят видеть такой результат
X++:
// <GEEHU><GEEPL>
if (SysCountryRegionCode::isLegalEntityInCountryRegion([#isoHU, #isoPL]))
{
tmpPSAProjInvoice.LineTaxAmount = projInvoiceEmpl.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);
}