Skip to main content
Business Central forum
Unanswered

Error when batch shipping Sales Order

editSubscribe (0) ShareShare
ReportReport
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

Categories:

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,066 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,585 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans