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 :
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 593

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?

I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,947 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,120 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 628 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans