Configuring How Attributes Are Imported

You can configure how attributes are imported from an XML Import file.

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 add the supplier code (vendor code or company ID) to the supplier name when suppliers are imported, follow these steps:
    1. Add or edit this line in the file used to import properties into a page object:

      emxMaterialComplianceCentral.importer.appendSupplierCodeToSupplierName=false

      This property provides a way to make all supplier names unique in Materials Compliance Management in cases where the source of the suppliers does not require supplier name uniqueness but does have a unique supplier code.

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

      • true
      • false

  3. To modify the imported part name, follow these steps:
    1. Add or edit this line in the file used to import properties into a page object:

      emxMaterialComplianceCentral.importer.partNameCharMapFrom
      emxMaterialComplianceCentral.importer.partNameCharMapTo

      These properties work together to modify the name of the imported part. The part name characters in the Map From property are mapped on a position-by-position basis to the characters in the Map To property. If a character in Map From does not have a corresponding character in Map To, then the character is stripped from the part name.

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

      By default, these parameters are undefined, and no character mapping is done.

      For example, these property values causes all lower-case characters in the part name to be modified to be upper-case. It also strips out the dash (-), comma (,), and semicolon (;) characters from the part name.

      emxMaterialComplianceCentral.importer.partNameCharMapFrom=abcdefghijklmnopqrstuvwxyz-,;
      emxMaterialComplianceCentral.importer.partNameCharMapTo=ABCDEFGHIJKLMNOPQRSTUVWXYZ

      In this example, if the original part name is "My,Part-Name", the modified part name is " MYPARTNAME".

  4. To define a global value of reference weight to set (in grams) for unreported MEPs created in imports, follow these steps:
    1. Add or edit this line in the file used to import properties into a page object:

      emxMaterialComplianceCentral.importer.unreportedPartReferenceWeightInGrams=0.0

    2. Set the value for this property depending on your business requirements using a real number. The default value is set to "0.0".
  5. 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.