Comparing contents of line items
The requirement to change the automatically assigned Mail route in Sales order user exit.
If order type is ZCO1 or ZCO4 and delivery plant is 3PL2, select all line items and check for ROUTE = '000015'
If any one line item contains route as 000015 then need to proceed further steps otherwise exit.
If there is 1 more route other than 000015 then need to change the route 000015 to the other route.
If there are 2 or more routes other than 000015 then don't change any thing and exit.
Edited by: Julius Bussche on Sep 8, 2008 1:30 PM