Hallo, I think there' s problem in Report 20 of IT Localization:
The posting function for some reason don't compile "Vat Period" field in Vat Entry.
As temporary solution we have change the code as above:
//>> -BUG
// Close current VAT entries
//IF PostSettlement THEN BEGIN
// VATEntry.MODIFYALL("Closed by Entry No.",NextVATEntryNo);
// VATEntry.MODIFYALL(Closed,TRUE);
// VATEntry.MODIFYALL("VAT Period",VATPeriod);
//END;
//<< - BUG
//>> - OLD CORRECT CODE
// Close current VAT entries
IF PostSettlement THEN
IF VATEntry.FIND('-') THEN
REPEAT
VATEntry2 := VATEntry;
VATEntry2."Closed by Entry No." := NextVATEntryNo;
VATEntry2.Closed := TRUE;
VATEntry2."VAT Period" := VATPeriod;
VATEntry2.MODIFY;
UNTIL VATEntry.NEXT = 0;
//<<OLD CORRECT CODE - BUG
Is there someone with the same problem?
Thanks
MArco
*This post is locked for comments