---
sourceDocument: Australia Finance and Supply Chain
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/source-to-pay-operations

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Finance and Supply Chain

ft:clusterId :

    - stpop

bundleId :

    - stpop

workflow :

    - Creator


---

# Run the fix script

# Run the fix script to enable M2M mapping {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Run the fix script to enable M2M mapping between supplier contact and suppliers.

## Antes de Iniciar

Verify that the application scope is set to Supplier Common Architecture. For more information, see [Application picker](https://www.servicenow.com/docs/access?context=c_ApplicationPicker&version=australia&pubname=australia-application-development&ft:locale=en-US).

Role required: admin

## Procedimento

1. Navigate to AllSystem DefinitionFix Scripts.  
   Verify that the application scope is set to Supplier Common Architecture.
2. Select New.
3. Fill in the following fields to create the fix script:  
   {#run-fix-script__table_fxl_tx4_mdc__entry__2}

   | Field | Description |
   |-|-|
   | Name | Unique, descriptive name for the fix script. |
   | Description | Include the disclaimer: This script is intended for a one-time execution in an instance and must remain unaltered. |
   | Script | Enter the following code for the fix script: var m2mEnableUtil = new sn_slm.M2MSupplierSupportUtil(); gs.info("Current status of M2M Supplier support: " + m2mEnableUtil.isM2MSupplierSupported()); gs.info("Enabled M2M supplier support: " + m2mEnableUtil.enableM2MSupplierSupport()); |
   [ ]

   {#run-fix-script__table_fxl_tx4_mdc}
4. Save and select Run Fix Script.  
   A version record is created after the script is executed.

## O que Fazer Depois

Verify if the version record is created for `M2MSupplierSupportUtil script include`.
**Tarefas relacionadas**   

* [Verify version record](https://servicenow-prod.fluidtopics.net/D~yOZzIJbr~iYzefeMPAlw "After the fix script is created and run to enable M2M mapping between supplier contact and suppliers, a version record must be created.")
* [Remove the unique constraint from Email Domain](https://servicenow-prod.fluidtopics.net/ZwCTeUnXAov1DxslIep02w "Multiple supplier records can have the same email domain after removing the unique constraint from the Email Domain column of the Supplier Email Domain [sn_slm_email_domain] table.")

