...
IF (IntrastatJnlLine."Supplementary Units") AND (IntrastatJnlLine."Tariff No." <> '') THEN
AddAttribute(ItemNode,'MasaNetto',FORMAT(IntrastatJnlLine."Total Weight",0,1));
//RW5
IF IntrastatJnlLine."Supplementary Units" THEN
// Delete the following line.
AddAttribute(ItemNode,'IloscUzupelniajaca',FORMAT(IntrastatJnlLine."Supplementary Units",0,1));
IF IntrastatJnlLine."Tariff No." <> '' THEN BEGIN
AddAttribute(ItemNode,'WartoscFaktury',FORMAT(IntrastatJnlLine.Amount,0,1));
IF SpecificPoint THEN
...
...
IF (IntrastatJnlLine."Supplementary Units") AND (IntrastatJnlLine."Tariff No." <> '') THEN
AddAttribute(ItemNode,'MasaNetto',FORMAT(IntrastatJnlLine."Total Weight",0,1));
//RW5
IF IntrastatJnlLine."Supplementary Units" THEN
// Add the following line.
AddAttribute(ItemNode,'IloscUzupelniajacaJm',FORMAT(IntrastatJnlLine."Supplem. UoM Quantity"));
IF IntrastatJnlLine."Tariff No." <> '' THEN BEGIN
AddAttribute(ItemNode,'WartoscFaktury',FORMAT(IntrastatJnlLine.Amount,0,1));
IF SpecificPoint THEN
...
...
//RW60 RW61
// Delete the following line.
IF (IntrastatJnlLine."Supplementary Units") AND (IntrastatJnlLine."Tariff No." <> '') THEN
AddAttribute(ItemNode,'MasaNetto',FORMAT(IntrastatJnlLine."Total Weight",0,1));
...
...
//RW60 RW61
// Add the following lines.
TarriffNo.GET(IntrastatJnlLine."Tariff No.");
IF NOT TarriffNo."No weight" THEN
//End of the lines.
AddAttribute(ItemNode,'MasaNetto',FORMAT(IntrastatJnlLine."Total Weight",0,1));
...