---
sourceDocument: Xanadu Platform Analytics
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/now-intelligence

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Platform Analytics

ft:clusterId :

    - par

bundleId :

    - par

workflow :

    - Platform


---

# PADomainUtils - setOverrides(Boolean overrides)

# PADomainUtils - setOverrides(Boolean overrides) {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 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.
{#r_PADU-setOverrides_boolean__table_hsj_qky_2t__entry__3}

| 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 1. Parameters]

{#r_PADU-setOverrides_boolean__table_hsj_qky_2t} {#r_PADU-setOverrides_boolean__table_isj_qky_2t__entry__2}

| Type | Description |
|-|-|
| PADomainUtils | The object calling this function. |
[Table 2. Returns]

{#r_PADU-setOverrides_boolean__table_isj_qky_2t}  

    var pa = new SNC.PADomainUtils('c90d4b084a362312013398f051272c0d');
    pa.setOverrides(false);
    pa.copy('bb6b58b01f1310005a3637b8ec8b70dd');


