...
VATStatementLine.SETFILTER("Attribute Code",'<>%1','');
IF VATStatementLine.FINDSET THEN
REPEAT
VATStatement.InitializeRequest(
VATStatementName,VATStatementLine,Selection,
PeriodSelection,PrintInIntegers,UseAmtsInAddCurr);
...
...
VATStatementLine.SETFILTER("Attribute Code",'<>%1','');
IF VATStatementLine.FINDSET THEN
REPEAT
// Add the following line.
VATStatement.SetRoundingDirection(RoundingDirection);
VATStatement.InitializeRequest(
VATStatementName,VATStatementLine,Selection,
PeriodSelection,PrintInIntegers,UseAmtsInAddCurr);
...
...
AttributeCode.GET(VATStatementLine."Attribute Code");
// Delete the following lines.
IF (AttributeCode."XML Code" <> 'KOEF_P20_NOV') AND
(AttributeCode."XML Code" <> 'KOEF_P20_VYPOR')
THEN
ColumnValue := ROUND(ColumnValue,1);
// End of the lines.
...
...
AttributeCode.GET(VATStatementLine."Attribute Code");
// Add the following lines.
IF PrintInIntegers AND (AttributeCode."XML Code" <> 'KOEF_P20_NOV') AND
(AttributeCode."XML Code" <> 'KOEF_P20_VYPOR')
THEN
ColumnValue := VATStatement.RoundAmount(ColumnValue);
// End of the lines.
...