Hi Community,
Is there an OOB Inventory module, where user can maintain available stocks, then each time user will create new Order, ordered quantity will be deducted on the available stocks.
Thank you
Like
Hi Fulgen,
Please check out the link with such implementation example:
https://academy.creatio.com/docs/user/sales_tools/short_sales_orders_an…
Also you may create a folder, where you can store all available orders etc.
Alternatively, you can create some boolean variable, where the values will be available/not available and show this field on the order page.
Another way, you can create int variable with amount like "Available stock". You may show it on the Order page and set default value on the object to this variable (etc. 100 - the available amount). Then set up business process where in Script Task will substract from the formula quantity from this field - if the order was added and so on.
Here some links of how to work with script task and formulas:
https://academy.creatio.com/docs/user/no-code_customization/ui_and_busi…
https://academy.creatio.com/docs/developer/front-end_development/creati…
https://academy.creatio.com/docs/user/bpm_tools/process_elements_refere…
Hope it helps!
Best Regards,
Bogdan L.