English
md.copy.after
About 144 wordsLess than 1 minute
2025-12-15
This hook is triggered after child-object data is copied and before UI events/calculation logic are executed. It allows extra business actions, including but not limited to modifying main and child object field values.
- Modify field values of the main object and child objects
Parameters
| Parameter | Description | Type |
|---|---|---|
| Common parameters | See details | -- |
| objApiName | Child object apiName | String |
| recordType | Child object record type | String |
| copyRowIds | Row IDs of the child-object data being copied | Array |
| newDataIndexs | Row IDs of the new data | String |
Return Value
None
Notes
1. Child-object data obtained through context APIs in this hook includes the newly copied data
When this hook is called, object data has already been copied and is waiting for subsequent UI events/calculations, so the API can find the copied data in the object data.
