Exception 1
If you require not to merge routings when there are differences in input items, generate
a separate routing for each distinct set of items. For example:
- If SZ_ROUTING_VERSION_MAP.input_item_process_flag is set to Y, compare the input items between the routings that have the same routing item, routing location, and effective from date.
- Use item_id, net_qty and fixed_qty_flag to compare input items.
- If there are differences in input items, the new version value is a concatenation of the
following:
- SZ_ROUTING_VERSION_MAP.input_item_version_value.
- If SZ_ROUTING_VERSION_MAP.input_item_column_name is specified, the value of the specified column in SC_ROUTING_INPUT_ITEM for the current record.
- If SZ_ROUTING_VERSION_MAP.input_item_sequence_length is specified, a generated sequence number across the number of different input items 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>.