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

WIPKey2

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

Syntax

WIPKey2 ( )

There are no parameters for this function.

The system returns the description of the Key2 field in the current WIP record, known as the Line of Business field in the insurance market. WIP records are only defined within the entry system and are implementation specific.

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

Example

Here are some examples:

(Assume the current WIP record contains a Key2 field with the value "Fire Insurance".)

Function

Result

Explanation

result =

WIPKey2( )

Fire Insurance

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

IF WIPKey2 ( ) =

"Oracle"

SetFld("N/A");

END

Nothing

Determines that the Key2 field does not contain the value "Oracle"; therefore the SetFld procedure does not execute.

See also