Hi dears,
I know during creation of SO, when you enter an item quantity in Sales order line you get notification if that quantity is more than available quantity in the store, you can proceed but during posting you get stucked.
Now I was finding the way to block/stop the process when the quantity entered is bigger than available quantity, just when typing in quantity block process for that item
Thank you
Thank you,
Correct
You can try with the below code but it will show error like below.
Hi,
You need to customize the solution like when you enter the Item on Sales Line, call a OnAfterValidate trigger of that Item and check if you have enough quantity available and then allow otherwise block with error.
Thanks
Nitin
Hi, as far as I know this needs to be customized and by default it won't block when you type the quantity.
Hope this helps.
Thanks.
ZHU
So you don't have any more questions for your case?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156