Good day everyone
I have a Invoice Header, Invoice Detail and LocationProduct BO. The location product compute the total quantity balance for each item and each location. In the Invoice Detail, there is LocationProduct Reference to the Location Product BO.
In the Location Product Rule:
LocationProduct.Quantity=SUM SalesInvoiceDetail.QuantityFlag WHERE (SalesInvoiceDetail IN LocationProduct.SalesInvoiceDetail)
When I add a new item, it auto add up and show correct quantity and when I delete the item, it also recompute the balance quantity.
But when I delete the whole Invoice Header, the location product did not compute the balance quantity at all.
I have tried to put difference rule still cannot update.. please help...