Inventory validation with Order Capture App Sample

Hello, I am using the Order Capture App Sample, and I have been able to edit it so far. What I am trying to do is to validate the Inventory available with the request value. This means when I click on Save the order, I want to get a message like โ€œThe order you want to place cannot be saved because is not available in our inventoryโ€, something like that. Since the App sample have the columns Total Available Total Request and Total Inventory, I think this is something I can do, but I dont know how. I am not sure if this is an Action or Behavior, or what exactly is. Thanks for your help.

1 6 592
6 REPLIES 6
Top Labels in this Space