Hi guys,
I have a scenario where we would like to block sale at the POS level if the the on hand available quantity is not sufficient for the given transaction.
What I am sure of is that there is no out of the box functionality yet by Microsoft, so a customization would be necessary. However, I have not done POS customizations before.
Assistance on how to navigate and target the appropriate triggers in the commerce SDK would be highly appreciated.
Thanks.
Why would you block a POS sale because of system inventory data. Surely if the customer/store has the physical stock, you want to sell it and complete a transaction?
You can build customization by calling CSU inventory APIs to check on-hand prior to the order checkout flow. See Calculate inventory availability for retail channels - Commerce | Dynamics 365 | Microsoft Learn for more API details.
Hi Jeevan,
Thanks for your response. However, the setups you suggested under retail and commerce are not in our environment.
Thanks
Have to tried to set up an inventory check at the point of sale. This can be done by creating a validation rule that checks the on-hand quantity of a item at the time of sale and compares it to the quantity being sold. If the on-hand quantity is less than the quantity being sold, the sale can be blocked and a notification can be displayed to the user. Additionally, you can also set stock level alerts on certain items, so that when the stock goes below a certain level, the system will automatically block the sale of that item. You can also set up an inventory check in the product master record to automatically block the item when the on-hand quantity goes below a certain level. This will prevent the item from being sold in all channels (POS, eCommerce, etc.).
To setup inventory check at the point of sale in D365 retail:
You will also need to activate this validation rule on the POS terminal, by going to Retail and Commerce > Channel setup > POS terminals > All POS terminals. Then select your terminal and activate the validation rule.
To set stock level alerts on certain items:
Now, when the stock goes below the level set in the "Reorder point" or "Safety stock level" fields, the system will automatically block the sale of that item.
Hope this helps.
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,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156