Configuring IMDS Auto-downloading Company-Specific Data

Compliance Administrators can enable auto-downloading of company-specific data (including Material Data Sheets and Modules) on a daily basis.

See Also
Configuring Properties
  1. Create or open the text file to contain customized properties. For more information, see Editing Properties Using MQL.
  2. To enable automatic downloading of company-specific IMDS data, follow these steps:
    1. Add or edit this line in the file used to import properties into a page object:

      emxMaterialsComplianceCentral.IMDS.autoDownload.licenseType

    2. Set the value for this property depending on your business requirements:

      • AI to use the advanced interface
      • AI(SU) to use the advanced interface with status upload
      • Classic
      • OEM

  3. Write an MQL script to use the Windows scheduler or kron job to download files. For example:

    You can include any of these methods:

    Class Name Method Name Required Responsibility Description
    com.matrixone.apps.materialscompliance.IMDSDataDownloadScheduler doDailyDownload Leader or Senior Compliance Engineer Downloads "MDS Specific Files" (MSDaily or CMSDaily) and the "Internal Modules" file (MODDaily).

    This download must be done daily.

    doDataDownload Owner or Compliance Administrator Downloads the "Common Files" (CCALL, SBALL, and so on).

    This download should be done Weekly or Monthly.

    com.matrixone.apps.materialscompliance.IMDSDailyDownloadScheduler doMDSSpecificDownload Leader or Senior Compliance Engineer Downloads only the MDS Specific Files (CMSDaily or MSDaily).

    This download must be done daily.

    doModuleDownload Leader or Senior Compliance Engineer Downloads only the "Internal Modules (MODDaily).

    This download can be done daily.

    The context user defined in the script must have one of the required responsibilities within Materials Compliance Management. Otherwise, the script will not have the required authority to import the listed file types.

    For example:

    set context user <USERNAME>;
    java com.studio.apps.materialscompliance.IMDSDataDownloadScheduler -method doDailyDownload;
    quit;

    In this example, <USERNAME> must have the Leader or Senior Compliance Engineer responsibility.

    The auto-download will be performed as a background job owned by the context user. The job in the example performs these tasks:

    1. Downloads and imports the Module file for the current day (MODDaily).
    2. Checks the value of theemxMaterialComplianceCentral.IMDSAutoDownload.licenseType property to determine the download license type:

      If Classic, downloads and imports the MDS Specific daily file (MSDaily).

      If AI, AI(SU), or OEM, downloads and imports the MDS Specific Complete daily file (CMSDaily).

    3. Reports any failures during job execution to the Materials Compliance Management user by email.

  4. When finished updating the text file with all properties you want to modify, including the ones shown here, use the text file to modify the emxMaterialsComplianceCentral.properties page object. For more information, see Editing Properties Using MQL.