var objRecord = record.copy({
type: record.Type.SALES_ORDER,
id: 157,
isDynamic: true,
defaultValues: {
entity: 107
}
});
Governance
Transaction records: 10 units
Custom records: 2 units
All other records: 5 units
Supported Script Types
Client and server scripts
SSS_MISSING_REQD_ARGUMENT A required argument is missing or undefined.