copyConditions
Copies all conditions from record capId to the current record (if you do not specify toCapId) or the specified record.
Version
1.3
Parameters
| Parameter | Type | Description | 
|---|---|---|
| fromCapId | CapIDModel | ID of record from which to copy. | 
| toCapId (optional) | CapIDModel | ID of record to which to copy. | 
Example
true ^ subdivapp = getApplication(lookup("SubdivisionXref",{SubDiv})) ; 
copyConditions(subdivapp)