Exception 2
If you require not to merge routings when there are differences in output items, generate
separate routing for each distinct set of output items. For example:
- If the SZ_ROUTING_VERSION_MAP.output_item_process_flag entry status is set to Y, compare the output items among 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 output items.
- If there are differences in output items, the new version value is generated as a
concatenation of the following:
- SZ_ROUTING_VERSION_MAP.output_item_version_value.
- If SZ_ROUTING_VERSION_MAP.output_item_column_name is specified, the value of the specified column in SC_ROUTING_OUTPUT_ITEM for the current record.
- If SZ_ROUTING_VERSION_MAP.output_item_sequence_length is specified, a generated sequence number across the number of different output 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, create 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>.