copyAddresses

Copies all property addresses from record pFromCapId to record pToCapId. If record pToCapId has a primary address, any primary address in pFromCapId becomes non-primary when copied over.

Version

1.4

Parameters

Parameter Type Description
pFromCapId CapIDModel ID of record from which to copy.
pToCapId CapIDModel ID of record to which to copy. If null, the function uses the current record.

Notes

getApplication( ), getParent( ), createChild(), createCap() functions each returns a record ID object.