...
OperationCode + FormatDate(VATEntryRec."Document Date") + OperationDateText+ FormatPerText(VATBuffer2."VAT %") +
FormatTextAmt(VATBuffer2.Base,FALSE) + FormatTextAmt(VATBuffer2.Amount,FALSE) +
FormatTextAmt(VATBuffer2.Base+VATBuffer2.Amount,FALSE) +
CostGrpText + PADSTR(VendorDocumentNo,40,' ') + PADSTR(VATEntryRec."Document No.",18,' ')+'00000001'+NoofRegistersText+
PADSTR('',80,' ') + PADSTR(CorreInvoiceText,40,' ') +
// Delete the following line.
FormatPerText(VATBuffer2."EC %") + FormatTextAmt(VATBuffer2."EC Amount",FALSE) + PADSTR('',116,' ')
END ELSE
Txt1 :=
'2' + '340' +FiscalYear + CompanyVATRegNo + PADSTR(VendVATNumber,9,' ') +
PADSTR('',9,' ') + PADSTR(FormatTextName(Vendor.Name),40,' ')
+ PADSTR(CountryCode,2,' ') + ResidentIDText + VATNoPermanentResidentCountry+BookTypeCode +
...
...
OperationCode + FormatDate(VATEntryRec."Document Date") + OperationDateText+ FormatPerText(VATBuffer2."VAT %") +
FormatTextAmt(VATBuffer2.Base,FALSE) + FormatTextAmt(VATBuffer2.Amount,FALSE) +
FormatTextAmt(VATBuffer2.Base+VATBuffer2.Amount,FALSE) +
CostGrpText + PADSTR(VendorDocumentNo,40,' ') + PADSTR(VATEntryRec."Document No.",18,' ')+'00000001'+NoofRegistersText+
PADSTR('',80,' ') + PADSTR(CorreInvoiceText,40,' ') +
// Add the following line.
FormatPerText(VATBuffer2."EC %") + FormatTextAmt(VATBuffer2.Amount,FALSE) + PADSTR('',116,' ')
END ELSE
Txt1 :=
'2' + '340' +FiscalYear + CompanyVATRegNo + PADSTR(VendVATNumber,9,' ') +
PADSTR('',9,' ') + PADSTR(FormatTextName(Vendor.Name),40,' ')
+ PADSTR(CountryCode,2,' ') + ResidentIDText + VATNoPermanentResidentCountry+BookTypeCode +
...