on ‎2018 Aug 30 2:02 PM
Hello Experts,
My requirement is after placing the order/cancel theorder i have to update the stock level in my local machine . Is there any OOTB?.Please suggest me.Please provide steps.Its helpfull.
Thank you.
Request clarification before answering.
Hey ,
To update the stock level you need to use the StockService. I suggest you get familiar with it here: https://help.hybris.com/6.0.0/hcd/8c63e4ad8669101480079df9ecbfcc6f.html
There are plenty of examples on that site. Also an example on updating Stock Level:
//ProductModel product = ...
//WarehouseModel warehouse = ...
//int amount = ...
//String comment = ...
stockService.updateActualStockLevel(product, warehouse, amount, comment);
Hope that helps,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.