The customer does not want shipments before the promise date or they may not accept the delivery. We hope that the CSU person can have warning message pop up from within shipment entry that would remind them that, for this shiptonum id, no early shipments allowed.
I would like to make a permanent note on the following OrderHed.ShipToNum MA80 or OrderHed.ShipToNum VAR14
"Varian early acceptance date is 4 days only. Adjust
dates accordingly when shipping"
I did try to create a BPM Pre-Processing. Method Code: CustShip.Update
Condition: number of rows in the “CheckDate” query is not less than 1
for each ttShipHead no-lock
where (ttShipHead.ShipToNum = ‘VAR14’ Or ttShipHead.ShipToNum = ‘MA80’ )
And ttShipHead.ShipDate < (OrderHed.RequestDate - 4) ,
each OrderHed no-lock
where (ttShipHead.Company = OrderHed.Company
And ttShipHead.OrderNum = OrderHed.OrderNum )
Action: show informational message based on the For this customer id, no early shipments allowed. template
Somehow, it does not work. Please help to give some advice.
Thanks,
Quy Dang
Well if this is C#, your query needs to be ttShipHead.ShipToNum == 'VAR14' Or ttShipHead.ShipToNum == 'MA80'
needs the double equals.