There is an entry that is causing the VAT settlement calc and post to fail.
Sales VAT Account is missing in VAT Posting Setup VAT Bus. Posting Group: EXPORT, VAT Prod. Posting Group: ''.
Internal session ID:
5ac2538d-ee31-4818-80b0-0b1d5e6865ff
Application Insights session ID:
af50af6e-7335-4e6b-b766-e1d829c6310d
Client activity id:
1d7f8c96-276c-47e7-9426-185abd517c57
Time stamp on error:
2023-03-15T16:42:41.2195148Z
AL call stack:
"Error Message Management"(CodeUnit 28).LogErrorMessage line 4 - Base Application by Microsoft
"Error Message Management"(CodeUnit 28).LogContextFieldError line 2 - Base Application by Microsoft
PostingSetupManagement(CodeUnit 48).LogContextFieldError line 6 - Base Application by Microsoft
PostingSetupManagement(CodeUnit 48).LogVATPostingSetupFieldError line 6 - Base Application by Microsoft
"VAT Posting Setup"(Table 325).GetSalesAccount line 16 - Base Application by Microsoft
"Calc. and Post VAT Settlement"(Report 20)."Close VAT Entries - OnAfterGetRecord"(Trigger) line 45 - Base Application by Microsoft
How do we correct so we can close VAT period