Exception 6

If you require not to merge routings when there are differences in routing alternative codes, generate a separate routing for each distinct set of routing alternative codes. For example:
  • If SZ_ROUTING_VERSION_MAP.routing_altcode_process_flag is set to Y, compare the versions among the routings that have the same routing item, routing location, and effective from date.
  • If differences are identified in alternative codes, the new version value is generated based on a concatenation of the following:
    • SZ_ROUTING_VERSION_MAP.routing_altcode_version_value.
    • If SZ_ROUTING_VERSION_MAP.routing_altcode_column_name is specified, the value of the specified column in SC_ROUTING for the current record.
    • If SZ_ROUTING_VERSION_MAP.routing_altcode_sequence_length is specified, a generated sequence number across the number of different alternative codes using the specified length.
    Note: "-" is used as a separator when concatenating the parts
  • If SZ_ROUTING_VERSION_MAP.use_global_sequence_flag is set to Y, generate a global sequence number (starting from 1) across all differences that are identified. In this case, do not consider the version value specifications per exception and use <new version value> = <global sequence value>.