Skip to main content

LookupWOFieldTime

Structure

LookupWOFieldTime(sWOFieldName)

Parameters

ParameterTypeDescription
sWOFieldNameStringthe name of the work order field to be returned

Return value

Time

Note: date and time fields are returned as numbers. Use TimeToStr to return the data in readable text.

Description

This function returns a time value for the work order header 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 function is only applicable for time-based work order fields.

Example

No example provided

See also

No related topics