cancel allocation products in sale
This commit is contained in:
@@ -111,8 +111,8 @@ public class SaleOrderLineController {
|
||||
if (saleOrderLine.getProduct() != null && saleOrder.getStockLocation() != null) {
|
||||
BigDecimal availableStock =
|
||||
saleOrderLineServiceSupplyChainImpl.getAvailableStock(saleOrder, saleOrderLine);
|
||||
BigDecimal allocatedStock =
|
||||
saleOrderLineServiceSupplyChainImpl.getAllocatedStock(saleOrder, saleOrderLine);
|
||||
BigDecimal allocatedStock = BigDecimal.ZERO;
|
||||
// saleOrderLineServiceSupplyChainImpl.getAllocatedStock(saleOrder, saleOrderLine);
|
||||
|
||||
response.setValue("$availableStock", availableStock);
|
||||
response.setValue("$allocatedStock", allocatedStock);
|
||||
|
||||
Reference in New Issue
Block a user