InfoValue_IsStateSet()

Examples


The InfoValue_IsStateSet() function defined in the syListObj form is used to verify whether a specific state value of the InfoValue column for a list is set. The InfoValue is a bitmask field, with several states that are set and retrieved independently.

Syntax

InfoValue_IsStateSet(InfoValue, state)

Parameters

InfoValue – The InfoValue column for the list.

state – The state which will be examined for the Information Icon displayed for the list item. The value is an integer that corresponds to one of the following constants:

[spacer]

Constant

Icon

Priority

Description

INFOVALUE_ERROR

Highest

The item has an error.

INFOVALUE_WORKFLOWPRESENT

 

The item is part of a workflow.

INFOVALUE_ONHOLD

 

The item is on hold.

INFOVALUE_INACTIVE

 

The item is inactive.

INFOVALUE_VOID

 

The item has been voided.

INFOVALUE_NOTEATTACHED

 

A record-level note is attached to the item.

INFOVALUE_CUSTOM1

 

A general-purpose icon indicating an action should be performed for the item.

INFOVALUE_CUSTOM2

Lowest

A general-purpose icon indicating additional information is available for the item.


Return value

A boolean. The value true indicates the state is set, while the value false indicates it is not.


Documentation Feedback