6598:
6599: -- Bug #: 6908598
6600: -- Calling label printing both for bulk and independent tasks
6601: BEGIN
6602: l_business_flow_code := inv_label.wms_bf_pick_load;
6603: IF l_tran_type_id = 52 THEN -- Picking for sales order
6604: l_business_flow_code := inv_label.wms_bf_pick_load;
6605: ELSIF l_tran_type_id = 35 THEN -- WIP issue
6606: l_business_flow_code := inv_label.wms_bf_wip_pick_load;
6600: -- Calling label printing both for bulk and independent tasks
6601: BEGIN
6602: l_business_flow_code := inv_label.wms_bf_pick_load;
6603: IF l_tran_type_id = 52 THEN -- Picking for sales order
6604: l_business_flow_code := inv_label.wms_bf_pick_load;
6605: ELSIF l_tran_type_id = 35 THEN -- WIP issue
6606: l_business_flow_code := inv_label.wms_bf_wip_pick_load;
6607: ELSIF l_tran_type_id = 51
6608: AND l_tran_source_type_id = 13 THEN --Backflush
6602: l_business_flow_code := inv_label.wms_bf_pick_load;
6603: IF l_tran_type_id = 52 THEN -- Picking for sales order
6604: l_business_flow_code := inv_label.wms_bf_pick_load;
6605: ELSIF l_tran_type_id = 35 THEN -- WIP issue
6606: l_business_flow_code := inv_label.wms_bf_wip_pick_load;
6607: ELSIF l_tran_type_id = 51
6608: AND l_tran_source_type_id = 13 THEN --Backflush
6609: l_business_flow_code := inv_label.wms_bf_wip_pick_load;
6610: ELSIF l_tran_type_id = 64
6605: ELSIF l_tran_type_id = 35 THEN -- WIP issue
6606: l_business_flow_code := inv_label.wms_bf_wip_pick_load;
6607: ELSIF l_tran_type_id = 51
6608: AND l_tran_source_type_id = 13 THEN --Backflush
6609: l_business_flow_code := inv_label.wms_bf_wip_pick_load;
6610: ELSIF l_tran_type_id = 64
6611: AND l_tran_source_type_id = 4 THEN --Replenishment
6612: l_business_flow_code := inv_label.wms_bf_replenishment_load;
6613: END IF;
6608: AND l_tran_source_type_id = 13 THEN --Backflush
6609: l_business_flow_code := inv_label.wms_bf_wip_pick_load;
6610: ELSIF l_tran_type_id = 64
6611: AND l_tran_source_type_id = 4 THEN --Replenishment
6612: l_business_flow_code := inv_label.wms_bf_replenishment_load;
6613: END IF;
6614: l_progress := '410';
6615: IF (l_debug = 1) THEN mydebug ('l_business_flow_code: ' || l_business_flow_code ); END IF;
6616:
6622: IF (l_debug = 1) THEN
6623: mydebug('task_load: Calling label printing for transaction:' || l_temp_id);
6624: END IF;
6625:
6626: inv_label.print_label_wrap(
6627: x_return_status => x_return_status
6628: , x_msg_count => x_msg_count
6629: , x_msg_data => x_msg_data
6630: , x_label_status => l_label_status
6684: -- call label printing for all tasks other than bulk tasks.
6685: l_progress := '600';
6686: IF (l_debug = 1) THEN mydebug ('l_progress: ' || l_progress ); END IF;
6687: BEGIN
6688: l_business_flow_code := inv_label.wms_bf_pick_load;
6689: IF l_tran_type_id = 52 THEN -- Picking for sales order
6690: l_business_flow_code := inv_label.wms_bf_pick_load;
6691: ELSIF l_tran_type_id = 35 THEN -- WIP issue
6692: l_business_flow_code := inv_label.wms_bf_wip_pick_load;
6686: IF (l_debug = 1) THEN mydebug ('l_progress: ' || l_progress ); END IF;
6687: BEGIN
6688: l_business_flow_code := inv_label.wms_bf_pick_load;
6689: IF l_tran_type_id = 52 THEN -- Picking for sales order
6690: l_business_flow_code := inv_label.wms_bf_pick_load;
6691: ELSIF l_tran_type_id = 35 THEN -- WIP issue
6692: l_business_flow_code := inv_label.wms_bf_wip_pick_load;
6693: ELSIF l_tran_type_id = 51
6694: AND l_tran_source_type_id = 13 THEN --Backflush
6688: l_business_flow_code := inv_label.wms_bf_pick_load;
6689: IF l_tran_type_id = 52 THEN -- Picking for sales order
6690: l_business_flow_code := inv_label.wms_bf_pick_load;
6691: ELSIF l_tran_type_id = 35 THEN -- WIP issue
6692: l_business_flow_code := inv_label.wms_bf_wip_pick_load;
6693: ELSIF l_tran_type_id = 51
6694: AND l_tran_source_type_id = 13 THEN --Backflush
6695: l_business_flow_code := inv_label.wms_bf_wip_pick_load;
6696: ELSIF l_tran_type_id = 64
6691: ELSIF l_tran_type_id = 35 THEN -- WIP issue
6692: l_business_flow_code := inv_label.wms_bf_wip_pick_load;
6693: ELSIF l_tran_type_id = 51
6694: AND l_tran_source_type_id = 13 THEN --Backflush
6695: l_business_flow_code := inv_label.wms_bf_wip_pick_load;
6696: ELSIF l_tran_type_id = 64
6697: AND l_tran_source_type_id = 4 THEN --Replenishment
6698: l_business_flow_code := inv_label.wms_bf_replenishment_load;
6699: END IF;
6694: AND l_tran_source_type_id = 13 THEN --Backflush
6695: l_business_flow_code := inv_label.wms_bf_wip_pick_load;
6696: ELSIF l_tran_type_id = 64
6697: AND l_tran_source_type_id = 4 THEN --Replenishment
6698: l_business_flow_code := inv_label.wms_bf_replenishment_load;
6699: END IF;
6700: l_progress := '610';
6701: IF (l_debug = 1) THEN mydebug ('l_business_flow_code: ' || l_business_flow_code ); END IF;
6702:
6708: IF (l_debug = 1) THEN
6709: mydebug('task_load: Calling label printing for transaction:' || l_temp_id);
6710: END IF;
6711:
6712: inv_label.print_label_wrap(
6713: x_return_status => x_return_status
6714: , x_msg_count => x_msg_count
6715: , x_msg_data => x_msg_data
6716: , x_label_status => l_label_status