Quote To order from Quote entry

Hi Devin,

We have a bpm where we get data input from user in-process (ttCallContextBPMData.Date02) and then we take that (date02) and put it into the order that was made, post process.  We call synchronous execute abl code to do it per example below:


/* ttCallContextBPMData.Date02 contains the RequestDate (ShipByDate)  */

/* Sales Order was created from a push from Quote.  The new number is in the parameter, orderNum */

/* Fix OrderHed */
Find OrderHed no-lock where OrderHed.OrderNum = orderNum.
if available OrderHed then do:
Run lib\UpdateTableBuffer.p(input BUFFER OrderHed:HANDLE,'RequestDate', ttCallContextBPMData.Date02).
end.

/* Fix OrderDtl */
For each OrderDtl no-lock where OrderDtl.OrderNum = orderNum:
if available OrderDtl then do:
Run lib\UpdateTableBuffer.p(input BUFFER OrderDtl:HANDLE,'RequestDate', ttCallContextBPMData.Date02).
end.
end.

/* Fix OrderRel */
For each OrderRel no-lock where OrderRel.OrderNum = orderNum:
if available OrderRel then do:
Run lib\UpdateTableBuffer.p(input BUFFER OrderRel:HANDLE,'ReqDate', ttCallContextBPMData.Date02).
         end.
end.


I am currently running Epicor 9.05.702.  I have a question about a BPM Using a post process directive to update a UD field on an order.  

 

We have a current Quote that we go to actions and select the create a sales order from quote functionality buy doing that I determined that we should be using the CreateOrder Business object  and run a post-process directive on that to update the UD field I need to but I am not sure on now the Action should be formulated any help would be appreciated thanks. 

 

Devin.