web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Error when batch shipping Sales Order

Posted on by 120

We have a Sales Order and associated paid Pre-Payment invoice, where we are shipping in batches. When we get to the final batch, we re-open the Sales Order, change the shipping date, then attempt to release. However, we can’t get past the following error:

Prepmt. Line Amount Excl. GST cannot be more than 57,272.72 in Sales Line Document Type='Order',Document No.='SO000189',Line No.='20000'.

AL call stack:

"Sales Line"(Table 37).CheckPrepmtAmounts line 22 - Base Application by Microsoft

"Sales Line"(Table 37).UpdatePrepmtAmounts line 22 - Base Application by Microsoft

"Sales Line"(Table 37).UpdateVATOnLines line 147 - Base Application by Microsoft

"Release Sales Document"(CodeUnit 414).CalcAndUpdateVATOnLines line 9 - Base Application by Microsoft

"Release Sales Document"(CodeUnit 414).Code line 94 - Base Application by Microsoft

"Release Sales Document"(CodeUnit 414).OnRun(Trigger) line 3 - Base Application by Microsoft

"Release Sales Document"(CodeUnit 414).PerformManualCheckAndRelease line 28 - Base Application by Microsoft

"Release Sales Document"(CodeUnit 414).PerformManualRelease line 12 - Base Application by Microsoft

"Sales Order"(Page 42)."Release - OnAction"(Trigger) line 4 - Base Application by Microsoft

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans