rp_workorders::advancetoprocess

This advances a work order to the process level. If the lZeroUnits property is set to true then it will zero units as well.

o.advancetoprocess( tcWorkorder)

Return Value

True or False

Parameters

tcWorkorder
The work order number to advance

Remarks

This function is handy for advancing work orders the the process level. If you provide the work order
number then the work order is advanced as is. Else load the work order yourself, change what you want,
and then issue this method without a parameter.


Example

o.AdvanceToProcess("WO347838")

OR

o.Load("WO347838")

Add purchase order number
o.AddFieldValue("PURC_ORD","PO#252363")

Advance
o.AdvanceToProcess()

See also:

Class rp_workorders


Last Updated: 23/11/2005