addParcelCondition

Adds a condition to the reference parcel whose number is parcelNum. 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
parcelNum string Parcel number to add the condition to. If null, the function adds the condition to all parcels on the record.
cType string Condition type.
cStatus string Condition status.
cDesc string Condition name.
cComment string Condition comment.
cImpact string Condition severity.

Notes

The condition’s Type, Condition (description), Status, Severity and Comment corresponds to cType, cDesc, cStatus, cImpact, and cComment, respectively. The condition’s Apply and Effective dates equal the current date. The condition’s Applied By and Action By staff names equal the current user’s name.

If you use null for the parcelNum parameter, the function adds the condition to all parcels on the current record.