Run the fix script to enable M2M mapping

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • Run the fix script to enable M2M mapping between supplier contact and suppliers.

    Avant de commencer

    Verify that the application scope is set to Supplier Common Architecture. For more information, see Application picker.

    Role required: admin

    Procédure

    1. Navigate to All > System Definition > Fix 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:
      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());
      Fix script details page
    4. Save and select Run Fix Script.
      A version record is created after the script is executed.

    Que faire ensuite

    Verify if the version record is created for M2MSupplierSupportUtil script include.