SetWODetailDate
Structure
SetWODetailDate(sWODetailFieldName,dtValue)
Parameters
| Parameter | Type | Description |
|---|---|---|
sWODetailFieldName | String | the name of the work order detail field |
dtValue | Date | the date to be saved to the above field. Date values can be returned from other event custom rule functions like LookupWODetailDate |
Description
This procedure sets a date value for the work order detail field in the parameter - as currently true for the selected work order in the event. The work order for the event is specified in the 'Work Order' field on Field Settings tab in Workflow Configuration. This procedure is only applicable for date-based work order detail fields.
Note: LookupWODetail* and SetWODetail* type functions should be called from 'After Work Order Detail Add' trigger action. Thsi trigger action occurs as the work order detail items are created - triggering once per detail item.
Example
No example provided
See also
No related topics