Converting unit of measurement

Among other things, a cleansing rule of this type can be used to convert imported dimension or weight specifications using a multiplicator and possibly assign another unit of measurement to them. Learn more

In order to set up a cleansing rule of this type, proceed as follows:

  1. From the “Choose rule type” menu, select the rule type “Converting unit of measurement”.
  2. Click on the Add button to call up the corresponding dialog box.
  1. Enter a name for the cleansing rule in the input field “Title”.
  2. From the “Order” menu, select the appropriate option. You can choose between:
    • Before transformation: The attribute value modification also affects the supplier attributes.
    • After transformation: The attribute value modification only affects the iPIM Supply attributes.
  3. From the “Attribute” menu, select the iPIM Supply attribute whose attribute values are to be converted.
  4. Possibly enter a short description in the input field “Description”.
  5. Possibly tick the “Activate rule” checkbox to activate the rule.
In this example, the cleansing rule is configured in a way that the weight specifications on a gram basis are converted to weight specifications on a kilogram basis. In this process, the unit of measurement “g” is replaced by the unit of measurement “kg”.
  1. Possibly tick the checkbox “Internal rule” to determine that the cleansing rule is an internal rule. Internal rules can be used as subordinate rule of certain rule types such as “Conditional attribute setting”.
  2. Add the desired conversion parameters:
    1. Click on the Add button. Following this, a set of input fields is shown.
    2. Select the option “Multiplier” from the “Operation” menu.
    3. Enter the conversion rate in the input field “Condition”.
    4. Possibly add an additional set of conversion parameters as described above.
  3. Possibly tick the checkbox “Round up” or the checkbox “Round off” and enter the decimal places for the rounded values in the respective input fields.
  4. Possibly tick the checkbox “Keep original unit” to keep the original unit or tick  the checkbox “Replace unit with” and select an appropriate unit from the menu to change the unit according to the conversion.
  5. Possibly configure a test run and carry it out in order to check if the configuration of the rule is valid.
  • In order to finish the configuration, click on the Save button. If the process was successful, a corresponding message will appear. The cleansing rule of is now set up.
  • In order to cancel the process, click on the Cancel button.
INFO
In order to remove a replacement rule, click on the button in the respective line. And in order to move replacement rules to change the order of their execution, click on the button in the line of a replacement rule, hold the mouse button down and move the replacement rule to the desired position.