web
You’re offline. This is a read only version of the page.
close
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...
Answered

Prevent error Lot No. XYZ has already been reserved for another document

(2) ShareShare
ReportReport
Posted on by 450
We are using Sales Orders and Inventory Picks. We assign lots to Sales Orders, we do not reserve them. They are "surplus" reservation entries. 
If we have 10 lb total of lot XYZ and two different sales orders for lot XYZ, 5 lbs assigned to each, we will get this error below if we try to post the inventory pick for 6 lb for one of the Sales Orders. 
When we were on Nav, we did not get this error. It would allow the pick to post for 6 lbs.
Is there a setting to allow this behavior in BC?

Error message: 
Lot No. XYZ is not available on inventory or it has already been reserved for another document.

AL call stack: 
"Whse.-Activity-Post"(CodeUnit 7324).AvailabilityError line 5 - Base Application by Microsoft
"Whse.-Activity-Post"(CodeUnit 7324).CheckAvailability line 16 - Base Application by Microsoft
"Whse.-Activity-Post"(CodeUnit 7324).Code line 57 - Base Application by Microsoft
"Whse.-Activity-Post"(CodeUnit 7324).OnRun(Trigger) line 3 - Base Application by Microsoft
"Whse.-Act.-Post (Yes/No)"(CodeUnit 7323).SetParamsAndRunWhseActivityPost line 14 - Base Application by Microsoft
"Whse.-Act.-Post (Yes/No)"(CodeUnit 7323).Code line 26 - Base Application by Microsoft
"Whse.-Act.-Post (Yes/No)"(CodeUnit 7323).OnRun(Trigger) line 3 - Base Application by Microsoft
"Invt. Pick Subform"(Page 7378).PostPickYesNo line 6 - Base Application by Microsoft
"Inventory Pick"(Page 7377).PostPickYesNo line 3 - Base Application by Microsoft
"Inventory Pick"(Page 7377)."P&ost - OnAction"(Trigger) line 2 - Base Application by Microsoft
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at
    From the error message, it is a Lot problem. 
    Error message: 
    Lot No. XYZ is not available on inventory or it has already been reserved for another document.
     
    Does this problem occur if you recreate a completely new lot?
     
    Thanks.
    ZHU
  • Brett F Profile Picture
    450 on at
    It isn't an issue with the lot. The message is correctly telling us that it is reserved for a different document. But we want to allow this transaction even so.
    I am guessing we had a customization in Nav that allowed this, that we do not have in BC.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,347 Super User 2025 Season 2 on at
  • Verified answer
    Valentin Castravet Profile Picture
    31,340 Super User 2025 Season 2 on at
    Is there a setting to allow this behavior in BC?
    There is no setting for this; it's standard system behavior. Whenever a lot or serial number is added to a document or journal line, the system prevents it from being posted on another document or journal line. As you mentioned, you must have had some sort of customization that allowed this
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans