Applying modifier charges automatically to sales order line when shipped from specific subinventory
We have a business need wherein the modifier charges needs to be applied automatically if it is shipped from specific subinventory.
Ex: Order 123 has line 1.1 & 2.1 with ship from org XYZ. This org has multiple subinventories A,B,C where the FG is maintained. We need to apply the modifier charge automatically if line is shipped from subinventory A.
If line 1.1 is shipped from subinventory A, then charge needs to be applied automatically and if line 2.1 ships form subinventory B then charge should not be applied.
Also please note that we cannot enter the subinventory on the sales order line at the time of order entry as same item can have stock in multiple subinventories.