Skip to main content

LookupCurrentWOSeq

Structure

LookupCurrentWOSeq

Parameters

none

Return value

Integer

Description

This function returns the current work order sequence number. Work order detail items are keyed by an integer (1, 2, 3, 4...) - this function is typically called from the 'After Work Order Detail Add' trigger action, and returns the number (as text) of the record just created. This allows the user to further manipulate the detail item through RunSQL statements, as an example.

Example

No example provided

See also

No related topics