This method will cancel a work order service by advancing it to the process level and zeroing units
o.cancelworkorderservice( tcWorkOrder, tcComment, tcComm_Type)
Return Value
True or False
Parameters
tcWorkOrder
The work order number to cancel
tccomment
The comment to place in the new comment
tccomm_type
The comment type to use
Remarks
This method is used by things such as service booking systems. It allows these systems to
cancel a ring in service easily. What it does is zero the units of charges in the work order,
adds comments and then advances the work order to the process level.
Example
o.CancelWorkOrderService("WO367437","Cancelled by ITRDS","G")
This would;
1. Zero all units
2. Add "Cancelled by ITRDS" to a new work order comment of type "G"
3. Advance the work order to the process level
See also:
Class rp_utils