addAddressCondition

Adds a condition to the specified reference address. If a standard condition is associated with an ASI group (condition template), the method adds the condition with the template fields and tables. You can call the method to add duplicate conditions to a record.

Version

2.0

Parameters

Parameter Type Description
addNum long Reference address number or null.
cType string Type of condition (from admin->condition->condition type).
cStatus string Status (from admin->condition->condition status).
cDesc string Description of the condition.
cComment string Condition comment.
cImpact string Must be Lock, Hold, Notice, Required, or “”.

Notes

If addNum is null, the function adds the condition to all reference addresses associated with the current record.