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

WIPKey1

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

Syntax

WIPKey1 ( )

There are no parameters for this function.

The system returns the value of the Key1 field within the current WIP record known as the Company field in the insurance market. WIP records are only defined within the Entry module and are specific for each implementation.

This is a short-cut method for WIPFld("KEY1"), which would return the same value.

Example

Here are some examples:

(Assume the current WIP record contains a Key1 field with the value Oracle.)

Function

Result

Explanation

result =

WIPKey1( )

Oracle

Determines the value contained in the WIP Key1 field and returns that value.

IF WIPKey1 ( ) =

"Oracle"

SetFld("N/A");

END

1

N/A

Determines that the Key1 field contains the value Oracle, then executes the SetFld procedure and places N/A in the current field. Also returns one (1) to indicate that the SetFld procedure was successful.

See also