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

WIPKeyID

Use this function to replace the value of the KeyID field from the current WIP record.

Syntax

WIPKeyID ( )

There are no parameters for this function.

The system returns the value of the KeyID field in the current WIP record, known as the Policy Number field in the insurance market. WIP records are only defined in the Documaker and are implementation specific.

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

Example

Here are some examples:

(Assume the current WIP record contains a KeyID field with the value "1300".)

Function

Result

Explanation

result =

WIPKeyID( )

1300

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

IF LEFT(WIPKeyID

( ), 3) > 100

SETFLD("N/A");

END

1

N/A

Finds the KeyID field value. Then determines that the three left most characters in the KeyID field are greater than 100. 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