Skip to main content

LookupWOFieldDate

Structure

LookupWOFieldDate(sWOFieldName)

Parameters

ParameterTypeDescription
sWOFieldNameStringthe name of the work order field to be returned

Return value

Date

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

Description

This function returns a date 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 date-based work order fields.

Example

No example provided

See also

No related topics