PADomainUtils - setOverrides(Boolean overrides)

  • Release version: Zurich
  • Updated July 31, 2025
  • 1 minute to read
  • Use this method before copying records to set the sys_override value of the new record to the original parent record.

    Using this method enables you to automatically override records in a parent domain. By overriding the parent records, the parent records do not impact the child domain. If the source domain is not the parent of the target domain when copying records, setting the sys_override value will not have any impact on behavior. You can specify an override only when copying records, not when moving records.

    Table 1. Parameters
    Name Type Description
    overrides Boolean Indicates that copied records in a child domain should override the source record in the parent domain. This value is true by default.
    Table 2. Returns
    Type Description
    PADomainUtils The object calling this function.
    var pa = new SNC.PADomainUtils('c90d4b084a362312013398f051272c0d');
    pa.setOverrides(false);
    pa.copy('bb6b58b01f1310005a3637b8ec8b70dd');