Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Unanswered

Reserved item (item Number) is not on inventory while posting the sales order as shipped

(0) ShareShare
ReportReport
Posted on by 558

Hi,

I have a procedure to call the codeunit for posting the sales order as shipped.

I have exposed it as an API and called it through Power Automate

but i got the below error.

pastedimage1681188991958v3.png

Reserved item 1005 is not on inventory
I have tried it manually also but still the same error
pastedimage1681188674568v1.png
when viewing the error call stack, it is showing
pastedimage1681188823991v2.png

"Item Jnl.-Post Line"(CodeUnit 22).ApplyItemLedgEntry line 77 - Base Application by Microsoft "Item Jnl.-Post Line"(CodeUnit 22).ItemQtyPosting line 31 - Base Application by Microsoft "Item Jnl.-Post Line"(CodeUnit 22).PostItem line 62 - Base Application by Microsoft "Item Jnl.-Post Line"(CodeUnit 22).Code line 134 - Base Application by Microsoft "Item Jnl.-Post Line"(CodeUnit 22).PostSplitJnlLine line 12 - Base Application by Microsoft "Item Jnl.-Post Line"(CodeUnit 22).RunWithCheck line 16 - Base Application by Microsoft "Sales-Post"(CodeUnit 80).RunItemJnlPostLine line 2 - Base Application by Microsoft "Sales-Post"(CodeUnit 80).PostItemJnlLine line 31 - Base Application by Microsoft "Sales-Post"(CodeUnit 80).PostItemLine line 56 - Base Application by Microsoft "Sales-Post"(CodeUnit 80).PostSalesLine line 79 - Base Application by Microsoft "Sales-Post"(CodeUnit 80).OnRun(Trigger) line 123 - Base Application by Microsoft "Sales-Post (Yes/No)"(CodeUnit 81).RunSalesPost line 12 - Base Application by Microsoft "Sales-Post (Yes/No)"(CodeUnit 81).Code line 25 - Base Application by Microsoft "Sales-Post (Yes/No)"(CodeUnit 81).OnRun(Trigger) line 10 - Base Application by Microsoft "Sales Header"(Table 36).SendToPosting line 12 - Base Application by Microsoft "Sales Order"(Page 42).PostSalesOrder line 10 - Base Application by Microsoft "Sales Order"(Page 42)."Post - OnAction"(Trigger) line 2 - Base Application by Microsoft

Any answer or suggestions to overcome this issue?

Under review

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

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,622 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans