Question:
Hi,
1) The customer has sent 10 sales orders. So the system is config in such a way that the orders go to database directly assuming that they are not changed and the Customer has not used –ORDCHG.
2) If the customer uses –ORDCHG then it goes to Inbox of sales manager.
Now
3) By Mistake , Say in 9th sales order the QTY is changed from 10,000 items to 1,000 items. And the order is sent as normal Sales order.
4) By mistake , say in 10th Sales order the Price is changed from $60000 to $6000. And the order is sent as normal sales order.
NOTE: For understanding it is taken as 9th and 10th order--it can be any Sales order.
Question:
Q) HOW to trap SALES Order 9th and 10th ONLY , and all the other SALES orders from 1st to 8th are to be posted to Database directly. ???????
Q) How to prog and config the system in the best possible way.
Thanks for any Help.
Srini.
Note: Since it is related to workflow also, It is posted in here please.
Answer:
Hi,
Check the sales order against your purchase order in the inbound function module and trigger the workflow in appropriate situations.
Another crooked way of doing it would be putting the check in the check function module of the workflow if the workflow is triggered via events..
I would prefer the first one...
Regards,
Sam Mathew