Skip to main content

MatchKeyOverrideField

LAYOUT files contain a field that is used to link it with OFFER file data. This field is configured using the LAYOUT_FILE_MATCH_FIELD configuration. However, when the append process runs, some items may need to use a different field to match with offer data. In these instances we can override the default match key field using data in the file.

Syntax:

To override this field, users need to add a row into the append config file. The convention for this row is {CONDITION};MatchKeyOverrideField.{FIELD TO USE}

  • {CONDITION}: CONDITION FIELD NAME;VALUE 1, VALUE 2, VALUE 3,...,VALUE N
  • CONDITION FIELD NAME: The name of the field whose contents are evaluated to determine whether or not to use the default MatchKeyField or a new Field
  • VALUE 1, VALUE 2, VALUE 3...VALUE N: A comma delimited set of values that the actual value for CONDITION FIELD in a row is compared against. If there is a match then the MatchKeyField is replaced with the MatchKeyOverRideField specified {FIELD TO USE}

Example:

CATEGORY;MAQUILLAJE;MatchKeyOverrideField.PRODUCTO CUC

See Also:

None

Prerequisites:

None