You are here: Function Reference > Alphabetical Listing > W > WIPFld

WIPFld

Use this function to return the value of a database field from the current WIP record.

Syntax

WIPFld (WIPfield)

Parameter

Description

WIPfield

Enter the name of the field in the WIP record.

The system returns the value of an identified field within the current WIP record.

WIP records are only defined within the Entry system and are implementation specific. If a request is made for a field that is not part of the WIP record definition, the system returns an empty string.

Example

Here are some examples:

(Assume the current WIP record has a field named OrigUser which contains the string David Harris.)

Function

Result

Explanation

result = WIPFld ("OrigUser")

David Harris

Determines that the current WIP record named OrigUser has the value David Harris and returns that value.

IF (WIPFld ('StatusCode') !='W')

SetFld("N/A");

END

 

If the current WIP record does not contain a StatusCode field that is equal to W the SetFld statement executes.

See also