Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,329 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans