Anyone ever put a stop in place to not allow over shipping?
i have a shipping team that is making errors shipping from inventory when they should be shipping from the job. and vice versa or both. double shipping because they think there should be a quantity in the Inv ship field.
i was thinking it could put a stop if the shipping quantity was greater than the demand.
The question would be how you define “overshipping”… but assuming you’re simply shipping a single line-single release –
I would probably use the “specified field of the changed row….” And compare the shipment quantity (“our ship qty” or “our job ship qty”) to the requested qty (in the expression). If you need to check it back against the original order/line/release there may be some additional things you need to setup and it may get a bit more complicated.
I would still add the checks for the ShipQty incase there have been partial shipments.
Your Expression will be something like: if you don’t do partials your code looks good to me.
(ttShipDtlRow.SellingReqQty -(ttShipDtlRow.OurJobShipQty + ttShipDtlRow.OurInventoryShipQty)
we rarely do partial shipments. i mainly wanted to prevent them from shipping from the job quantity with mass shipment ship all. then they see that the Inv quantity is 0 they were adding 1 to this field thinking it was always supposed to ship from inventory too.