756: if(FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) then
757: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
758: 'Starting OW Debug...');
759:
760: oe_debug_pub.G_FILE := NULL;
761: oe_debug_pub.debug_on;
762: oe_debug_pub.initialize;
763: oe_debug_pub.setdebuglevel(5);
764:
757: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
758: 'Starting OW Debug...');
759:
760: oe_debug_pub.G_FILE := NULL;
761: oe_debug_pub.debug_on;
762: oe_debug_pub.initialize;
763: oe_debug_pub.setdebuglevel(5);
764:
765: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
758: 'Starting OW Debug...');
759:
760: oe_debug_pub.G_FILE := NULL;
761: oe_debug_pub.debug_on;
762: oe_debug_pub.initialize;
763: oe_debug_pub.setdebuglevel(5);
764:
765: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
766: 'OE Debug File : '|| OE_DEBUG_PUB.Set_Debug_Mode('FILE'));
759:
760: oe_debug_pub.G_FILE := NULL;
761: oe_debug_pub.debug_on;
762: oe_debug_pub.initialize;
763: oe_debug_pub.setdebuglevel(5);
764:
765: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
766: 'OE Debug File : '|| OE_DEBUG_PUB.Set_Debug_Mode('FILE'));
767: end if;
762: oe_debug_pub.initialize;
763: oe_debug_pub.setdebuglevel(5);
764:
765: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
766: 'OE Debug File : '|| OE_DEBUG_PUB.Set_Debug_Mode('FILE'));
767: end if;
768:
769: -- Call to Process Order
770: OE_Order_PUB.Process_Order(
807: if(FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) then
808: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
809: 'done ... with l_return_status = ' || l_return_status);
810: -- Stopping OE Debug...
811: oe_debug_pub.debug_off;
812: end if;
813:
814: IF (l_source_operating_unit <> l_org_id) THEN
815: fnd_global.apps_initialize(l_user_id,orig_resp_id,orig_resp_appl_id);
915: if(FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) then
916: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
917: 'Starting OW Debug...');
918:
919: oe_debug_pub.G_FILE := NULL;
920: oe_debug_pub.debug_on;
921: oe_debug_pub.initialize;
922: oe_debug_pub.setdebuglevel(5);
923:
916: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
917: 'Starting OW Debug...');
918:
919: oe_debug_pub.G_FILE := NULL;
920: oe_debug_pub.debug_on;
921: oe_debug_pub.initialize;
922: oe_debug_pub.setdebuglevel(5);
923:
924: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
917: 'Starting OW Debug...');
918:
919: oe_debug_pub.G_FILE := NULL;
920: oe_debug_pub.debug_on;
921: oe_debug_pub.initialize;
922: oe_debug_pub.setdebuglevel(5);
923:
924: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
925: 'OE Debug File : '|| OE_DEBUG_PUB.Set_Debug_Mode('FILE'));
918:
919: oe_debug_pub.G_FILE := NULL;
920: oe_debug_pub.debug_on;
921: oe_debug_pub.initialize;
922: oe_debug_pub.setdebuglevel(5);
923:
924: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
925: 'OE Debug File : '|| OE_DEBUG_PUB.Set_Debug_Mode('FILE'));
926: end if;
921: oe_debug_pub.initialize;
922: oe_debug_pub.setdebuglevel(5);
923:
924: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
925: 'OE Debug File : '|| OE_DEBUG_PUB.Set_Debug_Mode('FILE'));
926: end if;
927:
928: -- call to Process Order
929: OE_Order_PUB.Process_Order(
966: if(FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) then
967: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
968: 'done ... with l_return_status = ' || l_return_status);
969: -- Stopping OE Debug...
970: oe_debug_pub.debug_off;
971: end if;
972:
973: IF (l_source_operating_unit <> l_org_id) THEN
974: fnd_global.apps_initialize(l_user_id,orig_resp_id,orig_resp_appl_id);
4049: if(FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) then
4050: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, 'csp.plsql.csp_parts_order.process_order',
4051: 'Starting OW Debug...');
4052:
4053: oe_debug_pub.G_FILE := NULL;
4054: oe_debug_pub.debug_on;
4055: oe_debug_pub.initialize;
4056: oe_debug_pub.setdebuglevel(5);
4057:
4050: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, 'csp.plsql.csp_parts_order.process_order',
4051: 'Starting OW Debug...');
4052:
4053: oe_debug_pub.G_FILE := NULL;
4054: oe_debug_pub.debug_on;
4055: oe_debug_pub.initialize;
4056: oe_debug_pub.setdebuglevel(5);
4057:
4058: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, 'csp.plsql.csp_parts_order.process_order',
4051: 'Starting OW Debug...');
4052:
4053: oe_debug_pub.G_FILE := NULL;
4054: oe_debug_pub.debug_on;
4055: oe_debug_pub.initialize;
4056: oe_debug_pub.setdebuglevel(5);
4057:
4058: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, 'csp.plsql.csp_parts_order.process_order',
4059: 'OE Debug File : '|| OE_DEBUG_PUB.Set_Debug_Mode('FILE'));
4052:
4053: oe_debug_pub.G_FILE := NULL;
4054: oe_debug_pub.debug_on;
4055: oe_debug_pub.initialize;
4056: oe_debug_pub.setdebuglevel(5);
4057:
4058: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, 'csp.plsql.csp_parts_order.process_order',
4059: 'OE Debug File : '|| OE_DEBUG_PUB.Set_Debug_Mode('FILE'));
4060:
4055: oe_debug_pub.initialize;
4056: oe_debug_pub.setdebuglevel(5);
4057:
4058: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, 'csp.plsql.csp_parts_order.process_order',
4059: 'OE Debug File : '|| OE_DEBUG_PUB.Set_Debug_Mode('FILE'));
4060:
4061: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, 'csp.plsql.csp_parts_order.process_order',
4062: 'l_line_tbl.count = '|| l_line_tbl.count);
4063: end if;
4138:
4139: if(FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) then
4140: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, 'csp.plsql.csp_parts_order.process_order',
4141: 'Stopping OE debug ...');
4142: oe_debug_pub.debug_off;
4143: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, 'csp.plsql.csp_parts_order.process_order',
4144: 'l_return_status = ' || l_return_status);
4145: end if;
4146:
4994: if(FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) then
4995: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
4996: 'Starting OW Debug...');
4997:
4998: oe_debug_pub.G_FILE := NULL;
4999: oe_debug_pub.debug_on;
5000: oe_debug_pub.initialize;
5001: oe_debug_pub.setdebuglevel(5);
5002:
4995: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
4996: 'Starting OW Debug...');
4997:
4998: oe_debug_pub.G_FILE := NULL;
4999: oe_debug_pub.debug_on;
5000: oe_debug_pub.initialize;
5001: oe_debug_pub.setdebuglevel(5);
5002:
5003: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
4996: 'Starting OW Debug...');
4997:
4998: oe_debug_pub.G_FILE := NULL;
4999: oe_debug_pub.debug_on;
5000: oe_debug_pub.initialize;
5001: oe_debug_pub.setdebuglevel(5);
5002:
5003: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
5004: 'OE Debug File : '|| OE_DEBUG_PUB.Set_Debug_Mode('FILE'));
4997:
4998: oe_debug_pub.G_FILE := NULL;
4999: oe_debug_pub.debug_on;
5000: oe_debug_pub.initialize;
5001: oe_debug_pub.setdebuglevel(5);
5002:
5003: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
5004: 'OE Debug File : '|| OE_DEBUG_PUB.Set_Debug_Mode('FILE'));
5005:
5000: oe_debug_pub.initialize;
5001: oe_debug_pub.setdebuglevel(5);
5002:
5003: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
5004: 'OE Debug File : '|| OE_DEBUG_PUB.Set_Debug_Mode('FILE'));
5005:
5006: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
5007: 'l_line_tbl.count = '|| l_line_tbl.count);
5008: end if;
5061: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module_name,
5062: 'x_msg_data = ' || x_msg_data);
5063:
5064: -- Stopping OE Debug...
5065: oe_debug_pub.debug_off;
5066: end if;
5067:
5068: if x_return_status = FND_API.G_RET_STS_SUCCESS then
5069: commit;