I am getting an error below after I post a prepayment on a sales order. Any help would be great.
If requesting support, please provide the following details to help troubleshooting:
Tax Group Code must have a value in Sales Line: Document Type=Order, Document No.=S-ORD101011, Line No.=20000. It cannot be zero or empty.
Page Edit - Sales Order Statistics has to close.
Internal session ID:
8d7b555d-f9f9-4f93-b578-c11fd25d90b8
Application Insights session ID:
6dbfe2ba-1007-459c-b962-6c471522d274
Client activity id:
34642b10-1c5b-41aa-9449-f70a81beaebc
Time stamp on error:
2023-06-02T23:12:21.6628237Z
AL call stack:
"Sales Tax Calculate"(CodeUnit 398).AddSalesLine line 36 - Base Application by Microsoft
"Sales Order Stats."(Page 10038).OnAfterGetRecord(Trigger) line 32 - Base Application by Microsoft
"Sales Header"(Table 36).ShowDocumentStatisticsPage line 8 - Base Application by Microsoft
"Sales Order"(Page 42)."Statistics - OnAction"(Trigger) line 11 - Base Application by Microsoft
****Yes, there is a value in tax group code in my sales line. There is only 1 sales line item.
I have resolved this. The sales invoice did not have a tax group code value.
Thank you for your help!
users normally don't get error viewing the statistics screen. Could you test in sandbox for the same customer, product if issue could be replicated? If yes, please provide steps and experts have more information to analyze.
Try to get a dev to debug if possible which might find the cause quicker.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,993 Most Valuable Professional
nmaenpaa 101,156