Class BTWorkOrderCancel
java.lang.Object
overit.geocall.bl.BusinessTask<WorkOrderCancelEvent>
overit.geocallapp.wfm.core.bl.workorder.task.BTWorkOrderCancel
- All Implemented Interfaces:
Serializable,Tool
@Event(WorkOrderCancelEvent.class)
public class BTWorkOrderCancel
extends BusinessTask<WorkOrderCancelEvent>
Business task to cancel a work order.
Required fields:
- work order id
Error Code:
Codes.C270_1328: Wrong parametrization
- Since:
- 12.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(WorkOrderCancelEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected StringgetNewExternalCode(String externalCode) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTWorkOrderCancel
public BTWorkOrderCancel()
-
-
Method Details
-
body
Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<WorkOrderCancelEvent>- Parameters:
event- the object upon which the task will works onpk- the poolkit containing the reference to the database connection that can be used- Throws:
DAException- in case of database errorDAValidateException- in case of database validation error
-
getNewExternalCode
-