createChild
Creates a record of type grp/typ/stype/cat with the record name, and links it as a child to the current record’s hierarchy.
Version
1.3
Parameters
| Parameter | Type | Description |
|---|---|---|
| grp | string | App Group. Top classification of the record. |
| typ | string | App Type. Second classification of the record. |
| stype | string | App SubType: 3rd Classification of the record. |
| cat | string | App Category: 4th Classification of the record. |
| desc | string | Record name. |
| capId (optional) | CapIDModel | Record to be the parent of new record. |
Returns
The new child record’s ID.
Notes
The function copies the following data from the current record to the new child record.
parcels
contacts
property addresses