Exception 4

If you require not to merge routings when there are differences in routing versions, generate a separate routing for each distinct set of routing versions. For example:
  • If SZ_ROUTING_VERSION_MAP.routing_version_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 there are differences in versions, the new version value is generated based on a concatenation of the following:
    • SZ_ROUTING_VERSION_MAP.routing_version_version_value.
    • If SZ_ROUTING_VERSION_MAP.routing_version_column_name is specified, the value of the specified column in SC_ROUTING for the current record.
    • If SZ_ROUTING_VERSION_MAP.routing_version_sequence_length is specified, a generated sequence number across the number of different versions 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, genearte 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>.