DBA Data[Home] [Help]

APPS.WSH_SHIP_CONFIRM_ACTIONS dependencies on WSH_DEBUG_SV

Line 606: l_debug_on CONSTANT BOOLEAN := WSH_DEBUG_SV.is_debug_enabled;

602: ins_rows NUMBER := 0;
603: del_rows NUMBER := 0;
604: upd_rows NUMBER := 0;
605: --
606: l_debug_on CONSTANT BOOLEAN := WSH_DEBUG_SV.is_debug_enabled;
607: --
608: l_module_name CONSTANT VARCHAR2(100) := 'wsh.plsql.' || G_PKG_NAME || '.' || 'TRANSFER_SERIAL_NUMBERS_PVT';
609: --
610:

Line 614: WSH_DEBUG_SV.push(l_module_name);

610:
611: BEGIN
612: --
613: IF l_debug_on THEN
614: WSH_DEBUG_SV.push(l_module_name);
615: --
616: WSH_DEBUG_SV.log(l_module_name,'p_transfer_param',p_transfer_param);
617: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
618: WSH_DEBUG_SV.log(l_module_name,'p_interfacing',p_interfacing);

Line 616: WSH_DEBUG_SV.log(l_module_name,'p_transfer_param',p_transfer_param);

612: --
613: IF l_debug_on THEN
614: WSH_DEBUG_SV.push(l_module_name);
615: --
616: WSH_DEBUG_SV.log(l_module_name,'p_transfer_param',p_transfer_param);
617: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
618: WSH_DEBUG_SV.log(l_module_name,'p_interfacing',p_interfacing);
619: END IF;
620: --

Line 617: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);

613: IF l_debug_on THEN
614: WSH_DEBUG_SV.push(l_module_name);
615: --
616: WSH_DEBUG_SV.log(l_module_name,'p_transfer_param',p_transfer_param);
617: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
618: WSH_DEBUG_SV.log(l_module_name,'p_interfacing',p_interfacing);
619: END IF;
620: --
621:

Line 618: WSH_DEBUG_SV.log(l_module_name,'p_interfacing',p_interfacing);

614: WSH_DEBUG_SV.push(l_module_name);
615: --
616: WSH_DEBUG_SV.log(l_module_name,'p_transfer_param',p_transfer_param);
617: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
618: WSH_DEBUG_SV.log(l_module_name,'p_interfacing',p_interfacing);
619: END IF;
620: --
621:
622: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;

Line 953: WSH_DEBUG_SV.log(l_module_name,'Numbers of rows inserted into wsh_serial_numbers: '|| to_char(ins_rows) ||

949: END IF;
950: END IF;
951:
952: IF l_debug_on THEN
953: WSH_DEBUG_SV.log(l_module_name,'Numbers of rows inserted into wsh_serial_numbers: '|| to_char(ins_rows) ||
954: ', Number of rows deleted from mtl_serial_numbers_temp: '|| to_char(del_rows) ||
955: ', Number of rows updated in wsh_delivery_details: '|| to_char(upd_rows) );
956: WSH_DEBUG_SV.pop(l_module_name);
957: END IF;

Line 956: WSH_DEBUG_SV.pop(l_module_name);

952: IF l_debug_on THEN
953: WSH_DEBUG_SV.log(l_module_name,'Numbers of rows inserted into wsh_serial_numbers: '|| to_char(ins_rows) ||
954: ', Number of rows deleted from mtl_serial_numbers_temp: '|| to_char(del_rows) ||
955: ', Number of rows updated in wsh_delivery_details: '|| to_char(upd_rows) );
956: WSH_DEBUG_SV.pop(l_module_name);
957: END IF;
958:
959: EXCEPTION
960: WHEN OTHERS THEN

Line 977: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| substr(SQLERRM,1,200),WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

973: IF c_get_attr_msn%ISOPEN THEN
974: CLOSE c_get_attr_msn;
975: END IF;
976: IF l_debug_on THEN
977: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| substr(SQLERRM,1,200),WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
978: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
979: END IF;
980: wsh_util_core.default_handler('WSH_SHIP_CONFIRM_ACTIONS.TRANSFER_SERIAL_NUMBERS_PVT');
981: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;

Line 978: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

974: CLOSE c_get_attr_msn;
975: END IF;
976: IF l_debug_on THEN
977: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| substr(SQLERRM,1,200),WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
978: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
979: END IF;
980: wsh_util_core.default_handler('WSH_SHIP_CONFIRM_ACTIONS.TRANSFER_SERIAL_NUMBERS_PVT');
981: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;
982:

Line 1009: l_debug_on CONSTANT BOOLEAN := WSH_DEBUG_SV.is_debug_enabled;

1005: p_interfacing IN VARCHAR2,
1006: x_return_status OUT NOCOPY VARCHAR2) IS
1007:
1008: --
1009: l_debug_on CONSTANT BOOLEAN := WSH_DEBUG_SV.is_debug_enabled;
1010: --
1011: l_module_name CONSTANT VARCHAR2(100) := 'wsh.plsql.' || G_PKG_NAME || '.' || 'TRANSFER_SERIAL_NUMBERS';
1012: --
1013:

Line 1017: WSH_DEBUG_SV.push(l_module_name);

1013:
1014: BEGIN
1015: --
1016: IF l_debug_on THEN
1017: WSH_DEBUG_SV.push(l_module_name);
1018: --
1019: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
1020: WSH_DEBUG_SV.log(l_module_name,'p_interfacing',p_interfacing);
1021: END IF;

Line 1019: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);

1015: --
1016: IF l_debug_on THEN
1017: WSH_DEBUG_SV.push(l_module_name);
1018: --
1019: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
1020: WSH_DEBUG_SV.log(l_module_name,'p_interfacing',p_interfacing);
1021: END IF;
1022: --
1023:

Line 1020: WSH_DEBUG_SV.log(l_module_name,'p_interfacing',p_interfacing);

1016: IF l_debug_on THEN
1017: WSH_DEBUG_SV.push(l_module_name);
1018: --
1019: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
1020: WSH_DEBUG_SV.log(l_module_name,'p_interfacing',p_interfacing);
1021: END IF;
1022: --
1023:
1024: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;

Line 1047: WSH_DEBUG_SV.pop(l_module_name);

1043: p_interfacing => p_interfacing,
1044: x_return_status => x_return_status );
1045:
1046: IF l_debug_on THEN
1047: WSH_DEBUG_SV.pop(l_module_name);
1048: END IF;
1049:
1050: EXCEPTION
1051: WHEN OTHERS THEN

Line 1053: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| substr(SQLERRM,1,200),WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

1049:
1050: EXCEPTION
1051: WHEN OTHERS THEN
1052: IF l_debug_on THEN
1053: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| substr(SQLERRM,1,200),WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
1054: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
1055: END IF;
1056: wsh_util_core.default_handler('WSH_SHIP_CONFIRM_ACTIONS.TRANSFER_SERIAL_NUMBERS');
1057: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;

Line 1054: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

1050: EXCEPTION
1051: WHEN OTHERS THEN
1052: IF l_debug_on THEN
1053: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| substr(SQLERRM,1,200),WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
1054: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
1055: END IF;
1056: wsh_util_core.default_handler('WSH_SHIP_CONFIRM_ACTIONS.TRANSFER_SERIAL_NUMBERS');
1057: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;
1058:

Line 1090: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

1086: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
1087: --
1088: IF l_debug_on IS NULL
1089: THEN
1090: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
1091: END IF;
1092: --
1093: IF l_debug_on THEN
1094: WSH_DEBUG_SV.push(l_module_name);

Line 1094: WSH_DEBUG_SV.push(l_module_name);

1090: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
1091: END IF;
1092: --
1093: IF l_debug_on THEN
1094: WSH_DEBUG_SV.push(l_module_name);
1095: --
1096: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
1097: WSH_DEBUG_SV.log(l_module_name,'Submitting the request');
1098: l_log_level := 1;

Line 1096: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);

1092: --
1093: IF l_debug_on THEN
1094: WSH_DEBUG_SV.push(l_module_name);
1095: --
1096: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
1097: WSH_DEBUG_SV.log(l_module_name,'Submitting the request');
1098: l_log_level := 1;
1099: END IF;
1100: --

Line 1097: WSH_DEBUG_SV.log(l_module_name,'Submitting the request');

1093: IF l_debug_on THEN
1094: WSH_DEBUG_SV.push(l_module_name);
1095: --
1096: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
1097: WSH_DEBUG_SV.log(l_module_name,'Submitting the request');
1098: l_log_level := 1;
1099: END IF;
1100: --
1101: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;

Line 1110: WSH_DEBUG_SV.log(l_module_name,'request_id',request_id);

1106: p_stop_id, -- stop
1107: '', -- delivery
1108: l_log_level); -- log level
1109: IF l_debug_on THEN
1110: WSH_DEBUG_SV.log(l_module_name,'request_id',request_id);
1111: END IF;
1112: if (request_id = 0) THEN
1113: raise inv_inter_req_submission;
1114: else

Line 1121: WSH_DEBUG_SV.pop(l_module_name);

1117: WSH_UTIL_CORE.ADD_MESSAGE(x_return_status,l_module_name);
1118: END if;
1119:
1120: IF l_debug_on THEN
1121: WSH_DEBUG_SV.pop(l_module_name);
1122: END IF;
1123: --
1124: exception
1125: WHEN inv_inter_req_submission THEN

Line 1130: WSH_DEBUG_SV.logmsg(l_module_name,'INV_INTER_REQ_SUBMISSION exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);

1126: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;
1127: fnd_message.set_name('WSH', 'WSH_DET_INV_INT_REQ_SUBMISSION');
1128: WSH_UTIL_CORE.ADD_MESSAGE(x_return_status,l_module_name);
1129: IF l_debug_on THEN
1130: WSH_DEBUG_SV.logmsg(l_module_name,'INV_INTER_REQ_SUBMISSION exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
1131: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:INV_INTER_REQ_SUBMISSION');
1132: END IF;
1133: --
1134: WHEN others THEN

Line 1131: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:INV_INTER_REQ_SUBMISSION');

1127: fnd_message.set_name('WSH', 'WSH_DET_INV_INT_REQ_SUBMISSION');
1128: WSH_UTIL_CORE.ADD_MESSAGE(x_return_status,l_module_name);
1129: IF l_debug_on THEN
1130: WSH_DEBUG_SV.logmsg(l_module_name,'INV_INTER_REQ_SUBMISSION exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
1131: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:INV_INTER_REQ_SUBMISSION');
1132: END IF;
1133: --
1134: WHEN others THEN
1135: wsh_util_core.default_handler('WSH_SHIP_CONFRIM_ACTIONS.SHIP_CONFIRM_A_TRIP_STOP',l_module_name);

Line 1138: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

1134: WHEN others THEN
1135: wsh_util_core.default_handler('WSH_SHIP_CONFRIM_ACTIONS.SHIP_CONFIRM_A_TRIP_STOP',l_module_name);
1136: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;
1137: IF l_debug_on THEN
1138: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
1139: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
1140: END IF;
1141: --
1142: END Ship_Confirm_A_Trip_Stop;

Line 1139: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

1135: wsh_util_core.default_handler('WSH_SHIP_CONFRIM_ACTIONS.SHIP_CONFIRM_A_TRIP_STOP',l_module_name);
1136: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;
1137: IF l_debug_on THEN
1138: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
1139: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
1140: END IF;
1141: --
1142: END Ship_Confirm_A_Trip_Stop;
1143:

Line 1199: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

1195: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
1196: --
1197: IF l_debug_on IS NULL
1198: THEN
1199: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
1200: END IF;
1201: --
1202: IF l_debug_on THEN
1203: WSH_DEBUG_SV.push(l_module_name);

Line 1203: WSH_DEBUG_SV.push(l_module_name);

1199: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
1200: END IF;
1201: --
1202: IF l_debug_on THEN
1203: WSH_DEBUG_SV.push(l_module_name);
1204: --
1205: WSH_DEBUG_SV.log(l_module_name,'p_num_stops',p_num_stops);
1206: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
1207: WSH_DEBUG_SV.log(l_module_name,'X_MASTER_STATUS',X_MASTER_STATUS);

Line 1205: WSH_DEBUG_SV.log(l_module_name,'p_num_stops',p_num_stops);

1201: --
1202: IF l_debug_on THEN
1203: WSH_DEBUG_SV.push(l_module_name);
1204: --
1205: WSH_DEBUG_SV.log(l_module_name,'p_num_stops',p_num_stops);
1206: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
1207: WSH_DEBUG_SV.log(l_module_name,'X_MASTER_STATUS',X_MASTER_STATUS);
1208: WSH_DEBUG_SV.log(l_module_name,'P_API_STATUS',P_API_STATUS);
1209: WSH_DEBUG_SV.log(l_module_name,'X_NORMAL_COUNT',X_NORMAL_COUNT);

Line 1206: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);

1202: IF l_debug_on THEN
1203: WSH_DEBUG_SV.push(l_module_name);
1204: --
1205: WSH_DEBUG_SV.log(l_module_name,'p_num_stops',p_num_stops);
1206: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
1207: WSH_DEBUG_SV.log(l_module_name,'X_MASTER_STATUS',X_MASTER_STATUS);
1208: WSH_DEBUG_SV.log(l_module_name,'P_API_STATUS',P_API_STATUS);
1209: WSH_DEBUG_SV.log(l_module_name,'X_NORMAL_COUNT',X_NORMAL_COUNT);
1210: WSH_DEBUG_SV.log(l_module_name,'X_WARNING_COUNT',X_WARNING_COUNT);

Line 1207: WSH_DEBUG_SV.log(l_module_name,'X_MASTER_STATUS',X_MASTER_STATUS);

1203: WSH_DEBUG_SV.push(l_module_name);
1204: --
1205: WSH_DEBUG_SV.log(l_module_name,'p_num_stops',p_num_stops);
1206: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
1207: WSH_DEBUG_SV.log(l_module_name,'X_MASTER_STATUS',X_MASTER_STATUS);
1208: WSH_DEBUG_SV.log(l_module_name,'P_API_STATUS',P_API_STATUS);
1209: WSH_DEBUG_SV.log(l_module_name,'X_NORMAL_COUNT',X_NORMAL_COUNT);
1210: WSH_DEBUG_SV.log(l_module_name,'X_WARNING_COUNT',X_WARNING_COUNT);
1211: WSH_DEBUG_SV.log(l_module_name,'X_INTERFACED_COUNT',X_INTERFACED_COUNT);

Line 1208: WSH_DEBUG_SV.log(l_module_name,'P_API_STATUS',P_API_STATUS);

1204: --
1205: WSH_DEBUG_SV.log(l_module_name,'p_num_stops',p_num_stops);
1206: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
1207: WSH_DEBUG_SV.log(l_module_name,'X_MASTER_STATUS',X_MASTER_STATUS);
1208: WSH_DEBUG_SV.log(l_module_name,'P_API_STATUS',P_API_STATUS);
1209: WSH_DEBUG_SV.log(l_module_name,'X_NORMAL_COUNT',X_NORMAL_COUNT);
1210: WSH_DEBUG_SV.log(l_module_name,'X_WARNING_COUNT',X_WARNING_COUNT);
1211: WSH_DEBUG_SV.log(l_module_name,'X_INTERFACED_COUNT',X_INTERFACED_COUNT);
1212: END IF;

Line 1209: WSH_DEBUG_SV.log(l_module_name,'X_NORMAL_COUNT',X_NORMAL_COUNT);

1205: WSH_DEBUG_SV.log(l_module_name,'p_num_stops',p_num_stops);
1206: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
1207: WSH_DEBUG_SV.log(l_module_name,'X_MASTER_STATUS',X_MASTER_STATUS);
1208: WSH_DEBUG_SV.log(l_module_name,'P_API_STATUS',P_API_STATUS);
1209: WSH_DEBUG_SV.log(l_module_name,'X_NORMAL_COUNT',X_NORMAL_COUNT);
1210: WSH_DEBUG_SV.log(l_module_name,'X_WARNING_COUNT',X_WARNING_COUNT);
1211: WSH_DEBUG_SV.log(l_module_name,'X_INTERFACED_COUNT',X_INTERFACED_COUNT);
1212: END IF;
1213: --

Line 1210: WSH_DEBUG_SV.log(l_module_name,'X_WARNING_COUNT',X_WARNING_COUNT);

1206: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
1207: WSH_DEBUG_SV.log(l_module_name,'X_MASTER_STATUS',X_MASTER_STATUS);
1208: WSH_DEBUG_SV.log(l_module_name,'P_API_STATUS',P_API_STATUS);
1209: WSH_DEBUG_SV.log(l_module_name,'X_NORMAL_COUNT',X_NORMAL_COUNT);
1210: WSH_DEBUG_SV.log(l_module_name,'X_WARNING_COUNT',X_WARNING_COUNT);
1211: WSH_DEBUG_SV.log(l_module_name,'X_INTERFACED_COUNT',X_INTERFACED_COUNT);
1212: END IF;
1213: --
1214: IF p_num_stops IS NOT NULL THEN

Line 1211: WSH_DEBUG_SV.log(l_module_name,'X_INTERFACED_COUNT',X_INTERFACED_COUNT);

1207: WSH_DEBUG_SV.log(l_module_name,'X_MASTER_STATUS',X_MASTER_STATUS);
1208: WSH_DEBUG_SV.log(l_module_name,'P_API_STATUS',P_API_STATUS);
1209: WSH_DEBUG_SV.log(l_module_name,'X_NORMAL_COUNT',X_NORMAL_COUNT);
1210: WSH_DEBUG_SV.log(l_module_name,'X_WARNING_COUNT',X_WARNING_COUNT);
1211: WSH_DEBUG_SV.log(l_module_name,'X_INTERFACED_COUNT',X_INTERFACED_COUNT);
1212: END IF;
1213: --
1214: IF p_num_stops IS NOT NULL THEN
1215: l_stops_in_batch := p_num_stops;

Line 1221: WSH_DEBUG_SV.log(l_module_name,'l_stops_in_batch',l_stops_in_batch);

1217: OPEN c_get_num_stops(p_batch_id);
1218: FETCH c_get_num_stops INTO l_stops_in_batch;
1219: CLOSE c_get_num_stops;
1220: IF l_debug_on THEN
1221: WSH_DEBUG_SV.log(l_module_name,'l_stops_in_batch',l_stops_in_batch);
1222: END IF;
1223: END IF;
1224:
1225: IF p_api_status = 'NORMAL' THEN

Line 1246: WSH_DEBUG_SV.log(l_module_name,'X_MASTER_STATUS',X_MASTER_STATUS);

1242: x_master_status := 'ERROR';
1243: END IF;
1244: --
1245: IF l_debug_on THEN
1246: WSH_DEBUG_SV.log(l_module_name,'X_MASTER_STATUS',X_MASTER_STATUS);
1247: WSH_DEBUG_SV.log(l_module_name,'P_API_STATUS',P_API_STATUS);
1248: WSH_DEBUG_SV.log(l_module_name,'X_NORMAL_COUNT',X_NORMAL_COUNT);
1249: WSH_DEBUG_SV.log(l_module_name,'X_WARNING_COUNT',X_WARNING_COUNT);
1250: WSH_DEBUG_SV.log(l_module_name,'X_INTERFACED_COUNT',X_INTERFACED_COUNT);

Line 1247: WSH_DEBUG_SV.log(l_module_name,'P_API_STATUS',P_API_STATUS);

1243: END IF;
1244: --
1245: IF l_debug_on THEN
1246: WSH_DEBUG_SV.log(l_module_name,'X_MASTER_STATUS',X_MASTER_STATUS);
1247: WSH_DEBUG_SV.log(l_module_name,'P_API_STATUS',P_API_STATUS);
1248: WSH_DEBUG_SV.log(l_module_name,'X_NORMAL_COUNT',X_NORMAL_COUNT);
1249: WSH_DEBUG_SV.log(l_module_name,'X_WARNING_COUNT',X_WARNING_COUNT);
1250: WSH_DEBUG_SV.log(l_module_name,'X_INTERFACED_COUNT',X_INTERFACED_COUNT);
1251: WSH_DEBUG_SV.pop(l_module_name);

Line 1248: WSH_DEBUG_SV.log(l_module_name,'X_NORMAL_COUNT',X_NORMAL_COUNT);

1244: --
1245: IF l_debug_on THEN
1246: WSH_DEBUG_SV.log(l_module_name,'X_MASTER_STATUS',X_MASTER_STATUS);
1247: WSH_DEBUG_SV.log(l_module_name,'P_API_STATUS',P_API_STATUS);
1248: WSH_DEBUG_SV.log(l_module_name,'X_NORMAL_COUNT',X_NORMAL_COUNT);
1249: WSH_DEBUG_SV.log(l_module_name,'X_WARNING_COUNT',X_WARNING_COUNT);
1250: WSH_DEBUG_SV.log(l_module_name,'X_INTERFACED_COUNT',X_INTERFACED_COUNT);
1251: WSH_DEBUG_SV.pop(l_module_name);
1252: END IF;

Line 1249: WSH_DEBUG_SV.log(l_module_name,'X_WARNING_COUNT',X_WARNING_COUNT);

1245: IF l_debug_on THEN
1246: WSH_DEBUG_SV.log(l_module_name,'X_MASTER_STATUS',X_MASTER_STATUS);
1247: WSH_DEBUG_SV.log(l_module_name,'P_API_STATUS',P_API_STATUS);
1248: WSH_DEBUG_SV.log(l_module_name,'X_NORMAL_COUNT',X_NORMAL_COUNT);
1249: WSH_DEBUG_SV.log(l_module_name,'X_WARNING_COUNT',X_WARNING_COUNT);
1250: WSH_DEBUG_SV.log(l_module_name,'X_INTERFACED_COUNT',X_INTERFACED_COUNT);
1251: WSH_DEBUG_SV.pop(l_module_name);
1252: END IF;
1253: --

Line 1250: WSH_DEBUG_SV.log(l_module_name,'X_INTERFACED_COUNT',X_INTERFACED_COUNT);

1246: WSH_DEBUG_SV.log(l_module_name,'X_MASTER_STATUS',X_MASTER_STATUS);
1247: WSH_DEBUG_SV.log(l_module_name,'P_API_STATUS',P_API_STATUS);
1248: WSH_DEBUG_SV.log(l_module_name,'X_NORMAL_COUNT',X_NORMAL_COUNT);
1249: WSH_DEBUG_SV.log(l_module_name,'X_WARNING_COUNT',X_WARNING_COUNT);
1250: WSH_DEBUG_SV.log(l_module_name,'X_INTERFACED_COUNT',X_INTERFACED_COUNT);
1251: WSH_DEBUG_SV.pop(l_module_name);
1252: END IF;
1253: --
1254: END Update_Completion_Status;

Line 1251: WSH_DEBUG_SV.pop(l_module_name);

1247: WSH_DEBUG_SV.log(l_module_name,'P_API_STATUS',P_API_STATUS);
1248: WSH_DEBUG_SV.log(l_module_name,'X_NORMAL_COUNT',X_NORMAL_COUNT);
1249: WSH_DEBUG_SV.log(l_module_name,'X_WARNING_COUNT',X_WARNING_COUNT);
1250: WSH_DEBUG_SV.log(l_module_name,'X_INTERFACED_COUNT',X_INTERFACED_COUNT);
1251: WSH_DEBUG_SV.pop(l_module_name);
1252: END IF;
1253: --
1254: END Update_Completion_Status;
1255: -- end bug 1578251: internal procedure to manage completion_status

Line 1347: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

1343: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
1344: --
1345: IF l_debug_on IS NULL
1346: THEN
1347: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
1348: END IF;
1349: --
1350: IF l_debug_on THEN
1351: WSH_DEBUG_SV.push(l_module_name);

Line 1351: WSH_DEBUG_SV.push(l_module_name);

1347: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
1348: END IF;
1349: --
1350: IF l_debug_on THEN
1351: WSH_DEBUG_SV.push(l_module_name);
1352: --
1353: WSH_DEBUG_SV.log(l_module_name,'x_split_stops.count',
1354: x_split_stops.COUNT);
1355: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count', x_stop_tab.COUNT);

Line 1353: WSH_DEBUG_SV.log(l_module_name,'x_split_stops.count',

1349: --
1350: IF l_debug_on THEN
1351: WSH_DEBUG_SV.push(l_module_name);
1352: --
1353: WSH_DEBUG_SV.log(l_module_name,'x_split_stops.count',
1354: x_split_stops.COUNT);
1355: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count', x_stop_tab.COUNT);
1356: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
1357: END IF;

Line 1355: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count', x_stop_tab.COUNT);

1351: WSH_DEBUG_SV.push(l_module_name);
1352: --
1353: WSH_DEBUG_SV.log(l_module_name,'x_split_stops.count',
1354: x_split_stops.COUNT);
1355: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count', x_stop_tab.COUNT);
1356: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
1357: END IF;
1358:
1359: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;

Line 1356: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);

1352: --
1353: WSH_DEBUG_SV.log(l_module_name,'x_split_stops.count',
1354: x_split_stops.COUNT);
1355: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count', x_stop_tab.COUNT);
1356: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
1357: END IF;
1358:
1359: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
1360:

Line 1376: WSH_DEBUG_SV.log(l_module_name,'Adding stop',x_split_stops(x));

1372: SET batch_id = p_batch_id
1373: WHERE stop_id = x_split_stops(x);
1374:
1375: IF l_debug_on THEN
1376: WSH_DEBUG_SV.log(l_module_name,'Adding stop',x_split_stops(x));
1377: END IF;
1378:
1379: -- add the left over stops from previuos batch to current stops
1380: l_stop_tab(l_stop_tab.COUNT + 1) := x_split_stops(x);

Line 1419: WSH_DEBUG_SV.log(l_module_name,'removing stop',

1415: WHERE stop_id = l_stop_tab(x)
1416: AND batch_id = p_batch_id;
1417:
1418: IF l_debug_on THEN
1419: WSH_DEBUG_SV.log(l_module_name,'removing stop',
1420: l_stop_tab(x));
1421: END IF;
1422:
1423: ELSE --}{

Line 1437: WSH_DEBUG_SV.log(l_module_name,'x_split_stops.count',

1433: END IF;--}
1434:
1435:
1436: IF l_debug_on THEN
1437: WSH_DEBUG_SV.log(l_module_name,'x_split_stops.count',
1438: x_split_stops.COUNT);
1439: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count',x_stop_tab.COUNT);
1440: WSH_DEBUG_SV.pop(l_module_name);
1441: END IF;

Line 1439: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count',x_stop_tab.COUNT);

1435:
1436: IF l_debug_on THEN
1437: WSH_DEBUG_SV.log(l_module_name,'x_split_stops.count',
1438: x_split_stops.COUNT);
1439: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count',x_stop_tab.COUNT);
1440: WSH_DEBUG_SV.pop(l_module_name);
1441: END IF;
1442:
1443: EXCEPTION

Line 1440: WSH_DEBUG_SV.pop(l_module_name);

1436: IF l_debug_on THEN
1437: WSH_DEBUG_SV.log(l_module_name,'x_split_stops.count',
1438: x_split_stops.COUNT);
1439: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count',x_stop_tab.COUNT);
1440: WSH_DEBUG_SV.pop(l_module_name);
1441: END IF;
1442:
1443: EXCEPTION
1444: WHEN OTHERS THEN

Line 1448: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

1444: WHEN OTHERS THEN
1445: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR ;
1446:
1447: IF l_debug_on THEN
1448: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
1449: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
1450: END IF;
1451:
1452: END handle_stop_lvl_splits;

Line 1449: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

1445: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR ;
1446:
1447: IF l_debug_on THEN
1448: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
1449: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
1450: END IF;
1451:
1452: END handle_stop_lvl_splits;
1453:

Line 1715: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

1711: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
1712: --
1713: IF l_debug_on IS NULL
1714: THEN
1715: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
1716: END IF;
1717: --
1718: IF l_debug_on THEN
1719: WSH_DEBUG_SV.push(l_module_name);

Line 1719: WSH_DEBUG_SV.push(l_module_name);

1715: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
1716: END IF;
1717: --
1718: IF l_debug_on THEN
1719: WSH_DEBUG_SV.push(l_module_name);
1720: --
1721: WSH_DEBUG_SV.log(l_module_name,'P_MODE',P_MODE);
1722: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
1723: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);

Line 1721: WSH_DEBUG_SV.log(l_module_name,'P_MODE',P_MODE);

1717: --
1718: IF l_debug_on THEN
1719: WSH_DEBUG_SV.push(l_module_name);
1720: --
1721: WSH_DEBUG_SV.log(l_module_name,'P_MODE',P_MODE);
1722: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
1723: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
1724: WSH_DEBUG_SV.log(l_module_name,'P_LOG_LEVEL',P_LOG_LEVEL);
1725: WSH_DEBUG_SV.log(l_module_name,'p_organization_id',p_organization_id);

Line 1722: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);

1718: IF l_debug_on THEN
1719: WSH_DEBUG_SV.push(l_module_name);
1720: --
1721: WSH_DEBUG_SV.log(l_module_name,'P_MODE',P_MODE);
1722: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
1723: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
1724: WSH_DEBUG_SV.log(l_module_name,'P_LOG_LEVEL',P_LOG_LEVEL);
1725: WSH_DEBUG_SV.log(l_module_name,'p_organization_id',p_organization_id);
1726: WSH_DEBUG_SV.log(l_module_name,'p_stops_per_batch',p_stops_per_batch);

Line 1723: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);

1719: WSH_DEBUG_SV.push(l_module_name);
1720: --
1721: WSH_DEBUG_SV.log(l_module_name,'P_MODE',P_MODE);
1722: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
1723: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
1724: WSH_DEBUG_SV.log(l_module_name,'P_LOG_LEVEL',P_LOG_LEVEL);
1725: WSH_DEBUG_SV.log(l_module_name,'p_organization_id',p_organization_id);
1726: WSH_DEBUG_SV.log(l_module_name,'p_stops_per_batch',p_stops_per_batch);
1727: END IF;

Line 1724: WSH_DEBUG_SV.log(l_module_name,'P_LOG_LEVEL',P_LOG_LEVEL);

1720: --
1721: WSH_DEBUG_SV.log(l_module_name,'P_MODE',P_MODE);
1722: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
1723: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
1724: WSH_DEBUG_SV.log(l_module_name,'P_LOG_LEVEL',P_LOG_LEVEL);
1725: WSH_DEBUG_SV.log(l_module_name,'p_organization_id',p_organization_id);
1726: WSH_DEBUG_SV.log(l_module_name,'p_stops_per_batch',p_stops_per_batch);
1727: END IF;
1728:

Line 1725: WSH_DEBUG_SV.log(l_module_name,'p_organization_id',p_organization_id);

1721: WSH_DEBUG_SV.log(l_module_name,'P_MODE',P_MODE);
1722: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
1723: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
1724: WSH_DEBUG_SV.log(l_module_name,'P_LOG_LEVEL',P_LOG_LEVEL);
1725: WSH_DEBUG_SV.log(l_module_name,'p_organization_id',p_organization_id);
1726: WSH_DEBUG_SV.log(l_module_name,'p_stops_per_batch',p_stops_per_batch);
1727: END IF;
1728:
1729: --

Line 1726: WSH_DEBUG_SV.log(l_module_name,'p_stops_per_batch',p_stops_per_batch);

1722: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
1723: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
1724: WSH_DEBUG_SV.log(l_module_name,'P_LOG_LEVEL',P_LOG_LEVEL);
1725: WSH_DEBUG_SV.log(l_module_name,'p_organization_id',p_organization_id);
1726: WSH_DEBUG_SV.log(l_module_name,'p_stops_per_batch',p_stops_per_batch);
1727: END IF;
1728:
1729: --
1730: l_completion_status := 'NORMAL';

Line 1739: WSH_DEBUG_SV.log(l_module_name,'Error negative p_stops_per_batch',

1735: IF p_stops_per_batch IS NULL or p_stops_per_batch = 0 THEN
1736: l_stops_per_batch := 1;
1737: ELSIF p_stops_per_batch < 0 THEN
1738: IF l_debug_on THEN
1739: WSH_DEBUG_SV.log(l_module_name,'Error negative p_stops_per_batch',
1740: p_stops_per_batch );
1741: END IF;
1742: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1743: ELSE

Line 1752: WSH_DEBUG_SV.log(l_module_name,'l_invoicing_method',

1748: IF l_stops_per_batch > 1 THEN --{
1749: FND_PROFILE.Get('WSH_INVOICE_NUMBERING_METHOD',l_invoicing_method);
1750:
1751: IF l_debug_on THEN
1752: WSH_DEBUG_SV.log(l_module_name,'l_invoicing_method',
1753: l_invoicing_method );
1754: END IF;
1755:
1756: IF l_invoicing_method = 'D' THEN

Line 1770: WSH_DEBUG_SV.log(l_module_name,'l_standalone',l_standalone );

1766: l_standalone := 'N';
1767: END IF;
1768:
1769: IF l_debug_on THEN
1770: WSH_DEBUG_SV.log(l_module_name,'l_standalone',l_standalone );
1771: END IF;
1772:
1773: IF p_mode <> 'ALL' THEN
1774: l_interface_mode := p_mode;

Line 1782: WSH_DEBUG_SV.logmsg(l_module_name, 'Standalone is enabled only INV and DSNO will be run');

1778:
1779: IF l_standalone = 'Y' THEN --Standalone WMS project changes
1780: l_interface_mode := 'INV DSNO';
1781: IF l_debug_on THEN
1782: WSH_DEBUG_SV.logmsg(l_module_name, 'Standalone is enabled only INV and DSNO will be run');
1783: END IF;
1784: END IF;
1785:
1786:

Line 1793: WSH_DEBUG_SV.logmsg(l_module_name, 'INTERFACETRIPSTOP: FINDING STOP FOR DELIVERY_ID ' || P_DELIVERY_ID );

1789: l_stop_id := p_stop_id;
1790: ELSE
1791: --
1792: IF l_debug_on THEN
1793: WSH_DEBUG_SV.logmsg(l_module_name, 'INTERFACETRIPSTOP: FINDING STOP FOR DELIVERY_ID ' || P_DELIVERY_ID );
1794: END IF;
1795: --
1796: OPEN c_delivery_stop(p_delivery_id);
1797: FETCH c_delivery_stop INTO l_stop_id;

Line 1803: WSH_DEBUG_SV.log(l_module_name,'l_stop_id',l_stop_id);

1799: l_stop_id := NULL;
1800: END IF;
1801: CLOSE c_delivery_stop;
1802: IF l_debug_on THEN
1803: WSH_DEBUG_SV.log(l_module_name,'l_stop_id',l_stop_id);
1804: END IF;
1805: IF l_stop_id IS NULL THEN
1806: WSH_UTIL_CORE.PrintMsg('InterfaceTripStop: cannot find stop. Exiting.');
1807: l_completion_status := 'WARNING';

Line 1847: WSH_DEBUG_SV.log(l_module_name,'l_inv_interface',l_inv_interface);

1843: l_dsno_interface := 1;
1844: END IF;
1845:
1846: IF l_debug_on THEN
1847: WSH_DEBUG_SV.log(l_module_name,'l_inv_interface',l_inv_interface);
1848: WSH_DEBUG_SV.log(l_module_name,'l_om_interface',l_om_interface);
1849: WSH_DEBUG_SV.log(l_module_name,'l_dsno_interface',l_dsno_interface);
1850: WSH_DEBUG_SV.log(l_module_name,'l_interface_mode',l_interface_mode);
1851: WSH_DEBUG_SV.log(l_module_name,'l_stop_id',l_stop_id);

Line 1848: WSH_DEBUG_SV.log(l_module_name,'l_om_interface',l_om_interface);

1844: END IF;
1845:
1846: IF l_debug_on THEN
1847: WSH_DEBUG_SV.log(l_module_name,'l_inv_interface',l_inv_interface);
1848: WSH_DEBUG_SV.log(l_module_name,'l_om_interface',l_om_interface);
1849: WSH_DEBUG_SV.log(l_module_name,'l_dsno_interface',l_dsno_interface);
1850: WSH_DEBUG_SV.log(l_module_name,'l_interface_mode',l_interface_mode);
1851: WSH_DEBUG_SV.log(l_module_name,'l_stop_id',l_stop_id);
1852: END IF;

Line 1849: WSH_DEBUG_SV.log(l_module_name,'l_dsno_interface',l_dsno_interface);

1845:
1846: IF l_debug_on THEN
1847: WSH_DEBUG_SV.log(l_module_name,'l_inv_interface',l_inv_interface);
1848: WSH_DEBUG_SV.log(l_module_name,'l_om_interface',l_om_interface);
1849: WSH_DEBUG_SV.log(l_module_name,'l_dsno_interface',l_dsno_interface);
1850: WSH_DEBUG_SV.log(l_module_name,'l_interface_mode',l_interface_mode);
1851: WSH_DEBUG_SV.log(l_module_name,'l_stop_id',l_stop_id);
1852: END IF;
1853:

Line 1850: WSH_DEBUG_SV.log(l_module_name,'l_interface_mode',l_interface_mode);

1846: IF l_debug_on THEN
1847: WSH_DEBUG_SV.log(l_module_name,'l_inv_interface',l_inv_interface);
1848: WSH_DEBUG_SV.log(l_module_name,'l_om_interface',l_om_interface);
1849: WSH_DEBUG_SV.log(l_module_name,'l_dsno_interface',l_dsno_interface);
1850: WSH_DEBUG_SV.log(l_module_name,'l_interface_mode',l_interface_mode);
1851: WSH_DEBUG_SV.log(l_module_name,'l_stop_id',l_stop_id);
1852: END IF;
1853:
1854: -- Based on input criteria open one of these cursors to query for the

Line 1851: WSH_DEBUG_SV.log(l_module_name,'l_stop_id',l_stop_id);

1847: WSH_DEBUG_SV.log(l_module_name,'l_inv_interface',l_inv_interface);
1848: WSH_DEBUG_SV.log(l_module_name,'l_om_interface',l_om_interface);
1849: WSH_DEBUG_SV.log(l_module_name,'l_dsno_interface',l_dsno_interface);
1850: WSH_DEBUG_SV.log(l_module_name,'l_interface_mode',l_interface_mode);
1851: WSH_DEBUG_SV.log(l_module_name,'l_stop_id',l_stop_id);
1852: END IF;
1853:
1854: -- Based on input criteria open one of these cursors to query for the
1855: -- eligible trip stops.

Line 1928: WSH_DEBUG_SV.log(l_module_name,'l_override_wf',l_override_wf);

1924:
1925: --/== Workflow Changes
1926: l_override_wf:= fnd_profile.value('WSH_OVERRIDE_SCPOD_WF');
1927: IF l_debug_on THEN
1928: WSH_DEBUG_SV.log(l_module_name,'l_override_wf',l_override_wf);
1929: END IF;
1930:
1931: IF (nvl(l_override_wf,'N') = 'N') THEN
1932: FOR cur_rec IN c_stop_to_del_cur_wf(l_stop_id) LOOP

Line 1945: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_WF_STD.Log_Wf_Exception', WSH_DEBUG_SV.C_PROC_LEVEL);

1941: FOR cur_rec IN c_stop_to_del_cur_wf(l_stop_id) LOOP
1942: IF (WSH_WF_STD.Wf_Exists('DELIVERY_C',cur_rec.delivery_id)) THEN
1943: l_del_entity_ids(l_del_entity_ids.count +1) := cur_rec.delivery_id;
1944: IF l_debug_on THEN
1945: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_WF_STD.Log_Wf_Exception', WSH_DEBUG_SV.C_PROC_LEVEL);
1946: END IF;
1947: WSH_WF_STD.Log_Wf_Exception(p_entity_type => 'DELIVERY',
1948: p_entity_id => cur_rec.delivery_id,
1949: p_ship_from_location_id => cur_rec.initial_pickup_location_id,

Line 1954: WSH_DEBUG_SV.log(l_module_name,'Return status after calling WSH_WF_STD.Log_Wf_Exception',l_wf_rs);

1950: p_logging_entity => 'SHIPPER',
1951: p_exception_name => 'WSH_DEL_SCPOD_PURGED',
1952: x_return_status => l_wf_rs);
1953: IF l_debug_on THEN
1954: WSH_DEBUG_SV.log(l_module_name,'Return status after calling WSH_WF_STD.Log_Wf_Exception',l_wf_rs);
1955: END IF;
1956: END IF;
1957: END LOOP;
1958: END IF;

Line 1963: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_WF_STD.PURGE_ENTITY',WSH_DEBUG_SV.C_PROC_LEVEL);

1959:
1960: -- Purging Overridden Workflows after the loop
1961: IF (l_del_entity_ids.count > 0) THEN
1962: IF l_debug_on THEN
1963: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_WF_STD.PURGE_ENTITY',WSH_DEBUG_SV.C_PROC_LEVEL);
1964: END IF;
1965: WSH_WF_STD.Purge_Entity(
1966: p_entity_type => 'DELIVERY',
1967: p_entity_ids => l_del_entity_ids,

Line 1971: WSH_DEBUG_SV.log(l_module_name,'L_PURGED_COUNT',l_purged_count);

1967: p_entity_ids => l_del_entity_ids,
1968: x_success_count => l_purged_count,
1969: x_return_status => l_wf_rs);
1970: IF l_debug_on THEN
1971: WSH_DEBUG_SV.log(l_module_name,'L_PURGED_COUNT',l_purged_count);
1972: WSH_DEBUG_SV.log(l_module_name,'L_WF_RS',l_wf_rs);
1973: END IF;
1974: END IF;
1975: -- Workflow Changes ==/

Line 1972: WSH_DEBUG_SV.log(l_module_name,'L_WF_RS',l_wf_rs);

1968: x_success_count => l_purged_count,
1969: x_return_status => l_wf_rs);
1970: IF l_debug_on THEN
1971: WSH_DEBUG_SV.log(l_module_name,'L_PURGED_COUNT',l_purged_count);
1972: WSH_DEBUG_SV.log(l_module_name,'L_WF_RS',l_wf_rs);
1973: END IF;
1974: END IF;
1975: -- Workflow Changes ==/
1976:

Line 1994: WSH_DEBUG_SV.log(l_module_name,

1990: l_notfound BOOLEAN;
1991: l_action VARCHAR2(100);
1992: BEGIN
1993: IF l_debug_on THEN
1994: WSH_DEBUG_SV.log(l_module_name,
1995: 'setting savepoint before_flag_change');
1996: END IF;
1997:
1998: SAVEPOINT before_flag_change;

Line 2002: WSH_DEBUG_SV.log(l_module_name,

1998: SAVEPOINT before_flag_change;
1999:
2000: IF NOT l_batch_ready THEN --{
2001: IF l_debug_on THEN
2002: WSH_DEBUG_SV.log(l_module_name,
2003: 'locking row for ' || l_stop_id);
2004: END IF;
2005:
2006: l_action := 'locking';

Line 2024: WSH_DEBUG_SV.log(l_module_name,

2020:
2021: l_action := 'updating';
2022:
2023: IF l_debug_on THEN
2024: WSH_DEBUG_SV.log(l_module_name,
2025: 'updating pending_interface_flag to P for batch', l_stop_batch_id);
2026: END IF;
2027:
2028:

Line 2076: WSH_DEBUG_SV.log(l_module_name,

2072: EXCEPTION
2073: WHEN trip_stop_locked THEN
2074: -- stop is locked; probably used by another process
2075: IF l_debug_on THEN
2076: WSH_DEBUG_SV.log(l_module_name,
2077: 'stop is locked');
2078: END IF;
2079: WSH_UTIL_CORE.Println('Interface_All: skipping locked stop_id ' || l_stop_id || ' is locked.');
2080: IF lock_row%ISOPEN THEN

Line 2084: --WSH_DEBUG_SV.log(l_module_name,

2080: IF lock_row%ISOPEN THEN
2081: CLOSE lock_row;
2082: END IF;
2083: --IF l_debug_on THEN
2084: --WSH_DEBUG_SV.log(l_module_name,
2085: --'rollback to before_flag_change');
2086: --END IF;
2087: -- rollback to before_flag_change;
2088: -- why do we need rollback? nothing is updated

Line 2097: WSH_DEBUG_SV.log(l_module_name,

2093: RAISE e_continue;
2094:
2095: WHEN OTHERS THEN
2096: IF l_debug_on THEN
2097: WSH_DEBUG_SV.log(l_module_name,
2098: 'unhandled exception for action ' || l_action);
2099: END IF;
2100:
2101: l_completion_status := 'ERROR';

Line 2114: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

2110: CLOSE lock_row;
2111: END IF;
2112: rollback to before_flag_change;
2113: IF l_debug_on THEN
2114: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
2115: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
2116: END IF;
2117: RETURN;
2118: END;

Line 2115: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

2111: END IF;
2112: rollback to before_flag_change;
2113: IF l_debug_on THEN
2114: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
2115: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
2116: END IF;
2117: RETURN;
2118: END;
2119:

Line 2125: WSH_DEBUG_SV.logmsg(l_module_name, C_STOP_SEPARATOR );

2121: l_api_completion_status := 'NORMAL';
2122: l_previous_interface := FALSE;
2123:
2124: IF l_debug_on THEN
2125: WSH_DEBUG_SV.logmsg(l_module_name, C_STOP_SEPARATOR );
2126: END IF;
2127: --
2128:
2129: -- The stops being processed for OM interface are stored in l_stop_tab

Line 2142: WSH_DEBUG_SV.logmsg(l_module_name, C_INTERFACE_SEPARATOR );

2138:
2139: IF l_previous_interface THEN
2140: --
2141: IF l_debug_on THEN
2142: WSH_DEBUG_SV.logmsg(l_module_name, C_INTERFACE_SEPARATOR );
2143: END IF;
2144: --
2145: END IF;
2146: l_previous_interface := TRUE;

Line 2158: WSH_DEBUG_SV.logmsg(l_module_name, 'INTERFACETRIPSTOP: RESULT OF OM INTERFACING BATCH_ID ' || TO_CHAR ( l_stop_batch_id ) || ' = ' || L_API_COMPLETION_STATUS );

2154: x_completion_status =>l_api_completion_status);
2155:
2156: --
2157: IF l_debug_on THEN
2158: WSH_DEBUG_SV.logmsg(l_module_name, 'INTERFACETRIPSTOP: RESULT OF OM INTERFACING BATCH_ID ' || TO_CHAR ( l_stop_batch_id ) || ' = ' || L_API_COMPLETION_STATUS );
2159: END IF;
2160: --
2161:
2162: IF NVL(l_err_stops_count,0) = 0 THEN --{

Line 2204: WSH_DEBUG_SV.logmsg(l_module_name,

2200: IF OM_INTERFACED(p_batch_id) THEN
2201: FOR cur_rec IN c_stop_to_del_cur_wf(l_stop_id) LOOP
2202:
2203: IF l_debug_on THEN
2204: WSH_DEBUG_SV.logmsg(l_module_name,
2205: 'Calling program unit WSH_WF_STD.RAISE_EVENT',
2206: WSH_DEBUG_SV.C_PROC_LEVEL);
2207: END IF;
2208:

Line 2206: WSH_DEBUG_SV.C_PROC_LEVEL);

2202:
2203: IF l_debug_on THEN
2204: WSH_DEBUG_SV.logmsg(l_module_name,
2205: 'Calling program unit WSH_WF_STD.RAISE_EVENT',
2206: WSH_DEBUG_SV.C_PROC_LEVEL);
2207: END IF;
2208:
2209: WSH_WF_STD.RAISE_EVENT(p_entity_type => 'DELIVERY',
2210: p_entity_id => cur_rec.delivery_id,

Line 2216: WSH_DEBUG_SV.log(l_module_name,'Return status after

2212: p_organization_id => cur_rec.organization_id,
2213: x_return_status => l_wf_rs);
2214: IF l_debug_on THEN
2215:
2216: WSH_DEBUG_SV.log(l_module_name,'Return status after
2217: calling WSH_WF_STD.RAISE_EVENT => ',l_wf_rs);
2218:
2219: END IF;
2220:

Line 2234: WSH_DEBUG_SV.log(l_module_name,'l_api_completion_status',

2230:
2231: l_tab_count := l_dsno_stop_tab.COUNT;
2232:
2233: IF l_debug_on THEN
2234: WSH_DEBUG_SV.log(l_module_name,'l_api_completion_status',
2235: l_api_completion_status);
2236: WSH_DEBUG_SV.log(l_module_name,'l_previous_interface',
2237: l_previous_interface);
2238: WSH_DEBUG_SV.log(l_module_name,'l_dsno_stop_tab.COUNT',

Line 2236: WSH_DEBUG_SV.log(l_module_name,'l_previous_interface',

2232:
2233: IF l_debug_on THEN
2234: WSH_DEBUG_SV.log(l_module_name,'l_api_completion_status',
2235: l_api_completion_status);
2236: WSH_DEBUG_SV.log(l_module_name,'l_previous_interface',
2237: l_previous_interface);
2238: WSH_DEBUG_SV.log(l_module_name,'l_dsno_stop_tab.COUNT',
2239: l_tab_count);
2240: END IF;

Line 2238: WSH_DEBUG_SV.log(l_module_name,'l_dsno_stop_tab.COUNT',

2234: WSH_DEBUG_SV.log(l_module_name,'l_api_completion_status',
2235: l_api_completion_status);
2236: WSH_DEBUG_SV.log(l_module_name,'l_previous_interface',
2237: l_previous_interface);
2238: WSH_DEBUG_SV.log(l_module_name,'l_dsno_stop_tab.COUNT',
2239: l_tab_count);
2240: END IF;
2241:
2242:

Line 2295: WSH_DEBUG_SV.logmsg(l_module_name, C_INTERFACE_SEPARATOR );

2291:
2292: IF l_previous_interface THEN
2293: --
2294: IF l_debug_on THEN
2295: WSH_DEBUG_SV.logmsg(l_module_name, C_INTERFACE_SEPARATOR );
2296: END IF;
2297: --
2298: END IF;
2299: l_previous_interface := TRUE;

Line 2303: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_DSNO.SUBMIT_TRIP_STOP',WSH_DEBUG_SV.C_PROC_LEVEL);

2299: l_previous_interface := TRUE;
2300:
2301: --
2302: IF l_debug_on THEN
2303: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_DSNO.SUBMIT_TRIP_STOP',WSH_DEBUG_SV.C_PROC_LEVEL);
2304: END IF;
2305: --
2306: WSH_DSNO.Submit_Trip_Stop(l_dsno_stop_tab(x), l_api_completion_status);
2307: --

Line 2309: WSH_DEBUG_SV.logmsg(l_module_name, 'INTERFACETRIPSTOP: RESULT OF DSNO SUBMISSION FOR STOP_ID ' || TO_CHAR ( l_dsno_stop_tab(x) ) || ' = ' || L_API_COMPLETION_STATUS );

2305: --
2306: WSH_DSNO.Submit_Trip_Stop(l_dsno_stop_tab(x), l_api_completion_status);
2307: --
2308: IF l_debug_on THEN
2309: WSH_DEBUG_SV.logmsg(l_module_name, 'INTERFACETRIPSTOP: RESULT OF DSNO SUBMISSION FOR STOP_ID ' || TO_CHAR ( l_dsno_stop_tab(x) ) || ' = ' || L_API_COMPLETION_STATUS );
2310: END IF;
2311: --
2312: Update_Completion_Status(1,
2313: NULL,

Line 2353: WSH_DEBUG_SV.log(l_module_name,'Following stop failed DSNO and '

2349:
2350: IF l_debug_on THEN
2351: x := l_err_stops.FIRST;
2352: WHILE x IS NOT NULL LOOP
2353: WSH_DEBUG_SV.log(l_module_name,'Following stop failed DSNO and '
2354: || ' is being removed from the batch',l_err_stops(x));
2355: x := l_err_stops.NEXT(x);
2356: END LOOP;
2357: END IF;

Line 2382: WSH_DEBUG_SV.log(l_module_name,'l_api_completion_status',

2378:
2379: -- Inventory Interface
2380: -- OK to interface if stop is already interfaced to OM
2381: IF l_debug_on THEN
2382: WSH_DEBUG_SV.log(l_module_name,'l_api_completion_status',
2383: l_api_completion_status);
2384: WSH_DEBUG_SV.log(l_module_name,'l_previous_interface',
2385: l_previous_interface);
2386: END IF;

Line 2384: WSH_DEBUG_SV.log(l_module_name,'l_previous_interface',

2380: -- OK to interface if stop is already interfaced to OM
2381: IF l_debug_on THEN
2382: WSH_DEBUG_SV.log(l_module_name,'l_api_completion_status',
2383: l_api_completion_status);
2384: WSH_DEBUG_SV.log(l_module_name,'l_previous_interface',
2385: l_previous_interface);
2386: END IF;
2387:
2388: IF l_inv_interface = 1

Line 2394: WSH_DEBUG_SV.logmsg(l_module_name, C_INTERFACE_SEPARATOR );

2390:
2391: IF l_previous_interface THEN
2392: --
2393: IF l_debug_on THEN
2394: WSH_DEBUG_SV.logmsg(l_module_name, C_INTERFACE_SEPARATOR );
2395: END IF;
2396: --
2397: END IF;
2398: l_previous_interface := TRUE;

Line 2403: WSH_DEBUG_SV.logmsg(l_module_name, 'INTERFACETRIPSTOP: RESULT OF INVENTORY INTERFACING BATCH_ID ' || TO_CHAR ( l_stop_batch_id ) || ' = ' || L_API_COMPLETION_STATUS );

2399:
2400: Inv_Interface_Trip_Stop(l_stop_batch_id, l_api_completion_status);
2401: --
2402: IF l_debug_on THEN
2403: WSH_DEBUG_SV.logmsg(l_module_name, 'INTERFACETRIPSTOP: RESULT OF INVENTORY INTERFACING BATCH_ID ' || TO_CHAR ( l_stop_batch_id ) || ' = ' || L_API_COMPLETION_STATUS );
2404: END IF;
2405: --
2406: Update_Completion_Status(NULL,
2407: l_stop_batch_id,

Line 2430: WSH_DEBUG_SV.log(l_module_name,

2426: l_action VARCHAR2(100);
2427: l_new_flag VARCHAR2(1);
2428: BEGIN
2429: IF l_debug_on THEN
2430: WSH_DEBUG_SV.log(l_module_name,
2431: 're-lock stop to set pending_interface_flag to Y or NULL');
2432: END IF;
2433:
2434:

Line 2467: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_WF_STD.RAISE_EVENT',WSH_DEBUG_SV.C_PROC_LEVEL);

2463: --/== Workflow Changes
2464: IF l_new_flag is null then
2465: FOR cur_rec IN c_stop_to_del_cur_wf(l_stop_id) LOOP
2466: IF l_debug_on THEN
2467: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_WF_STD.RAISE_EVENT',WSH_DEBUG_SV.C_PROC_LEVEL);
2468: END IF;
2469:
2470: WSH_WF_STD.RAISE_EVENT(p_entity_type => 'DELIVERY',
2471: p_entity_id => cur_rec.delivery_id,

Line 2477: WSH_DEBUG_SV.log(l_module_name,'Return status after calling WSH_WF_STD.RAISE_EVENT => ',l_wf_rs);

2473: p_organization_id => cur_rec.organization_id,
2474: x_return_status => l_wf_rs);
2475:
2476: IF l_debug_on THEN
2477: WSH_DEBUG_SV.log(l_module_name,'Return status after calling WSH_WF_STD.RAISE_EVENT => ',l_wf_rs);
2478: END IF;
2479: END LOOP;
2480: END IF;
2481: -- Workflow Changes ==/

Line 2500: WSH_DEBUG_SV.log(l_module_name,

2496: rollback to before_flag_reset;
2497:
2498: WHEN OTHERS THEN
2499: IF l_debug_on THEN
2500: WSH_DEBUG_SV.log(l_module_name,
2501: 'unhandled exception for action ' || l_action);
2502: END IF;
2503: l_completion_status := 'ERROR';
2504: l_error_code := SQLCODE;

Line 2519: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

2515: CLOSE lock_batch;
2516: END IF;
2517: rollback to before_flag_reset;
2518: IF l_debug_on THEN
2519: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
2520: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
2521: END IF;
2522: RETURN;
2523: END;

Line 2520: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

2516: END IF;
2517: rollback to before_flag_reset;
2518: IF l_debug_on THEN
2519: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
2520: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
2521: END IF;
2522: RETURN;
2523: END;
2524:

Line 2530: WSH_DEBUG_SV.log(l_module_name,

2526: <>
2527: IF l_completion_status = 'ERROR' THEN
2528: WSH_UTIL_CORE.PrintMsg('InterfaceTripStop: Stopping because of ERROR.');
2529: IF l_debug_on THEN
2530: WSH_DEBUG_SV.log(l_module_name,
2531: 'InterfaceTripStop: Stopping because of ERROR.');
2532: END IF;
2533: EXIT;
2534: END IF;

Line 2539: WSH_DEBUG_SV.log(l_module_name,

2535: EXCEPTION
2536: WHEN e_trip_stop_wf_inprogress THEN --/== Workflow Changes
2537: -- Deliveries starting or ending at this stop are being controlled by Ship to Deliver Workflow
2538: IF l_debug_on THEN
2539: WSH_DEBUG_SV.log(l_module_name,
2540: 'Ship to Deliver Workflow is enabled for one or more deliveries related to this Stop');
2541: END IF;
2542: WSH_UTIL_CORE.Println('Ship to Deliver Workflow is enabled for one or more deliveries related to this Stop');
2543: WSH_UTIL_CORE.Println('Interface_All: skipping stop_id ' || l_stop_id );

Line 2566: WSH_DEBUG_SV.logmsg(l_module_name, C_STOP_SEPARATOR );

2562: END IF;
2563:
2564: --
2565: IF l_debug_on THEN
2566: WSH_DEBUG_SV.logmsg(l_module_name, C_STOP_SEPARATOR );
2567: WSH_DEBUG_SV.log(l_module_name,'l_stops_count',l_stops_count);
2568: END IF;
2569: --
2570:

Line 2567: WSH_DEBUG_SV.log(l_module_name,'l_stops_count',l_stops_count);

2563:
2564: --
2565: IF l_debug_on THEN
2566: WSH_DEBUG_SV.logmsg(l_module_name, C_STOP_SEPARATOR );
2567: WSH_DEBUG_SV.log(l_module_name,'l_stops_count',l_stops_count);
2568: END IF;
2569: --
2570:
2571: IF l_stops_count = 0 THEN

Line 2594: WSH_DEBUG_SV.log(l_module_name,'Stops processed for '

2590: || l_interface_names(i)
2591: || ': '
2592: || l_stops_interfaced(i));
2593: IF l_debug_on THEN
2594: WSH_DEBUG_SV.log(l_module_name,'Stops processed for '
2595: || l_interface_names(i)
2596: || ' with status NORMAL: '
2597: || l_stops_normal(i));
2598: WSH_DEBUG_SV.log(l_module_name,'Stops processed for '

Line 2598: WSH_DEBUG_SV.log(l_module_name,'Stops processed for '

2594: WSH_DEBUG_SV.log(l_module_name,'Stops processed for '
2595: || l_interface_names(i)
2596: || ' with status NORMAL: '
2597: || l_stops_normal(i));
2598: WSH_DEBUG_SV.log(l_module_name,'Stops processed for '
2599: || l_interface_names(i)
2600: || ' with status WARNING: '
2601: || l_stops_warning(i));
2602: WSH_DEBUG_SV.log(l_module_name,'Stops interfaced for '

Line 2602: WSH_DEBUG_SV.log(l_module_name,'Stops interfaced for '

2598: WSH_DEBUG_SV.log(l_module_name,'Stops processed for '
2599: || l_interface_names(i)
2600: || ' with status WARNING: '
2601: || l_stops_warning(i));
2602: WSH_DEBUG_SV.log(l_module_name,'Stops interfaced for '
2603: || l_interface_names(i)
2604: || ': '
2605: || l_stops_interfaced(i));
2606: END IF;

Line 2627: WSH_DEBUG_SV.log(l_module_name,'errbuf',errbuf);

2623: retcode := '2';
2624: END IF;
2625: --
2626: IF l_debug_on THEN
2627: WSH_DEBUG_SV.log(l_module_name,'errbuf',errbuf);
2628: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);
2629: WSH_DEBUG_SV.log(l_module_name,'l_completion_status',l_completion_status);
2630: WSH_DEBUG_SV.pop(l_module_name);
2631: END IF;

Line 2628: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);

2624: END IF;
2625: --
2626: IF l_debug_on THEN
2627: WSH_DEBUG_SV.log(l_module_name,'errbuf',errbuf);
2628: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);
2629: WSH_DEBUG_SV.log(l_module_name,'l_completion_status',l_completion_status);
2630: WSH_DEBUG_SV.pop(l_module_name);
2631: END IF;
2632: --

Line 2629: WSH_DEBUG_SV.log(l_module_name,'l_completion_status',l_completion_status);

2625: --
2626: IF l_debug_on THEN
2627: WSH_DEBUG_SV.log(l_module_name,'errbuf',errbuf);
2628: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);
2629: WSH_DEBUG_SV.log(l_module_name,'l_completion_status',l_completion_status);
2630: WSH_DEBUG_SV.pop(l_module_name);
2631: END IF;
2632: --
2633: -- bug 2657859 frontport bug 2630535

Line 2630: WSH_DEBUG_SV.pop(l_module_name);

2626: IF l_debug_on THEN
2627: WSH_DEBUG_SV.log(l_module_name,'errbuf',errbuf);
2628: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);
2629: WSH_DEBUG_SV.log(l_module_name,'l_completion_status',l_completion_status);
2630: WSH_DEBUG_SV.pop(l_module_name);
2631: END IF;
2632: --
2633: -- bug 2657859 frontport bug 2630535
2634: -- automatic cleanup of stuck stops where requests completed

Line 2639: WSH_DEBUG_SV.log(l_module_name,

2635: DECLARE
2636: l_recs NUMBER;
2637: BEGIN
2638: IF l_debug_on THEN
2639: WSH_DEBUG_SV.log(l_module_name,
2640: 'Automatic clean up');
2641: END IF;
2642:
2643: UPDATE wsh_trip_stops wts

Line 2655: WSH_DEBUG_SV.log(l_module_name,

2651: AND fcr.phase_code = 'C');
2652: l_recs := sql%rowcount;
2653:
2654: IF l_debug_on THEN
2655: WSH_DEBUG_SV.log(l_module_name,
2656: 'l_recs = ' || l_recs);
2657: END IF;
2658:
2659: COMMIT;

Line 2664: WSH_DEBUG_SV.log(l_module_name,

2660:
2661: IF l_recs > 0 THEN
2662: WSH_UTIL_CORE.PrintMsg('Cleaned up ' || to_char(l_recs) || ' stuck stops.');
2663: IF l_debug_on THEN
2664: WSH_DEBUG_SV.log(l_module_name,
2665: 'Cleaned up ' || to_char(l_recs) || ' stuck stops.');
2666: END IF;
2667:
2668: END IF;

Line 2687: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

2683: errbuf := 'Interface trip stop failed with unexpected error';
2684: retcode := '2';
2685: --
2686: IF l_debug_on THEN
2687: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
2688: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
2689: END IF;
2690: --
2691: END interface_ALL;

Line 2688: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

2684: retcode := '2';
2685: --
2686: IF l_debug_on THEN
2687: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
2688: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
2689: END IF;
2690: --
2691: END interface_ALL;
2692:

Line 2726: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

2722: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
2723: --
2724: IF l_debug_on IS NULL
2725: THEN
2726: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
2727: END IF;
2728: --
2729: IF l_debug_on THEN
2730: WSH_DEBUG_SV.push(l_module_name);

Line 2730: WSH_DEBUG_SV.push(l_module_name);

2726: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
2727: END IF;
2728: --
2729: IF l_debug_on THEN
2730: WSH_DEBUG_SV.push(l_module_name);
2731: --
2732: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
2733:
2734: l_log_level := 1;

Line 2732: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);

2728: --
2729: IF l_debug_on THEN
2730: WSH_DEBUG_SV.push(l_module_name);
2731: --
2732: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
2733:
2734: l_log_level := 1;
2735: END IF;
2736:

Line 2752: WSH_DEBUG_SV.log(l_module_name,'errbuf',errbuf);

2748: errbuf := 'Inventory interface is completed with error';
2749: END IF;
2750: --
2751: IF l_debug_on THEN
2752: WSH_DEBUG_SV.log(l_module_name,'errbuf',errbuf);
2753: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);
2754: WSH_DEBUG_SV.pop(l_module_name);
2755: END IF;
2756: --

Line 2753: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);

2749: END IF;
2750: --
2751: IF l_debug_on THEN
2752: WSH_DEBUG_SV.log(l_module_name,'errbuf',errbuf);
2753: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);
2754: WSH_DEBUG_SV.pop(l_module_name);
2755: END IF;
2756: --
2757: END inv_interface;

Line 2754: WSH_DEBUG_SV.pop(l_module_name);

2750: --
2751: IF l_debug_on THEN
2752: WSH_DEBUG_SV.log(l_module_name,'errbuf',errbuf);
2753: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);
2754: WSH_DEBUG_SV.pop(l_module_name);
2755: END IF;
2756: --
2757: END inv_interface;
2758:

Line 2807: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

2803: l_return_status varchar2(1);
2804: BEGIN
2805: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
2806: IF l_debug_on IS NULL THEN
2807: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
2808: END IF;
2809:
2810: IF l_debug_on THEN
2811: WSH_DEBUG_SV.push(l_module_name);

Line 2811: WSH_DEBUG_SV.push(l_module_name);

2807: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
2808: END IF;
2809:
2810: IF l_debug_on THEN
2811: WSH_DEBUG_SV.push(l_module_name);
2812: WSH_DEBUG_SV.log(l_module_name,'p_start_index',p_start_index);
2813: WSH_DEBUG_SV.log(l_module_name,'p_end_index',p_end_index);
2814: WSH_DEBUG_SV.log(l_module_name,'p_mtl_txn_if_rec.count',p_mtl_txn_if_rec.source_line_id.count);
2815: WSH_DEBUG_SV.log(l_module_name,'p_mtl_ser_txn_if_rec.count',p_mtl_ser_txn_if_rec.source_line_id.count);

Line 2812: WSH_DEBUG_SV.log(l_module_name,'p_start_index',p_start_index);

2808: END IF;
2809:
2810: IF l_debug_on THEN
2811: WSH_DEBUG_SV.push(l_module_name);
2812: WSH_DEBUG_SV.log(l_module_name,'p_start_index',p_start_index);
2813: WSH_DEBUG_SV.log(l_module_name,'p_end_index',p_end_index);
2814: WSH_DEBUG_SV.log(l_module_name,'p_mtl_txn_if_rec.count',p_mtl_txn_if_rec.source_line_id.count);
2815: WSH_DEBUG_SV.log(l_module_name,'p_mtl_ser_txn_if_rec.count',p_mtl_ser_txn_if_rec.source_line_id.count);
2816: WSH_DEBUG_SV.log(l_module_name,'p_mtl_lot_txn_if_rec.count',p_mtl_lot_txn_if_rec.source_line_id.count);

Line 2813: WSH_DEBUG_SV.log(l_module_name,'p_end_index',p_end_index);

2809:
2810: IF l_debug_on THEN
2811: WSH_DEBUG_SV.push(l_module_name);
2812: WSH_DEBUG_SV.log(l_module_name,'p_start_index',p_start_index);
2813: WSH_DEBUG_SV.log(l_module_name,'p_end_index',p_end_index);
2814: WSH_DEBUG_SV.log(l_module_name,'p_mtl_txn_if_rec.count',p_mtl_txn_if_rec.source_line_id.count);
2815: WSH_DEBUG_SV.log(l_module_name,'p_mtl_ser_txn_if_rec.count',p_mtl_ser_txn_if_rec.source_line_id.count);
2816: WSH_DEBUG_SV.log(l_module_name,'p_mtl_lot_txn_if_rec.count',p_mtl_lot_txn_if_rec.source_line_id.count);
2817: WSH_DEBUG_SV.log(l_module_name,'p_def_inv_online',p_def_inv_online);

Line 2814: WSH_DEBUG_SV.log(l_module_name,'p_mtl_txn_if_rec.count',p_mtl_txn_if_rec.source_line_id.count);

2810: IF l_debug_on THEN
2811: WSH_DEBUG_SV.push(l_module_name);
2812: WSH_DEBUG_SV.log(l_module_name,'p_start_index',p_start_index);
2813: WSH_DEBUG_SV.log(l_module_name,'p_end_index',p_end_index);
2814: WSH_DEBUG_SV.log(l_module_name,'p_mtl_txn_if_rec.count',p_mtl_txn_if_rec.source_line_id.count);
2815: WSH_DEBUG_SV.log(l_module_name,'p_mtl_ser_txn_if_rec.count',p_mtl_ser_txn_if_rec.source_line_id.count);
2816: WSH_DEBUG_SV.log(l_module_name,'p_mtl_lot_txn_if_rec.count',p_mtl_lot_txn_if_rec.source_line_id.count);
2817: WSH_DEBUG_SV.log(l_module_name,'p_def_inv_online',p_def_inv_online);
2818: END IF;

Line 2815: WSH_DEBUG_SV.log(l_module_name,'p_mtl_ser_txn_if_rec.count',p_mtl_ser_txn_if_rec.source_line_id.count);

2811: WSH_DEBUG_SV.push(l_module_name);
2812: WSH_DEBUG_SV.log(l_module_name,'p_start_index',p_start_index);
2813: WSH_DEBUG_SV.log(l_module_name,'p_end_index',p_end_index);
2814: WSH_DEBUG_SV.log(l_module_name,'p_mtl_txn_if_rec.count',p_mtl_txn_if_rec.source_line_id.count);
2815: WSH_DEBUG_SV.log(l_module_name,'p_mtl_ser_txn_if_rec.count',p_mtl_ser_txn_if_rec.source_line_id.count);
2816: WSH_DEBUG_SV.log(l_module_name,'p_mtl_lot_txn_if_rec.count',p_mtl_lot_txn_if_rec.source_line_id.count);
2817: WSH_DEBUG_SV.log(l_module_name,'p_def_inv_online',p_def_inv_online);
2818: END IF;
2819:

Line 2816: WSH_DEBUG_SV.log(l_module_name,'p_mtl_lot_txn_if_rec.count',p_mtl_lot_txn_if_rec.source_line_id.count);

2812: WSH_DEBUG_SV.log(l_module_name,'p_start_index',p_start_index);
2813: WSH_DEBUG_SV.log(l_module_name,'p_end_index',p_end_index);
2814: WSH_DEBUG_SV.log(l_module_name,'p_mtl_txn_if_rec.count',p_mtl_txn_if_rec.source_line_id.count);
2815: WSH_DEBUG_SV.log(l_module_name,'p_mtl_ser_txn_if_rec.count',p_mtl_ser_txn_if_rec.source_line_id.count);
2816: WSH_DEBUG_SV.log(l_module_name,'p_mtl_lot_txn_if_rec.count',p_mtl_lot_txn_if_rec.source_line_id.count);
2817: WSH_DEBUG_SV.log(l_module_name,'p_def_inv_online',p_def_inv_online);
2818: END IF;
2819:
2820: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;

Line 2817: WSH_DEBUG_SV.log(l_module_name,'p_def_inv_online',p_def_inv_online);

2813: WSH_DEBUG_SV.log(l_module_name,'p_end_index',p_end_index);
2814: WSH_DEBUG_SV.log(l_module_name,'p_mtl_txn_if_rec.count',p_mtl_txn_if_rec.source_line_id.count);
2815: WSH_DEBUG_SV.log(l_module_name,'p_mtl_ser_txn_if_rec.count',p_mtl_ser_txn_if_rec.source_line_id.count);
2816: WSH_DEBUG_SV.log(l_module_name,'p_mtl_lot_txn_if_rec.count',p_mtl_lot_txn_if_rec.source_line_id.count);
2817: WSH_DEBUG_SV.log(l_module_name,'p_def_inv_online',p_def_inv_online);
2818: END IF;
2819:
2820: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
2821:

Line 2834: WSH_DEBUG_SV.log(l_module_name,'WSH_TRX_HANDLER.INSERT_ROW_BULK l_return_status',l_return_status);

2830: p_mtl_txn_if_rec =>p_mtl_txn_if_rec,
2831: x_return_status => l_return_status);
2832:
2833: IF l_debug_on THEN
2834: WSH_DEBUG_SV.log(l_module_name,'WSH_TRX_HANDLER.INSERT_ROW_BULK l_return_status',l_return_status);
2835: END IF;
2836:
2837: IF (l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS) then
2838: raise fnd_api.g_exc_error;

Line 2850: WSH_DEBUG_SV.log(l_module_name,'WSH_TRXSN_HANDLER.INSERT_ROW_BULK l_return_status',l_return_status);

2846: (p_mtl_ser_txn_if_rec => p_mtl_ser_txn_if_rec,
2847: x_return_status => l_return_status);
2848:
2849: IF l_debug_on THEN
2850: WSH_DEBUG_SV.log(l_module_name,'WSH_TRXSN_HANDLER.INSERT_ROW_BULK l_return_status',l_return_status);
2851: END IF;
2852:
2853: IF (l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS) then
2854: raise fnd_api.g_exc_error;

Line 2874: WSH_DEBUG_SV.log(l_module_name,'WSH_TRXLOT_HANDLER.INSERT_ROW_BULK l_return_status',l_return_status);

2870: (p_mtl_lot_txn_if_rec => p_mtl_lot_txn_if_rec,
2871: x_return_status => l_return_status);
2872:
2873: IF l_debug_on THEN
2874: WSH_DEBUG_SV.log(l_module_name,'WSH_TRXLOT_HANDLER.INSERT_ROW_BULK l_return_status',l_return_status);
2875: END IF;
2876:
2877: IF (l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS) then
2878: raise fnd_api.g_exc_error;

Line 2898: WSH_DEBUG_SV.pop(l_module_name);

2894: COMMIT;
2895: END IF;
2896:
2897: IF l_debug_on THEN
2898: WSH_DEBUG_SV.pop(l_module_name);
2899: END IF;
2900:
2901: EXCEPTION
2902: WHEN FND_API.G_EXC_ERROR THEN

Line 2906: WSH_DEBUG_SV.logmsg(l_module_name,'FND_API.G_EXC_ERROR exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);

2902: WHEN FND_API.G_EXC_ERROR THEN
2903: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR ;
2904:
2905: IF l_debug_on THEN
2906: WSH_DEBUG_SV.logmsg(l_module_name,'FND_API.G_EXC_ERROR exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
2907: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:FND_API.G_EXC_ERROR');
2908: END IF;
2909:
2910: ROLLBACK TO SAVEPOINT sp_insert_inv_records;

Line 2907: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:FND_API.G_EXC_ERROR');

2903: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR ;
2904:
2905: IF l_debug_on THEN
2906: WSH_DEBUG_SV.logmsg(l_module_name,'FND_API.G_EXC_ERROR exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
2907: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:FND_API.G_EXC_ERROR');
2908: END IF;
2909:
2910: ROLLBACK TO SAVEPOINT sp_insert_inv_records;
2911:

Line 2916: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is

2912: WHEN OTHERS THEN
2913: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;
2914:
2915: IF l_debug_on THEN
2916: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is
2917: '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
2918: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
2919: END IF;
2920:

Line 2917: '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

2913: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;
2914:
2915: IF l_debug_on THEN
2916: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is
2917: '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
2918: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
2919: END IF;
2920:
2921: ROLLBACK TO SAVEPOINT sp_insert_inv_records;

Line 2918: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

2914:
2915: IF l_debug_on THEN
2916: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is
2917: '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
2918: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
2919: END IF;
2920:
2921: ROLLBACK TO SAVEPOINT sp_insert_inv_records;
2922: END Insert_inv_records;

Line 3451: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

3447: BEGIN
3448: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
3449:
3450: IF l_debug_on IS NULL THEN
3451: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
3452: END IF;
3453:
3454: IF l_debug_on THEN
3455: WSH_DEBUG_SV.push(l_module_name);

Line 3455: WSH_DEBUG_SV.push(l_module_name);

3451: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
3452: END IF;
3453:
3454: IF l_debug_on THEN
3455: WSH_DEBUG_SV.push(l_module_name);
3456: WSH_DEBUG_SV.log(l_module_name,'batch_id',p_batch_id);
3457: WSH_DEBUG_SV.log(l_module_name,'P_TRANSACTION_HEADER_ID',P_TRANSACTION_HEADER_ID);
3458: END IF;
3459:

Line 3456: WSH_DEBUG_SV.log(l_module_name,'batch_id',p_batch_id);

3452: END IF;
3453:
3454: IF l_debug_on THEN
3455: WSH_DEBUG_SV.push(l_module_name);
3456: WSH_DEBUG_SV.log(l_module_name,'batch_id',p_batch_id);
3457: WSH_DEBUG_SV.log(l_module_name,'P_TRANSACTION_HEADER_ID',P_TRANSACTION_HEADER_ID);
3458: END IF;
3459:
3460: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;

Line 3457: WSH_DEBUG_SV.log(l_module_name,'P_TRANSACTION_HEADER_ID',P_TRANSACTION_HEADER_ID);

3453:
3454: IF l_debug_on THEN
3455: WSH_DEBUG_SV.push(l_module_name);
3456: WSH_DEBUG_SV.log(l_module_name,'batch_id',p_batch_id);
3457: WSH_DEBUG_SV.log(l_module_name,'P_TRANSACTION_HEADER_ID',P_TRANSACTION_HEADER_ID);
3458: END IF;
3459:
3460: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
3461: -- HW OPMCONV. Removed OPM variables

Line 3538: WSH_DEBUG_SV.log(l_module_name,'No of record fetch',l_row_count);

3534: FND_PROFILE.Get('WSH_BULK_BATCH_SIZE',l_bulk_batch_size);
3535: FND_PROFILE.Get('WSH_DEFER_INV_PR_ONLINE',l_def_inv_online);
3536:
3537: IF l_debug_on THEN
3538: WSH_DEBUG_SV.log(l_module_name,'No of record fetch',l_row_count);
3539: WSH_DEBUG_SV.log(l_module_name,'l_bulk_batch_size',l_bulk_batch_size);
3540: WSH_DEBUG_SV.log(l_module_name,'l_def_inv_online',l_def_inv_online);
3541: END IF;
3542:

Line 3539: WSH_DEBUG_SV.log(l_module_name,'l_bulk_batch_size',l_bulk_batch_size);

3535: FND_PROFILE.Get('WSH_DEFER_INV_PR_ONLINE',l_def_inv_online);
3536:
3537: IF l_debug_on THEN
3538: WSH_DEBUG_SV.log(l_module_name,'No of record fetch',l_row_count);
3539: WSH_DEBUG_SV.log(l_module_name,'l_bulk_batch_size',l_bulk_batch_size);
3540: WSH_DEBUG_SV.log(l_module_name,'l_def_inv_online',l_def_inv_online);
3541: END IF;
3542:
3543: l_index := l_mtl_txn_if_rec.picking_line_id.FIRST;

Line 3540: WSH_DEBUG_SV.log(l_module_name,'l_def_inv_online',l_def_inv_online);

3536:
3537: IF l_debug_on THEN
3538: WSH_DEBUG_SV.log(l_module_name,'No of record fetch',l_row_count);
3539: WSH_DEBUG_SV.log(l_module_name,'l_bulk_batch_size',l_bulk_batch_size);
3540: WSH_DEBUG_SV.log(l_module_name,'l_def_inv_online',l_def_inv_online);
3541: END IF;
3542:
3543: l_index := l_mtl_txn_if_rec.picking_line_id.FIRST;
3544: IF nvl(l_index,0) = 0 THEN

Line 3548: WSH_DEBUG_SV.log(l_module_name,'No Delivery Detail Found',l_index);

3544: IF nvl(l_index,0) = 0 THEN
3545: -- perhaps the inventory transaction manager is processing this
3546: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
3547: IF l_debug_on THEN
3548: WSH_DEBUG_SV.log(l_module_name,'No Delivery Detail Found',l_index);
3549: WSH_DEBUG_SV.pop(l_module_name);
3550: END IF;
3551: RETURN;
3552: END IF;

Line 3549: WSH_DEBUG_SV.pop(l_module_name);

3545: -- perhaps the inventory transaction manager is processing this
3546: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
3547: IF l_debug_on THEN
3548: WSH_DEBUG_SV.log(l_module_name,'No Delivery Detail Found',l_index);
3549: WSH_DEBUG_SV.pop(l_module_name);
3550: END IF;
3551: RETURN;
3552: END IF;
3553:

Line 3567: WSH_DEBUG_SV.log(l_module_name,'delivery_detail_id',l_mtl_txn_if_rec.picking_line_id(l_index));

3563:
3564: WHILE l_index is not null LOOP -- {
3565: BEGIN
3566: IF l_debug_on THEN
3567: WSH_DEBUG_SV.log(l_module_name,'delivery_detail_id',l_mtl_txn_if_rec.picking_line_id(l_index));
3568: WSH_DEBUG_SV.log(l_module_name,'trx_interface_id',l_mtl_txn_if_rec.trx_interface_id(l_index));
3569: WSH_DEBUG_SV.log(l_module_name,'freight_code',l_mtl_txn_if_rec.freight_code(l_index));
3570: WSH_DEBUG_SV.log(l_module_name,'content_lpn_id',l_mtl_txn_if_rec.content_lpn_id(l_index));
3571: END IF;

Line 3568: WSH_DEBUG_SV.log(l_module_name,'trx_interface_id',l_mtl_txn_if_rec.trx_interface_id(l_index));

3564: WHILE l_index is not null LOOP -- {
3565: BEGIN
3566: IF l_debug_on THEN
3567: WSH_DEBUG_SV.log(l_module_name,'delivery_detail_id',l_mtl_txn_if_rec.picking_line_id(l_index));
3568: WSH_DEBUG_SV.log(l_module_name,'trx_interface_id',l_mtl_txn_if_rec.trx_interface_id(l_index));
3569: WSH_DEBUG_SV.log(l_module_name,'freight_code',l_mtl_txn_if_rec.freight_code(l_index));
3570: WSH_DEBUG_SV.log(l_module_name,'content_lpn_id',l_mtl_txn_if_rec.content_lpn_id(l_index));
3571: END IF;
3572:

Line 3569: WSH_DEBUG_SV.log(l_module_name,'freight_code',l_mtl_txn_if_rec.freight_code(l_index));

3565: BEGIN
3566: IF l_debug_on THEN
3567: WSH_DEBUG_SV.log(l_module_name,'delivery_detail_id',l_mtl_txn_if_rec.picking_line_id(l_index));
3568: WSH_DEBUG_SV.log(l_module_name,'trx_interface_id',l_mtl_txn_if_rec.trx_interface_id(l_index));
3569: WSH_DEBUG_SV.log(l_module_name,'freight_code',l_mtl_txn_if_rec.freight_code(l_index));
3570: WSH_DEBUG_SV.log(l_module_name,'content_lpn_id',l_mtl_txn_if_rec.content_lpn_id(l_index));
3571: END IF;
3572:
3573: IF l_mtl_txn_if_rec.content_lpn_id(l_index) IS NULL then

Line 3570: WSH_DEBUG_SV.log(l_module_name,'content_lpn_id',l_mtl_txn_if_rec.content_lpn_id(l_index));

3566: IF l_debug_on THEN
3567: WSH_DEBUG_SV.log(l_module_name,'delivery_detail_id',l_mtl_txn_if_rec.picking_line_id(l_index));
3568: WSH_DEBUG_SV.log(l_module_name,'trx_interface_id',l_mtl_txn_if_rec.trx_interface_id(l_index));
3569: WSH_DEBUG_SV.log(l_module_name,'freight_code',l_mtl_txn_if_rec.freight_code(l_index));
3570: WSH_DEBUG_SV.log(l_module_name,'content_lpn_id',l_mtl_txn_if_rec.content_lpn_id(l_index));
3571: END IF;
3572:
3573: IF l_mtl_txn_if_rec.content_lpn_id(l_index) IS NULL then
3574: IF l_debug_on THEN

Line 3575: WSH_DEBUG_SV.logmsg(l_module_name,'LPN ID IS NULL FOR THE PARENT CONTAINER OF LINE '

3571: END IF;
3572:
3573: IF l_mtl_txn_if_rec.content_lpn_id(l_index) IS NULL then
3574: IF l_debug_on THEN
3575: WSH_DEBUG_SV.logmsg(l_module_name,'LPN ID IS NULL FOR THE PARENT CONTAINER OF LINE '
3576: ||l_mtl_txn_if_rec.picking_line_id(l_index));
3577: END IF;
3578: END IF;
3579: --- 1:

Line 3586: WSH_DEBUG_SV.log(l_module_name, 'Actual Departure Date of Trip Stop is NULL in batch ',p_batch_id);

3582: -- check for Actual Departure Date
3583: IF l_mtl_txn_if_rec.trx_date(l_index) IS NULL THEN
3584: WSH_UTIL_CORE.PrintMsg('Actual Departure Date of Trip Stop in batch '|| p_batch_id ||' is NULL');
3585: IF l_debug_on THEN
3586: WSH_DEBUG_SV.log(l_module_name, 'Actual Departure Date of Trip Stop is NULL in batch ',p_batch_id);
3587: END IF;
3588:
3589: raise e_line_error;
3590: END IF;

Line 3596: WSH_DEBUG_SV.log(l_module_name, 'Actual Departure Date of Trip Stop is a future date',l_mtl_txn_if_rec.trx_date(l_index));

3592: --Bug 9611416 check for Actual Departure Date > sysdate
3593: IF l_mtl_txn_if_rec.trx_date(l_index) > sysdate THEN
3594: WSH_UTIL_CORE.PrintMsg('Actual Departure Date of Trip Stop in batch '|| p_batch_id ||' is a future date');
3595: IF l_debug_on THEN
3596: WSH_DEBUG_SV.log(l_module_name, 'Actual Departure Date of Trip Stop is a future date',l_mtl_txn_if_rec.trx_date(l_index));
3597: WSH_DEBUG_SV.log(l_module_name, 'Delivery Detail id ',l_mtl_txn_if_rec.picking_line_id(l_index));
3598: END IF;
3599:
3600: raise e_line_warning;

Line 3597: WSH_DEBUG_SV.log(l_module_name, 'Delivery Detail id ',l_mtl_txn_if_rec.picking_line_id(l_index));

3593: IF l_mtl_txn_if_rec.trx_date(l_index) > sysdate THEN
3594: WSH_UTIL_CORE.PrintMsg('Actual Departure Date of Trip Stop in batch '|| p_batch_id ||' is a future date');
3595: IF l_debug_on THEN
3596: WSH_DEBUG_SV.log(l_module_name, 'Actual Departure Date of Trip Stop is a future date',l_mtl_txn_if_rec.trx_date(l_index));
3597: WSH_DEBUG_SV.log(l_module_name, 'Delivery Detail id ',l_mtl_txn_if_rec.picking_line_id(l_index));
3598: END IF;
3599:
3600: raise e_line_warning;
3601: END IF;

Line 3606: WSH_DEBUG_SV.log(l_module_name,'Shipped_qty',l_mtl_txn_if_rec.trx_quantity(l_index));

3602:
3603: ---3:
3604: -- Set the lines with shipped_qty=0, as interfaced to INV
3605: IF l_debug_on THEN
3606: WSH_DEBUG_SV.log(l_module_name,'Shipped_qty',l_mtl_txn_if_rec.trx_quantity(l_index));
3607: WSH_DEBUG_SV.log(l_module_name,'Shipped_qty',l_mtl_txn_if_rec.inv_interfaced_flag(l_index));
3608: END IF;
3609: IF NVL(l_mtl_txn_if_rec.trx_quantity(l_index), 0) = 0 THEN
3610: IF NVL(l_mtl_txn_if_rec.inv_interfaced_flag(l_index), 'N') <> 'Y' THEN

Line 3607: WSH_DEBUG_SV.log(l_module_name,'Shipped_qty',l_mtl_txn_if_rec.inv_interfaced_flag(l_index));

3603: ---3:
3604: -- Set the lines with shipped_qty=0, as interfaced to INV
3605: IF l_debug_on THEN
3606: WSH_DEBUG_SV.log(l_module_name,'Shipped_qty',l_mtl_txn_if_rec.trx_quantity(l_index));
3607: WSH_DEBUG_SV.log(l_module_name,'Shipped_qty',l_mtl_txn_if_rec.inv_interfaced_flag(l_index));
3608: END IF;
3609: IF NVL(l_mtl_txn_if_rec.trx_quantity(l_index), 0) = 0 THEN
3610: IF NVL(l_mtl_txn_if_rec.inv_interfaced_flag(l_index), 'N') <> 'Y' THEN
3611:

Line 3614: WSH_DEBUG_SV.logmsg(l_module_name, 'HAVE SET THE INV_INTERFACED_FLAG TO '|| C_INV_INT_FULL ||

3610: IF NVL(l_mtl_txn_if_rec.inv_interfaced_flag(l_index), 'N') <> 'Y' THEN
3611:
3612: l_delivery_detail_tbl(l_delivery_detail_tbl.count + 1) := l_mtl_txn_if_rec.picking_line_id(l_index);
3613: IF l_debug_on THEN
3614: WSH_DEBUG_SV.logmsg(l_module_name, 'HAVE SET THE INV_INTERFACED_FLAG TO '|| C_INV_INT_FULL ||
3615: ' FOR DELIVERY DETAIL ' ||l_mtl_txn_if_rec.picking_line_id(l_index));
3616: END IF;
3617: END IF;
3618: END IF;

Line 3646: WSH_DEBUG_SV.log(l_module_name, 'looking up freight carrier for trip ship method', l_cache_trip_sm);

3642: OR l_mtl_txn_if_rec.organization_id(l_index) <> l_cache_trip_org_id THEN
3643: l_cache_trip_sm := l_mtl_txn_if_rec.ship_method_code(l_index);
3644: l_cache_trip_org_id := l_mtl_txn_if_rec.organization_id(l_index);
3645: IF l_debug_on THEN
3646: WSH_DEBUG_SV.log(l_module_name, 'looking up freight carrier for trip ship method', l_cache_trip_sm);
3647: WSH_DEBUG_SV.log(l_module_name, 'and organization_id', l_cache_trip_org_id);
3648: END IF;
3649: OPEN c_freight_code(l_mtl_txn_if_rec.ship_method_code(l_index),
3650: l_mtl_txn_if_rec.organization_id(l_index));

Line 3647: WSH_DEBUG_SV.log(l_module_name, 'and organization_id', l_cache_trip_org_id);

3643: l_cache_trip_sm := l_mtl_txn_if_rec.ship_method_code(l_index);
3644: l_cache_trip_org_id := l_mtl_txn_if_rec.organization_id(l_index);
3645: IF l_debug_on THEN
3646: WSH_DEBUG_SV.log(l_module_name, 'looking up freight carrier for trip ship method', l_cache_trip_sm);
3647: WSH_DEBUG_SV.log(l_module_name, 'and organization_id', l_cache_trip_org_id);
3648: END IF;
3649: OPEN c_freight_code(l_mtl_txn_if_rec.ship_method_code(l_index),
3650: l_mtl_txn_if_rec.organization_id(l_index));
3651: FETCH c_freight_code into l_cache_trip_fc;

Line 3654: WSH_DEBUG_SV.logmsg(l_module_name, 'c_freight_code record not found');

3650: l_mtl_txn_if_rec.organization_id(l_index));
3651: FETCH c_freight_code into l_cache_trip_fc;
3652: IF c_freight_code%NOTFOUND THEN
3653: IF l_debug_on THEN
3654: WSH_DEBUG_SV.logmsg(l_module_name, 'c_freight_code record not found');
3655: END IF;
3656: l_cache_trip_fc := NULL;
3657: END IF;
3658: CLOSE c_freight_code;

Line 3662: WSH_DEBUG_SV.log(l_module_name, 'defaulting freight_code with l_cache_trip_fc', l_cache_trip_fc);

3658: CLOSE c_freight_code;
3659: END IF;
3660:
3661: IF l_debug_on THEN
3662: WSH_DEBUG_SV.log(l_module_name, 'defaulting freight_code with l_cache_trip_fc', l_cache_trip_fc);
3663: END IF;
3664: l_mtl_txn_if_rec.freight_code(l_index) := l_cache_trip_fc;
3665:
3666: ELSE

Line 3671: WSH_DEBUG_SV.log(l_module_name, 'looking up freight carrier for delivery', l_cache_del_id);

3667:
3668: IF l_mtl_txn_if_rec.trx_source_delivery_id(l_index) <> l_cache_del_id THEN
3669: l_cache_del_id := l_mtl_txn_if_rec.trx_source_delivery_id(l_index);
3670: IF l_debug_on THEN
3671: WSH_DEBUG_SV.log(l_module_name, 'looking up freight carrier for delivery', l_cache_del_id);
3672: END IF;
3673: OPEN c_freight_code_del(l_mtl_txn_if_rec.trx_source_delivery_id(l_index) ) ;
3674: FETCH c_freight_code_del into l_cache_del_fc;
3675: IF c_freight_code_del%NOTFOUND THEN

Line 3677: WSH_DEBUG_SV.logmsg(l_module_name, 'c_freight_code_del record not found');

3673: OPEN c_freight_code_del(l_mtl_txn_if_rec.trx_source_delivery_id(l_index) ) ;
3674: FETCH c_freight_code_del into l_cache_del_fc;
3675: IF c_freight_code_del%NOTFOUND THEN
3676: IF l_debug_on THEN
3677: WSH_DEBUG_SV.logmsg(l_module_name, 'c_freight_code_del record not found');
3678: END IF;
3679: l_cache_del_fc := NULL;
3680: END IF;
3681: CLOSE c_freight_code_del;

Line 3685: WSH_DEBUG_SV.log(l_module_name, 'defaulting freight_code with l_cache_del_fc', l_cache_del_fc);

3681: CLOSE c_freight_code_del;
3682: END IF;
3683:
3684: IF l_debug_on THEN
3685: WSH_DEBUG_SV.log(l_module_name, 'defaulting freight_code with l_cache_del_fc', l_cache_del_fc);
3686: END IF;
3687: l_mtl_txn_if_rec.freight_code(l_index) := l_cache_del_fc;
3688:
3689: END IF;

Line 3696: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_txn_if_rec.source_code(l_index));

3692: -- fabdi end : SHIPPING PIECE 12/09/2000
3693: /* getting the source_document_type id to see if it is an internal order or not */
3694: /* get order line info to decide if this is part of an internal order */
3695: IF l_debug_on THEN
3696: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_txn_if_rec.source_code(l_index));
3697: WSH_DEBUG_SV.log(l_module_name,'ont_source_code', WSH_SHIP_CONFIRM_ACTIONS.ont_source_code);
3698: END IF;
3699:
3700: -- for non-opm items derive additional information, based on the

Line 3697: WSH_DEBUG_SV.log(l_module_name,'ont_source_code', WSH_SHIP_CONFIRM_ACTIONS.ont_source_code);

3693: /* getting the source_document_type id to see if it is an internal order or not */
3694: /* get order line info to decide if this is part of an internal order */
3695: IF l_debug_on THEN
3696: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_txn_if_rec.source_code(l_index));
3697: WSH_DEBUG_SV.log(l_module_name,'ont_source_code', WSH_SHIP_CONFIRM_ACTIONS.ont_source_code);
3698: END IF;
3699:
3700: -- for non-opm items derive additional information, based on the
3701: -- source_code

Line 3712: WSH_DEBUG_SV.log(l_module_name,'l_source_code',l_source_code);

3708:
3709: l_source_code := WSH_SHIP_CONFIRM_ACTIONS.ont_source_code;
3710: --
3711: IF l_debug_on THEN
3712: WSH_DEBUG_SV.log(l_module_name,'l_source_code',l_source_code);
3713: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit INV_SALESORDER.GET_SALESORDER_FOR_OEHEADER',
3714: WSH_DEBUG_SV.C_PROC_LEVEL);
3715: END IF;
3716: --

Line 3713: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit INV_SALESORDER.GET_SALESORDER_FOR_OEHEADER',

3709: l_source_code := WSH_SHIP_CONFIRM_ACTIONS.ont_source_code;
3710: --
3711: IF l_debug_on THEN
3712: WSH_DEBUG_SV.log(l_module_name,'l_source_code',l_source_code);
3713: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit INV_SALESORDER.GET_SALESORDER_FOR_OEHEADER',
3714: WSH_DEBUG_SV.C_PROC_LEVEL);
3715: END IF;
3716: --
3717: IF (nvl(l_prev_source_header_id,-99) <> l_mtl_txn_if_rec.source_header_id(l_index)) THEN

Line 3714: WSH_DEBUG_SV.C_PROC_LEVEL);

3710: --
3711: IF l_debug_on THEN
3712: WSH_DEBUG_SV.log(l_module_name,'l_source_code',l_source_code);
3713: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit INV_SALESORDER.GET_SALESORDER_FOR_OEHEADER',
3714: WSH_DEBUG_SV.C_PROC_LEVEL);
3715: END IF;
3716: --
3717: IF (nvl(l_prev_source_header_id,-99) <> l_mtl_txn_if_rec.source_header_id(l_index)) THEN
3718: l_trx_source_id := INV_SALESORDER.GET_SALESORDER_FOR_OEHEADER

Line 3724: WSH_DEBUG_SV.logmsg(l_module_name, 'FOUND MTL ORDER LINE: ' ||L_TRX_SOURCE_ID );

3720: END IF;
3721: l_prev_source_header_id:= l_mtl_txn_if_rec.source_header_id(l_index);
3722: --
3723: IF l_debug_on THEN
3724: WSH_DEBUG_SV.logmsg(l_module_name, 'FOUND MTL ORDER LINE: ' ||L_TRX_SOURCE_ID );
3725: END IF;
3726: --
3727: OPEN c_order_line_info(l_mtl_txn_if_rec.source_line_id(l_index));
3728: FETCH c_order_line_info into l_order_line_info;

Line 3733: WSH_DEBUG_SV.log(l_module_name,'Sales order not valid');

3729: IF (c_order_line_info%NOTFOUND) THEN
3730: CLOSE c_order_line_info;
3731: WSH_UTIL_CORE.PrintMsg('Sales order not valid');
3732: IF l_debug_on THEN
3733: WSH_DEBUG_SV.log(l_module_name,'Sales order not valid');
3734: END IF;
3735: raise e_line_error;
3736: END if;
3737: CLOSE c_order_line_info;

Line 3741: WSH_DEBUG_SV.log(l_module_name,'source_document_type_id',l_order_line_info.source_document_type_id);

3737: CLOSE c_order_line_info;
3738:
3739: -- bug 1656291
3740: IF l_debug_on THEN
3741: WSH_DEBUG_SV.log(l_module_name,'source_document_type_id',l_order_line_info.source_document_type_id);
3742: WSH_DEBUG_SV.log(l_module_name,'source_document_id',l_order_line_info.source_document_id);
3743: WSH_DEBUG_SV.log(l_module_name,'source_document_line_id',l_order_line_info.source_document_line_id);
3744: END IF;
3745:

Line 3742: WSH_DEBUG_SV.log(l_module_name,'source_document_id',l_order_line_info.source_document_id);

3738:
3739: -- bug 1656291
3740: IF l_debug_on THEN
3741: WSH_DEBUG_SV.log(l_module_name,'source_document_type_id',l_order_line_info.source_document_type_id);
3742: WSH_DEBUG_SV.log(l_module_name,'source_document_id',l_order_line_info.source_document_id);
3743: WSH_DEBUG_SV.log(l_module_name,'source_document_line_id',l_order_line_info.source_document_line_id);
3744: END IF;
3745:
3746: IF (l_order_line_info.source_document_type_id = 10) THEN

Line 3743: WSH_DEBUG_SV.log(l_module_name,'source_document_line_id',l_order_line_info.source_document_line_id);

3739: -- bug 1656291
3740: IF l_debug_on THEN
3741: WSH_DEBUG_SV.log(l_module_name,'source_document_type_id',l_order_line_info.source_document_type_id);
3742: WSH_DEBUG_SV.log(l_module_name,'source_document_id',l_order_line_info.source_document_id);
3743: WSH_DEBUG_SV.log(l_module_name,'source_document_line_id',l_order_line_info.source_document_line_id);
3744: END IF;
3745:
3746: IF (l_order_line_info.source_document_type_id = 10) THEN
3747: IF l_debug_on THEN

Line 3748: WSH_DEBUG_SV.logmsg(l_module_name, 'THIS LINE IS PART OF AN INTERNAL ORDER' );

3744: END IF;
3745:
3746: IF (l_order_line_info.source_document_type_id = 10) THEN
3747: IF l_debug_on THEN
3748: WSH_DEBUG_SV.logmsg(l_module_name, 'THIS LINE IS PART OF AN INTERNAL ORDER' );
3749: END IF;
3750:
3751: OPEN c_po_info(l_order_line_info.source_document_line_id, l_order_line_info.source_document_id);
3752: FETCH c_po_info into l_po_info;

Line 3757: WSH_DEBUG_SV.log(l_module_name,'Requisition line not found');

3753: IF c_po_info%NOTFOUND THEN
3754: CLOSE c_po_info;
3755: WSH_UTIL_CORE.PrintMsg('Requisition line not found');
3756: IF l_debug_on THEN
3757: WSH_DEBUG_SV.log(l_module_name,'Requisition line not found');
3758: END IF;
3759: raise e_line_error;
3760: END IF;
3761: CLOSE c_po_info;

Line 3764: WSH_DEBUG_SV.logmsg(l_module_name,'REQUISITION LINE ID:'||L_ORDER_LINE_INFO.SOURCE_DOCUMENT_LINE_ID);

3760: END IF;
3761: CLOSE c_po_info;
3762:
3763: IF l_debug_on THEN
3764: WSH_DEBUG_SV.logmsg(l_module_name,'REQUISITION LINE ID:'||L_ORDER_LINE_INFO.SOURCE_DOCUMENT_LINE_ID);
3765: WSH_DEBUG_SV.log(l_module_name, 'encumbered_flag', l_po_info.encumbered_flag );
3766: WSH_DEBUG_SV.log(l_module_name, 'budget_account_id', l_po_info.budget_account_id);
3767: WSH_DEBUG_SV.log(l_module_name, 'unit_price', l_po_info.unit_price);
3768: END IF;

Line 3765: WSH_DEBUG_SV.log(l_module_name, 'encumbered_flag', l_po_info.encumbered_flag );

3761: CLOSE c_po_info;
3762:
3763: IF l_debug_on THEN
3764: WSH_DEBUG_SV.logmsg(l_module_name,'REQUISITION LINE ID:'||L_ORDER_LINE_INFO.SOURCE_DOCUMENT_LINE_ID);
3765: WSH_DEBUG_SV.log(l_module_name, 'encumbered_flag', l_po_info.encumbered_flag );
3766: WSH_DEBUG_SV.log(l_module_name, 'budget_account_id', l_po_info.budget_account_id);
3767: WSH_DEBUG_SV.log(l_module_name, 'unit_price', l_po_info.unit_price);
3768: END IF;
3769:

Line 3766: WSH_DEBUG_SV.log(l_module_name, 'budget_account_id', l_po_info.budget_account_id);

3762:
3763: IF l_debug_on THEN
3764: WSH_DEBUG_SV.logmsg(l_module_name,'REQUISITION LINE ID:'||L_ORDER_LINE_INFO.SOURCE_DOCUMENT_LINE_ID);
3765: WSH_DEBUG_SV.log(l_module_name, 'encumbered_flag', l_po_info.encumbered_flag );
3766: WSH_DEBUG_SV.log(l_module_name, 'budget_account_id', l_po_info.budget_account_id);
3767: WSH_DEBUG_SV.log(l_module_name, 'unit_price', l_po_info.unit_price);
3768: END IF;
3769:
3770: --- 2231732 encumbrance enhancement

Line 3767: WSH_DEBUG_SV.log(l_module_name, 'unit_price', l_po_info.unit_price);

3763: IF l_debug_on THEN
3764: WSH_DEBUG_SV.logmsg(l_module_name,'REQUISITION LINE ID:'||L_ORDER_LINE_INFO.SOURCE_DOCUMENT_LINE_ID);
3765: WSH_DEBUG_SV.log(l_module_name, 'encumbered_flag', l_po_info.encumbered_flag );
3766: WSH_DEBUG_SV.log(l_module_name, 'budget_account_id', l_po_info.budget_account_id);
3767: WSH_DEBUG_SV.log(l_module_name, 'unit_price', l_po_info.unit_price);
3768: END IF;
3769:
3770: --- 2231732 encumbrance enhancement
3771: If l_po_info.encumbered_flag = 'Y' then

Line 3781: WSH_DEBUG_SV.logmsg(l_module_name,

3777: l_mtl_txn_if_rec.inventory_item_id(l_index))* l_po_info.unit_price);
3778: end if;
3779: --
3780: IF l_debug_on THEN
3781: WSH_DEBUG_SV.logmsg(l_module_name,
3782: 'DEST_TYPE_CODE:' ||
3783: L_PO_INFO.DESTINATION_TYPE_CODE ||
3784: ' SOURCE ORG ID:' ||
3785: L_PO_INFO.SOURCE_ORGANIZATION_ID ||

Line 3839: WSH_DEBUG_SV.log(l_module_name,'l_intransit_type', l_intransit_type);

3835: END IF;
3836: END IF;
3837: CLOSE c_mtl_interorg_parameters;
3838: IF l_debug_on THEN
3839: WSH_DEBUG_SV.log(l_module_name,'l_intransit_type', l_intransit_type);
3840: WSH_DEBUG_SV.log(l_module_name,'l_trx_source_type_id', l_trx_source_type_id);
3841: WSH_DEBUG_SV.log(l_module_name,'l_trx_action_id', l_trx_action_id);
3842: WSH_DEBUG_SV.log(l_module_name,'l_trx_type_code', l_trx_type_code);
3843: END IF;

Line 3840: WSH_DEBUG_SV.log(l_module_name,'l_trx_source_type_id', l_trx_source_type_id);

3836: END IF;
3837: CLOSE c_mtl_interorg_parameters;
3838: IF l_debug_on THEN
3839: WSH_DEBUG_SV.log(l_module_name,'l_intransit_type', l_intransit_type);
3840: WSH_DEBUG_SV.log(l_module_name,'l_trx_source_type_id', l_trx_source_type_id);
3841: WSH_DEBUG_SV.log(l_module_name,'l_trx_action_id', l_trx_action_id);
3842: WSH_DEBUG_SV.log(l_module_name,'l_trx_type_code', l_trx_type_code);
3843: END IF;
3844: END IF;

Line 3841: WSH_DEBUG_SV.log(l_module_name,'l_trx_action_id', l_trx_action_id);

3837: CLOSE c_mtl_interorg_parameters;
3838: IF l_debug_on THEN
3839: WSH_DEBUG_SV.log(l_module_name,'l_intransit_type', l_intransit_type);
3840: WSH_DEBUG_SV.log(l_module_name,'l_trx_source_type_id', l_trx_source_type_id);
3841: WSH_DEBUG_SV.log(l_module_name,'l_trx_action_id', l_trx_action_id);
3842: WSH_DEBUG_SV.log(l_module_name,'l_trx_type_code', l_trx_type_code);
3843: END IF;
3844: END IF;
3845:

Line 3842: WSH_DEBUG_SV.log(l_module_name,'l_trx_type_code', l_trx_type_code);

3838: IF l_debug_on THEN
3839: WSH_DEBUG_SV.log(l_module_name,'l_intransit_type', l_intransit_type);
3840: WSH_DEBUG_SV.log(l_module_name,'l_trx_source_type_id', l_trx_source_type_id);
3841: WSH_DEBUG_SV.log(l_module_name,'l_trx_action_id', l_trx_action_id);
3842: WSH_DEBUG_SV.log(l_module_name,'l_trx_type_code', l_trx_type_code);
3843: END IF;
3844: END IF;
3845:
3846:

Line 3854: WSH_DEBUG_SV.logmsg(l_module_name,'Onward 11.5.10 not requried to get the PO account',

3850: --Shipping Goods Dispatched Account instead of Charge account from PO to Inventor for Interface.
3851:
3852: IF (WSH_CODE_CONTROL.Get_Code_Release_Level >= '110510') THEN
3853: IF l_debug_on THEN
3854: WSH_DEBUG_SV.logmsg(l_module_name,'Onward 11.5.10 not requried to get the PO account',
3855: WSH_DEBUG_SV.C_PROC_LEVEL);
3856: END IF;
3857: l_account := NULL;
3858: ELSE

Line 3855: WSH_DEBUG_SV.C_PROC_LEVEL);

3851:
3852: IF (WSH_CODE_CONTROL.Get_Code_Release_Level >= '110510') THEN
3853: IF l_debug_on THEN
3854: WSH_DEBUG_SV.logmsg(l_module_name,'Onward 11.5.10 not requried to get the PO account',
3855: WSH_DEBUG_SV.C_PROC_LEVEL);
3856: END IF;
3857: l_account := NULL;
3858: ELSE
3859: IF l_debug_on THEN

Line 3860: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit PO_REQ_DIST_SV1.GET_DIST_ACCOUNT',

3856: END IF;
3857: l_account := NULL;
3858: ELSE
3859: IF l_debug_on THEN
3860: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit PO_REQ_DIST_SV1.GET_DIST_ACCOUNT',
3861: WSH_DEBUG_SV.C_PROC_LEVEL);
3862: END IF;
3863:
3864: l_account := PO_REQ_DIST_SV1.get_dist_account( l_requisition_line_id ) ; -- Bug 1610178

Line 3861: WSH_DEBUG_SV.C_PROC_LEVEL);

3857: l_account := NULL;
3858: ELSE
3859: IF l_debug_on THEN
3860: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit PO_REQ_DIST_SV1.GET_DIST_ACCOUNT',
3861: WSH_DEBUG_SV.C_PROC_LEVEL);
3862: END IF;
3863:
3864: l_account := PO_REQ_DIST_SV1.get_dist_account( l_requisition_line_id ) ; -- Bug 1610178
3865: END IF;

Line 3868: WSH_DEBUG_SV.log(l_module_name,'l_account',l_account);

3864: l_account := PO_REQ_DIST_SV1.get_dist_account( l_requisition_line_id ) ; -- Bug 1610178
3865: END IF;
3866:
3867: IF l_debug_on THEN
3868: WSH_DEBUG_SV.log(l_module_name,'l_account',l_account);
3869: END IF;
3870:
3871: IF ( l_account = -11 ) OR l_account IS NULL THEN
3872: IF l_account = -11 THEN

Line 3884: WSH_DEBUG_SV.log(l_module_name,'wsh_shipping_params_pvt.get l_sp_ret_status',l_sp_ret_status);

3880: x_param_info => l_ship_params,
3881: x_return_status => l_sp_ret_status);
3882:
3883: IF l_debug_on THEN
3884: WSH_DEBUG_SV.log(l_module_name,'wsh_shipping_params_pvt.get l_sp_ret_status',l_sp_ret_status);
3885: END IF;
3886: IF l_sp_ret_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS THEN
3887: wsh_util_core.printmsg('Unable to get shipping parameters for org '
3888: || l_mtl_txn_if_rec.organization_id(l_index));

Line 3891: WSH_DEBUG_SV.log(l_module_name,'Unable to get shipping parameters for org ',

3887: wsh_util_core.printmsg('Unable to get shipping parameters for org '
3888: || l_mtl_txn_if_rec.organization_id(l_index));
3889:
3890: IF l_debug_on THEN
3891: WSH_DEBUG_SV.log(l_module_name,'Unable to get shipping parameters for org ',
3892: l_mtl_txn_if_rec.organization_id(l_index));
3893: END IF;
3894: raise e_line_warning;
3895: END IF;

Line 3900: WSH_DEBUG_SV.logmsg(l_module_name, ' ACCOUNT_ID:' || L_ACCOUNT );

3896:
3897:
3898: l_account := l_ship_params.goods_dispatched_account;
3899: IF l_debug_on THEN
3900: WSH_DEBUG_SV.logmsg(l_module_name, ' ACCOUNT_ID:' || L_ACCOUNT );
3901: END IF;
3902:
3903: IF ( l_account IS NULL ) THEN
3904: WSH_UTIL_CORE.PrintMsg('There is no default goods dispatched account for org ' ||

Line 3913: WSH_DEBUG_SV.logmsg(l_module_name, 'DISTRIBUTION ACCOUNT IS ' || L_ACCOUNT );

3909: END IF;
3910: END IF;
3911: --
3912: IF l_debug_on THEN
3913: WSH_DEBUG_SV.logmsg(l_module_name, 'DISTRIBUTION ACCOUNT IS ' || L_ACCOUNT );
3914: END IF;
3915: --
3916:
3917: -- Added for bug 4538005

Line 3929: WSH_DEBUG_SV.logmsg(l_module_name, 'Calling program WSH_LOCATIONS_PKG.Get_Intransit_Time');

3925: ELSIF ( l_mtl_txn_if_rec.ship_method_code(l_index) IS NOT NULL )
3926: THEN
3927:
3928: IF l_debug_on THEN
3929: WSH_DEBUG_SV.logmsg(l_module_name, 'Calling program WSH_LOCATIONS_PKG.Get_Intransit_Time');
3930: END IF;
3931:
3932: OPEN get_session_id;
3933: FETCH get_session_id INTO l_session_id;

Line 3953: WSH_DEBUG_SV.log(l_module_name, 'x_return_status', x_return_status);

3949: --Handle Return Status
3950: x_return_status := l_return_status;
3951:
3952: IF l_debug_on THEN
3953: WSH_DEBUG_SV.log(l_module_name, 'x_return_status', x_return_status);
3954: WSH_DEBUG_SV.logmsg(l_module_name, 'Error returned from WSH_LOCATIONS_PKG.Get_Intransit_Time');
3955: WSH_DEBUG_SV.pop(l_module_name);
3956: END IF;
3957:

Line 3954: WSH_DEBUG_SV.logmsg(l_module_name, 'Error returned from WSH_LOCATIONS_PKG.Get_Intransit_Time');

3950: x_return_status := l_return_status;
3951:
3952: IF l_debug_on THEN
3953: WSH_DEBUG_SV.log(l_module_name, 'x_return_status', x_return_status);
3954: WSH_DEBUG_SV.logmsg(l_module_name, 'Error returned from WSH_LOCATIONS_PKG.Get_Intransit_Time');
3955: WSH_DEBUG_SV.pop(l_module_name);
3956: END IF;
3957:
3958: RETURN;

Line 3955: WSH_DEBUG_SV.pop(l_module_name);

3951:
3952: IF l_debug_on THEN
3953: WSH_DEBUG_SV.log(l_module_name, 'x_return_status', x_return_status);
3954: WSH_DEBUG_SV.logmsg(l_module_name, 'Error returned from WSH_LOCATIONS_PKG.Get_Intransit_Time');
3955: WSH_DEBUG_SV.pop(l_module_name);
3956: END IF;
3957:
3958: RETURN;
3959: END IF;

Line 3970: WSH_DEBUG_SV.log(l_module_name, 'Intransit Time', l_intransit_time);

3966: l_intransit_time := 0;
3967: END IF;
3968:
3969: IF l_debug_on THEN
3970: WSH_DEBUG_SV.log(l_module_name, 'Intransit Time', l_intransit_time);
3971: END IF;
3972:
3973:
3974:

Line 3982: WSH_DEBUG_SV.logmsg(l_module_name, 'NOT AN INTERNAL ORDER' );

3978: ------------------------------------
3979: ELSE /* not internal order */
3980: --
3981: IF l_debug_on THEN
3982: WSH_DEBUG_SV.logmsg(l_module_name, 'NOT AN INTERNAL ORDER' );
3983: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_TPA_DELIVERY_DETAILS_PKG.GET_ACCOUNT',
3984: WSH_DEBUG_SV.C_PROC_LEVEL);
3985: END IF;
3986:

Line 3983: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_TPA_DELIVERY_DETAILS_PKG.GET_ACCOUNT',

3979: ELSE /* not internal order */
3980: --
3981: IF l_debug_on THEN
3982: WSH_DEBUG_SV.logmsg(l_module_name, 'NOT AN INTERNAL ORDER' );
3983: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_TPA_DELIVERY_DETAILS_PKG.GET_ACCOUNT',
3984: WSH_DEBUG_SV.C_PROC_LEVEL);
3985: END IF;
3986:
3987: /* get cogs account */

Line 3984: WSH_DEBUG_SV.C_PROC_LEVEL);

3980: --
3981: IF l_debug_on THEN
3982: WSH_DEBUG_SV.logmsg(l_module_name, 'NOT AN INTERNAL ORDER' );
3983: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_TPA_DELIVERY_DETAILS_PKG.GET_ACCOUNT',
3984: WSH_DEBUG_SV.C_PROC_LEVEL);
3985: END IF;
3986:
3987: /* get cogs account */
3988: l_account := WSH_TPA_DELIVERY_DETAILS_PKG.Get_Account(

Line 3993: WSH_DEBUG_SV.logmsg(l_module_name, 'RET_STATUS:'|| L_ACCOUNT_RETURN_STATUS ||

3989: p_delivery_detail_id => l_mtl_txn_if_rec.picking_line_id(l_index),
3990: x_return_status => l_account_return_status);
3991:
3992: IF l_debug_on THEN
3993: WSH_DEBUG_SV.logmsg(l_module_name, 'RET_STATUS:'|| L_ACCOUNT_RETURN_STATUS ||
3994: ' ACCOUNT_ID:' || L_ACCOUNT );
3995: END IF;
3996:
3997: IF ( l_account_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS ) THEN

Line 4014: WSH_DEBUG_SV.log(l_module_name, 'c_convert_locId%NOTFOUND',

4010: FND_MESSAGE.SET_NAME('WSH','WSH_XC_INVALID_LOCATION');
4011: wsh_util_core.add_message(WSH_UTIL_CORE.G_RET_STS_ERROR, l_module_name);
4012: CLOSE c_convert_locId;
4013: IF l_debug_on THEN
4014: WSH_DEBUG_SV.log(l_module_name, 'c_convert_locId%NOTFOUND',
4015: l_mtl_txn_if_rec.ship_to_location_id(l_index));
4016: END IF;
4017: raise e_line_error;
4018: END IF;

Line 4038: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit OKE_SHIPPING_EXT.COST_OF_SALES_ACCOUNT',

4034: l_trx_type_code := 77;
4035: l_trx_source_id := l_mtl_txn_if_rec.source_header_id(l_index);
4036: --
4037: IF l_debug_on THEN
4038: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit OKE_SHIPPING_EXT.COST_OF_SALES_ACCOUNT',
4039: WSH_DEBUG_SV.C_PROC_LEVEL);
4040: END IF;
4041: --
4042: l_account := OKE_SHIPPING_EXT.COST_OF_SALES_ACCOUNT(

Line 4039: WSH_DEBUG_SV.C_PROC_LEVEL);

4035: l_trx_source_id := l_mtl_txn_if_rec.source_header_id(l_index);
4036: --
4037: IF l_debug_on THEN
4038: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit OKE_SHIPPING_EXT.COST_OF_SALES_ACCOUNT',
4039: WSH_DEBUG_SV.C_PROC_LEVEL);
4040: END IF;
4041: --
4042: l_account := OKE_SHIPPING_EXT.COST_OF_SALES_ACCOUNT(
4043: X_Delivery_Detail_ID => l_mtl_txn_if_rec.picking_line_id(l_index));

Line 4045: WSH_DEBUG_SV.log(l_module_name,'l_account',l_account);

4041: --
4042: l_account := OKE_SHIPPING_EXT.COST_OF_SALES_ACCOUNT(
4043: X_Delivery_Detail_ID => l_mtl_txn_if_rec.picking_line_id(l_index));
4044: IF l_debug_on THEN
4045: WSH_DEBUG_SV.log(l_module_name,'l_account',l_account);
4046: END IF;
4047:
4048: IF l_account IS NULL THEN
4049: WSH_UTIL_CORE.PrintMsg('OKE_SHIPPING_EXT.Cost_Of_Sales_Account returns NULL value');

Line 4059: WSH_DEBUG_SV.log(l_module_name,

4055: IF l_sp_ret_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS THEN
4056: wsh_util_core.printmsg('Unable to get shipping parameters for org ' ||
4057: l_mtl_txn_if_rec.organization_id(l_index));
4058: IF l_debug_on THEN
4059: WSH_DEBUG_SV.log(l_module_name,
4060: 'Unable to get shipping parameters for org', l_mtl_txn_if_rec.organization_id(l_index));
4061: END IF;
4062: raise e_line_warning;
4063: END IF;

Line 4067: WSH_DEBUG_SV.logmsg(l_module_name, ' ACCOUNT_ID:' || L_ACCOUNT );

4063: END IF;
4064:
4065: l_account := l_ship_params.goods_dispatched_account;
4066: IF l_debug_on THEN
4067: WSH_DEBUG_SV.logmsg(l_module_name, ' ACCOUNT_ID:' || L_ACCOUNT );
4068: END IF;
4069: --
4070: IF l_account IS NULL THEN
4071: WSH_UTIL_CORE.PrintMsg('There is no default goods dispatched account for org ' ||

Line 4076: WSH_DEBUG_SV.log(l_module_name, 'There is no default goods dispatched account for org'

4072: l_mtl_txn_if_rec.organization_id(l_index));
4073: x_return_status := WSH_UTIL_CORE.G_RET_STS_WARNING ;
4074: --
4075: IF l_debug_on THEN
4076: WSH_DEBUG_SV.log(l_module_name, 'There is no default goods dispatched account for org'
4077: ,l_mtl_txn_if_rec.organization_id(l_index));
4078: END IF;
4079: raise e_line_warning;
4080: END IF;

Line 4091: WSH_DEBUG_SV.log(l_module_name,'l_source_code',l_source_code);

4087: l_trx_type_code := 32; -- miscellaneous issue
4088: l_trx_source_id := l_mtl_txn_if_rec.source_header_id(l_index);
4089:
4090: IF l_debug_on THEN
4091: WSH_DEBUG_SV.log(l_module_name,'l_source_code',l_source_code);
4092: WSH_DEBUG_SV.log(l_module_name,'l_trx_source_id',l_trx_source_id);
4093: END IF;
4094:
4095: wsh_shipping_params_pvt.get(

Line 4092: WSH_DEBUG_SV.log(l_module_name,'l_trx_source_id',l_trx_source_id);

4088: l_trx_source_id := l_mtl_txn_if_rec.source_header_id(l_index);
4089:
4090: IF l_debug_on THEN
4091: WSH_DEBUG_SV.log(l_module_name,'l_source_code',l_source_code);
4092: WSH_DEBUG_SV.log(l_module_name,'l_trx_source_id',l_trx_source_id);
4093: END IF;
4094:
4095: wsh_shipping_params_pvt.get(
4096: p_organization_id => l_mtl_txn_if_rec.organization_id(l_index),

Line 4105: WSH_DEBUG_SV.log(l_module_name, 'Unable to get shipping parameters for org',

4101: l_mtl_txn_if_rec.organization_id(l_index));
4102: x_return_status := WSH_UTIL_CORE.G_RET_STS_WARNING;
4103: --
4104: IF l_debug_on THEN
4105: WSH_DEBUG_SV.log(l_module_name, 'Unable to get shipping parameters for org',
4106: l_mtl_txn_if_rec.organization_id(l_index));
4107: END IF;
4108: raise e_line_warning;
4109: END IF;

Line 4113: WSH_DEBUG_SV.logmsg(l_module_name, ' ACCOUNT_ID:' || L_ACCOUNT );

4109: END IF;
4110:
4111: l_account := l_ship_params.goods_dispatched_account;
4112: IF l_debug_on THEN
4113: WSH_DEBUG_SV.logmsg(l_module_name, ' ACCOUNT_ID:' || L_ACCOUNT );
4114: END IF;
4115:
4116: IF ( l_account IS NULL ) THEN
4117: WSH_UTIL_CORE.PrintMsg('There is no default goods dispatched account for org ' ||

Line 4122: WSH_DEBUG_SV.log(l_module_name, 'There is no default goods dispatched account for org',

4118: l_mtl_txn_if_rec.organization_id(l_index));
4119: x_return_status := WSH_UTIL_CORE.G_RET_STS_WARNING ;
4120: --
4121: IF l_debug_on THEN
4122: WSH_DEBUG_SV.log(l_module_name, 'There is no default goods dispatched account for org',
4123: l_mtl_txn_if_rec.organization_id(l_index));
4124: END IF;
4125: raise e_line_warning;
4126: END IF;

Line 4137: WSH_DEBUG_SV.log(l_module_name,'l_org_type',l_org_type);

4133: x_return_status => x_return_status);
4134: END IF;
4135:
4136: IF l_debug_on THEN
4137: WSH_DEBUG_SV.log(l_module_name,'l_org_type',l_org_type);
4138: WSH_DEBUG_SV.log(l_module_name,'l_source_code',l_source_code);
4139: END IF;
4140:
4141: l_prev_organization_id := l_mtl_txn_if_rec.organization_id(l_index);

Line 4138: WSH_DEBUG_SV.log(l_module_name,'l_source_code',l_source_code);

4134: END IF;
4135:
4136: IF l_debug_on THEN
4137: WSH_DEBUG_SV.log(l_module_name,'l_org_type',l_org_type);
4138: WSH_DEBUG_SV.log(l_module_name,'l_source_code',l_source_code);
4139: END IF;
4140:
4141: l_prev_organization_id := l_mtl_txn_if_rec.organization_id(l_index);
4142:

Line 4191: WSH_DEBUG_SV.log(l_module_name,'l_interface_serial',l_interface_serial);

4187: l_dummy_ser_trx_interface_id := null;
4188: END IF;
4189:
4190: IF l_debug_on THEN
4191: WSH_DEBUG_SV.log(l_module_name,'l_interface_serial',l_interface_serial);
4192: WSH_DEBUG_SV.log(l_module_name,'l_mtl_txn_if_rec.transaction_temp_id(l_index) ',l_mtl_txn_if_rec.transaction_temp_id(l_index));
4193: END IF;
4194:
4195: -- gather the serial number information.

Line 4192: WSH_DEBUG_SV.log(l_module_name,'l_mtl_txn_if_rec.transaction_temp_id(l_index) ',l_mtl_txn_if_rec.transaction_temp_id(l_index));

4188: END IF;
4189:
4190: IF l_debug_on THEN
4191: WSH_DEBUG_SV.log(l_module_name,'l_interface_serial',l_interface_serial);
4192: WSH_DEBUG_SV.log(l_module_name,'l_mtl_txn_if_rec.transaction_temp_id(l_index) ',l_mtl_txn_if_rec.transaction_temp_id(l_index));
4193: END IF;
4194:
4195: -- gather the serial number information.
4196: IF (l_interface_serial) THEN

Line 4294: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO SERIAL RECORD l_mtl_ser_txn_if_rec');

4290: l_mtl_ser_txn_if_rec.serial_attribute_category(l_ser_count):=NULL;
4291: --end of Bug 10337581
4292:
4293: IF l_debug_on THEN
4294: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO SERIAL RECORD l_mtl_ser_txn_if_rec');
4295: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_ser_txn_if_rec.source_code(l_ser_count));
4296: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_ser_txn_if_rec.source_line_id(l_ser_count));
4297: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));
4298: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));

Line 4295: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_ser_txn_if_rec.source_code(l_ser_count));

4291: --end of Bug 10337581
4292:
4293: IF l_debug_on THEN
4294: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO SERIAL RECORD l_mtl_ser_txn_if_rec');
4295: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_ser_txn_if_rec.source_code(l_ser_count));
4296: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_ser_txn_if_rec.source_line_id(l_ser_count));
4297: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));
4298: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));
4299: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',

Line 4296: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_ser_txn_if_rec.source_line_id(l_ser_count));

4292:
4293: IF l_debug_on THEN
4294: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO SERIAL RECORD l_mtl_ser_txn_if_rec');
4295: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_ser_txn_if_rec.source_code(l_ser_count));
4296: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_ser_txn_if_rec.source_line_id(l_ser_count));
4297: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));
4298: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));
4299: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4300: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));

Line 4297: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));

4293: IF l_debug_on THEN
4294: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO SERIAL RECORD l_mtl_ser_txn_if_rec');
4295: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_ser_txn_if_rec.source_code(l_ser_count));
4296: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_ser_txn_if_rec.source_line_id(l_ser_count));
4297: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));
4298: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));
4299: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4300: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));
4301: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));

Line 4298: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));

4294: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO SERIAL RECORD l_mtl_ser_txn_if_rec');
4295: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_ser_txn_if_rec.source_code(l_ser_count));
4296: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_ser_txn_if_rec.source_line_id(l_ser_count));
4297: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));
4298: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));
4299: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4300: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));
4301: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));
4302: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));

Line 4299: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',

4295: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_ser_txn_if_rec.source_code(l_ser_count));
4296: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_ser_txn_if_rec.source_line_id(l_ser_count));
4297: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));
4298: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));
4299: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4300: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));
4301: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));
4302: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));
4303: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));

Line 4301: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));

4297: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));
4298: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));
4299: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4300: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));
4301: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));
4302: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));
4303: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));
4304: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4305: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));

Line 4302: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));

4298: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));
4299: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4300: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));
4301: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));
4302: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));
4303: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));
4304: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4305: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4306: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));

Line 4303: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));

4299: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4300: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));
4301: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));
4302: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));
4303: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));
4304: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4305: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4306: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4307: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));

Line 4304: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));

4300: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));
4301: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));
4302: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));
4303: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));
4304: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4305: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4306: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4307: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4308: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));

Line 4305: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));

4301: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));
4302: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));
4303: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));
4304: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4305: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4306: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4307: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4308: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4309: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));

Line 4306: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));

4302: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));
4303: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));
4304: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4305: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4306: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4307: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4308: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4309: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4310: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));

Line 4307: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));

4303: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));
4304: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4305: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4306: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4307: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4308: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4309: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4310: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4311: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));

Line 4308: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));

4304: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4305: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4306: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4307: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4308: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4309: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4310: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4311: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4312: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));

Line 4309: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));

4305: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4306: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4307: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4308: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4309: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4310: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4311: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4312: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4313: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));

Line 4310: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));

4306: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4307: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4308: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4309: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4310: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4311: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4312: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4313: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));
4314: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));

Line 4311: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));

4307: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4308: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4309: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4310: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4311: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4312: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4313: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));
4314: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));
4315: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_ser_txn_if_rec.attribute14(l_ser_count));

Line 4312: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));

4308: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4309: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4310: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4311: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4312: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4313: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));
4314: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));
4315: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_ser_txn_if_rec.attribute14(l_ser_count));
4316: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_ser_txn_if_rec.attribute15(l_ser_count));

Line 4313: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));

4309: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4310: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4311: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4312: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4313: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));
4314: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));
4315: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_ser_txn_if_rec.attribute14(l_ser_count));
4316: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_ser_txn_if_rec.attribute15(l_ser_count));
4317: END IF;

Line 4314: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));

4310: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4311: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4312: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4313: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));
4314: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));
4315: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_ser_txn_if_rec.attribute14(l_ser_count));
4316: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_ser_txn_if_rec.attribute15(l_ser_count));
4317: END IF;
4318:

Line 4315: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_ser_txn_if_rec.attribute14(l_ser_count));

4311: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4312: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4313: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));
4314: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));
4315: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_ser_txn_if_rec.attribute14(l_ser_count));
4316: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_ser_txn_if_rec.attribute15(l_ser_count));
4317: END IF;
4318:
4319: ELSE

Line 4316: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_ser_txn_if_rec.attribute15(l_ser_count));

4312: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4313: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));
4314: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));
4315: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_ser_txn_if_rec.attribute14(l_ser_count));
4316: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_ser_txn_if_rec.attribute15(l_ser_count));
4317: END IF;
4318:
4319: ELSE
4320: l_serial_count := 0;

Line 4415: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO SERIAL RECORD l_mtl_ser_txn_if_rec');

4411: l_mtl_ser_txn_if_rec.serial_attribute_category(l_ser_count):=ser_rec.serial_attribute_category;
4412: --Bug 8467875
4413:
4414: IF l_debug_on THEN
4415: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO SERIAL RECORD l_mtl_ser_txn_if_rec');
4416: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_ser_txn_if_rec.source_code(l_ser_count));
4417: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_ser_txn_if_rec.source_line_id(l_ser_count));
4418: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));
4419: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));

Line 4416: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_ser_txn_if_rec.source_code(l_ser_count));

4412: --Bug 8467875
4413:
4414: IF l_debug_on THEN
4415: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO SERIAL RECORD l_mtl_ser_txn_if_rec');
4416: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_ser_txn_if_rec.source_code(l_ser_count));
4417: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_ser_txn_if_rec.source_line_id(l_ser_count));
4418: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));
4419: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));
4420: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',

Line 4417: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_ser_txn_if_rec.source_line_id(l_ser_count));

4413:
4414: IF l_debug_on THEN
4415: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO SERIAL RECORD l_mtl_ser_txn_if_rec');
4416: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_ser_txn_if_rec.source_code(l_ser_count));
4417: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_ser_txn_if_rec.source_line_id(l_ser_count));
4418: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));
4419: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));
4420: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4421: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));

Line 4418: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));

4414: IF l_debug_on THEN
4415: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO SERIAL RECORD l_mtl_ser_txn_if_rec');
4416: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_ser_txn_if_rec.source_code(l_ser_count));
4417: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_ser_txn_if_rec.source_line_id(l_ser_count));
4418: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));
4419: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));
4420: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4421: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));
4422: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));

Line 4419: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));

4415: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO SERIAL RECORD l_mtl_ser_txn_if_rec');
4416: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_ser_txn_if_rec.source_code(l_ser_count));
4417: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_ser_txn_if_rec.source_line_id(l_ser_count));
4418: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));
4419: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));
4420: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4421: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));
4422: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));
4423: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));

Line 4420: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',

4416: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_ser_txn_if_rec.source_code(l_ser_count));
4417: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_ser_txn_if_rec.source_line_id(l_ser_count));
4418: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));
4419: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));
4420: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4421: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));
4422: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));
4423: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));
4424: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));

Line 4422: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));

4418: WSH_DEBUG_SV.log(l_module_name,'fm_serial_number',l_mtl_ser_txn_if_rec.fm_serial_number(l_ser_count));
4419: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));
4420: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4421: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));
4422: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));
4423: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));
4424: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));
4425: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4426: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));

Line 4423: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));

4419: WSH_DEBUG_SV.log(l_module_name,'to_serial_number',l_mtl_ser_txn_if_rec.to_serial_number(l_ser_count));
4420: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4421: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));
4422: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));
4423: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));
4424: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));
4425: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4426: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4427: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));

Line 4424: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));

4420: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4421: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));
4422: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));
4423: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));
4424: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));
4425: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4426: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4427: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4428: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));

Line 4425: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));

4421: l_mtl_ser_txn_if_rec.transaction_interface_id(l_ser_count));
4422: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));
4423: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));
4424: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));
4425: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4426: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4427: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4428: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4429: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));

Line 4426: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));

4422: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_ser_txn_if_rec.attribute_category(l_ser_count));
4423: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));
4424: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));
4425: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4426: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4427: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4428: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4429: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4430: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));

Line 4427: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));

4423: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_ser_txn_if_rec.attribute1(l_ser_count));
4424: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));
4425: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4426: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4427: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4428: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4429: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4430: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4431: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));

Line 4428: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));

4424: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_ser_txn_if_rec.attribute2(l_ser_count));
4425: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4426: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4427: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4428: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4429: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4430: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4431: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4432: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));

Line 4429: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));

4425: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_ser_txn_if_rec.attribute3(l_ser_count));
4426: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4427: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4428: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4429: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4430: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4431: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4432: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4433: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));

Line 4430: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));

4426: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_ser_txn_if_rec.attribute4(l_ser_count));
4427: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4428: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4429: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4430: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4431: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4432: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4433: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4434: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));

Line 4431: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));

4427: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_ser_txn_if_rec.attribute5(l_ser_count));
4428: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4429: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4430: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4431: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4432: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4433: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4434: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));
4435: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));

Line 4432: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));

4428: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_ser_txn_if_rec.attribute6(l_ser_count));
4429: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4430: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4431: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4432: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4433: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4434: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));
4435: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));
4436: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_ser_txn_if_rec.attribute14(l_ser_count));

Line 4433: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));

4429: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_ser_txn_if_rec.attribute7(l_ser_count));
4430: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4431: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4432: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4433: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4434: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));
4435: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));
4436: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_ser_txn_if_rec.attribute14(l_ser_count));
4437: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_ser_txn_if_rec.attribute15(l_ser_count));

Line 4434: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));

4430: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_ser_txn_if_rec.attribute8(l_ser_count));
4431: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4432: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4433: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4434: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));
4435: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));
4436: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_ser_txn_if_rec.attribute14(l_ser_count));
4437: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_ser_txn_if_rec.attribute15(l_ser_count));
4438: END IF;

Line 4435: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));

4431: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_ser_txn_if_rec.attribute9(l_ser_count));
4432: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4433: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4434: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));
4435: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));
4436: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_ser_txn_if_rec.attribute14(l_ser_count));
4437: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_ser_txn_if_rec.attribute15(l_ser_count));
4438: END IF;
4439:

Line 4436: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_ser_txn_if_rec.attribute14(l_ser_count));

4432: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_ser_txn_if_rec.attribute10(l_ser_count));
4433: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4434: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));
4435: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));
4436: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_ser_txn_if_rec.attribute14(l_ser_count));
4437: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_ser_txn_if_rec.attribute15(l_ser_count));
4438: END IF;
4439:
4440: l_serial_count := l_serial_count + 1;

Line 4437: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_ser_txn_if_rec.attribute15(l_ser_count));

4433: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_ser_txn_if_rec.attribute11(l_ser_count));
4434: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_ser_txn_if_rec.attribute12(l_ser_count));
4435: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_ser_txn_if_rec.attribute13(l_ser_count));
4436: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_ser_txn_if_rec.attribute14(l_ser_count));
4437: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_ser_txn_if_rec.attribute15(l_ser_count));
4438: END IF;
4439:
4440: l_serial_count := l_serial_count + 1;
4441: END LOOP;

Line 4445: WSH_DEBUG_SV.logmsg(l_module_name, 'ERROR: NO SERIAL RECORDS FOUND FOR TRANSACTION_TEMP_ID '||

4441: END LOOP;
4442:
4443: IF (l_serial_count = 0) THEN
4444: IF l_debug_on THEN
4445: WSH_DEBUG_SV.logmsg(l_module_name, 'ERROR: NO SERIAL RECORDS FOUND FOR TRANSACTION_TEMP_ID '||
4446: l_mtl_txn_if_rec.transaction_temp_id(l_index));
4447: END IF;
4448: raise e_line_error;
4449: ELSE

Line 4451: WSH_DEBUG_SV.logmsg(l_module_name, 'INSERTED '||l_serial_count||' SERIAL RECORDS ');

4447: END IF;
4448: raise e_line_error;
4449: ELSE
4450: IF l_debug_on THEN
4451: WSH_DEBUG_SV.logmsg(l_module_name, 'INSERTED '||l_serial_count||' SERIAL RECORDS ');
4452: END IF;
4453: END IF;
4454: END IF;
4455: END IF;

Line 4460: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM IS UNDER SRL CTRL .'||

4456:
4457: -- Gather the lot information
4458: IF (l_interface_lot) THEN
4459: IF l_debug_on THEN
4460: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM IS UNDER SRL CTRL .'||
4461: 'INSERTING SRL NUMBER ' || l_mtl_txn_if_rec.SERIAL_NUMBER(l_index) || 'INTO MSNI.');
4462: END IF;
4463: l_interface_lot := false;
4464: l_bulk_count := l_bulk_count + 1;

Line 4480: WSH_DEBUG_SV.logmsg(l_module_name, 'Order Type is Internal, populating Lot attribute values');

4476:
4477: --Bug 13529169, populate lot attibutes only in case of internal sales orders
4478: IF (l_order_line_info.source_document_type_id = 10) THEN
4479: IF l_debug_on THEN
4480: WSH_DEBUG_SV.logmsg(l_module_name, 'Order Type is Internal, populating Lot attribute values');
4481: END IF;
4482: OPEN c_lot_attr(l_mtl_txn_if_rec.inventory_item_id(l_index),l_mtl_txn_if_rec.organization_id(l_index),l_mtl_txn_if_rec.lot_number(l_index));
4483: FETCH c_lot_attr INTO l_mtl_lot_txn_if_rec.attribute_category(l_lot_count),
4484: l_mtl_lot_txn_if_rec.attribute1(l_lot_count),

Line 4543: WSH_DEBUG_SV.logmsg(l_module_name, 'ERROR: NO RECORDS FOUND FOR LOT '||l_mtl_txn_if_rec.lot_number(l_index));

4539: l_mtl_lot_txn_if_rec.lot_attribute_category(l_lot_count);
4540: IF c_lot_attr%NOTFOUND THEN
4541: CLOSE c_lot_attr;
4542: IF l_debug_on THEN
4543: WSH_DEBUG_SV.logmsg(l_module_name, 'ERROR: NO RECORDS FOUND FOR LOT '||l_mtl_txn_if_rec.lot_number(l_index));
4544: END IF;
4545: raise e_line_error;
4546: END IF;
4547: CLOSE c_lot_attr;

Line 4550: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_lot_txn_if_rec.attribute_category(l_lot_count));

4546: END IF;
4547: CLOSE c_lot_attr;
4548:
4549: IF l_debug_on THEN
4550: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_lot_txn_if_rec.attribute_category(l_lot_count));
4551: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_lot_txn_if_rec.attribute1(l_lot_count));
4552: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_lot_txn_if_rec.attribute2(l_lot_count));
4553: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_lot_txn_if_rec.attribute3(l_lot_count));
4554: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_lot_txn_if_rec.attribute4(l_lot_count));

Line 4551: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_lot_txn_if_rec.attribute1(l_lot_count));

4547: CLOSE c_lot_attr;
4548:
4549: IF l_debug_on THEN
4550: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_lot_txn_if_rec.attribute_category(l_lot_count));
4551: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_lot_txn_if_rec.attribute1(l_lot_count));
4552: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_lot_txn_if_rec.attribute2(l_lot_count));
4553: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_lot_txn_if_rec.attribute3(l_lot_count));
4554: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_lot_txn_if_rec.attribute4(l_lot_count));
4555: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_lot_txn_if_rec.attribute5(l_lot_count));

Line 4552: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_lot_txn_if_rec.attribute2(l_lot_count));

4548:
4549: IF l_debug_on THEN
4550: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_lot_txn_if_rec.attribute_category(l_lot_count));
4551: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_lot_txn_if_rec.attribute1(l_lot_count));
4552: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_lot_txn_if_rec.attribute2(l_lot_count));
4553: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_lot_txn_if_rec.attribute3(l_lot_count));
4554: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_lot_txn_if_rec.attribute4(l_lot_count));
4555: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_lot_txn_if_rec.attribute5(l_lot_count));
4556: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_lot_txn_if_rec.attribute6(l_lot_count));

Line 4553: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_lot_txn_if_rec.attribute3(l_lot_count));

4549: IF l_debug_on THEN
4550: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_lot_txn_if_rec.attribute_category(l_lot_count));
4551: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_lot_txn_if_rec.attribute1(l_lot_count));
4552: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_lot_txn_if_rec.attribute2(l_lot_count));
4553: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_lot_txn_if_rec.attribute3(l_lot_count));
4554: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_lot_txn_if_rec.attribute4(l_lot_count));
4555: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_lot_txn_if_rec.attribute5(l_lot_count));
4556: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_lot_txn_if_rec.attribute6(l_lot_count));
4557: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_lot_txn_if_rec.attribute7(l_lot_count));

Line 4554: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_lot_txn_if_rec.attribute4(l_lot_count));

4550: WSH_DEBUG_SV.log(l_module_name,'Attribute Category',l_mtl_lot_txn_if_rec.attribute_category(l_lot_count));
4551: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_lot_txn_if_rec.attribute1(l_lot_count));
4552: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_lot_txn_if_rec.attribute2(l_lot_count));
4553: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_lot_txn_if_rec.attribute3(l_lot_count));
4554: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_lot_txn_if_rec.attribute4(l_lot_count));
4555: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_lot_txn_if_rec.attribute5(l_lot_count));
4556: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_lot_txn_if_rec.attribute6(l_lot_count));
4557: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_lot_txn_if_rec.attribute7(l_lot_count));
4558: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_lot_txn_if_rec.attribute8(l_lot_count));

Line 4555: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_lot_txn_if_rec.attribute5(l_lot_count));

4551: WSH_DEBUG_SV.log(l_module_name,'Attribute1',l_mtl_lot_txn_if_rec.attribute1(l_lot_count));
4552: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_lot_txn_if_rec.attribute2(l_lot_count));
4553: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_lot_txn_if_rec.attribute3(l_lot_count));
4554: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_lot_txn_if_rec.attribute4(l_lot_count));
4555: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_lot_txn_if_rec.attribute5(l_lot_count));
4556: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_lot_txn_if_rec.attribute6(l_lot_count));
4557: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_lot_txn_if_rec.attribute7(l_lot_count));
4558: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_lot_txn_if_rec.attribute8(l_lot_count));
4559: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_lot_txn_if_rec.attribute9(l_lot_count));

Line 4556: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_lot_txn_if_rec.attribute6(l_lot_count));

4552: WSH_DEBUG_SV.log(l_module_name,'Attribute2',l_mtl_lot_txn_if_rec.attribute2(l_lot_count));
4553: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_lot_txn_if_rec.attribute3(l_lot_count));
4554: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_lot_txn_if_rec.attribute4(l_lot_count));
4555: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_lot_txn_if_rec.attribute5(l_lot_count));
4556: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_lot_txn_if_rec.attribute6(l_lot_count));
4557: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_lot_txn_if_rec.attribute7(l_lot_count));
4558: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_lot_txn_if_rec.attribute8(l_lot_count));
4559: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_lot_txn_if_rec.attribute9(l_lot_count));
4560: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_lot_txn_if_rec.attribute10(l_lot_count));

Line 4557: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_lot_txn_if_rec.attribute7(l_lot_count));

4553: WSH_DEBUG_SV.log(l_module_name,'Attribute3',l_mtl_lot_txn_if_rec.attribute3(l_lot_count));
4554: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_lot_txn_if_rec.attribute4(l_lot_count));
4555: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_lot_txn_if_rec.attribute5(l_lot_count));
4556: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_lot_txn_if_rec.attribute6(l_lot_count));
4557: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_lot_txn_if_rec.attribute7(l_lot_count));
4558: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_lot_txn_if_rec.attribute8(l_lot_count));
4559: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_lot_txn_if_rec.attribute9(l_lot_count));
4560: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_lot_txn_if_rec.attribute10(l_lot_count));
4561: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_lot_txn_if_rec.attribute11(l_lot_count));

Line 4558: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_lot_txn_if_rec.attribute8(l_lot_count));

4554: WSH_DEBUG_SV.log(l_module_name,'Attribute4',l_mtl_lot_txn_if_rec.attribute4(l_lot_count));
4555: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_lot_txn_if_rec.attribute5(l_lot_count));
4556: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_lot_txn_if_rec.attribute6(l_lot_count));
4557: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_lot_txn_if_rec.attribute7(l_lot_count));
4558: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_lot_txn_if_rec.attribute8(l_lot_count));
4559: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_lot_txn_if_rec.attribute9(l_lot_count));
4560: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_lot_txn_if_rec.attribute10(l_lot_count));
4561: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_lot_txn_if_rec.attribute11(l_lot_count));
4562: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_lot_txn_if_rec.attribute12(l_lot_count));

Line 4559: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_lot_txn_if_rec.attribute9(l_lot_count));

4555: WSH_DEBUG_SV.log(l_module_name,'Attribute5',l_mtl_lot_txn_if_rec.attribute5(l_lot_count));
4556: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_lot_txn_if_rec.attribute6(l_lot_count));
4557: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_lot_txn_if_rec.attribute7(l_lot_count));
4558: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_lot_txn_if_rec.attribute8(l_lot_count));
4559: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_lot_txn_if_rec.attribute9(l_lot_count));
4560: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_lot_txn_if_rec.attribute10(l_lot_count));
4561: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_lot_txn_if_rec.attribute11(l_lot_count));
4562: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_lot_txn_if_rec.attribute12(l_lot_count));
4563: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_lot_txn_if_rec.attribute13(l_lot_count));

Line 4560: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_lot_txn_if_rec.attribute10(l_lot_count));

4556: WSH_DEBUG_SV.log(l_module_name,'Attribute6',l_mtl_lot_txn_if_rec.attribute6(l_lot_count));
4557: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_lot_txn_if_rec.attribute7(l_lot_count));
4558: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_lot_txn_if_rec.attribute8(l_lot_count));
4559: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_lot_txn_if_rec.attribute9(l_lot_count));
4560: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_lot_txn_if_rec.attribute10(l_lot_count));
4561: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_lot_txn_if_rec.attribute11(l_lot_count));
4562: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_lot_txn_if_rec.attribute12(l_lot_count));
4563: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_lot_txn_if_rec.attribute13(l_lot_count));
4564: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_lot_txn_if_rec.attribute14(l_lot_count));

Line 4561: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_lot_txn_if_rec.attribute11(l_lot_count));

4557: WSH_DEBUG_SV.log(l_module_name,'Attribute7',l_mtl_lot_txn_if_rec.attribute7(l_lot_count));
4558: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_lot_txn_if_rec.attribute8(l_lot_count));
4559: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_lot_txn_if_rec.attribute9(l_lot_count));
4560: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_lot_txn_if_rec.attribute10(l_lot_count));
4561: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_lot_txn_if_rec.attribute11(l_lot_count));
4562: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_lot_txn_if_rec.attribute12(l_lot_count));
4563: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_lot_txn_if_rec.attribute13(l_lot_count));
4564: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_lot_txn_if_rec.attribute14(l_lot_count));
4565: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_lot_txn_if_rec.attribute15(l_lot_count));

Line 4562: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_lot_txn_if_rec.attribute12(l_lot_count));

4558: WSH_DEBUG_SV.log(l_module_name,'Attribute8',l_mtl_lot_txn_if_rec.attribute8(l_lot_count));
4559: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_lot_txn_if_rec.attribute9(l_lot_count));
4560: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_lot_txn_if_rec.attribute10(l_lot_count));
4561: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_lot_txn_if_rec.attribute11(l_lot_count));
4562: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_lot_txn_if_rec.attribute12(l_lot_count));
4563: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_lot_txn_if_rec.attribute13(l_lot_count));
4564: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_lot_txn_if_rec.attribute14(l_lot_count));
4565: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_lot_txn_if_rec.attribute15(l_lot_count));
4566: WSH_DEBUG_SV.log(l_module_name,'Lot Attribute Category',l_mtl_lot_txn_if_rec.lot_attribute_category(l_lot_count));

Line 4563: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_lot_txn_if_rec.attribute13(l_lot_count));

4559: WSH_DEBUG_SV.log(l_module_name,'Attribute9',l_mtl_lot_txn_if_rec.attribute9(l_lot_count));
4560: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_lot_txn_if_rec.attribute10(l_lot_count));
4561: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_lot_txn_if_rec.attribute11(l_lot_count));
4562: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_lot_txn_if_rec.attribute12(l_lot_count));
4563: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_lot_txn_if_rec.attribute13(l_lot_count));
4564: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_lot_txn_if_rec.attribute14(l_lot_count));
4565: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_lot_txn_if_rec.attribute15(l_lot_count));
4566: WSH_DEBUG_SV.log(l_module_name,'Lot Attribute Category',l_mtl_lot_txn_if_rec.lot_attribute_category(l_lot_count));
4567: WSH_DEBUG_SV.log(l_module_name,'C_Attribute1',l_mtl_lot_txn_if_rec.c_attribute1(l_lot_count));

Line 4564: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_lot_txn_if_rec.attribute14(l_lot_count));

4560: WSH_DEBUG_SV.log(l_module_name,'Attribute10',l_mtl_lot_txn_if_rec.attribute10(l_lot_count));
4561: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_lot_txn_if_rec.attribute11(l_lot_count));
4562: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_lot_txn_if_rec.attribute12(l_lot_count));
4563: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_lot_txn_if_rec.attribute13(l_lot_count));
4564: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_lot_txn_if_rec.attribute14(l_lot_count));
4565: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_lot_txn_if_rec.attribute15(l_lot_count));
4566: WSH_DEBUG_SV.log(l_module_name,'Lot Attribute Category',l_mtl_lot_txn_if_rec.lot_attribute_category(l_lot_count));
4567: WSH_DEBUG_SV.log(l_module_name,'C_Attribute1',l_mtl_lot_txn_if_rec.c_attribute1(l_lot_count));
4568: WSH_DEBUG_SV.log(l_module_name,'C_Attribute2',l_mtl_lot_txn_if_rec.c_attribute2(l_lot_count));

Line 4565: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_lot_txn_if_rec.attribute15(l_lot_count));

4561: WSH_DEBUG_SV.log(l_module_name,'Attribute11',l_mtl_lot_txn_if_rec.attribute11(l_lot_count));
4562: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_lot_txn_if_rec.attribute12(l_lot_count));
4563: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_lot_txn_if_rec.attribute13(l_lot_count));
4564: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_lot_txn_if_rec.attribute14(l_lot_count));
4565: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_lot_txn_if_rec.attribute15(l_lot_count));
4566: WSH_DEBUG_SV.log(l_module_name,'Lot Attribute Category',l_mtl_lot_txn_if_rec.lot_attribute_category(l_lot_count));
4567: WSH_DEBUG_SV.log(l_module_name,'C_Attribute1',l_mtl_lot_txn_if_rec.c_attribute1(l_lot_count));
4568: WSH_DEBUG_SV.log(l_module_name,'C_Attribute2',l_mtl_lot_txn_if_rec.c_attribute2(l_lot_count));
4569: WSH_DEBUG_SV.log(l_module_name,'C_Attribute3',l_mtl_lot_txn_if_rec.c_attribute3(l_lot_count));

Line 4566: WSH_DEBUG_SV.log(l_module_name,'Lot Attribute Category',l_mtl_lot_txn_if_rec.lot_attribute_category(l_lot_count));

4562: WSH_DEBUG_SV.log(l_module_name,'Attribute12',l_mtl_lot_txn_if_rec.attribute12(l_lot_count));
4563: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_lot_txn_if_rec.attribute13(l_lot_count));
4564: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_lot_txn_if_rec.attribute14(l_lot_count));
4565: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_lot_txn_if_rec.attribute15(l_lot_count));
4566: WSH_DEBUG_SV.log(l_module_name,'Lot Attribute Category',l_mtl_lot_txn_if_rec.lot_attribute_category(l_lot_count));
4567: WSH_DEBUG_SV.log(l_module_name,'C_Attribute1',l_mtl_lot_txn_if_rec.c_attribute1(l_lot_count));
4568: WSH_DEBUG_SV.log(l_module_name,'C_Attribute2',l_mtl_lot_txn_if_rec.c_attribute2(l_lot_count));
4569: WSH_DEBUG_SV.log(l_module_name,'C_Attribute3',l_mtl_lot_txn_if_rec.c_attribute3(l_lot_count));
4570: WSH_DEBUG_SV.log(l_module_name,'C_Attribute4',l_mtl_lot_txn_if_rec.c_attribute4(l_lot_count));

Line 4567: WSH_DEBUG_SV.log(l_module_name,'C_Attribute1',l_mtl_lot_txn_if_rec.c_attribute1(l_lot_count));

4563: WSH_DEBUG_SV.log(l_module_name,'Attribute13',l_mtl_lot_txn_if_rec.attribute13(l_lot_count));
4564: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_lot_txn_if_rec.attribute14(l_lot_count));
4565: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_lot_txn_if_rec.attribute15(l_lot_count));
4566: WSH_DEBUG_SV.log(l_module_name,'Lot Attribute Category',l_mtl_lot_txn_if_rec.lot_attribute_category(l_lot_count));
4567: WSH_DEBUG_SV.log(l_module_name,'C_Attribute1',l_mtl_lot_txn_if_rec.c_attribute1(l_lot_count));
4568: WSH_DEBUG_SV.log(l_module_name,'C_Attribute2',l_mtl_lot_txn_if_rec.c_attribute2(l_lot_count));
4569: WSH_DEBUG_SV.log(l_module_name,'C_Attribute3',l_mtl_lot_txn_if_rec.c_attribute3(l_lot_count));
4570: WSH_DEBUG_SV.log(l_module_name,'C_Attribute4',l_mtl_lot_txn_if_rec.c_attribute4(l_lot_count));
4571: WSH_DEBUG_SV.log(l_module_name,'C_Attribute5',l_mtl_lot_txn_if_rec.c_attribute5(l_lot_count));

Line 4568: WSH_DEBUG_SV.log(l_module_name,'C_Attribute2',l_mtl_lot_txn_if_rec.c_attribute2(l_lot_count));

4564: WSH_DEBUG_SV.log(l_module_name,'Attribute14',l_mtl_lot_txn_if_rec.attribute14(l_lot_count));
4565: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_lot_txn_if_rec.attribute15(l_lot_count));
4566: WSH_DEBUG_SV.log(l_module_name,'Lot Attribute Category',l_mtl_lot_txn_if_rec.lot_attribute_category(l_lot_count));
4567: WSH_DEBUG_SV.log(l_module_name,'C_Attribute1',l_mtl_lot_txn_if_rec.c_attribute1(l_lot_count));
4568: WSH_DEBUG_SV.log(l_module_name,'C_Attribute2',l_mtl_lot_txn_if_rec.c_attribute2(l_lot_count));
4569: WSH_DEBUG_SV.log(l_module_name,'C_Attribute3',l_mtl_lot_txn_if_rec.c_attribute3(l_lot_count));
4570: WSH_DEBUG_SV.log(l_module_name,'C_Attribute4',l_mtl_lot_txn_if_rec.c_attribute4(l_lot_count));
4571: WSH_DEBUG_SV.log(l_module_name,'C_Attribute5',l_mtl_lot_txn_if_rec.c_attribute5(l_lot_count));
4572: WSH_DEBUG_SV.log(l_module_name,'C_Attribute6',l_mtl_lot_txn_if_rec.c_attribute6(l_lot_count));

Line 4569: WSH_DEBUG_SV.log(l_module_name,'C_Attribute3',l_mtl_lot_txn_if_rec.c_attribute3(l_lot_count));

4565: WSH_DEBUG_SV.log(l_module_name,'Attribute15',l_mtl_lot_txn_if_rec.attribute15(l_lot_count));
4566: WSH_DEBUG_SV.log(l_module_name,'Lot Attribute Category',l_mtl_lot_txn_if_rec.lot_attribute_category(l_lot_count));
4567: WSH_DEBUG_SV.log(l_module_name,'C_Attribute1',l_mtl_lot_txn_if_rec.c_attribute1(l_lot_count));
4568: WSH_DEBUG_SV.log(l_module_name,'C_Attribute2',l_mtl_lot_txn_if_rec.c_attribute2(l_lot_count));
4569: WSH_DEBUG_SV.log(l_module_name,'C_Attribute3',l_mtl_lot_txn_if_rec.c_attribute3(l_lot_count));
4570: WSH_DEBUG_SV.log(l_module_name,'C_Attribute4',l_mtl_lot_txn_if_rec.c_attribute4(l_lot_count));
4571: WSH_DEBUG_SV.log(l_module_name,'C_Attribute5',l_mtl_lot_txn_if_rec.c_attribute5(l_lot_count));
4572: WSH_DEBUG_SV.log(l_module_name,'C_Attribute6',l_mtl_lot_txn_if_rec.c_attribute6(l_lot_count));
4573: WSH_DEBUG_SV.log(l_module_name,'C_Attribute7',l_mtl_lot_txn_if_rec.c_attribute7(l_lot_count));

Line 4570: WSH_DEBUG_SV.log(l_module_name,'C_Attribute4',l_mtl_lot_txn_if_rec.c_attribute4(l_lot_count));

4566: WSH_DEBUG_SV.log(l_module_name,'Lot Attribute Category',l_mtl_lot_txn_if_rec.lot_attribute_category(l_lot_count));
4567: WSH_DEBUG_SV.log(l_module_name,'C_Attribute1',l_mtl_lot_txn_if_rec.c_attribute1(l_lot_count));
4568: WSH_DEBUG_SV.log(l_module_name,'C_Attribute2',l_mtl_lot_txn_if_rec.c_attribute2(l_lot_count));
4569: WSH_DEBUG_SV.log(l_module_name,'C_Attribute3',l_mtl_lot_txn_if_rec.c_attribute3(l_lot_count));
4570: WSH_DEBUG_SV.log(l_module_name,'C_Attribute4',l_mtl_lot_txn_if_rec.c_attribute4(l_lot_count));
4571: WSH_DEBUG_SV.log(l_module_name,'C_Attribute5',l_mtl_lot_txn_if_rec.c_attribute5(l_lot_count));
4572: WSH_DEBUG_SV.log(l_module_name,'C_Attribute6',l_mtl_lot_txn_if_rec.c_attribute6(l_lot_count));
4573: WSH_DEBUG_SV.log(l_module_name,'C_Attribute7',l_mtl_lot_txn_if_rec.c_attribute7(l_lot_count));
4574: WSH_DEBUG_SV.log(l_module_name,'C_Attribute8',l_mtl_lot_txn_if_rec.c_attribute8(l_lot_count));

Line 4571: WSH_DEBUG_SV.log(l_module_name,'C_Attribute5',l_mtl_lot_txn_if_rec.c_attribute5(l_lot_count));

4567: WSH_DEBUG_SV.log(l_module_name,'C_Attribute1',l_mtl_lot_txn_if_rec.c_attribute1(l_lot_count));
4568: WSH_DEBUG_SV.log(l_module_name,'C_Attribute2',l_mtl_lot_txn_if_rec.c_attribute2(l_lot_count));
4569: WSH_DEBUG_SV.log(l_module_name,'C_Attribute3',l_mtl_lot_txn_if_rec.c_attribute3(l_lot_count));
4570: WSH_DEBUG_SV.log(l_module_name,'C_Attribute4',l_mtl_lot_txn_if_rec.c_attribute4(l_lot_count));
4571: WSH_DEBUG_SV.log(l_module_name,'C_Attribute5',l_mtl_lot_txn_if_rec.c_attribute5(l_lot_count));
4572: WSH_DEBUG_SV.log(l_module_name,'C_Attribute6',l_mtl_lot_txn_if_rec.c_attribute6(l_lot_count));
4573: WSH_DEBUG_SV.log(l_module_name,'C_Attribute7',l_mtl_lot_txn_if_rec.c_attribute7(l_lot_count));
4574: WSH_DEBUG_SV.log(l_module_name,'C_Attribute8',l_mtl_lot_txn_if_rec.c_attribute8(l_lot_count));
4575: WSH_DEBUG_SV.log(l_module_name,'C_Attribute9',l_mtl_lot_txn_if_rec.c_attribute9(l_lot_count));

Line 4572: WSH_DEBUG_SV.log(l_module_name,'C_Attribute6',l_mtl_lot_txn_if_rec.c_attribute6(l_lot_count));

4568: WSH_DEBUG_SV.log(l_module_name,'C_Attribute2',l_mtl_lot_txn_if_rec.c_attribute2(l_lot_count));
4569: WSH_DEBUG_SV.log(l_module_name,'C_Attribute3',l_mtl_lot_txn_if_rec.c_attribute3(l_lot_count));
4570: WSH_DEBUG_SV.log(l_module_name,'C_Attribute4',l_mtl_lot_txn_if_rec.c_attribute4(l_lot_count));
4571: WSH_DEBUG_SV.log(l_module_name,'C_Attribute5',l_mtl_lot_txn_if_rec.c_attribute5(l_lot_count));
4572: WSH_DEBUG_SV.log(l_module_name,'C_Attribute6',l_mtl_lot_txn_if_rec.c_attribute6(l_lot_count));
4573: WSH_DEBUG_SV.log(l_module_name,'C_Attribute7',l_mtl_lot_txn_if_rec.c_attribute7(l_lot_count));
4574: WSH_DEBUG_SV.log(l_module_name,'C_Attribute8',l_mtl_lot_txn_if_rec.c_attribute8(l_lot_count));
4575: WSH_DEBUG_SV.log(l_module_name,'C_Attribute9',l_mtl_lot_txn_if_rec.c_attribute9(l_lot_count));
4576: WSH_DEBUG_SV.log(l_module_name,'C_Attribute10',l_mtl_lot_txn_if_rec.c_attribute10(l_lot_count));

Line 4573: WSH_DEBUG_SV.log(l_module_name,'C_Attribute7',l_mtl_lot_txn_if_rec.c_attribute7(l_lot_count));

4569: WSH_DEBUG_SV.log(l_module_name,'C_Attribute3',l_mtl_lot_txn_if_rec.c_attribute3(l_lot_count));
4570: WSH_DEBUG_SV.log(l_module_name,'C_Attribute4',l_mtl_lot_txn_if_rec.c_attribute4(l_lot_count));
4571: WSH_DEBUG_SV.log(l_module_name,'C_Attribute5',l_mtl_lot_txn_if_rec.c_attribute5(l_lot_count));
4572: WSH_DEBUG_SV.log(l_module_name,'C_Attribute6',l_mtl_lot_txn_if_rec.c_attribute6(l_lot_count));
4573: WSH_DEBUG_SV.log(l_module_name,'C_Attribute7',l_mtl_lot_txn_if_rec.c_attribute7(l_lot_count));
4574: WSH_DEBUG_SV.log(l_module_name,'C_Attribute8',l_mtl_lot_txn_if_rec.c_attribute8(l_lot_count));
4575: WSH_DEBUG_SV.log(l_module_name,'C_Attribute9',l_mtl_lot_txn_if_rec.c_attribute9(l_lot_count));
4576: WSH_DEBUG_SV.log(l_module_name,'C_Attribute10',l_mtl_lot_txn_if_rec.c_attribute10(l_lot_count));
4577: WSH_DEBUG_SV.log(l_module_name,'C_Attribute11',l_mtl_lot_txn_if_rec.c_attribute11(l_lot_count));

Line 4574: WSH_DEBUG_SV.log(l_module_name,'C_Attribute8',l_mtl_lot_txn_if_rec.c_attribute8(l_lot_count));

4570: WSH_DEBUG_SV.log(l_module_name,'C_Attribute4',l_mtl_lot_txn_if_rec.c_attribute4(l_lot_count));
4571: WSH_DEBUG_SV.log(l_module_name,'C_Attribute5',l_mtl_lot_txn_if_rec.c_attribute5(l_lot_count));
4572: WSH_DEBUG_SV.log(l_module_name,'C_Attribute6',l_mtl_lot_txn_if_rec.c_attribute6(l_lot_count));
4573: WSH_DEBUG_SV.log(l_module_name,'C_Attribute7',l_mtl_lot_txn_if_rec.c_attribute7(l_lot_count));
4574: WSH_DEBUG_SV.log(l_module_name,'C_Attribute8',l_mtl_lot_txn_if_rec.c_attribute8(l_lot_count));
4575: WSH_DEBUG_SV.log(l_module_name,'C_Attribute9',l_mtl_lot_txn_if_rec.c_attribute9(l_lot_count));
4576: WSH_DEBUG_SV.log(l_module_name,'C_Attribute10',l_mtl_lot_txn_if_rec.c_attribute10(l_lot_count));
4577: WSH_DEBUG_SV.log(l_module_name,'C_Attribute11',l_mtl_lot_txn_if_rec.c_attribute11(l_lot_count));
4578: WSH_DEBUG_SV.log(l_module_name,'C_Attribute12',l_mtl_lot_txn_if_rec.c_attribute12(l_lot_count));

Line 4575: WSH_DEBUG_SV.log(l_module_name,'C_Attribute9',l_mtl_lot_txn_if_rec.c_attribute9(l_lot_count));

4571: WSH_DEBUG_SV.log(l_module_name,'C_Attribute5',l_mtl_lot_txn_if_rec.c_attribute5(l_lot_count));
4572: WSH_DEBUG_SV.log(l_module_name,'C_Attribute6',l_mtl_lot_txn_if_rec.c_attribute6(l_lot_count));
4573: WSH_DEBUG_SV.log(l_module_name,'C_Attribute7',l_mtl_lot_txn_if_rec.c_attribute7(l_lot_count));
4574: WSH_DEBUG_SV.log(l_module_name,'C_Attribute8',l_mtl_lot_txn_if_rec.c_attribute8(l_lot_count));
4575: WSH_DEBUG_SV.log(l_module_name,'C_Attribute9',l_mtl_lot_txn_if_rec.c_attribute9(l_lot_count));
4576: WSH_DEBUG_SV.log(l_module_name,'C_Attribute10',l_mtl_lot_txn_if_rec.c_attribute10(l_lot_count));
4577: WSH_DEBUG_SV.log(l_module_name,'C_Attribute11',l_mtl_lot_txn_if_rec.c_attribute11(l_lot_count));
4578: WSH_DEBUG_SV.log(l_module_name,'C_Attribute12',l_mtl_lot_txn_if_rec.c_attribute12(l_lot_count));
4579: WSH_DEBUG_SV.log(l_module_name,'C_Attribute13',l_mtl_lot_txn_if_rec.c_attribute13(l_lot_count));

Line 4576: WSH_DEBUG_SV.log(l_module_name,'C_Attribute10',l_mtl_lot_txn_if_rec.c_attribute10(l_lot_count));

4572: WSH_DEBUG_SV.log(l_module_name,'C_Attribute6',l_mtl_lot_txn_if_rec.c_attribute6(l_lot_count));
4573: WSH_DEBUG_SV.log(l_module_name,'C_Attribute7',l_mtl_lot_txn_if_rec.c_attribute7(l_lot_count));
4574: WSH_DEBUG_SV.log(l_module_name,'C_Attribute8',l_mtl_lot_txn_if_rec.c_attribute8(l_lot_count));
4575: WSH_DEBUG_SV.log(l_module_name,'C_Attribute9',l_mtl_lot_txn_if_rec.c_attribute9(l_lot_count));
4576: WSH_DEBUG_SV.log(l_module_name,'C_Attribute10',l_mtl_lot_txn_if_rec.c_attribute10(l_lot_count));
4577: WSH_DEBUG_SV.log(l_module_name,'C_Attribute11',l_mtl_lot_txn_if_rec.c_attribute11(l_lot_count));
4578: WSH_DEBUG_SV.log(l_module_name,'C_Attribute12',l_mtl_lot_txn_if_rec.c_attribute12(l_lot_count));
4579: WSH_DEBUG_SV.log(l_module_name,'C_Attribute13',l_mtl_lot_txn_if_rec.c_attribute13(l_lot_count));
4580: WSH_DEBUG_SV.log(l_module_name,'C_Attribute14',l_mtl_lot_txn_if_rec.c_attribute14(l_lot_count));

Line 4577: WSH_DEBUG_SV.log(l_module_name,'C_Attribute11',l_mtl_lot_txn_if_rec.c_attribute11(l_lot_count));

4573: WSH_DEBUG_SV.log(l_module_name,'C_Attribute7',l_mtl_lot_txn_if_rec.c_attribute7(l_lot_count));
4574: WSH_DEBUG_SV.log(l_module_name,'C_Attribute8',l_mtl_lot_txn_if_rec.c_attribute8(l_lot_count));
4575: WSH_DEBUG_SV.log(l_module_name,'C_Attribute9',l_mtl_lot_txn_if_rec.c_attribute9(l_lot_count));
4576: WSH_DEBUG_SV.log(l_module_name,'C_Attribute10',l_mtl_lot_txn_if_rec.c_attribute10(l_lot_count));
4577: WSH_DEBUG_SV.log(l_module_name,'C_Attribute11',l_mtl_lot_txn_if_rec.c_attribute11(l_lot_count));
4578: WSH_DEBUG_SV.log(l_module_name,'C_Attribute12',l_mtl_lot_txn_if_rec.c_attribute12(l_lot_count));
4579: WSH_DEBUG_SV.log(l_module_name,'C_Attribute13',l_mtl_lot_txn_if_rec.c_attribute13(l_lot_count));
4580: WSH_DEBUG_SV.log(l_module_name,'C_Attribute14',l_mtl_lot_txn_if_rec.c_attribute14(l_lot_count));
4581: WSH_DEBUG_SV.log(l_module_name,'C_Attribute15',l_mtl_lot_txn_if_rec.c_attribute15(l_lot_count));

Line 4578: WSH_DEBUG_SV.log(l_module_name,'C_Attribute12',l_mtl_lot_txn_if_rec.c_attribute12(l_lot_count));

4574: WSH_DEBUG_SV.log(l_module_name,'C_Attribute8',l_mtl_lot_txn_if_rec.c_attribute8(l_lot_count));
4575: WSH_DEBUG_SV.log(l_module_name,'C_Attribute9',l_mtl_lot_txn_if_rec.c_attribute9(l_lot_count));
4576: WSH_DEBUG_SV.log(l_module_name,'C_Attribute10',l_mtl_lot_txn_if_rec.c_attribute10(l_lot_count));
4577: WSH_DEBUG_SV.log(l_module_name,'C_Attribute11',l_mtl_lot_txn_if_rec.c_attribute11(l_lot_count));
4578: WSH_DEBUG_SV.log(l_module_name,'C_Attribute12',l_mtl_lot_txn_if_rec.c_attribute12(l_lot_count));
4579: WSH_DEBUG_SV.log(l_module_name,'C_Attribute13',l_mtl_lot_txn_if_rec.c_attribute13(l_lot_count));
4580: WSH_DEBUG_SV.log(l_module_name,'C_Attribute14',l_mtl_lot_txn_if_rec.c_attribute14(l_lot_count));
4581: WSH_DEBUG_SV.log(l_module_name,'C_Attribute15',l_mtl_lot_txn_if_rec.c_attribute15(l_lot_count));
4582: WSH_DEBUG_SV.log(l_module_name,'C_Attribute16',l_mtl_lot_txn_if_rec.c_attribute16(l_lot_count));

Line 4579: WSH_DEBUG_SV.log(l_module_name,'C_Attribute13',l_mtl_lot_txn_if_rec.c_attribute13(l_lot_count));

4575: WSH_DEBUG_SV.log(l_module_name,'C_Attribute9',l_mtl_lot_txn_if_rec.c_attribute9(l_lot_count));
4576: WSH_DEBUG_SV.log(l_module_name,'C_Attribute10',l_mtl_lot_txn_if_rec.c_attribute10(l_lot_count));
4577: WSH_DEBUG_SV.log(l_module_name,'C_Attribute11',l_mtl_lot_txn_if_rec.c_attribute11(l_lot_count));
4578: WSH_DEBUG_SV.log(l_module_name,'C_Attribute12',l_mtl_lot_txn_if_rec.c_attribute12(l_lot_count));
4579: WSH_DEBUG_SV.log(l_module_name,'C_Attribute13',l_mtl_lot_txn_if_rec.c_attribute13(l_lot_count));
4580: WSH_DEBUG_SV.log(l_module_name,'C_Attribute14',l_mtl_lot_txn_if_rec.c_attribute14(l_lot_count));
4581: WSH_DEBUG_SV.log(l_module_name,'C_Attribute15',l_mtl_lot_txn_if_rec.c_attribute15(l_lot_count));
4582: WSH_DEBUG_SV.log(l_module_name,'C_Attribute16',l_mtl_lot_txn_if_rec.c_attribute16(l_lot_count));
4583: WSH_DEBUG_SV.log(l_module_name,'C_Attribute17',l_mtl_lot_txn_if_rec.c_attribute17(l_lot_count));

Line 4580: WSH_DEBUG_SV.log(l_module_name,'C_Attribute14',l_mtl_lot_txn_if_rec.c_attribute14(l_lot_count));

4576: WSH_DEBUG_SV.log(l_module_name,'C_Attribute10',l_mtl_lot_txn_if_rec.c_attribute10(l_lot_count));
4577: WSH_DEBUG_SV.log(l_module_name,'C_Attribute11',l_mtl_lot_txn_if_rec.c_attribute11(l_lot_count));
4578: WSH_DEBUG_SV.log(l_module_name,'C_Attribute12',l_mtl_lot_txn_if_rec.c_attribute12(l_lot_count));
4579: WSH_DEBUG_SV.log(l_module_name,'C_Attribute13',l_mtl_lot_txn_if_rec.c_attribute13(l_lot_count));
4580: WSH_DEBUG_SV.log(l_module_name,'C_Attribute14',l_mtl_lot_txn_if_rec.c_attribute14(l_lot_count));
4581: WSH_DEBUG_SV.log(l_module_name,'C_Attribute15',l_mtl_lot_txn_if_rec.c_attribute15(l_lot_count));
4582: WSH_DEBUG_SV.log(l_module_name,'C_Attribute16',l_mtl_lot_txn_if_rec.c_attribute16(l_lot_count));
4583: WSH_DEBUG_SV.log(l_module_name,'C_Attribute17',l_mtl_lot_txn_if_rec.c_attribute17(l_lot_count));
4584: WSH_DEBUG_SV.log(l_module_name,'C_Attribute18',l_mtl_lot_txn_if_rec.c_attribute18(l_lot_count));

Line 4581: WSH_DEBUG_SV.log(l_module_name,'C_Attribute15',l_mtl_lot_txn_if_rec.c_attribute15(l_lot_count));

4577: WSH_DEBUG_SV.log(l_module_name,'C_Attribute11',l_mtl_lot_txn_if_rec.c_attribute11(l_lot_count));
4578: WSH_DEBUG_SV.log(l_module_name,'C_Attribute12',l_mtl_lot_txn_if_rec.c_attribute12(l_lot_count));
4579: WSH_DEBUG_SV.log(l_module_name,'C_Attribute13',l_mtl_lot_txn_if_rec.c_attribute13(l_lot_count));
4580: WSH_DEBUG_SV.log(l_module_name,'C_Attribute14',l_mtl_lot_txn_if_rec.c_attribute14(l_lot_count));
4581: WSH_DEBUG_SV.log(l_module_name,'C_Attribute15',l_mtl_lot_txn_if_rec.c_attribute15(l_lot_count));
4582: WSH_DEBUG_SV.log(l_module_name,'C_Attribute16',l_mtl_lot_txn_if_rec.c_attribute16(l_lot_count));
4583: WSH_DEBUG_SV.log(l_module_name,'C_Attribute17',l_mtl_lot_txn_if_rec.c_attribute17(l_lot_count));
4584: WSH_DEBUG_SV.log(l_module_name,'C_Attribute18',l_mtl_lot_txn_if_rec.c_attribute18(l_lot_count));
4585: WSH_DEBUG_SV.log(l_module_name,'C_Attribute19',l_mtl_lot_txn_if_rec.c_attribute19(l_lot_count));

Line 4582: WSH_DEBUG_SV.log(l_module_name,'C_Attribute16',l_mtl_lot_txn_if_rec.c_attribute16(l_lot_count));

4578: WSH_DEBUG_SV.log(l_module_name,'C_Attribute12',l_mtl_lot_txn_if_rec.c_attribute12(l_lot_count));
4579: WSH_DEBUG_SV.log(l_module_name,'C_Attribute13',l_mtl_lot_txn_if_rec.c_attribute13(l_lot_count));
4580: WSH_DEBUG_SV.log(l_module_name,'C_Attribute14',l_mtl_lot_txn_if_rec.c_attribute14(l_lot_count));
4581: WSH_DEBUG_SV.log(l_module_name,'C_Attribute15',l_mtl_lot_txn_if_rec.c_attribute15(l_lot_count));
4582: WSH_DEBUG_SV.log(l_module_name,'C_Attribute16',l_mtl_lot_txn_if_rec.c_attribute16(l_lot_count));
4583: WSH_DEBUG_SV.log(l_module_name,'C_Attribute17',l_mtl_lot_txn_if_rec.c_attribute17(l_lot_count));
4584: WSH_DEBUG_SV.log(l_module_name,'C_Attribute18',l_mtl_lot_txn_if_rec.c_attribute18(l_lot_count));
4585: WSH_DEBUG_SV.log(l_module_name,'C_Attribute19',l_mtl_lot_txn_if_rec.c_attribute19(l_lot_count));
4586: WSH_DEBUG_SV.log(l_module_name,'C_Attribute20',l_mtl_lot_txn_if_rec.c_attribute20(l_lot_count));

Line 4583: WSH_DEBUG_SV.log(l_module_name,'C_Attribute17',l_mtl_lot_txn_if_rec.c_attribute17(l_lot_count));

4579: WSH_DEBUG_SV.log(l_module_name,'C_Attribute13',l_mtl_lot_txn_if_rec.c_attribute13(l_lot_count));
4580: WSH_DEBUG_SV.log(l_module_name,'C_Attribute14',l_mtl_lot_txn_if_rec.c_attribute14(l_lot_count));
4581: WSH_DEBUG_SV.log(l_module_name,'C_Attribute15',l_mtl_lot_txn_if_rec.c_attribute15(l_lot_count));
4582: WSH_DEBUG_SV.log(l_module_name,'C_Attribute16',l_mtl_lot_txn_if_rec.c_attribute16(l_lot_count));
4583: WSH_DEBUG_SV.log(l_module_name,'C_Attribute17',l_mtl_lot_txn_if_rec.c_attribute17(l_lot_count));
4584: WSH_DEBUG_SV.log(l_module_name,'C_Attribute18',l_mtl_lot_txn_if_rec.c_attribute18(l_lot_count));
4585: WSH_DEBUG_SV.log(l_module_name,'C_Attribute19',l_mtl_lot_txn_if_rec.c_attribute19(l_lot_count));
4586: WSH_DEBUG_SV.log(l_module_name,'C_Attribute20',l_mtl_lot_txn_if_rec.c_attribute20(l_lot_count));
4587: END IF;

Line 4584: WSH_DEBUG_SV.log(l_module_name,'C_Attribute18',l_mtl_lot_txn_if_rec.c_attribute18(l_lot_count));

4580: WSH_DEBUG_SV.log(l_module_name,'C_Attribute14',l_mtl_lot_txn_if_rec.c_attribute14(l_lot_count));
4581: WSH_DEBUG_SV.log(l_module_name,'C_Attribute15',l_mtl_lot_txn_if_rec.c_attribute15(l_lot_count));
4582: WSH_DEBUG_SV.log(l_module_name,'C_Attribute16',l_mtl_lot_txn_if_rec.c_attribute16(l_lot_count));
4583: WSH_DEBUG_SV.log(l_module_name,'C_Attribute17',l_mtl_lot_txn_if_rec.c_attribute17(l_lot_count));
4584: WSH_DEBUG_SV.log(l_module_name,'C_Attribute18',l_mtl_lot_txn_if_rec.c_attribute18(l_lot_count));
4585: WSH_DEBUG_SV.log(l_module_name,'C_Attribute19',l_mtl_lot_txn_if_rec.c_attribute19(l_lot_count));
4586: WSH_DEBUG_SV.log(l_module_name,'C_Attribute20',l_mtl_lot_txn_if_rec.c_attribute20(l_lot_count));
4587: END IF;
4588: ELSE

Line 4585: WSH_DEBUG_SV.log(l_module_name,'C_Attribute19',l_mtl_lot_txn_if_rec.c_attribute19(l_lot_count));

4581: WSH_DEBUG_SV.log(l_module_name,'C_Attribute15',l_mtl_lot_txn_if_rec.c_attribute15(l_lot_count));
4582: WSH_DEBUG_SV.log(l_module_name,'C_Attribute16',l_mtl_lot_txn_if_rec.c_attribute16(l_lot_count));
4583: WSH_DEBUG_SV.log(l_module_name,'C_Attribute17',l_mtl_lot_txn_if_rec.c_attribute17(l_lot_count));
4584: WSH_DEBUG_SV.log(l_module_name,'C_Attribute18',l_mtl_lot_txn_if_rec.c_attribute18(l_lot_count));
4585: WSH_DEBUG_SV.log(l_module_name,'C_Attribute19',l_mtl_lot_txn_if_rec.c_attribute19(l_lot_count));
4586: WSH_DEBUG_SV.log(l_module_name,'C_Attribute20',l_mtl_lot_txn_if_rec.c_attribute20(l_lot_count));
4587: END IF;
4588: ELSE
4589: l_mtl_lot_txn_if_rec.attribute_category(l_lot_count):= NULL;

Line 4586: WSH_DEBUG_SV.log(l_module_name,'C_Attribute20',l_mtl_lot_txn_if_rec.c_attribute20(l_lot_count));

4582: WSH_DEBUG_SV.log(l_module_name,'C_Attribute16',l_mtl_lot_txn_if_rec.c_attribute16(l_lot_count));
4583: WSH_DEBUG_SV.log(l_module_name,'C_Attribute17',l_mtl_lot_txn_if_rec.c_attribute17(l_lot_count));
4584: WSH_DEBUG_SV.log(l_module_name,'C_Attribute18',l_mtl_lot_txn_if_rec.c_attribute18(l_lot_count));
4585: WSH_DEBUG_SV.log(l_module_name,'C_Attribute19',l_mtl_lot_txn_if_rec.c_attribute19(l_lot_count));
4586: WSH_DEBUG_SV.log(l_module_name,'C_Attribute20',l_mtl_lot_txn_if_rec.c_attribute20(l_lot_count));
4587: END IF;
4588: ELSE
4589: l_mtl_lot_txn_if_rec.attribute_category(l_lot_count):= NULL;
4590: l_mtl_lot_txn_if_rec.attribute1(l_lot_count):= NULL;

Line 4650: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO LOT RECORD l_mtl_lot_txn_if_rec');

4646: End if;
4647: -- Bug 13529169 ends here
4648:
4649: IF l_debug_on THEN
4650: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO LOT RECORD l_mtl_lot_txn_if_rec');
4651: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4652: l_mtl_lot_txn_if_rec.transaction_interface_id(l_lot_count));
4653: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_lot_txn_if_rec.source_code(l_lot_count));
4654: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_lot_txn_if_rec.source_line_id(l_lot_count));

Line 4651: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',

4647: -- Bug 13529169 ends here
4648:
4649: IF l_debug_on THEN
4650: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO LOT RECORD l_mtl_lot_txn_if_rec');
4651: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4652: l_mtl_lot_txn_if_rec.transaction_interface_id(l_lot_count));
4653: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_lot_txn_if_rec.source_code(l_lot_count));
4654: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_lot_txn_if_rec.source_line_id(l_lot_count));
4655: WSH_DEBUG_SV.log(l_module_name,'lot_number',l_mtl_lot_txn_if_rec.lot_number(l_lot_count));

Line 4653: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_lot_txn_if_rec.source_code(l_lot_count));

4649: IF l_debug_on THEN
4650: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO LOT RECORD l_mtl_lot_txn_if_rec');
4651: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4652: l_mtl_lot_txn_if_rec.transaction_interface_id(l_lot_count));
4653: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_lot_txn_if_rec.source_code(l_lot_count));
4654: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_lot_txn_if_rec.source_line_id(l_lot_count));
4655: WSH_DEBUG_SV.log(l_module_name,'lot_number',l_mtl_lot_txn_if_rec.lot_number(l_lot_count));
4656: WSH_DEBUG_SV.log(l_module_name,'trx_quantity',l_mtl_lot_txn_if_rec.trx_quantity(l_lot_count));
4657: -- HW OPMCONV - Added Qty2

Line 4654: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_lot_txn_if_rec.source_line_id(l_lot_count));

4650: WSH_DEBUG_SV.logmsg(l_module_name, 'ITEM BEING ADD TO LOT RECORD l_mtl_lot_txn_if_rec');
4651: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4652: l_mtl_lot_txn_if_rec.transaction_interface_id(l_lot_count));
4653: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_lot_txn_if_rec.source_code(l_lot_count));
4654: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_lot_txn_if_rec.source_line_id(l_lot_count));
4655: WSH_DEBUG_SV.log(l_module_name,'lot_number',l_mtl_lot_txn_if_rec.lot_number(l_lot_count));
4656: WSH_DEBUG_SV.log(l_module_name,'trx_quantity',l_mtl_lot_txn_if_rec.trx_quantity(l_lot_count));
4657: -- HW OPMCONV - Added Qty2
4658: WSH_DEBUG_SV.log(l_module_name,'trx_quantity2',l_mtl_lot_txn_if_rec.secondary_trx_quantity(l_lot_count));

Line 4655: WSH_DEBUG_SV.log(l_module_name,'lot_number',l_mtl_lot_txn_if_rec.lot_number(l_lot_count));

4651: WSH_DEBUG_SV.log(l_module_name,'transaction_interface_id',
4652: l_mtl_lot_txn_if_rec.transaction_interface_id(l_lot_count));
4653: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_lot_txn_if_rec.source_code(l_lot_count));
4654: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_lot_txn_if_rec.source_line_id(l_lot_count));
4655: WSH_DEBUG_SV.log(l_module_name,'lot_number',l_mtl_lot_txn_if_rec.lot_number(l_lot_count));
4656: WSH_DEBUG_SV.log(l_module_name,'trx_quantity',l_mtl_lot_txn_if_rec.trx_quantity(l_lot_count));
4657: -- HW OPMCONV - Added Qty2
4658: WSH_DEBUG_SV.log(l_module_name,'trx_quantity2',l_mtl_lot_txn_if_rec.secondary_trx_quantity(l_lot_count));
4659: WSH_DEBUG_SV.log(l_module_name,'serial_transaction_temp_id',

Line 4656: WSH_DEBUG_SV.log(l_module_name,'trx_quantity',l_mtl_lot_txn_if_rec.trx_quantity(l_lot_count));

4652: l_mtl_lot_txn_if_rec.transaction_interface_id(l_lot_count));
4653: WSH_DEBUG_SV.log(l_module_name,'source_code',l_mtl_lot_txn_if_rec.source_code(l_lot_count));
4654: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_lot_txn_if_rec.source_line_id(l_lot_count));
4655: WSH_DEBUG_SV.log(l_module_name,'lot_number',l_mtl_lot_txn_if_rec.lot_number(l_lot_count));
4656: WSH_DEBUG_SV.log(l_module_name,'trx_quantity',l_mtl_lot_txn_if_rec.trx_quantity(l_lot_count));
4657: -- HW OPMCONV - Added Qty2
4658: WSH_DEBUG_SV.log(l_module_name,'trx_quantity2',l_mtl_lot_txn_if_rec.secondary_trx_quantity(l_lot_count));
4659: WSH_DEBUG_SV.log(l_module_name,'serial_transaction_temp_id',
4660: l_mtl_lot_txn_if_rec.serial_transaction_temp_id(l_lot_count));

Line 4658: WSH_DEBUG_SV.log(l_module_name,'trx_quantity2',l_mtl_lot_txn_if_rec.secondary_trx_quantity(l_lot_count));

4654: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_mtl_lot_txn_if_rec.source_line_id(l_lot_count));
4655: WSH_DEBUG_SV.log(l_module_name,'lot_number',l_mtl_lot_txn_if_rec.lot_number(l_lot_count));
4656: WSH_DEBUG_SV.log(l_module_name,'trx_quantity',l_mtl_lot_txn_if_rec.trx_quantity(l_lot_count));
4657: -- HW OPMCONV - Added Qty2
4658: WSH_DEBUG_SV.log(l_module_name,'trx_quantity2',l_mtl_lot_txn_if_rec.secondary_trx_quantity(l_lot_count));
4659: WSH_DEBUG_SV.log(l_module_name,'serial_transaction_temp_id',
4660: l_mtl_lot_txn_if_rec.serial_transaction_temp_id(l_lot_count));
4661: END IF;
4662: END IF;

Line 4659: WSH_DEBUG_SV.log(l_module_name,'serial_transaction_temp_id',

4655: WSH_DEBUG_SV.log(l_module_name,'lot_number',l_mtl_lot_txn_if_rec.lot_number(l_lot_count));
4656: WSH_DEBUG_SV.log(l_module_name,'trx_quantity',l_mtl_lot_txn_if_rec.trx_quantity(l_lot_count));
4657: -- HW OPMCONV - Added Qty2
4658: WSH_DEBUG_SV.log(l_module_name,'trx_quantity2',l_mtl_lot_txn_if_rec.secondary_trx_quantity(l_lot_count));
4659: WSH_DEBUG_SV.log(l_module_name,'serial_transaction_temp_id',
4660: l_mtl_lot_txn_if_rec.serial_transaction_temp_id(l_lot_count));
4661: END IF;
4662: END IF;
4663:

Line 4672: WSH_DEBUG_SV.log(l_module_name, 'l_index',l_index);

4668: END IF; -- } if trx_quantity > 0
4669: ---4:
4670:
4671: IF l_debug_on THEN
4672: WSH_DEBUG_SV.log(l_module_name, 'l_index',l_index);
4673: WSH_DEBUG_SV.log(l_module_name, 'l_bulk_count',l_bulk_count);
4674: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_txn_if_rec.picking_line_id.last',l_mtl_txn_if_rec.picking_line_id.last);
4675: END IF;
4676:

Line 4673: WSH_DEBUG_SV.log(l_module_name, 'l_bulk_count',l_bulk_count);

4669: ---4:
4670:
4671: IF l_debug_on THEN
4672: WSH_DEBUG_SV.log(l_module_name, 'l_index',l_index);
4673: WSH_DEBUG_SV.log(l_module_name, 'l_bulk_count',l_bulk_count);
4674: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_txn_if_rec.picking_line_id.last',l_mtl_txn_if_rec.picking_line_id.last);
4675: END IF;
4676:
4677:

Line 4674: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_txn_if_rec.picking_line_id.last',l_mtl_txn_if_rec.picking_line_id.last);

4670:
4671: IF l_debug_on THEN
4672: WSH_DEBUG_SV.log(l_module_name, 'l_index',l_index);
4673: WSH_DEBUG_SV.log(l_module_name, 'l_bulk_count',l_bulk_count);
4674: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_txn_if_rec.picking_line_id.last',l_mtl_txn_if_rec.picking_line_id.last);
4675: END IF;
4676:
4677:
4678: -- IF the profile option WSH_BULK_BATCH_SIZE is specified, then insert the

Line 4696: WSH_DEBUG_SV.log(l_module_name,'Insert_inv_records l_return_status',l_return_status);

4692: p_def_inv_online => l_def_inv_online,
4693: x_return_status => l_return_status);
4694:
4695: IF l_debug_on THEN
4696: WSH_DEBUG_SV.log(l_module_name,'Insert_inv_records l_return_status',l_return_status);
4697: END IF;
4698: IF ( l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS ) THEN
4699: l_insert_inv_not_success := l_insert_inv_not_success + 1;
4700: END IF;

Line 4703: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_calls',l_insert_inv_calls);

4699: l_insert_inv_not_success := l_insert_inv_not_success + 1;
4700: END IF;
4701:
4702: IF l_debug_on THEN
4703: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_calls',l_insert_inv_calls);
4704: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_not_success',l_insert_inv_not_success);
4705: END IF;
4706:
4707: l_bulk_count := 0;

Line 4704: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_not_success',l_insert_inv_not_success);

4700: END IF;
4701:
4702: IF l_debug_on THEN
4703: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_calls',l_insert_inv_calls);
4704: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_not_success',l_insert_inv_not_success);
4705: END IF;
4706:
4707: l_bulk_count := 0;
4708: l_start_index := l_index + 1;

Line 4715: WSH_DEBUG_SV.log(l_module_name,'Error at line', l_mtl_txn_if_rec.picking_line_id(l_index));

4711:
4712: EXCEPTION
4713: WHEN e_line_error THEN
4714: IF l_debug_on THEN
4715: WSH_DEBUG_SV.log(l_module_name,'Error at line', l_mtl_txn_if_rec.picking_line_id(l_index));
4716: END IF;
4717: l_mtl_txn_if_rec.error_flag(l_index):='Y';
4718: -- Bug 4615610 : Assigned some dummy value to trx_type_id to avoid SQL error while
4719: --inserting into MTI

Line 4737: WSH_DEBUG_SV.log(l_module_name,'Insert_inv_records l_return_status',l_return_status);

4733: p_def_inv_online => l_def_inv_online,
4734: x_return_status => l_return_status);
4735:
4736: IF l_debug_on THEN
4737: WSH_DEBUG_SV.log(l_module_name,'Insert_inv_records l_return_status',l_return_status);
4738: END IF;
4739: IF ( l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS ) THEN
4740: l_insert_inv_not_success := l_insert_inv_not_success + 1;
4741: END IF;

Line 4743: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_calls',l_insert_inv_calls);

4739: IF ( l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS ) THEN
4740: l_insert_inv_not_success := l_insert_inv_not_success + 1;
4741: END IF;
4742: IF l_debug_on THEN
4743: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_calls',l_insert_inv_calls);
4744: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_not_success',l_insert_inv_not_success);
4745: END IF;
4746: l_bulk_count := 0;
4747: --}

Line 4744: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_not_success',l_insert_inv_not_success);

4740: l_insert_inv_not_success := l_insert_inv_not_success + 1;
4741: END IF;
4742: IF l_debug_on THEN
4743: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_calls',l_insert_inv_calls);
4744: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_not_success',l_insert_inv_not_success);
4745: END IF;
4746: l_bulk_count := 0;
4747: --}
4748: END IF;

Line 4752: WSH_DEBUG_SV.log(l_module_name,'Warning at line', l_mtl_txn_if_rec.picking_line_id(l_index));

4748: END IF;
4749:
4750: WHEN e_line_warning THEN
4751: IF l_debug_on THEN
4752: WSH_DEBUG_SV.log(l_module_name,'Warning at line', l_mtl_txn_if_rec.picking_line_id(l_index));
4753: END IF;
4754: l_mtl_txn_if_rec.error_flag(l_index):='Y';
4755: -- Bug 4615610 : Assigned some dummy value to trx_type_id to avoid SQL error while
4756: --inserting into MTI

Line 4774: WSH_DEBUG_SV.log(l_module_name,'Insert_inv_records l_return_status',l_return_status);

4770: p_def_inv_online => l_def_inv_online,
4771: x_return_status => l_return_status);
4772:
4773: IF l_debug_on THEN
4774: WSH_DEBUG_SV.log(l_module_name,'Insert_inv_records l_return_status',l_return_status);
4775: END IF;
4776: IF ( l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS ) THEN
4777: l_insert_inv_not_success := l_insert_inv_not_success + 1;
4778: END IF;

Line 4780: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_calls',l_insert_inv_calls);

4776: IF ( l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS ) THEN
4777: l_insert_inv_not_success := l_insert_inv_not_success + 1;
4778: END IF;
4779: IF l_debug_on THEN
4780: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_calls',l_insert_inv_calls);
4781: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_not_success',l_insert_inv_not_success);
4782: END IF;
4783: l_bulk_count := 0;
4784: --}

Line 4781: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_not_success',l_insert_inv_not_success);

4777: l_insert_inv_not_success := l_insert_inv_not_success + 1;
4778: END IF;
4779: IF l_debug_on THEN
4780: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_calls',l_insert_inv_calls);
4781: WSH_DEBUG_SV.log(l_module_name,'l_insert_inv_not_success',l_insert_inv_not_success);
4782: END IF;
4783: l_bulk_count := 0;
4784: --}
4785: END IF;

Line 4795: WSH_DEBUG_SV.log(l_module_name,'l_delivery_detail_tbl.count',l_delivery_detail_tbl.count);

4791:
4792:
4793: --3: For Shipped_qty=0
4794: IF l_debug_on THEN
4795: WSH_DEBUG_SV.log(l_module_name,'l_delivery_detail_tbl.count',l_delivery_detail_tbl.count);
4796: END IF;
4797:
4798: IF (l_delivery_detail_tbl.count > 0) THEN
4799: FORALL i IN l_delivery_detail_tbl.first..l_delivery_detail_tbl.last

Line 4830: WSH_DEBUG_SV.log(l_module_name, 'x_return_status',x_return_status);

4826: RAISE wsh_util_core.g_exc_warning;
4827: END IF;
4828:
4829: IF l_debug_on THEN
4830: WSH_DEBUG_SV.log(l_module_name, 'x_return_status',x_return_status);
4831: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_txn_if_rec.count',l_mtl_txn_if_rec.picking_line_id.count);
4832: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_ser_txn_if_rec.count',l_mtl_ser_txn_if_rec.source_line_id.count);
4833: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_lot_txn_if_rec.count',l_mtl_lot_txn_if_rec.source_line_id.count);
4834: WSH_DEBUG_SV.pop(l_module_name);

Line 4831: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_txn_if_rec.count',l_mtl_txn_if_rec.picking_line_id.count);

4827: END IF;
4828:
4829: IF l_debug_on THEN
4830: WSH_DEBUG_SV.log(l_module_name, 'x_return_status',x_return_status);
4831: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_txn_if_rec.count',l_mtl_txn_if_rec.picking_line_id.count);
4832: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_ser_txn_if_rec.count',l_mtl_ser_txn_if_rec.source_line_id.count);
4833: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_lot_txn_if_rec.count',l_mtl_lot_txn_if_rec.source_line_id.count);
4834: WSH_DEBUG_SV.pop(l_module_name);
4835: END IF;

Line 4832: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_ser_txn_if_rec.count',l_mtl_ser_txn_if_rec.source_line_id.count);

4828:
4829: IF l_debug_on THEN
4830: WSH_DEBUG_SV.log(l_module_name, 'x_return_status',x_return_status);
4831: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_txn_if_rec.count',l_mtl_txn_if_rec.picking_line_id.count);
4832: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_ser_txn_if_rec.count',l_mtl_ser_txn_if_rec.source_line_id.count);
4833: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_lot_txn_if_rec.count',l_mtl_lot_txn_if_rec.source_line_id.count);
4834: WSH_DEBUG_SV.pop(l_module_name);
4835: END IF;
4836:

Line 4833: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_lot_txn_if_rec.count',l_mtl_lot_txn_if_rec.source_line_id.count);

4829: IF l_debug_on THEN
4830: WSH_DEBUG_SV.log(l_module_name, 'x_return_status',x_return_status);
4831: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_txn_if_rec.count',l_mtl_txn_if_rec.picking_line_id.count);
4832: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_ser_txn_if_rec.count',l_mtl_ser_txn_if_rec.source_line_id.count);
4833: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_lot_txn_if_rec.count',l_mtl_lot_txn_if_rec.source_line_id.count);
4834: WSH_DEBUG_SV.pop(l_module_name);
4835: END IF;
4836:
4837: EXCEPTION

Line 4834: WSH_DEBUG_SV.pop(l_module_name);

4830: WSH_DEBUG_SV.log(l_module_name, 'x_return_status',x_return_status);
4831: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_txn_if_rec.count',l_mtl_txn_if_rec.picking_line_id.count);
4832: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_ser_txn_if_rec.count',l_mtl_ser_txn_if_rec.source_line_id.count);
4833: WSH_DEBUG_SV.log(l_module_name, 'l_mtl_lot_txn_if_rec.count',l_mtl_lot_txn_if_rec.source_line_id.count);
4834: WSH_DEBUG_SV.pop(l_module_name);
4835: END IF;
4836:
4837: EXCEPTION
4838: WHEN wsh_util_core.g_exc_warning THEN

Line 4842: wsh_debug_sv.logmsg(l_module_name, 'wsh_util_core.g_exc_warning exception has occured.', wsh_debug_sv.c_excep_level);

4838: WHEN wsh_util_core.g_exc_warning THEN
4839: x_return_status := WSH_UTIL_CORE.G_RET_STS_WARNING;
4840:
4841: IF l_debug_on THEN
4842: wsh_debug_sv.logmsg(l_module_name, 'wsh_util_core.g_exc_warning exception has occured.', wsh_debug_sv.c_excep_level);
4843: wsh_debug_sv.pop(l_module_name, 'EXCEPTION:FND_API.G_EXC_ERROR');
4844: END IF;
4845:
4846: WHEN fnd_api.g_exc_error THEN

Line 4843: wsh_debug_sv.pop(l_module_name, 'EXCEPTION:FND_API.G_EXC_ERROR');

4839: x_return_status := WSH_UTIL_CORE.G_RET_STS_WARNING;
4840:
4841: IF l_debug_on THEN
4842: wsh_debug_sv.logmsg(l_module_name, 'wsh_util_core.g_exc_warning exception has occured.', wsh_debug_sv.c_excep_level);
4843: wsh_debug_sv.pop(l_module_name, 'EXCEPTION:FND_API.G_EXC_ERROR');
4844: END IF;
4845:
4846: WHEN fnd_api.g_exc_error THEN
4847: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;

Line 4850: wsh_debug_sv.logmsg(l_module_name, 'FND_API.G_EXC_ERROR exception has occured.', wsh_debug_sv.c_excep_level);

4846: WHEN fnd_api.g_exc_error THEN
4847: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;
4848:
4849: IF l_debug_on THEN
4850: wsh_debug_sv.logmsg(l_module_name, 'FND_API.G_EXC_ERROR exception has occured.', wsh_debug_sv.c_excep_level);
4851: wsh_debug_sv.pop(l_module_name, 'EXCEPTION:FND_API.G_EXC_ERROR');
4852: END IF;
4853:
4854:

Line 4851: wsh_debug_sv.pop(l_module_name, 'EXCEPTION:FND_API.G_EXC_ERROR');

4847: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;
4848:
4849: IF l_debug_on THEN
4850: wsh_debug_sv.logmsg(l_module_name, 'FND_API.G_EXC_ERROR exception has occured.', wsh_debug_sv.c_excep_level);
4851: wsh_debug_sv.pop(l_module_name, 'EXCEPTION:FND_API.G_EXC_ERROR');
4852: END IF;
4853:
4854:
4855: WHEN others THEN

Line 4870: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

4866: CLOSE c_freight_code_del;
4867: END IF;
4868:
4869: IF l_debug_on THEN
4870: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
4871: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
4872: END IF;
4873: --
4874: END Interface_Detail_To_Inv;

Line 4871: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

4867: END IF;
4868:
4869: IF l_debug_on THEN
4870: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
4871: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
4872: END IF;
4873: --
4874: END Interface_Detail_To_Inv;
4875:

Line 5018: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

5014: -- RTV changes
5015: BEGIN
5016: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
5017: IF l_debug_on IS NULL THEN
5018: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
5019: END IF;
5020:
5021: IF l_debug_on THEN
5022: WSH_DEBUG_SV.push(l_module_name);

Line 5022: WSH_DEBUG_SV.push(l_module_name);

5018: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
5019: END IF;
5020:
5021: IF l_debug_on THEN
5022: WSH_DEBUG_SV.push(l_module_name);
5023: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
5024: END IF;
5025: --
5026: WSH_SHIP_CONFIRM_ACTIONS.ont_source_code := NULL;

Line 5023: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);

5019: END IF;
5020:
5021: IF l_debug_on THEN
5022: WSH_DEBUG_SV.push(l_module_name);
5023: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
5024: END IF;
5025: --
5026: WSH_SHIP_CONFIRM_ACTIONS.ont_source_code := NULL;
5027:

Line 5036: WSH_DEBUG_SV.log(l_module_name,'x_completion_status',x_completion_status);

5032: wsh_util_core.printmsg('Batch ' || p_batch_id || ' is not yet fully interfaced to OM.');
5033: x_completion_status := 'WARNING';
5034:
5035: IF l_debug_on THEN
5036: WSH_DEBUG_SV.log(l_module_name,'x_completion_status',x_completion_status);
5037: WSH_DEBUG_SV.log(l_module_name,'Batch ' || p_batch_id || ' is not yet fully interfaced to OM.');
5038: WSH_DEBUG_SV.pop(l_module_name);
5039: END IF;
5040: --

Line 5037: WSH_DEBUG_SV.log(l_module_name,'Batch ' || p_batch_id || ' is not yet fully interfaced to OM.');

5033: x_completion_status := 'WARNING';
5034:
5035: IF l_debug_on THEN
5036: WSH_DEBUG_SV.log(l_module_name,'x_completion_status',x_completion_status);
5037: WSH_DEBUG_SV.log(l_module_name,'Batch ' || p_batch_id || ' is not yet fully interfaced to OM.');
5038: WSH_DEBUG_SV.pop(l_module_name);
5039: END IF;
5040: --
5041: return;

Line 5038: WSH_DEBUG_SV.pop(l_module_name);

5034:
5035: IF l_debug_on THEN
5036: WSH_DEBUG_SV.log(l_module_name,'x_completion_status',x_completion_status);
5037: WSH_DEBUG_SV.log(l_module_name,'Batch ' || p_batch_id || ' is not yet fully interfaced to OM.');
5038: WSH_DEBUG_SV.pop(l_module_name);
5039: END IF;
5040: --
5041: return;
5042: END IF;

Line 5051: WSH_DEBUG_SV.logmsg(l_module_name, 'INV INTERFACE CANNOT FIND Stops for batch ' || P_Batch_id );

5047: IF lock_row%NOTFOUND THEN
5048: CLOSE lock_row;
5049:
5050: IF l_debug_on THEN
5051: WSH_DEBUG_SV.logmsg(l_module_name, 'INV INTERFACE CANNOT FIND Stops for batch ' || P_Batch_id );
5052: END IF;
5053:
5054: x_completion_status := 'ERROR';
5055: --

Line 5057: WSH_DEBUG_SV.log(l_module_name,'x_completion_status', x_completion_status);

5053:
5054: x_completion_status := 'ERROR';
5055: --
5056: IF l_debug_on THEN
5057: WSH_DEBUG_SV.log(l_module_name,'x_completion_status', x_completion_status);
5058: WSH_DEBUG_SV.pop(l_module_name);
5059: END IF;
5060: --
5061: return;

Line 5058: WSH_DEBUG_SV.pop(l_module_name);

5054: x_completion_status := 'ERROR';
5055: --
5056: IF l_debug_on THEN
5057: WSH_DEBUG_SV.log(l_module_name,'x_completion_status', x_completion_status);
5058: WSH_DEBUG_SV.pop(l_module_name);
5059: END IF;
5060: --
5061: return;
5062: END IF;

Line 5066: WSH_DEBUG_SV.logmsg(l_module_name, 'Calling TRANSFER_SERIAL_NUMBERS FOR BATCH ' || TO_CHAR ( P_batch_id ) );

5062: END IF;
5063:
5064: -- bug 2787888 : Added call to transfer serial records from mtl_serial_numbers_temp to wsh_serial_numbers
5065: IF l_debug_on THEN
5066: WSH_DEBUG_SV.logmsg(l_module_name, 'Calling TRANSFER_SERIAL_NUMBERS FOR BATCH ' || TO_CHAR ( P_batch_id ) );
5067: END IF;
5068:
5069: -- transfer the serial number information for non-om lines.
5070: transfer_serial_numbers ( p_batch_id => p_batch_id ,

Line 5076: WSH_DEBUG_SV.logmsg(l_module_name, 'Error encountered in call to TRANSFER_SERIAL_NUMBERS FOR BATCH' || TO_CHAR ( P_BATCH_ID ) );

5072: x_return_status => l_return_status );
5073:
5074: if (l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS) THEN
5075: IF l_debug_on THEN
5076: WSH_DEBUG_SV.logmsg(l_module_name, 'Error encountered in call to TRANSFER_SERIAL_NUMBERS FOR BATCH' || TO_CHAR ( P_BATCH_ID ) );
5077: WSH_DEBUG_SV.log(l_module_name,'x_completion_status', x_completion_status);
5078: WSH_DEBUG_SV.pop(l_module_name);
5079: END IF;
5080: x_completion_status := 'ERROR';

Line 5077: WSH_DEBUG_SV.log(l_module_name,'x_completion_status', x_completion_status);

5073:
5074: if (l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS) THEN
5075: IF l_debug_on THEN
5076: WSH_DEBUG_SV.logmsg(l_module_name, 'Error encountered in call to TRANSFER_SERIAL_NUMBERS FOR BATCH' || TO_CHAR ( P_BATCH_ID ) );
5077: WSH_DEBUG_SV.log(l_module_name,'x_completion_status', x_completion_status);
5078: WSH_DEBUG_SV.pop(l_module_name);
5079: END IF;
5080: x_completion_status := 'ERROR';
5081: return;

Line 5078: WSH_DEBUG_SV.pop(l_module_name);

5074: if (l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS) THEN
5075: IF l_debug_on THEN
5076: WSH_DEBUG_SV.logmsg(l_module_name, 'Error encountered in call to TRANSFER_SERIAL_NUMBERS FOR BATCH' || TO_CHAR ( P_BATCH_ID ) );
5077: WSH_DEBUG_SV.log(l_module_name,'x_completion_status', x_completion_status);
5078: WSH_DEBUG_SV.pop(l_module_name);
5079: END IF;
5080: x_completion_status := 'ERROR';
5081: return;
5082: end if;

Line 5098: WSH_DEBUG_SV.log(l_module_name,'inv_interface_trip_stop failed for Batch '|| p_batch_id

5094: ELSE
5095: l_completion_status := 'WARNING';
5096: END IF;
5097: IF l_debug_on THEN
5098: WSH_DEBUG_SV.log(l_module_name,'inv_interface_trip_stop failed for Batch '|| p_batch_id
5099: ||': txn ' || l_transaction_header_id );
5100: WSH_DEBUG_SV.log(l_module_name,'l_completion_status', l_completion_status);
5101: END IF;
5102: end if;

Line 5100: WSH_DEBUG_SV.log(l_module_name,'l_completion_status', l_completion_status);

5096: END IF;
5097: IF l_debug_on THEN
5098: WSH_DEBUG_SV.log(l_module_name,'inv_interface_trip_stop failed for Batch '|| p_batch_id
5099: ||': txn ' || l_transaction_header_id );
5100: WSH_DEBUG_SV.log(l_module_name,'l_completion_status', l_completion_status);
5101: END IF;
5102: end if;
5103: -- RTV changes
5104: l_rcv_interf_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;

Line 5113: WSH_DEBUG_SV.logmsg(l_module_name, 'RCV Delivery_id '|| l_rtv_delivery_id);

5109: FETCH c_get_rtv_deliveries into l_rtv_delivery_id;
5110: EXIT WHEN c_get_rtv_deliveries%NOTFOUND;
5111:
5112: IF l_debug_on THEN
5113: WSH_DEBUG_SV.logmsg(l_module_name, 'RCV Delivery_id '|| l_rtv_delivery_id);
5114: WSH_DEBUG_SV.logmsg(l_module_name, 'Calling program unit RCV_WSH_INTERFACE_PKG.interface_to_rcv',WSH_DEBUG_SV.C_PROC_LEVEL);
5115: END IF;
5116:
5117: l_rcv_interf_status := WSH_UTIL_CORE.G_RET_STS_ERROR;

Line 5114: WSH_DEBUG_SV.logmsg(l_module_name, 'Calling program unit RCV_WSH_INTERFACE_PKG.interface_to_rcv',WSH_DEBUG_SV.C_PROC_LEVEL);

5110: EXIT WHEN c_get_rtv_deliveries%NOTFOUND;
5111:
5112: IF l_debug_on THEN
5113: WSH_DEBUG_SV.logmsg(l_module_name, 'RCV Delivery_id '|| l_rtv_delivery_id);
5114: WSH_DEBUG_SV.logmsg(l_module_name, 'Calling program unit RCV_WSH_INTERFACE_PKG.interface_to_rcv',WSH_DEBUG_SV.C_PROC_LEVEL);
5115: END IF;
5116:
5117: l_rcv_interf_status := WSH_UTIL_CORE.G_RET_STS_ERROR;
5118:

Line 5123: WSH_DEBUG_SV.log(l_module_name,'Return status after calling RCV API ',l_rcv_interf_status);

5119: RCV_WSH_INTERFACE_PKG.interface_to_rcv( p_delivery_id => l_rtv_delivery_id,
5120: p_return_status => l_rcv_interf_status);
5121:
5122: IF l_debug_on THEN
5123: WSH_DEBUG_SV.log(l_module_name,'Return status after calling RCV API ',l_rcv_interf_status);
5124: END IF;
5125:
5126: IF (l_rcv_interf_status = WSH_UTIL_CORE.G_RET_STS_ERROR OR
5127: l_rcv_interf_status = WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR) then

Line 5141: WSH_DEBUG_SV.logmsg(l_module_name, 'BATCH '|| P_batch_id || ' HAS BEEN SUCCESSFULLY INTERFACED' );

5137: -- If all the lines are interfaced to inventory, then return success.
5138:
5139: if ( inv_interfaced ( p_batch_id )) then
5140: IF l_debug_on THEN
5141: WSH_DEBUG_SV.logmsg(l_module_name, 'BATCH '|| P_batch_id || ' HAS BEEN SUCCESSFULLY INTERFACED' );
5142: END IF;
5143:
5144: x_completion_status := 'INTERFACED';
5145: IF lock_row%ISOPEN THEN

Line 5150: WSH_DEBUG_SV.log(l_module_name,'x_completion_status', x_completion_status);

5146: CLOSE lock_row;
5147: END IF;
5148:
5149: IF l_debug_on THEN
5150: WSH_DEBUG_SV.log(l_module_name,'x_completion_status', x_completion_status);
5151: WSH_DEBUG_SV.pop(l_module_name);
5152: END IF;
5153:
5154: return ;

Line 5151: WSH_DEBUG_SV.pop(l_module_name);

5147: END IF;
5148:
5149: IF l_debug_on THEN
5150: WSH_DEBUG_SV.log(l_module_name,'x_completion_status', x_completion_status);
5151: WSH_DEBUG_SV.pop(l_module_name);
5152: END IF;
5153:
5154: return ;
5155: end if ;

Line 5172: WSH_DEBUG_SV.log(l_module_name,'Number of records fetched by get_details is ', l_detail_ids_count);

5168:
5169: l_detail_ids_count := l_detail_ids_tbl.COUNT;
5170:
5171: IF l_debug_on THEN
5172: WSH_DEBUG_SV.log(l_module_name,'Number of records fetched by get_details is ', l_detail_ids_count);
5173: END IF;
5174:
5175: -- Bug#7271241 :removed source_code from where clause as DDs can be
5176: -- associated to OKE system.

Line 5203: WSH_DEBUG_SV.logmsg(l_module_name, 'NEW TRANSACTION_HEADER : ' || TO_CHAR ( L_TRANSACTION_HEADER_ID ) );

5199: INTO l_transaction_header_id
5200: FROM sys.dual;
5201: --
5202: IF l_debug_on THEN
5203: WSH_DEBUG_SV.logmsg(l_module_name, 'NEW TRANSACTION_HEADER : ' || TO_CHAR ( L_TRANSACTION_HEADER_ID ) );
5204: END IF;
5205: --
5206:
5207:

Line 5222: WSH_DEBUG_SV.log(l_module_name,'Number of records fetched by l_get_picking_ln_id_csr is ', l_picking_lines_count);

5218:
5219: l_picking_lines_count := l_picking_line_id_tbl.COUNT;
5220:
5221: IF l_debug_on THEN
5222: WSH_DEBUG_SV.log(l_module_name,'Number of records fetched by l_get_picking_ln_id_csr is ', l_picking_lines_count);
5223: END IF;
5224:
5225: IF (nvl(l_picking_lines_count,0) > 0) THEN
5226: --{

Line 5240: WSH_DEBUG_SV.log(l_module_name,'No. existing record updated in MTI', l_count);

5236: -- updated by another process;
5237:
5238: l_count := SQL%ROWCOUNT;
5239: IF l_debug_on THEN
5240: WSH_DEBUG_SV.log(l_module_name,'No. existing record updated in MTI', l_count);
5241: END IF;
5242: --
5243: --
5244: -- bug 3588371

Line 5262: WSH_DEBUG_SV.log(l_module_name,'Interface_Detail_To_Inv l_inv_inter_status',l_inv_inter_status);

5258: x_non_opm_org_exist => l_non_opm_org_exist,
5259: x_return_status => l_inv_inter_status);
5260:
5261: IF l_debug_on THEN
5262: WSH_DEBUG_SV.log(l_module_name,'Interface_Detail_To_Inv l_inv_inter_status',l_inv_inter_status);
5263: END IF;
5264:
5265: -- HW OPMCONV. Removed checking for non_opm lines
5266:

Line 5306: WSH_DEBUG_SV.log(l_module_name,'Batch_id '||p_batch_id||' pass Inventory interface with unexpected errors');

5302: END IF;
5303: x_completion_status := 'ERROR';
5304:
5305: IF l_debug_on THEN
5306: WSH_DEBUG_SV.log(l_module_name,'Batch_id '||p_batch_id||' pass Inventory interface with unexpected errors');
5307: WSH_DEBUG_SV.pop(l_module_name);
5308: END IF;
5309: return;
5310: ELSIF ( l_inv_inter_status = WSH_UTIL_CORE.G_RET_STS_ERROR ) THEN

Line 5307: WSH_DEBUG_SV.pop(l_module_name);

5303: x_completion_status := 'ERROR';
5304:
5305: IF l_debug_on THEN
5306: WSH_DEBUG_SV.log(l_module_name,'Batch_id '||p_batch_id||' pass Inventory interface with unexpected errors');
5307: WSH_DEBUG_SV.pop(l_module_name);
5308: END IF;
5309: return;
5310: ELSIF ( l_inv_inter_status = WSH_UTIL_CORE.G_RET_STS_ERROR ) THEN
5311:

Line 5317: WSH_DEBUG_SV.log(l_module_name,'Batch_id '||p_batch_id||' pass Inventory interface with expected errors');

5313: CLOSE lock_row;
5314: END IF;
5315: x_completion_status := 'WARNING';
5316: IF l_debug_on THEN
5317: WSH_DEBUG_SV.log(l_module_name,'Batch_id '||p_batch_id||' pass Inventory interface with expected errors');
5318: WSH_DEBUG_SV.pop(l_module_name);
5319: END IF;
5320: return;
5321: ELSE

Line 5318: WSH_DEBUG_SV.pop(l_module_name);

5314: END IF;
5315: x_completion_status := 'WARNING';
5316: IF l_debug_on THEN
5317: WSH_DEBUG_SV.log(l_module_name,'Batch_id '||p_batch_id||' pass Inventory interface with expected errors');
5318: WSH_DEBUG_SV.pop(l_module_name);
5319: END IF;
5320: return;
5321: ELSE
5322: l_completion_status := 'WARNING';

Line 5338: WSH_DEBUG_SV.logmsg(l_module_name,'Batch '|| p_batch_id ||': TXN ' ||

5334: process_inv_online ( p_batch_id , l_transaction_header_id , l_return_status );
5335:
5336: if (l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS) then
5337: IF l_debug_on THEN
5338: WSH_DEBUG_SV.logmsg(l_module_name,'Batch '|| p_batch_id ||': TXN ' ||
5339: L_TRANSACTION_HEADER_ID || ' : PROCESS ONLINE FAILED AGAIN' );
5340: END IF;
5341: IF (l_return_status = WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR) THEN
5342: l_completion_status := 'ERROR';

Line 5372: WSH_DEBUG_SV.log(l_module_name,'l_completion_status',l_completion_status);

5368: -- bug 3588371
5369:
5370: --
5371: IF l_debug_on THEN
5372: WSH_DEBUG_SV.log(l_module_name,'l_completion_status',l_completion_status);
5373: WSH_DEBUG_SV.pop(l_module_name);
5374:
5375: END IF;
5376: --

Line 5373: WSH_DEBUG_SV.pop(l_module_name);

5369:
5370: --
5371: IF l_debug_on THEN
5372: WSH_DEBUG_SV.log(l_module_name,'l_completion_status',l_completion_status);
5373: WSH_DEBUG_SV.pop(l_module_name);
5374:
5375: END IF;
5376: --
5377: EXCEPTION

Line 5389: WSH_DEBUG_SV.logmsg(l_module_name,'TRIP_STOP_LOCKED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);

5385: WSH_UTIL_CORE.PrintMsg('This Trip Stop is locked by some other process');
5386: x_completion_status := 'WARNING'; -- continue processing other stops
5387: --
5388: IF l_debug_on THEN
5389: WSH_DEBUG_SV.logmsg(l_module_name,'TRIP_STOP_LOCKED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
5390: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:TRIP_STOP_LOCKED');
5391: END IF;
5392: --
5393: WHEN others THEN

Line 5390: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:TRIP_STOP_LOCKED');

5386: x_completion_status := 'WARNING'; -- continue processing other stops
5387: --
5388: IF l_debug_on THEN
5389: WSH_DEBUG_SV.logmsg(l_module_name,'TRIP_STOP_LOCKED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
5390: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:TRIP_STOP_LOCKED');
5391: END IF;
5392: --
5393: WHEN others THEN
5394: IF get_details%ISOPEN THEN

Line 5405: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

5401: WSH_UTIL_CORE.PrintMsg('The unexpected error is ' || l_error_text);
5402: x_completion_status := l_completion_status;
5403: --
5404: IF l_debug_on THEN
5405: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
5406: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
5407: END IF;
5408: --
5409: END inv_interface_Trip_Stop;

Line 5406: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

5402: x_completion_status := l_completion_status;
5403: --
5404: IF l_debug_on THEN
5405: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
5406: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
5407: END IF;
5408: --
5409: END inv_interface_Trip_Stop;
5410:

Line 5458: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

5454: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
5455: --
5456: IF l_debug_on IS NULL
5457: THEN
5458: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
5459: END IF;
5460: --
5461: IF l_debug_on THEN
5462: WSH_DEBUG_SV.push(l_module_name);

Line 5462: WSH_DEBUG_SV.push(l_module_name);

5458: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
5459: END IF;
5460: --
5461: IF l_debug_on THEN
5462: WSH_DEBUG_SV.push(l_module_name);
5463: --
5464: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
5465: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_CODE',P_SOURCE_CODE);
5466: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);

Line 5464: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);

5460: --
5461: IF l_debug_on THEN
5462: WSH_DEBUG_SV.push(l_module_name);
5463: --
5464: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
5465: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_CODE',P_SOURCE_CODE);
5466: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
5467: END IF;
5468: --

Line 5465: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_CODE',P_SOURCE_CODE);

5461: IF l_debug_on THEN
5462: WSH_DEBUG_SV.push(l_module_name);
5463: --
5464: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
5465: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_CODE',P_SOURCE_CODE);
5466: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
5467: END IF;
5468: --
5469: OPEN assigned_line_total;

Line 5466: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);

5462: WSH_DEBUG_SV.push(l_module_name);
5463: --
5464: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
5465: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_CODE',P_SOURCE_CODE);
5466: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
5467: END IF;
5468: --
5469: OPEN assigned_line_total;
5470: FETCH assigned_line_total into l_assigned_total;

Line 5474: WSH_DEBUG_SV.log(l_module_name,'l_assigned_total',l_assigned_total.total);

5470: FETCH assigned_line_total into l_assigned_total;
5471: OPEN unassigned_line_total;
5472: FETCH unassigned_line_total into l_unassigned_total;
5473: IF l_debug_on THEN
5474: WSH_DEBUG_SV.log(l_module_name,'l_assigned_total',l_assigned_total.total);
5475: WSH_DEBUG_SV.log(l_module_name,'l_unassigned_total',l_unassigned_total.total);
5476: END IF;
5477: if ((l_assigned_total.total > 0) or (l_unassigned_total.total > 0) ) THEN
5478: --

Line 5475: WSH_DEBUG_SV.log(l_module_name,'l_unassigned_total',l_unassigned_total.total);

5471: OPEN unassigned_line_total;
5472: FETCH unassigned_line_total into l_unassigned_total;
5473: IF l_debug_on THEN
5474: WSH_DEBUG_SV.log(l_module_name,'l_assigned_total',l_assigned_total.total);
5475: WSH_DEBUG_SV.log(l_module_name,'l_unassigned_total',l_unassigned_total.total);
5476: END IF;
5477: if ((l_assigned_total.total > 0) or (l_unassigned_total.total > 0) ) THEN
5478: --
5479: IF l_debug_on THEN

Line 5480: WSH_DEBUG_SV.pop(l_module_name);

5476: END IF;
5477: if ((l_assigned_total.total > 0) or (l_unassigned_total.total > 0) ) THEN
5478: --
5479: IF l_debug_on THEN
5480: WSH_DEBUG_SV.pop(l_module_name);
5481: END IF;
5482: --
5483: return TRUE;
5484: else

Line 5487: WSH_DEBUG_SV.pop(l_module_name);

5483: return TRUE;
5484: else
5485: --
5486: IF l_debug_on THEN
5487: WSH_DEBUG_SV.pop(l_module_name);
5488: END IF;
5489: --
5490: return FALSE;
5491: END if;

Line 5558: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

5554: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
5555: --
5556: IF l_debug_on IS NULL
5557: THEN
5558: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
5559: END IF;
5560: --
5561: IF l_debug_on THEN
5562: WSH_DEBUG_SV.push(l_module_name);

Line 5562: WSH_DEBUG_SV.push(l_module_name);

5558: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
5559: END IF;
5560: --
5561: IF l_debug_on THEN
5562: WSH_DEBUG_SV.push(l_module_name);
5563: --
5564: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
5565: WSH_DEBUG_SV.log(l_module_name,'P_batch_id',P_batch_id);
5566: END IF;

Line 5564: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);

5560: --
5561: IF l_debug_on THEN
5562: WSH_DEBUG_SV.push(l_module_name);
5563: --
5564: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
5565: WSH_DEBUG_SV.log(l_module_name,'P_batch_id',P_batch_id);
5566: END IF;
5567: --
5568: OPEN other_batch_delivery_details;

Line 5565: WSH_DEBUG_SV.log(l_module_name,'P_batch_id',P_batch_id);

5561: IF l_debug_on THEN
5562: WSH_DEBUG_SV.push(l_module_name);
5563: --
5564: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
5565: WSH_DEBUG_SV.log(l_module_name,'P_batch_id',P_batch_id);
5566: END IF;
5567: --
5568: OPEN other_batch_delivery_details;
5569: FETCH other_batch_delivery_details INTO l_planned_qty;

Line 5577: WSH_DEBUG_SV.logmsg(l_module_name, 'PLANNED QUANTITY: '|| L_PLANNED_QTY );

5573: CLOSE other_batch_delivery_details;
5574:
5575: --
5576: IF l_debug_on THEN
5577: WSH_DEBUG_SV.logmsg(l_module_name, 'PLANNED QUANTITY: '|| L_PLANNED_QTY );
5578: WSH_DEBUG_SV.pop(l_module_name);
5579: END IF;
5580: --
5581: return l_planned_qty;

Line 5578: WSH_DEBUG_SV.pop(l_module_name);

5574:
5575: --
5576: IF l_debug_on THEN
5577: WSH_DEBUG_SV.logmsg(l_module_name, 'PLANNED QUANTITY: '|| L_PLANNED_QTY );
5578: WSH_DEBUG_SV.pop(l_module_name);
5579: END IF;
5580: --
5581: return l_planned_qty;
5582:

Line 5649: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

5645:
5646: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
5647: IF l_debug_on IS NULL
5648: THEN
5649: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
5650: END IF;
5651: IF l_debug_on THEN
5652: WSH_DEBUG_SV.push(l_module_name);
5653: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);

Line 5652: WSH_DEBUG_SV.push(l_module_name);

5648: THEN
5649: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
5650: END IF;
5651: IF l_debug_on THEN
5652: WSH_DEBUG_SV.push(l_module_name);
5653: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
5654: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
5655: WSH_DEBUG_SV.log(l_module_name,'P_SHIPPING_UOM',P_SHIPPING_UOM);
5656: WSH_DEBUG_SV.log(l_module_name,'P_TOT_SHP_QTY',P_TOT_SHP_QTY);

Line 5653: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);

5649: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
5650: END IF;
5651: IF l_debug_on THEN
5652: WSH_DEBUG_SV.push(l_module_name);
5653: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
5654: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
5655: WSH_DEBUG_SV.log(l_module_name,'P_SHIPPING_UOM',P_SHIPPING_UOM);
5656: WSH_DEBUG_SV.log(l_module_name,'P_TOT_SHP_QTY',P_TOT_SHP_QTY);
5657: WSH_DEBUG_SV.log(l_module_name,'P_TOT_SHP_QTY2',P_TOT_SHP_QTY2);

Line 5654: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);

5650: END IF;
5651: IF l_debug_on THEN
5652: WSH_DEBUG_SV.push(l_module_name);
5653: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
5654: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
5655: WSH_DEBUG_SV.log(l_module_name,'P_SHIPPING_UOM',P_SHIPPING_UOM);
5656: WSH_DEBUG_SV.log(l_module_name,'P_TOT_SHP_QTY',P_TOT_SHP_QTY);
5657: WSH_DEBUG_SV.log(l_module_name,'P_TOT_SHP_QTY2',P_TOT_SHP_QTY2);
5658: END IF;

Line 5655: WSH_DEBUG_SV.log(l_module_name,'P_SHIPPING_UOM',P_SHIPPING_UOM);

5651: IF l_debug_on THEN
5652: WSH_DEBUG_SV.push(l_module_name);
5653: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
5654: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
5655: WSH_DEBUG_SV.log(l_module_name,'P_SHIPPING_UOM',P_SHIPPING_UOM);
5656: WSH_DEBUG_SV.log(l_module_name,'P_TOT_SHP_QTY',P_TOT_SHP_QTY);
5657: WSH_DEBUG_SV.log(l_module_name,'P_TOT_SHP_QTY2',P_TOT_SHP_QTY2);
5658: END IF;
5659:

Line 5656: WSH_DEBUG_SV.log(l_module_name,'P_TOT_SHP_QTY',P_TOT_SHP_QTY);

5652: WSH_DEBUG_SV.push(l_module_name);
5653: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
5654: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
5655: WSH_DEBUG_SV.log(l_module_name,'P_SHIPPING_UOM',P_SHIPPING_UOM);
5656: WSH_DEBUG_SV.log(l_module_name,'P_TOT_SHP_QTY',P_TOT_SHP_QTY);
5657: WSH_DEBUG_SV.log(l_module_name,'P_TOT_SHP_QTY2',P_TOT_SHP_QTY2);
5658: END IF;
5659:
5660: l_minmaxinrec.source_code := 'OE';

Line 5657: WSH_DEBUG_SV.log(l_module_name,'P_TOT_SHP_QTY2',P_TOT_SHP_QTY2);

5653: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
5654: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
5655: WSH_DEBUG_SV.log(l_module_name,'P_SHIPPING_UOM',P_SHIPPING_UOM);
5656: WSH_DEBUG_SV.log(l_module_name,'P_TOT_SHP_QTY',P_TOT_SHP_QTY);
5657: WSH_DEBUG_SV.log(l_module_name,'P_TOT_SHP_QTY2',P_TOT_SHP_QTY2);
5658: END IF;
5659:
5660: l_minmaxinrec.source_code := 'OE';
5661: l_minmaxinrec.line_id := p_source_line_id;

Line 5665: WSH_DEBUG_SV.logmsg(l_module_name, 'THE TOTAL SHIPPED QUANTITY FOR ORDER LINE ' || P_SOURCE_LINE_ID || ' IS ' || P_TOT_SHP_QTY );

5661: l_minmaxinrec.line_id := p_source_line_id;
5662: l_minmaxinrec.action_flag := 'I';
5663:
5664: IF l_debug_on THEN
5665: WSH_DEBUG_SV.logmsg(l_module_name, 'THE TOTAL SHIPPED QUANTITY FOR ORDER LINE ' || P_SOURCE_LINE_ID || ' IS ' || P_TOT_SHP_QTY );
5666: END IF;
5667:
5668:
5669: WSH_DETAILS_VALIDATIONS.get_min_max_tolerance_quantity

Line 5712: WSH_DEBUG_SV.logmsg(l_module_name, 'L_ORDER_QTY_UOM IS ' || l_order_quantity_uom );

5708: l_ordered_quantity_uom2 ;
5709: Close c_order_line_details;
5710:
5711: IF l_debug_on THEN
5712: WSH_DEBUG_SV.logmsg(l_module_name, 'L_ORDER_QTY_UOM IS ' || l_order_quantity_uom );
5713: WSH_DEBUG_SV.logmsg(l_module_name, 'L_ORDER_QTY_UOM2 IS ' || l_ordered_quantity_uom2 );
5714: END IF;
5715: -- when the ordered uom is in secondary uom, the fulfillment check would
5716: -- be against the min_remaining_quantity2

Line 5713: WSH_DEBUG_SV.logmsg(l_module_name, 'L_ORDER_QTY_UOM2 IS ' || l_ordered_quantity_uom2 );

5709: Close c_order_line_details;
5710:
5711: IF l_debug_on THEN
5712: WSH_DEBUG_SV.logmsg(l_module_name, 'L_ORDER_QTY_UOM IS ' || l_order_quantity_uom );
5713: WSH_DEBUG_SV.logmsg(l_module_name, 'L_ORDER_QTY_UOM2 IS ' || l_ordered_quantity_uom2 );
5714: END IF;
5715: -- when the ordered uom is in secondary uom, the fulfillment check would
5716: -- be against the min_remaining_quantity2
5717: IF l_ordered_quantity_uom2 IS NOT NULL AND

Line 5733: WSH_DEBUG_SV.log(l_module_name, 'SHIP_BEYOND_FLAG', X_SHIP_BEYOND_FLAG);

5729:
5730: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
5731:
5732: IF l_debug_on THEN
5733: WSH_DEBUG_SV.log(l_module_name, 'SHIP_BEYOND_FLAG', X_SHIP_BEYOND_FLAG);
5734: WSH_DEBUG_SV.log(l_module_name, 'FULFILLED_FLAG', X_FULFILLED_FLAG);
5735: WSH_DEBUG_SV.pop(l_module_name);
5736: END IF;
5737:

Line 5734: WSH_DEBUG_SV.log(l_module_name, 'FULFILLED_FLAG', X_FULFILLED_FLAG);

5730: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
5731:
5732: IF l_debug_on THEN
5733: WSH_DEBUG_SV.log(l_module_name, 'SHIP_BEYOND_FLAG', X_SHIP_BEYOND_FLAG);
5734: WSH_DEBUG_SV.log(l_module_name, 'FULFILLED_FLAG', X_FULFILLED_FLAG);
5735: WSH_DEBUG_SV.pop(l_module_name);
5736: END IF;
5737:
5738: EXCEPTION

Line 5735: WSH_DEBUG_SV.pop(l_module_name);

5731:
5732: IF l_debug_on THEN
5733: WSH_DEBUG_SV.log(l_module_name, 'SHIP_BEYOND_FLAG', X_SHIP_BEYOND_FLAG);
5734: WSH_DEBUG_SV.log(l_module_name, 'FULFILLED_FLAG', X_FULFILLED_FLAG);
5735: WSH_DEBUG_SV.pop(l_module_name);
5736: END IF;
5737:
5738: EXCEPTION
5739: WHEN GET_TOLERANCE_FAILED THEN

Line 5741: WSH_DEBUG_SV.logmsg(l_module_name, 'WSH get_min_max_tolerance_quantity FAILED' );

5737:
5738: EXCEPTION
5739: WHEN GET_TOLERANCE_FAILED THEN
5740: IF l_debug_on THEN
5741: WSH_DEBUG_SV.logmsg(l_module_name, 'WSH get_min_max_tolerance_quantity FAILED' );
5742: WSH_DEBUG_SV.log(l_module_name, 'l_return_status', l_return_status);
5743: WSH_DEBUG_SV.logmsg(l_module_name,'GET_TOLERANCE_FAILED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
5744: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:GET_TOLERANCE_FAILED');
5745: END IF;

Line 5742: WSH_DEBUG_SV.log(l_module_name, 'l_return_status', l_return_status);

5738: EXCEPTION
5739: WHEN GET_TOLERANCE_FAILED THEN
5740: IF l_debug_on THEN
5741: WSH_DEBUG_SV.logmsg(l_module_name, 'WSH get_min_max_tolerance_quantity FAILED' );
5742: WSH_DEBUG_SV.log(l_module_name, 'l_return_status', l_return_status);
5743: WSH_DEBUG_SV.logmsg(l_module_name,'GET_TOLERANCE_FAILED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
5744: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:GET_TOLERANCE_FAILED');
5745: END IF;
5746: x_return_status := l_return_status;

Line 5743: WSH_DEBUG_SV.logmsg(l_module_name,'GET_TOLERANCE_FAILED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);

5739: WHEN GET_TOLERANCE_FAILED THEN
5740: IF l_debug_on THEN
5741: WSH_DEBUG_SV.logmsg(l_module_name, 'WSH get_min_max_tolerance_quantity FAILED' );
5742: WSH_DEBUG_SV.log(l_module_name, 'l_return_status', l_return_status);
5743: WSH_DEBUG_SV.logmsg(l_module_name,'GET_TOLERANCE_FAILED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
5744: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:GET_TOLERANCE_FAILED');
5745: END IF;
5746: x_return_status := l_return_status;
5747: x_fulfilled_flag := NULL;

Line 5744: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:GET_TOLERANCE_FAILED');

5740: IF l_debug_on THEN
5741: WSH_DEBUG_SV.logmsg(l_module_name, 'WSH get_min_max_tolerance_quantity FAILED' );
5742: WSH_DEBUG_SV.log(l_module_name, 'l_return_status', l_return_status);
5743: WSH_DEBUG_SV.logmsg(l_module_name,'GET_TOLERANCE_FAILED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
5744: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:GET_TOLERANCE_FAILED');
5745: END IF;
5746: x_return_status := l_return_status;
5747: x_fulfilled_flag := NULL;
5748:

Line 5854: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

5850: BEGIN
5851:
5852: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
5853: IF l_debug_on IS NULL THEN
5854: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
5855: END IF;
5856:
5857: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
5858:

Line 5860: WSH_DEBUG_SV.push(l_module_name);

5856:
5857: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
5858:
5859: IF l_debug_on THEN
5860: WSH_DEBUG_SV.push(l_module_name);
5861: END IF;
5862:
5863: IF NOT INV_GMI_RSV_BRANCH.Process_Branch(p_organization_id => p_oe_interface_rec.organization_id) THEN
5864: l_process_flag := FND_API.G_FALSE;

Line 5873: WSH_DEBUG_SV.logmsg(l_module_name,'l_process_flag ' || l_process_flag);

5869: -- muom
5870: l_fulfill_base := WSH_UTIL_CORE.Get_Line_Fulfillment_Base('OE', p_oe_interface_rec.source_line_id);
5871:
5872: IF l_debug_on THEN
5873: WSH_DEBUG_SV.logmsg(l_module_name,'l_process_flag ' || l_process_flag);
5874: END IF;
5875: --9437761
5876: /* when the ordered uom is in secondary uom check_tolernace should be
5877: * called FP of bug,4760099 */

Line 5934: WSH_DEBUG_SV.logmsg(l_module_name, 'l_tot_ord_qty '||l_tot_ord_qty||' l_tot_dd_req_qty '|| l_tot_dd_req_qty||' l_tot_dd_shp_qty '||l_tot_dd_shp_qty);

5930: WHERE ol.header_id = p_oe_interface_rec.source_header_id
5931: AND ol.line_set_id = p_oe_interface_rec.source_line_set_id;
5932:
5933: IF l_debug_on THEN
5934: WSH_DEBUG_SV.logmsg(l_module_name, 'l_tot_ord_qty '||l_tot_ord_qty||' l_tot_dd_req_qty '|| l_tot_dd_req_qty||' l_tot_dd_shp_qty '||l_tot_dd_shp_qty);
5935: END IF;
5936: --Bug 12823498: If its LSP mode then check whether client_id is populated
5937: ELSIF ( WMS_DEPLOY.WMS_DEPLOYMENT_MODE = 'L' ) THEN
5938: SELECT DISTINCT client_id

Line 5957: WSH_DEBUG_SV.logmsg(l_module_name, 'Shipping partial quantity for the line set ' || p_oe_interface_rec.source_line_set_id);

5953: (l_fulfill_base = 'S' and l_tot_dd_req_qty2 < l_tot_ord_qty2)))) THEN
5954: --{
5955: IF l_debug_on THEN
5956: IF (p_oe_interface_rec.source_line_set_id IS NOT NULL) THEN
5957: WSH_DEBUG_SV.logmsg(l_module_name, 'Shipping partial quantity for the line set ' || p_oe_interface_rec.source_line_set_id);
5958: ELSE
5959: WSH_DEBUG_SV.logmsg(l_module_name, 'Shipping partial quantity for the order line '|| p_oe_interface_rec.source_line_id);
5960: END IF;
5961: END IF;

Line 5959: WSH_DEBUG_SV.logmsg(l_module_name, 'Shipping partial quantity for the order line '|| p_oe_interface_rec.source_line_id);

5955: IF l_debug_on THEN
5956: IF (p_oe_interface_rec.source_line_set_id IS NOT NULL) THEN
5957: WSH_DEBUG_SV.logmsg(l_module_name, 'Shipping partial quantity for the line set ' || p_oe_interface_rec.source_line_set_id);
5958: ELSE
5959: WSH_DEBUG_SV.logmsg(l_module_name, 'Shipping partial quantity for the order line '|| p_oe_interface_rec.source_line_id);
5960: END IF;
5961: END IF;
5962: --haperf
5963: IF l_debug_on THEN

Line 5964: WSH_DEBUG_SV.logmsg(l_module_name, '===============');

5960: END IF;
5961: END IF;
5962: --haperf
5963: IF l_debug_on THEN
5964: WSH_DEBUG_SV.logmsg(l_module_name, '===============');
5965: WSH_DEBUG_SV.logmsg(l_module_name, 'Tolerance Check');
5966: WSH_DEBUG_SV.logmsg(l_module_name, '===============');
5967: END IF;
5968:

Line 5965: WSH_DEBUG_SV.logmsg(l_module_name, 'Tolerance Check');

5961: END IF;
5962: --haperf
5963: IF l_debug_on THEN
5964: WSH_DEBUG_SV.logmsg(l_module_name, '===============');
5965: WSH_DEBUG_SV.logmsg(l_module_name, 'Tolerance Check');
5966: WSH_DEBUG_SV.logmsg(l_module_name, '===============');
5967: END IF;
5968:
5969: Check_Tolerance( p_stop_id => NULL ,

Line 5966: WSH_DEBUG_SV.logmsg(l_module_name, '===============');

5962: --haperf
5963: IF l_debug_on THEN
5964: WSH_DEBUG_SV.logmsg(l_module_name, '===============');
5965: WSH_DEBUG_SV.logmsg(l_module_name, 'Tolerance Check');
5966: WSH_DEBUG_SV.logmsg(l_module_name, '===============');
5967: END IF;
5968:
5969: Check_Tolerance( p_stop_id => NULL ,
5970: p_source_line_id => p_oe_interface_rec.source_line_id ,

Line 5983: WSH_DEBUG_SV.logmsg(l_module_name, 'fullfilled flag = '||l_fulfilled_flag);

5979: x_num_warnings =>l_num_warnings,
5980: x_num_errors =>l_num_errors);
5981:
5982: IF l_debug_on THEN
5983: WSH_DEBUG_SV.logmsg(l_module_name, 'fullfilled flag = '||l_fulfilled_flag);
5984: END IF;
5985:
5986: IF (NVL(l_fulfilled_flag, 'F') = 'T') THEN
5987: --{

Line 5990: WSH_DEBUG_SV.logmsg(l_module_name, 'Ship within tolerance');

5986: IF (NVL(l_fulfilled_flag, 'F') = 'T') THEN
5987: --{
5988: l_remain_detail_index := 0;
5989: IF l_debug_on THEN
5990: WSH_DEBUG_SV.logmsg(l_module_name, 'Ship within tolerance');
5991: END IF;
5992: -- LSP PROJECT : should set value when DeploymentMode is Integrated
5993: -- or DeploymentMode is LSP but clientId is NULL (normal orders)
5994: -- muom

Line 5999: WSH_DEBUG_SV.logmsg(l_module_name, 'change fulfilled_flag to P because planned_quantity > 0 for the current line');

5995: IF ((Get_Line_Expected_Qty(p_oe_interface_rec.source_line_id, p_batch_id, l_fulfill_base)) > 0 and
5996: (WMS_DEPLOY.WMS_DEPLOYMENT_MODE = 'I' OR (WMS_DEPLOY.WMS_DEPLOYMENT_MODE = 'L' and l_client_id IS NULL)) ) THEN
5997: --{
5998: IF l_debug_on THEN
5999: WSH_DEBUG_SV.logmsg(l_module_name, 'change fulfilled_flag to P because planned_quantity > 0 for the current line');
6000: END IF;
6001: l_fulfilled_flag := 'P';
6002: --}
6003: ELSE

Line 6006: WSH_DEBUG_SV.logmsg(l_module_name, 'l_fullfilled_flag is True, need to call cancel_details for source_line = '||p_oe_interface_rec.source_line_id);

6002: --}
6003: ELSE
6004: --{
6005: IF l_debug_on THEN
6006: WSH_DEBUG_SV.logmsg(l_module_name, 'l_fullfilled_flag is True, need to call cancel_details for source_line = '||p_oe_interface_rec.source_line_id);
6007: END IF;
6008: -- Handle pending delivery details for current line
6009: OPEN c_remain_detail_id(p_oe_interface_rec.source_line_id);
6010: LOOP

Line 6017: WSH_DEBUG_SV.logmsg(l_module_name, 'l_remain_detail_index = '||l_remain_detail_index||' detail_id = '||l_delete_detail_id);

6013: EXIT WHEN c_remain_detail_id %NOTFOUND;
6014: l_remain_detail_index := l_remain_detail_index + 1;
6015: l_remain_details_id(l_remain_detail_index) := l_delete_detail_id;
6016: IF l_debug_on THEN
6017: WSH_DEBUG_SV.logmsg(l_module_name, 'l_remain_detail_index = '||l_remain_detail_index||' detail_id = '||l_delete_detail_id);
6018: END IF;
6019: END LOOP;
6020: CLOSE c_remain_detail_id;
6021: --}

Line 6026: WSH_DEBUG_SV.logmsg(l_module_name, 'oe_interace_rec.source_line_set ='|| p_oe_interface_rec.source_line_set_id);

6022: END IF;
6023: -- Handle all lines in the line set which are not there in the current stop, if not processed before
6024: -- Need to cancel the delivery details for each line depending on pending quantity
6025: IF l_debug_on THEN
6026: WSH_DEBUG_SV.logmsg(l_module_name, 'oe_interace_rec.source_line_set ='|| p_oe_interface_rec.source_line_set_id);
6027: END IF;
6028: IF ((p_oe_interface_rec.source_line_set_id IS NOT NULL) AND
6029: (p_oe_interface_rec.source_line_set_id <> l_prev_line_set_id))THEN
6030: --{

Line 6056: WSH_DEBUG_SV.logmsg(l_module_name, 'l_remain_detail_index = '||l_remain_detail_index||' detail_id = '||l_delete_detail_id);

6052: EXIT WHEN c_remain_detail_id %NOTFOUND;
6053: l_remain_detail_index := l_remain_detail_index + 1;
6054: l_remain_details_id(l_remain_detail_index) := l_delete_detail_id;
6055: IF l_debug_on THEN
6056: WSH_DEBUG_SV.logmsg(l_module_name, 'l_remain_detail_index = '||l_remain_detail_index||' detail_id = '||l_delete_detail_id);
6057: END IF;
6058: --}
6059: END LOOP;
6060: CLOSE c_remain_detail_id;

Line 6076: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_CUSTOM_PUB.Cancel_Unpicked_Details_At_ITS', WSH_DEBUG_SV.C_PROC_LEVEL);

6072: --
6073: IF (l_process_flag = FND_API.G_FALSE ) THEN
6074: --{
6075: IF l_debug_on THEN
6076: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_CUSTOM_PUB.Cancel_Unpicked_Details_At_ITS', WSH_DEBUG_SV.C_PROC_LEVEL);
6077: END IF;
6078: l_cancel_unpicked_details := WSH_CUSTOM_PUB.Cancel_Unpicked_Details_At_ITS( p_source_header_id => p_oe_interface_rec.source_header_id,
6079: p_source_line_id => p_oe_interface_rec.source_line_id,
6080: p_source_line_set_id => p_oe_interface_rec.source_line_set_id,

Line 6083: WSH_DEBUG_SV.logmsg(l_module_name, 'l_cancel_upicked_details '|| l_cancel_unpicked_details);

6079: p_source_line_id => p_oe_interface_rec.source_line_id,
6080: p_source_line_set_id => p_oe_interface_rec.source_line_set_id,
6081: p_remain_details_id => l_remain_details_id);
6082: IF l_debug_on THEN
6083: WSH_DEBUG_SV.logmsg(l_module_name, 'l_cancel_upicked_details '|| l_cancel_unpicked_details);
6084: END IF;
6085: IF ( l_cancel_unpicked_details NOT IN ('Y','N') ) THEN
6086: IF l_debug_on THEN
6087: WSH_DEBUG_SV.logmsg(l_module_name, ' Error in Routine wsh_custom_pub.Cancel_Unpicked_Details_At_ITS ');

Line 6087: WSH_DEBUG_SV.logmsg(l_module_name, ' Error in Routine wsh_custom_pub.Cancel_Unpicked_Details_At_ITS ');

6083: WSH_DEBUG_SV.logmsg(l_module_name, 'l_cancel_upicked_details '|| l_cancel_unpicked_details);
6084: END IF;
6085: IF ( l_cancel_unpicked_details NOT IN ('Y','N') ) THEN
6086: IF l_debug_on THEN
6087: WSH_DEBUG_SV.logmsg(l_module_name, ' Error in Routine wsh_custom_pub.Cancel_Unpicked_Details_At_ITS ');
6088: END IF;
6089: RAISE FND_API.G_EXC_ERROR;
6090: END IF;
6091: --}

Line 6101: WSH_DEBUG_SV.log(l_module_name,'l_return_status',l_return_status);

6097: --{
6098: WSH_INTERFACE.Cancel_Details( p_details_id => l_remain_details_id,
6099: x_return_status => l_return_status);
6100: IF l_debug_on THEN
6101: WSH_DEBUG_SV.log(l_module_name,'l_return_status',l_return_status);
6102: END IF;
6103: WSH_UTIL_CORE.api_post_call( p_return_status => l_return_status,
6104: x_num_warnings =>l_num_warnings,
6105: x_num_errors =>l_num_errors);

Line 6125: WSH_DEBUG_SV.logmsg(l_module_name,'Over Shipment for order line '|| p_oe_interface_rec.source_line_id);

6121: (l_fulfill_base = 'P' and l_tot_dd_shp_qty > l_tot_ord_qty) or
6122: (l_fulfill_base = 'S' and l_tot_dd_shp_qty2 > l_tot_ord_qty2))) THEN
6123: --{
6124: IF l_debug_on THEN
6125: WSH_DEBUG_SV.logmsg(l_module_name,'Over Shipment for order line '|| p_oe_interface_rec.source_line_id);
6126: END IF;
6127: IF (p_oe_interface_rec.top_model_line_id IS NULL) THEN
6128: --{
6129: -- This part actually is not being used since UI doesn't allow

Line 6133: WSH_DEBUG_SV.logmsg(l_module_name, '===============');

6129: -- This part actually is not being used since UI doesn't allow
6130: -- over shipment beyong tolerance
6131: --haperf
6132: IF l_debug_on THEN
6133: WSH_DEBUG_SV.logmsg(l_module_name, '===============');
6134: WSH_DEBUG_SV.logmsg(l_module_name, 'Tolerance Check');
6135: WSH_DEBUG_SV.logmsg(l_module_name, '===============');
6136: END IF;
6137:

Line 6134: WSH_DEBUG_SV.logmsg(l_module_name, 'Tolerance Check');

6130: -- over shipment beyong tolerance
6131: --haperf
6132: IF l_debug_on THEN
6133: WSH_DEBUG_SV.logmsg(l_module_name, '===============');
6134: WSH_DEBUG_SV.logmsg(l_module_name, 'Tolerance Check');
6135: WSH_DEBUG_SV.logmsg(l_module_name, '===============');
6136: END IF;
6137:
6138: Check_Tolerance( p_stop_id => NULL ,

Line 6135: WSH_DEBUG_SV.logmsg(l_module_name, '===============');

6131: --haperf
6132: IF l_debug_on THEN
6133: WSH_DEBUG_SV.logmsg(l_module_name, '===============');
6134: WSH_DEBUG_SV.logmsg(l_module_name, 'Tolerance Check');
6135: WSH_DEBUG_SV.logmsg(l_module_name, '===============');
6136: END IF;
6137:
6138: Check_Tolerance( p_stop_id => NULL ,
6139: p_source_line_id => p_oe_interface_rec.source_line_id ,

Line 6183: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status);

6179: x_return_status := l_return_status;
6180: END IF;
6181:
6182: IF l_debug_on THEN
6183: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status);
6184: WSH_DEBUG_SV.pop(l_module_name);
6185: END IF;
6186:
6187: EXCEPTION

Line 6184: WSH_DEBUG_SV.pop(l_module_name);

6180: END IF;
6181:
6182: IF l_debug_on THEN
6183: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status);
6184: WSH_DEBUG_SV.pop(l_module_name);
6185: END IF;
6186:
6187: EXCEPTION
6188:

Line 6206: WSH_DEBUG_SV.logmsg(l_module_name, 'ERROR IN Handle_Tolerances ' );

6202: close c_picked_dd;
6203: END IF;
6204:
6205: IF l_debug_on THEN
6206: WSH_DEBUG_SV.logmsg(l_module_name, 'ERROR IN Handle_Tolerances ' );
6207: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:fnd_api.g_exc_error');
6208: END IF;
6209:
6210:

Line 6207: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:fnd_api.g_exc_error');

6203: END IF;
6204:
6205: IF l_debug_on THEN
6206: WSH_DEBUG_SV.logmsg(l_module_name, 'ERROR IN Handle_Tolerances ' );
6207: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:fnd_api.g_exc_error');
6208: END IF;
6209:
6210:
6211: WHEN others THEN

Line 6232: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Handle_Tolerances ' );

6228: wsh_util_core.printMsg('API Handle_Tolerances failed with an unexpected error');
6229: WSH_UTIL_CORE.PrintMsg('The unexpected error is ' || l_error_text);
6230: --
6231: IF l_debug_on THEN
6232: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Handle_Tolerances ' );
6233: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
6234: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
6235: END IF;
6236:

Line 6233: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

6229: WSH_UTIL_CORE.PrintMsg('The unexpected error is ' || l_error_text);
6230: --
6231: IF l_debug_on THEN
6232: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Handle_Tolerances ' );
6233: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
6234: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
6235: END IF;
6236:
6237: END Handle_Tolerances;

Line 6234: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

6230: --
6231: IF l_debug_on THEN
6232: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Handle_Tolerances ' );
6233: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
6234: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
6235: END IF;
6236:
6237: END Handle_Tolerances;
6238:

Line 6260: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

6256: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
6257: --
6258: IF l_debug_on IS NULL
6259: THEN
6260: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
6261: END IF;
6262: --
6263: IF l_debug_on THEN
6264: WSH_DEBUG_SV.push(l_module_name);

Line 6264: WSH_DEBUG_SV.push(l_module_name);

6260: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
6261: END IF;
6262: --
6263: IF l_debug_on THEN
6264: WSH_DEBUG_SV.push(l_module_name);
6265: --
6266: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_CODE',P_SOURCE_CODE);
6267: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
6268: END IF;

Line 6266: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_CODE',P_SOURCE_CODE);

6262: --
6263: IF l_debug_on THEN
6264: WSH_DEBUG_SV.push(l_module_name);
6265: --
6266: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_CODE',P_SOURCE_CODE);
6267: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
6268: END IF;
6269: --
6270: SELECT count(*) into l_count

Line 6267: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);

6263: IF l_debug_on THEN
6264: WSH_DEBUG_SV.push(l_module_name);
6265: --
6266: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_CODE',P_SOURCE_CODE);
6267: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
6268: END IF;
6269: --
6270: SELECT count(*) into l_count
6271: from wsh_delivery_details

Line 6279: WSH_DEBUG_SV.log(l_module_name,'l_count',l_count);

6275: and container_flag = 'N'
6276: and released_status <> 'D' ; /* H integration: wrudge */
6277:
6278: IF l_debug_on THEN
6279: WSH_DEBUG_SV.log(l_module_name,'l_count',l_count);
6280: END IF;
6281: if (l_count > 0 ) THEN
6282: --
6283: IF l_debug_on THEN

Line 6284: WSH_DEBUG_SV.pop(l_module_name);

6280: END IF;
6281: if (l_count > 0 ) THEN
6282: --
6283: IF l_debug_on THEN
6284: WSH_DEBUG_SV.pop(l_module_name);
6285: END IF;
6286: --
6287: return TRUE;
6288: --

Line 6290: WSH_DEBUG_SV.pop(l_module_name);

6286: --
6287: return TRUE;
6288: --
6289: IF l_debug_on THEN
6290: WSH_DEBUG_SV.pop(l_module_name);
6291: END IF;
6292: --
6293: else return FALSE;
6294: END if;

Line 6311: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

6307: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
6308: --
6309: IF l_debug_on IS NULL
6310: THEN
6311: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
6312: END IF;
6313: --
6314: IF l_debug_on THEN
6315: WSH_DEBUG_SV.push(l_module_name);

Line 6315: WSH_DEBUG_SV.push(l_module_name);

6311: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
6312: END IF;
6313: --
6314: IF l_debug_on THEN
6315: WSH_DEBUG_SV.push(l_module_name);
6316: --
6317: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_CODE',P_SOURCE_CODE);
6318: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
6319: END IF;

Line 6317: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_CODE',P_SOURCE_CODE);

6313: --
6314: IF l_debug_on THEN
6315: WSH_DEBUG_SV.push(l_module_name);
6316: --
6317: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_CODE',P_SOURCE_CODE);
6318: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
6319: END IF;
6320: --
6321: if (part_of_pto(p_source_code,p_source_line_id) = TRUE) THEN

Line 6318: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);

6314: IF l_debug_on THEN
6315: WSH_DEBUG_SV.push(l_module_name);
6316: --
6317: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_CODE',P_SOURCE_CODE);
6318: WSH_DEBUG_SV.log(l_module_name,'P_SOURCE_LINE_ID',P_SOURCE_LINE_ID);
6319: END IF;
6320: --
6321: if (part_of_pto(p_source_code,p_source_line_id) = TRUE) THEN
6322: SELECT distinct top_model_line_id into l_top_id

Line 6329: WSH_DEBUG_SV.log(l_module_name,'l_top_id',l_top_id);

6325: and source_code = p_source_code
6326: and container_flag = 'N'
6327: and released_status <> 'D' ; /* H integration: wrudge */
6328: IF l_debug_on THEN
6329: WSH_DEBUG_SV.log(l_module_name,'l_top_id',l_top_id);
6330: WSH_DEBUG_SV.pop(l_module_name);
6331: END IF;
6332: --
6333: return l_top_id;

Line 6330: WSH_DEBUG_SV.pop(l_module_name);

6326: and container_flag = 'N'
6327: and released_status <> 'D' ; /* H integration: wrudge */
6328: IF l_debug_on THEN
6329: WSH_DEBUG_SV.log(l_module_name,'l_top_id',l_top_id);
6330: WSH_DEBUG_SV.pop(l_module_name);
6331: END IF;
6332: --
6333: return l_top_id;
6334: else

Line 6338: WSH_DEBUG_SV.pop(l_module_name);

6334: else
6335: NULL;
6336: END if;
6337: IF l_debug_on THEN
6338: WSH_DEBUG_SV.pop(l_module_name);
6339: END IF;
6340:
6341: END Top_Of_Model;
6342:

Line 6375: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

6371: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
6372: --
6373: IF l_debug_on IS NULL
6374: THEN
6375: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
6376: END IF;
6377: --
6378: IF l_debug_on THEN
6379: WSH_DEBUG_SV.push(l_module_name);

Line 6379: WSH_DEBUG_SV.push(l_module_name);

6375: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
6376: END IF;
6377: --
6378: IF l_debug_on THEN
6379: WSH_DEBUG_SV.push(l_module_name);
6380: --
6381: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
6382: END IF;
6383: --

Line 6381: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);

6377: --
6378: IF l_debug_on THEN
6379: WSH_DEBUG_SV.push(l_module_name);
6380: --
6381: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
6382: END IF;
6383: --
6384: update wsh_delivery_details dd
6385: set inv_interfaced_flag = c_inv_int_full ,

Line 6420: WSH_DEBUG_SV.logmsg(l_module_name, 'NUMBER OF ROWS UPDATED AS INTERFACED TO INVENTORY = ' || SQL%ROWCOUNT );

6416: and dd.source_code <> 'RTV' -- RTV changes
6417: and dd.released_status <> 'D'; /* H integration: wrudge */
6418: --
6419: IF l_debug_on THEN
6420: WSH_DEBUG_SV.logmsg(l_module_name, 'NUMBER OF ROWS UPDATED AS INTERFACED TO INVENTORY = ' || SQL%ROWCOUNT );
6421: WSH_DEBUG_SV.pop(l_module_name);
6422: END IF;
6423: --
6424: exception

Line 6421: WSH_DEBUG_SV.pop(l_module_name);

6417: and dd.released_status <> 'D'; /* H integration: wrudge */
6418: --
6419: IF l_debug_on THEN
6420: WSH_DEBUG_SV.logmsg(l_module_name, 'NUMBER OF ROWS UPDATED AS INTERFACED TO INVENTORY = ' || SQL%ROWCOUNT );
6421: WSH_DEBUG_SV.pop(l_module_name);
6422: END IF;
6423: --
6424: exception
6425: WHEN others THEN

Line 6431: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

6427: WSH_UTIL_CORE.PrintMsg('UPDATE_INTERFACED_DETAILS : unexpected error ');
6428: WSH_UTIL_CORE.PrintMsg( SQLCODE || ' : ' || SQLERRM );
6429:
6430: IF l_debug_on THEN
6431: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
6432: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
6433: END IF;
6434: --
6435: end update_interfaced_details ;

Line 6432: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

6428: WSH_UTIL_CORE.PrintMsg( SQLCODE || ' : ' || SQLERRM );
6429:
6430: IF l_debug_on THEN
6431: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
6432: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
6433: END IF;
6434: --
6435: end update_interfaced_details ;
6436:

Line 6465: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

6461: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
6462: --
6463: IF l_debug_on IS NULL
6464: THEN
6465: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
6466: END IF;
6467: --
6468: IF l_debug_on THEN
6469: WSH_DEBUG_SV.push(l_module_name);

Line 6469: WSH_DEBUG_SV.push(l_module_name);

6465: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
6466: END IF;
6467: --
6468: IF l_debug_on THEN
6469: WSH_DEBUG_SV.push(l_module_name);
6470: --
6471: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
6472:
6473: l_log_level :=1;

Line 6471: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);

6467: --
6468: IF l_debug_on THEN
6469: WSH_DEBUG_SV.push(l_module_name);
6470: --
6471: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
6472:
6473: l_log_level :=1;
6474: END IF;
6475: --

Line 6491: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);

6487: errbuf := 'OM interface is completed with error';
6488: END IF;
6489: --
6490: IF l_debug_on THEN
6491: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);
6492: WSH_DEBUG_SV.pop(l_module_name);
6493: END IF;
6494: --
6495: END oe_interface;

Line 6492: WSH_DEBUG_SV.pop(l_module_name);

6488: END IF;
6489: --
6490: IF l_debug_on THEN
6491: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);
6492: WSH_DEBUG_SV.pop(l_module_name);
6493: END IF;
6494: --
6495: END oe_interface;
6496:

Line 6581: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

6577: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
6578: --
6579: IF l_debug_on IS NULL
6580: THEN
6581: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
6582: END IF;
6583: --
6584: IF l_debug_on THEN
6585: WSH_DEBUG_SV.push(l_module_name);

Line 6585: WSH_DEBUG_SV.push(l_module_name);

6581: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
6582: END IF;
6583: --
6584: IF l_debug_on THEN
6585: WSH_DEBUG_SV.push(l_module_name);
6586: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
6587: END IF;
6588: --
6589: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;

Line 6586: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);

6582: END IF;
6583: --
6584: IF l_debug_on THEN
6585: WSH_DEBUG_SV.push(l_module_name);
6586: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
6587: END IF;
6588: --
6589: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
6590: x_num_stops_removed := 0;

Line 6598: WSH_DEBUG_SV.log(l_module_name,'l_all_stops_count',l_all_stops_count);

6594: l_all_stops_count := p_stop_tab.COUNT;
6595:
6596: IF l_all_stops_count = 0 THEN
6597: IF l_debug_on THEN
6598: WSH_DEBUG_SV.log(l_module_name,'l_all_stops_count',l_all_stops_count);
6599: WSH_DEBUG_SV.pop(l_module_name);
6600: END IF;
6601: RETURN;
6602: END IF;

Line 6599: WSH_DEBUG_SV.pop(l_module_name);

6595:
6596: IF l_all_stops_count = 0 THEN
6597: IF l_debug_on THEN
6598: WSH_DEBUG_SV.log(l_module_name,'l_all_stops_count',l_all_stops_count);
6599: WSH_DEBUG_SV.pop(l_module_name);
6600: END IF;
6601: RETURN;
6602: END IF;
6603:

Line 6672: WSH_DEBUG_SV.log(l_module_name,'Failed to interface stop to OM',

6668:
6669: IF l_debug_on THEN --{
6670: i := l_err_stops.FIRST;
6671: WHILE i IS NOT NULL LOOP
6672: WSH_DEBUG_SV.log(l_module_name,'Failed to interface stop to OM',
6673: l_err_stops(i));
6674: i := l_err_stops.NEXT(i);
6675: END LOOP;
6676: END IF; --}

Line 6680: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status );

6676: END IF; --}
6677:
6678:
6679: IF l_debug_on THEN
6680: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status );
6681: WSH_DEBUG_SV.log(l_module_name,'l_err_stops.count',l_err_stops.COUNT );
6682: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count',x_stop_tab.COUNT );
6683: WSH_DEBUG_SV.log(l_module_name,'l_all_stops_count',l_all_stops_count );
6684: WSH_DEBUG_SV.log(l_module_name,'x_num_stops_removed',x_num_stops_removed );

Line 6681: WSH_DEBUG_SV.log(l_module_name,'l_err_stops.count',l_err_stops.COUNT );

6677:
6678:
6679: IF l_debug_on THEN
6680: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status );
6681: WSH_DEBUG_SV.log(l_module_name,'l_err_stops.count',l_err_stops.COUNT );
6682: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count',x_stop_tab.COUNT );
6683: WSH_DEBUG_SV.log(l_module_name,'l_all_stops_count',l_all_stops_count );
6684: WSH_DEBUG_SV.log(l_module_name,'x_num_stops_removed',x_num_stops_removed );
6685: WSH_DEBUG_SV.pop(l_module_name);

Line 6682: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count',x_stop_tab.COUNT );

6678:
6679: IF l_debug_on THEN
6680: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status );
6681: WSH_DEBUG_SV.log(l_module_name,'l_err_stops.count',l_err_stops.COUNT );
6682: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count',x_stop_tab.COUNT );
6683: WSH_DEBUG_SV.log(l_module_name,'l_all_stops_count',l_all_stops_count );
6684: WSH_DEBUG_SV.log(l_module_name,'x_num_stops_removed',x_num_stops_removed );
6685: WSH_DEBUG_SV.pop(l_module_name);
6686: END IF;

Line 6683: WSH_DEBUG_SV.log(l_module_name,'l_all_stops_count',l_all_stops_count );

6679: IF l_debug_on THEN
6680: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status );
6681: WSH_DEBUG_SV.log(l_module_name,'l_err_stops.count',l_err_stops.COUNT );
6682: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count',x_stop_tab.COUNT );
6683: WSH_DEBUG_SV.log(l_module_name,'l_all_stops_count',l_all_stops_count );
6684: WSH_DEBUG_SV.log(l_module_name,'x_num_stops_removed',x_num_stops_removed );
6685: WSH_DEBUG_SV.pop(l_module_name);
6686: END IF;
6687:

Line 6684: WSH_DEBUG_SV.log(l_module_name,'x_num_stops_removed',x_num_stops_removed );

6680: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status );
6681: WSH_DEBUG_SV.log(l_module_name,'l_err_stops.count',l_err_stops.COUNT );
6682: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count',x_stop_tab.COUNT );
6683: WSH_DEBUG_SV.log(l_module_name,'l_all_stops_count',l_all_stops_count );
6684: WSH_DEBUG_SV.log(l_module_name,'x_num_stops_removed',x_num_stops_removed );
6685: WSH_DEBUG_SV.pop(l_module_name);
6686: END IF;
6687:
6688: EXCEPTION

Line 6685: WSH_DEBUG_SV.pop(l_module_name);

6681: WSH_DEBUG_SV.log(l_module_name,'l_err_stops.count',l_err_stops.COUNT );
6682: WSH_DEBUG_SV.log(l_module_name,'x_stop_tab.count',x_stop_tab.COUNT );
6683: WSH_DEBUG_SV.log(l_module_name,'l_all_stops_count',l_all_stops_count );
6684: WSH_DEBUG_SV.log(l_module_name,'x_num_stops_removed',x_num_stops_removed );
6685: WSH_DEBUG_SV.pop(l_module_name);
6686: END IF;
6687:
6688: EXCEPTION
6689:

Line 6696: wsh_debug_sv.logmsg(l_module_name, 'Unexpected error has occured. Oracle error message is ' || SQLERRM, wsh_debug_sv.c_unexpec_err_level);

6692: x_return_status := wsh_util_core.g_ret_sts_unexp_error;
6693: wsh_util_core.default_handler('WSH_SHIP_CONFIRM_ACTIONS.Filter_Stops_From_Batch');
6694:
6695: IF l_debug_on THEN
6696: wsh_debug_sv.logmsg(l_module_name, 'Unexpected error has occured. Oracle error message is ' || SQLERRM, wsh_debug_sv.c_unexpec_err_level);
6697: wsh_debug_sv.pop(l_module_name, 'EXCEPTION:OTHERS');
6698: END IF;
6699:
6700:

Line 6697: wsh_debug_sv.pop(l_module_name, 'EXCEPTION:OTHERS');

6693: wsh_util_core.default_handler('WSH_SHIP_CONFIRM_ACTIONS.Filter_Stops_From_Batch');
6694:
6695: IF l_debug_on THEN
6696: wsh_debug_sv.logmsg(l_module_name, 'Unexpected error has occured. Oracle error message is ' || SQLERRM, wsh_debug_sv.c_unexpec_err_level);
6697: wsh_debug_sv.pop(l_module_name, 'EXCEPTION:OTHERS');
6698: END IF;
6699:
6700:
6701: END Filter_Stops_From_Batch;

Line 6768: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

6764: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
6765: --
6766: IF l_debug_on IS NULL
6767: THEN
6768: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
6769: END IF;
6770: --
6771: IF l_debug_on THEN
6772: WSH_DEBUG_SV.push(l_module_name);

Line 6772: WSH_DEBUG_SV.push(l_module_name);

6768: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
6769: END IF;
6770: --
6771: IF l_debug_on THEN
6772: WSH_DEBUG_SV.push(l_module_name);
6773: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
6774: END IF;
6775: --
6776:

Line 6773: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);

6769: END IF;
6770: --
6771: IF l_debug_on THEN
6772: WSH_DEBUG_SV.push(l_module_name);
6773: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
6774: END IF;
6775: --
6776:
6777: x_num_stops_removed := 0;

Line 6786: WSH_DEBUG_SV.logmsg(l_module_name, 'OM INTERFACE CANNOT FIND BATCH ID ' || p_batch_id );

6782: CLOSE lock_row;
6783: x_completion_status := 'ERROR';
6784: --
6785: IF l_debug_on THEN
6786: WSH_DEBUG_SV.logmsg(l_module_name, 'OM INTERFACE CANNOT FIND BATCH ID ' || p_batch_id );
6787: WSH_DEBUG_SV.log(l_module_name,'x_completion_status',x_completion_status);
6788: WSH_DEBUG_SV.pop(l_module_name);
6789: END IF;
6790: --

Line 6787: WSH_DEBUG_SV.log(l_module_name,'x_completion_status',x_completion_status);

6783: x_completion_status := 'ERROR';
6784: --
6785: IF l_debug_on THEN
6786: WSH_DEBUG_SV.logmsg(l_module_name, 'OM INTERFACE CANNOT FIND BATCH ID ' || p_batch_id );
6787: WSH_DEBUG_SV.log(l_module_name,'x_completion_status',x_completion_status);
6788: WSH_DEBUG_SV.pop(l_module_name);
6789: END IF;
6790: --
6791: return;

Line 6788: WSH_DEBUG_SV.pop(l_module_name);

6784: --
6785: IF l_debug_on THEN
6786: WSH_DEBUG_SV.logmsg(l_module_name, 'OM INTERFACE CANNOT FIND BATCH ID ' || p_batch_id );
6787: WSH_DEBUG_SV.log(l_module_name,'x_completion_status',x_completion_status);
6788: WSH_DEBUG_SV.pop(l_module_name);
6789: END IF;
6790: --
6791: return;
6792: END IF;

Line 6796: WSH_DEBUG_SV.logmsg(l_module_name, 'OM INTERFACING BATCH ' || TO_CHAR ( p_batch_id ) );

6792: END IF;
6793:
6794: --
6795: IF l_debug_on THEN
6796: WSH_DEBUG_SV.logmsg(l_module_name, 'OM INTERFACING BATCH ' || TO_CHAR ( p_batch_id ) );
6797: END IF;
6798: --
6799:
6800: WSH_SHIP_CONFIRM_ACTIONS.l_currentDate := SYSDATE;

Line 6808: WSH_DEBUG_SV.log(l_module_name,'Interface_Stop_To_OM l_return_status',l_return_status);

6804: p_batch_id => p_batch_id ,
6805: x_return_status => l_return_status);
6806:
6807: IF l_debug_on THEN
6808: WSH_DEBUG_SV.log(l_module_name,'Interface_Stop_To_OM l_return_status',l_return_status);
6809: END IF;
6810:
6811:
6812: l_prev_return_status := l_return_status;

Line 6823: WSH_DEBUG_SV.logmsg(l_module_name, 'Calling TRANSFER_SERIAL_NUMBERS FOR ' || TO_CHAR ( p_batch_id ) );

6819: END if; --}
6820: --HVOP heali
6821: -- Bug 2657652 : Added call to transfer serial records from mtl_serial_numbers_temp to wsh_serial_numbers
6822: IF l_debug_on THEN
6823: WSH_DEBUG_SV.logmsg(l_module_name, 'Calling TRANSFER_SERIAL_NUMBERS FOR ' || TO_CHAR ( p_batch_id ) );
6824: END IF;
6825:
6826: IF l_prev_return_status <> WSH_UTIL_CORE.G_RET_STS_ERROR THEN
6827: transfer_serial_numbers ( p_batch_id => p_batch_id ,

Line 6870: WSH_DEBUG_SV.log(l_module_name,'x_completion_status',x_completion_status);

6866:
6867: x_completion_status := l_completion_status;
6868: --
6869: IF l_debug_on THEN
6870: WSH_DEBUG_SV.log(l_module_name,'x_completion_status',x_completion_status);
6871: WSH_DEBUG_SV.pop(l_module_name);
6872: END IF;
6873: EXCEPTION
6874: when trip_stop_locked Then

Line 6871: WSH_DEBUG_SV.pop(l_module_name);

6867: x_completion_status := l_completion_status;
6868: --
6869: IF l_debug_on THEN
6870: WSH_DEBUG_SV.log(l_module_name,'x_completion_status',x_completion_status);
6871: WSH_DEBUG_SV.pop(l_module_name);
6872: END IF;
6873: EXCEPTION
6874: when trip_stop_locked Then
6875: IF lock_row%ISOPEN THEN

Line 6882: WSH_DEBUG_SV.logmsg(l_module_name,'TRIP_STOP_LOCKED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);

6878: WSH_UTIL_CORE.PrintMsg('This Trip Stop is locked by some other process');
6879: x_completion_status := 'WARNING'; -- continue processing other stops
6880: --
6881: IF l_debug_on THEN
6882: WSH_DEBUG_SV.logmsg(l_module_name,'TRIP_STOP_LOCKED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
6883: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:TRIP_STOP_LOCKED');
6884: END IF;
6885: --
6886:

Line 6883: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:TRIP_STOP_LOCKED');

6879: x_completion_status := 'WARNING'; -- continue processing other stops
6880: --
6881: IF l_debug_on THEN
6882: WSH_DEBUG_SV.logmsg(l_module_name,'TRIP_STOP_LOCKED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
6883: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:TRIP_STOP_LOCKED');
6884: END IF;
6885: --
6886:
6887: WHEN e_Interface_Stop_To_OM then

Line 6900: WSH_DEBUG_SV.logmsg(l_module_name,'e_Interface_Stop_To_OM exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);

6896: CLOSE lock_row;
6897: END IF;
6898: --
6899: IF l_debug_on THEN
6900: WSH_DEBUG_SV.logmsg(l_module_name,'e_Interface_Stop_To_OM exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
6901: WSH_DEBUG_SV.log(l_module_name,'x_completion_status',x_completion_status);
6902: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:e_Interface_Stop_To_OM');
6903: END IF;
6904: --

Line 6901: WSH_DEBUG_SV.log(l_module_name,'x_completion_status',x_completion_status);

6897: END IF;
6898: --
6899: IF l_debug_on THEN
6900: WSH_DEBUG_SV.logmsg(l_module_name,'e_Interface_Stop_To_OM exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
6901: WSH_DEBUG_SV.log(l_module_name,'x_completion_status',x_completion_status);
6902: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:e_Interface_Stop_To_OM');
6903: END IF;
6904: --
6905:

Line 6902: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:e_Interface_Stop_To_OM');

6898: --
6899: IF l_debug_on THEN
6900: WSH_DEBUG_SV.logmsg(l_module_name,'e_Interface_Stop_To_OM exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
6901: WSH_DEBUG_SV.log(l_module_name,'x_completion_status',x_completion_status);
6902: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:e_Interface_Stop_To_OM');
6903: END IF;
6904: --
6905:
6906: WHEN others then

Line 6916: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

6912: CLOSE lock_row;
6913: END IF;
6914: --
6915: IF l_debug_on THEN
6916: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
6917: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
6918: END IF;
6919: --
6920: END oe_interface_trip_stop;

Line 6917: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

6913: END IF;
6914: --
6915: IF l_debug_on THEN
6916: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
6917: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
6918: END IF;
6919: --
6920: END oe_interface_trip_stop;
6921:

Line 7048: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

7044:
7045: BEGIN
7046: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
7047: IF l_debug_on IS NULL THEN
7048: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
7049: END IF;
7050:
7051: IF l_debug_on THEN
7052: WSH_DEBUG_SV.push(l_module_name);

Line 7052: WSH_DEBUG_SV.push(l_module_name);

7048: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
7049: END IF;
7050:
7051: IF l_debug_on THEN
7052: WSH_DEBUG_SV.push(l_module_name);
7053: WSH_DEBUG_SV.log(l_module_name,'P_batch_id',P_batch_id);
7054: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity',p_requested_quantity);
7055: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity',p_shipped_quantity);
7056: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity2',p_requested_quantity2);

Line 7053: WSH_DEBUG_SV.log(l_module_name,'P_batch_id',P_batch_id);

7049: END IF;
7050:
7051: IF l_debug_on THEN
7052: WSH_DEBUG_SV.push(l_module_name);
7053: WSH_DEBUG_SV.log(l_module_name,'P_batch_id',P_batch_id);
7054: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity',p_requested_quantity);
7055: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity',p_shipped_quantity);
7056: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity2',p_requested_quantity2);
7057: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity2',p_shipped_quantity2);

Line 7054: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity',p_requested_quantity);

7050:
7051: IF l_debug_on THEN
7052: WSH_DEBUG_SV.push(l_module_name);
7053: WSH_DEBUG_SV.log(l_module_name,'P_batch_id',P_batch_id);
7054: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity',p_requested_quantity);
7055: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity',p_shipped_quantity);
7056: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity2',p_requested_quantity2);
7057: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity2',p_shipped_quantity2);
7058: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_setsmc_input_rec.top_model_line_id);

Line 7055: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity',p_shipped_quantity);

7051: IF l_debug_on THEN
7052: WSH_DEBUG_SV.push(l_module_name);
7053: WSH_DEBUG_SV.log(l_module_name,'P_batch_id',P_batch_id);
7054: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity',p_requested_quantity);
7055: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity',p_shipped_quantity);
7056: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity2',p_requested_quantity2);
7057: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity2',p_shipped_quantity2);
7058: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_setsmc_input_rec.top_model_line_id);
7059: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_setsmc_input_rec.ship_set_id);

Line 7056: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity2',p_requested_quantity2);

7052: WSH_DEBUG_SV.push(l_module_name);
7053: WSH_DEBUG_SV.log(l_module_name,'P_batch_id',P_batch_id);
7054: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity',p_requested_quantity);
7055: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity',p_shipped_quantity);
7056: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity2',p_requested_quantity2);
7057: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity2',p_shipped_quantity2);
7058: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_setsmc_input_rec.top_model_line_id);
7059: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_setsmc_input_rec.ship_set_id);
7060: WSH_DEBUG_SV.log(l_module_name,'p_source_line_id',p_source_line_id);

Line 7057: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity2',p_shipped_quantity2);

7053: WSH_DEBUG_SV.log(l_module_name,'P_batch_id',P_batch_id);
7054: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity',p_requested_quantity);
7055: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity',p_shipped_quantity);
7056: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity2',p_requested_quantity2);
7057: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity2',p_shipped_quantity2);
7058: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_setsmc_input_rec.top_model_line_id);
7059: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_setsmc_input_rec.ship_set_id);
7060: WSH_DEBUG_SV.log(l_module_name,'p_source_line_id',p_source_line_id);
7061: WSH_DEBUG_SV.log(l_module_name,'p_source_header_id',p_source_header_id);

Line 7058: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_setsmc_input_rec.top_model_line_id);

7054: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity',p_requested_quantity);
7055: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity',p_shipped_quantity);
7056: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity2',p_requested_quantity2);
7057: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity2',p_shipped_quantity2);
7058: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_setsmc_input_rec.top_model_line_id);
7059: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_setsmc_input_rec.ship_set_id);
7060: WSH_DEBUG_SV.log(l_module_name,'p_source_line_id',p_source_line_id);
7061: WSH_DEBUG_SV.log(l_module_name,'p_source_header_id',p_source_header_id);
7062: END IF;

Line 7059: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_setsmc_input_rec.ship_set_id);

7055: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity',p_shipped_quantity);
7056: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity2',p_requested_quantity2);
7057: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity2',p_shipped_quantity2);
7058: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_setsmc_input_rec.top_model_line_id);
7059: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_setsmc_input_rec.ship_set_id);
7060: WSH_DEBUG_SV.log(l_module_name,'p_source_line_id',p_source_line_id);
7061: WSH_DEBUG_SV.log(l_module_name,'p_source_header_id',p_source_header_id);
7062: END IF;
7063:

Line 7060: WSH_DEBUG_SV.log(l_module_name,'p_source_line_id',p_source_line_id);

7056: WSH_DEBUG_SV.log(l_module_name,'p_requested_quantity2',p_requested_quantity2);
7057: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity2',p_shipped_quantity2);
7058: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_setsmc_input_rec.top_model_line_id);
7059: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_setsmc_input_rec.ship_set_id);
7060: WSH_DEBUG_SV.log(l_module_name,'p_source_line_id',p_source_line_id);
7061: WSH_DEBUG_SV.log(l_module_name,'p_source_header_id',p_source_header_id);
7062: END IF;
7063:
7064:

Line 7061: WSH_DEBUG_SV.log(l_module_name,'p_source_header_id',p_source_header_id);

7057: WSH_DEBUG_SV.log(l_module_name,'p_shipped_quantity2',p_shipped_quantity2);
7058: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_setsmc_input_rec.top_model_line_id);
7059: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_setsmc_input_rec.ship_set_id);
7060: WSH_DEBUG_SV.log(l_module_name,'p_source_line_id',p_source_line_id);
7061: WSH_DEBUG_SV.log(l_module_name,'p_source_header_id',p_source_header_id);
7062: END IF;
7063:
7064:
7065: IF (p_requested_quantity =p_shipped_quantity)

Line 7069: WSH_DEBUG_SV.logmsg(l_module_name, 'Request qty and Shipped qty are equal.');

7065: IF (p_requested_quantity =p_shipped_quantity)
7066: AND (nvl(p_requested_quantity2,0) = nvl(p_shipped_quantity2,0))
7067: THEN -- {
7068: IF l_debug_on THEN
7069: WSH_DEBUG_SV.logmsg(l_module_name, 'Request qty and Shipped qty are equal.');
7070: END IF;
7071:
7072: -- Processing Model Line
7073: IF (p_setsmc_input_rec.top_model_line_id is NOT NULL) THEN

Line 7075: WSH_DEBUG_SV.logmsg(l_module_name, ' Processing Model Line');

7071:
7072: -- Processing Model Line
7073: IF (p_setsmc_input_rec.top_model_line_id is NOT NULL) THEN
7074: IF l_debug_on THEN
7075: WSH_DEBUG_SV.logmsg(l_module_name, ' Processing Model Line');
7076: END IF;
7077:
7078: --Check if bulk status is found for current top model line in cache
7079: WSH_UTIL_CORE.get_cached_value(

Line 7090: WSH_DEBUG_SV.logmsg(l_module_name,

7086:
7087: --IF (not found in cache) THEN
7088: IF (l_return_status = WSH_UTIL_CORE.G_RET_STS_WARNING) THEN --{
7089: IF l_debug_on THEN
7090: WSH_DEBUG_SV.logmsg(l_module_name,
7091: ' Calling OE_Shipping_Integration_PUB.Get_SetSMC_Interface_Status');
7092: END IF;
7093: OE_Shipping_Integration_PUB.Get_SetSMC_Interface_Status(
7094: p_setsmc_input_rec => p_setsmc_input_rec,

Line 7099: WSH_DEBUG_SV.log(l_module_name,'l_return_status',

7095: p_setsmc_output_rec => l_setsmc_output_rec,
7096: x_return_status => l_return_status);
7097:
7098: IF l_debug_on THEN
7099: WSH_DEBUG_SV.log(l_module_name,'l_return_status',
7100: l_return_status);
7101: WSH_DEBUG_SV.log(l_module_name,'x_interface_status',
7102: l_setsmc_output_rec.x_interface_status);
7103: END IF;

Line 7101: WSH_DEBUG_SV.log(l_module_name,'x_interface_status',

7097:
7098: IF l_debug_on THEN
7099: WSH_DEBUG_SV.log(l_module_name,'l_return_status',
7100: l_return_status);
7101: WSH_DEBUG_SV.log(l_module_name,'x_interface_status',
7102: l_setsmc_output_rec.x_interface_status);
7103: END IF;
7104: IF l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS THEN
7105: raise FND_API.G_EXC_ERROR;

Line 7148: WSH_DEBUG_SV.logmsg(l_module_name, ' Processing Ship Set Line');

7144: -- Processing Ship Set Line
7145: IF (p_setsmc_input_rec.ship_set_id is NOT NULL)
7146: AND (NVL(l_bulk,TRUE) ) then
7147: IF l_debug_on THEN
7148: WSH_DEBUG_SV.logmsg(l_module_name, ' Processing Ship Set Line');
7149: END IF;
7150:
7151: --Check if bulk status is found for current ship_set line in cache
7152: WSH_UTIL_CORE.get_cached_value(

Line 7163: WSH_DEBUG_SV.logmsg(l_module_name,

7159:
7160: --IF (not found in cache) THEN
7161: IF (l_return_status = WSH_UTIL_CORE.G_RET_STS_WARNING) THEN
7162: IF l_debug_on THEN
7163: WSH_DEBUG_SV.logmsg(l_module_name,
7164: ' Calling OE_Shipping_Integration_PUB.Get_SetSMC_Interface_Status');
7165: END IF;
7166: OE_Shipping_Integration_PUB.Get_SetSMC_Interface_Status(
7167: p_setsmc_input_rec => p_setsmc_input_rec,

Line 7172: WSH_DEBUG_SV.log(l_module_name,'l_return_status',

7168: p_setsmc_output_rec => l_setsmc_output_rec,
7169: x_return_status => l_return_status);
7170:
7171: IF l_debug_on THEN
7172: WSH_DEBUG_SV.log(l_module_name,'l_return_status',
7173: l_return_status);
7174: WSH_DEBUG_SV.log(l_module_name,'x_interface_status',
7175: l_setsmc_output_rec.x_interface_status);
7176: END IF;

Line 7174: WSH_DEBUG_SV.log(l_module_name,'x_interface_status',

7170:
7171: IF l_debug_on THEN
7172: WSH_DEBUG_SV.log(l_module_name,'l_return_status',
7173: l_return_status);
7174: WSH_DEBUG_SV.log(l_module_name,'x_interface_status',
7175: l_setsmc_output_rec.x_interface_status);
7176: END IF;
7177:
7178: IF l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS THEN

Line 7218: WSH_DEBUG_SV.logmsg(l_module_name, ' Processing Standard Line');

7214: --Standard item
7215: IF (p_setsmc_input_rec.ship_set_id is NULL
7216: And p_setsmc_input_rec.top_model_line_id IS NULL) then
7217: IF l_debug_on THEN
7218: WSH_DEBUG_SV.logmsg(l_module_name, ' Processing Standard Line');
7219: END IF;
7220:
7221: --Check if bulk status is found for current ato_line in cache
7222: WSH_UTIL_CORE.get_cached_value(

Line 7264: WSH_DEBUG_SV.logmsg(l_module_name, 'Request qty and Shipped qty are not equal. l_bulk is FALSE');

7260: ELSE -- }{
7261: -- Request qty and Shipped qty are not equal.
7262: l_bulk:=FALSE;
7263: IF l_debug_on THEN
7264: WSH_DEBUG_SV.logmsg(l_module_name, 'Request qty and Shipped qty are not equal. l_bulk is FALSE');
7265: END IF;
7266: END IF; -- }
7267:
7268:

Line 7270: WSH_DEBUG_SV.pop(l_module_name);

7266: END IF; -- }
7267:
7268:
7269: IF l_debug_on THEN
7270: WSH_DEBUG_SV.pop(l_module_name);
7271: END IF;
7272:
7273: RETURN NVL(l_bulk, FALSE);
7274: EXCEPTION

Line 7277: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Is_OM_Bulk_Enable' );

7273: RETURN NVL(l_bulk, FALSE);
7274: EXCEPTION
7275: WHEN others THEN
7276: IF l_debug_on THEN
7277: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Is_OM_Bulk_Enable' );
7278: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,
7279: WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
7280: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
7281: END IF;

Line 7278: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,

7274: EXCEPTION
7275: WHEN others THEN
7276: IF l_debug_on THEN
7277: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Is_OM_Bulk_Enable' );
7278: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,
7279: WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
7280: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
7281: END IF;
7282: raise e_raise_others;

Line 7279: WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

7275: WHEN others THEN
7276: IF l_debug_on THEN
7277: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Is_OM_Bulk_Enable' );
7278: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,
7279: WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
7280: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
7281: END IF;
7282: raise e_raise_others;
7283: END Is_OM_Bulk_Enable;

Line 7280: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

7276: IF l_debug_on THEN
7277: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Is_OM_Bulk_Enable' );
7278: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,
7279: WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
7280: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
7281: END IF;
7282: raise e_raise_others;
7283: END Is_OM_Bulk_Enable;
7284:

Line 7316: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

7312:
7313: BEGIN
7314: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
7315: IF l_debug_on IS NULL THEN
7316: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
7317: END IF;
7318:
7319: IF l_debug_on THEN
7320: WSH_DEBUG_SV.push(l_module_name);

Line 7320: WSH_DEBUG_SV.push(l_module_name);

7316: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
7317: END IF;
7318:
7319: IF l_debug_on THEN
7320: WSH_DEBUG_SV.push(l_module_name);
7321: WSH_DEBUG_SV.log(l_module_name,'p_start_index',p_start_index);
7322: WSH_DEBUG_SV.log(l_module_name,'p_end_index',p_end_index);
7323: END IF;
7324: IF (p_start_index is null or p_end_index is null) THEN

Line 7321: WSH_DEBUG_SV.log(l_module_name,'p_start_index',p_start_index);

7317: END IF;
7318:
7319: IF l_debug_on THEN
7320: WSH_DEBUG_SV.push(l_module_name);
7321: WSH_DEBUG_SV.log(l_module_name,'p_start_index',p_start_index);
7322: WSH_DEBUG_SV.log(l_module_name,'p_end_index',p_end_index);
7323: END IF;
7324: IF (p_start_index is null or p_end_index is null) THEN
7325: l_start_index := p_ship_line.fulfilled_flag.first;

Line 7322: WSH_DEBUG_SV.log(l_module_name,'p_end_index',p_end_index);

7318:
7319: IF l_debug_on THEN
7320: WSH_DEBUG_SV.push(l_module_name);
7321: WSH_DEBUG_SV.log(l_module_name,'p_start_index',p_start_index);
7322: WSH_DEBUG_SV.log(l_module_name,'p_end_index',p_end_index);
7323: END IF;
7324: IF (p_start_index is null or p_end_index is null) THEN
7325: l_start_index := p_ship_line.fulfilled_flag.first;
7326: l_end_index := p_ship_line.fulfilled_flag.last;

Line 7338: WSH_DEBUG_SV.logmsg(l_module_name,'#########NON BULK##############');

7334:
7335: IF (p_bulk_mode='N') THEN
7336: FOR i IN l_start_index..l_end_index LOOP
7337:
7338: WSH_DEBUG_SV.logmsg(l_module_name,'#########NON BULK##############');
7339: WSH_DEBUG_SV.log(l_module_name,'Index',i);
7340: WSH_DEBUG_SV.log(l_module_name,'fulfilled_flag',p_ship_line.fulfilled_flag(i));
7341: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));
7342: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));

Line 7339: WSH_DEBUG_SV.log(l_module_name,'Index',i);

7335: IF (p_bulk_mode='N') THEN
7336: FOR i IN l_start_index..l_end_index LOOP
7337:
7338: WSH_DEBUG_SV.logmsg(l_module_name,'#########NON BULK##############');
7339: WSH_DEBUG_SV.log(l_module_name,'Index',i);
7340: WSH_DEBUG_SV.log(l_module_name,'fulfilled_flag',p_ship_line.fulfilled_flag(i));
7341: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));
7342: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));
7343: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));

Line 7340: WSH_DEBUG_SV.log(l_module_name,'fulfilled_flag',p_ship_line.fulfilled_flag(i));

7336: FOR i IN l_start_index..l_end_index LOOP
7337:
7338: WSH_DEBUG_SV.logmsg(l_module_name,'#########NON BULK##############');
7339: WSH_DEBUG_SV.log(l_module_name,'Index',i);
7340: WSH_DEBUG_SV.log(l_module_name,'fulfilled_flag',p_ship_line.fulfilled_flag(i));
7341: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));
7342: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));
7343: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));
7344: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));

Line 7341: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));

7337:
7338: WSH_DEBUG_SV.logmsg(l_module_name,'#########NON BULK##############');
7339: WSH_DEBUG_SV.log(l_module_name,'Index',i);
7340: WSH_DEBUG_SV.log(l_module_name,'fulfilled_flag',p_ship_line.fulfilled_flag(i));
7341: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));
7342: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));
7343: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));
7344: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));
7345: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));

Line 7342: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));

7338: WSH_DEBUG_SV.logmsg(l_module_name,'#########NON BULK##############');
7339: WSH_DEBUG_SV.log(l_module_name,'Index',i);
7340: WSH_DEBUG_SV.log(l_module_name,'fulfilled_flag',p_ship_line.fulfilled_flag(i));
7341: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));
7342: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));
7343: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));
7344: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));
7345: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));
7346: -- muom

Line 7343: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));

7339: WSH_DEBUG_SV.log(l_module_name,'Index',i);
7340: WSH_DEBUG_SV.log(l_module_name,'fulfilled_flag',p_ship_line.fulfilled_flag(i));
7341: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));
7342: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));
7343: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));
7344: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));
7345: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));
7346: -- muom
7347: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));

Line 7344: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));

7340: WSH_DEBUG_SV.log(l_module_name,'fulfilled_flag',p_ship_line.fulfilled_flag(i));
7341: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));
7342: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));
7343: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));
7344: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));
7345: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));
7346: -- muom
7347: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));
7348: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));

Line 7345: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));

7341: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));
7342: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));
7343: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));
7344: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));
7345: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));
7346: -- muom
7347: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));
7348: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));
7349: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));

Line 7347: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));

7343: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));
7344: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));
7345: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));
7346: -- muom
7347: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));
7348: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));
7349: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));
7350: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_ship_line.top_model_line_id(i));
7351: WSH_DEBUG_SV.log(l_module_name,'ato_line_id',p_ship_line.ato_line_id(i));

Line 7348: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));

7344: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));
7345: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));
7346: -- muom
7347: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));
7348: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));
7349: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));
7350: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_ship_line.top_model_line_id(i));
7351: WSH_DEBUG_SV.log(l_module_name,'ato_line_id',p_ship_line.ato_line_id(i));
7352: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_ship_line.ship_set_id(i));

Line 7349: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));

7345: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));
7346: -- muom
7347: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));
7348: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));
7349: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));
7350: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_ship_line.top_model_line_id(i));
7351: WSH_DEBUG_SV.log(l_module_name,'ato_line_id',p_ship_line.ato_line_id(i));
7352: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_ship_line.ship_set_id(i));
7353: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));

Line 7350: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_ship_line.top_model_line_id(i));

7346: -- muom
7347: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));
7348: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));
7349: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));
7350: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_ship_line.top_model_line_id(i));
7351: WSH_DEBUG_SV.log(l_module_name,'ato_line_id',p_ship_line.ato_line_id(i));
7352: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_ship_line.ship_set_id(i));
7353: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));
7354: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',p_ship_line.inventory_item_id(i));

Line 7351: WSH_DEBUG_SV.log(l_module_name,'ato_line_id',p_ship_line.ato_line_id(i));

7347: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));
7348: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));
7349: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));
7350: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_ship_line.top_model_line_id(i));
7351: WSH_DEBUG_SV.log(l_module_name,'ato_line_id',p_ship_line.ato_line_id(i));
7352: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_ship_line.ship_set_id(i));
7353: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));
7354: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',p_ship_line.inventory_item_id(i));
7355: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',p_ship_line.ship_from_org_id(i));

Line 7352: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_ship_line.ship_set_id(i));

7348: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));
7349: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));
7350: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_ship_line.top_model_line_id(i));
7351: WSH_DEBUG_SV.log(l_module_name,'ato_line_id',p_ship_line.ato_line_id(i));
7352: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_ship_line.ship_set_id(i));
7353: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));
7354: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',p_ship_line.inventory_item_id(i));
7355: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',p_ship_line.ship_from_org_id(i));
7356: WSH_DEBUG_SV.log(l_module_name,'line_set_id',p_ship_line.line_set_id(i));

Line 7353: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));

7349: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));
7350: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_ship_line.top_model_line_id(i));
7351: WSH_DEBUG_SV.log(l_module_name,'ato_line_id',p_ship_line.ato_line_id(i));
7352: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_ship_line.ship_set_id(i));
7353: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));
7354: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',p_ship_line.inventory_item_id(i));
7355: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',p_ship_line.ship_from_org_id(i));
7356: WSH_DEBUG_SV.log(l_module_name,'line_set_id',p_ship_line.line_set_id(i));
7357: WSH_DEBUG_SV.log(l_module_name,'smc_flag',p_ship_line.smc_flag(i));

Line 7354: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',p_ship_line.inventory_item_id(i));

7350: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',p_ship_line.top_model_line_id(i));
7351: WSH_DEBUG_SV.log(l_module_name,'ato_line_id',p_ship_line.ato_line_id(i));
7352: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_ship_line.ship_set_id(i));
7353: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));
7354: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',p_ship_line.inventory_item_id(i));
7355: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',p_ship_line.ship_from_org_id(i));
7356: WSH_DEBUG_SV.log(l_module_name,'line_set_id',p_ship_line.line_set_id(i));
7357: WSH_DEBUG_SV.log(l_module_name,'smc_flag',p_ship_line.smc_flag(i));
7358: WSH_DEBUG_SV.log(l_module_name,'over_ship_reason_code',p_ship_line.over_ship_reason_code(i));

Line 7355: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',p_ship_line.ship_from_org_id(i));

7351: WSH_DEBUG_SV.log(l_module_name,'ato_line_id',p_ship_line.ato_line_id(i));
7352: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_ship_line.ship_set_id(i));
7353: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));
7354: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',p_ship_line.inventory_item_id(i));
7355: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',p_ship_line.ship_from_org_id(i));
7356: WSH_DEBUG_SV.log(l_module_name,'line_set_id',p_ship_line.line_set_id(i));
7357: WSH_DEBUG_SV.log(l_module_name,'smc_flag',p_ship_line.smc_flag(i));
7358: WSH_DEBUG_SV.log(l_module_name,'over_ship_reason_code',p_ship_line.over_ship_reason_code(i));
7359: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',p_ship_line.requested_quantity(i));

Line 7356: WSH_DEBUG_SV.log(l_module_name,'line_set_id',p_ship_line.line_set_id(i));

7352: WSH_DEBUG_SV.log(l_module_name,'ship_set_id',p_ship_line.ship_set_id(i));
7353: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));
7354: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',p_ship_line.inventory_item_id(i));
7355: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',p_ship_line.ship_from_org_id(i));
7356: WSH_DEBUG_SV.log(l_module_name,'line_set_id',p_ship_line.line_set_id(i));
7357: WSH_DEBUG_SV.log(l_module_name,'smc_flag',p_ship_line.smc_flag(i));
7358: WSH_DEBUG_SV.log(l_module_name,'over_ship_reason_code',p_ship_line.over_ship_reason_code(i));
7359: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',p_ship_line.requested_quantity(i));
7360: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',p_ship_line.requested_quantity2(i));

Line 7357: WSH_DEBUG_SV.log(l_module_name,'smc_flag',p_ship_line.smc_flag(i));

7353: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));
7354: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',p_ship_line.inventory_item_id(i));
7355: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',p_ship_line.ship_from_org_id(i));
7356: WSH_DEBUG_SV.log(l_module_name,'line_set_id',p_ship_line.line_set_id(i));
7357: WSH_DEBUG_SV.log(l_module_name,'smc_flag',p_ship_line.smc_flag(i));
7358: WSH_DEBUG_SV.log(l_module_name,'over_ship_reason_code',p_ship_line.over_ship_reason_code(i));
7359: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',p_ship_line.requested_quantity(i));
7360: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',p_ship_line.requested_quantity2(i));
7361: WSH_DEBUG_SV.log(l_module_name,'pending_quantity',p_ship_line.pending_quantity(i));

Line 7358: WSH_DEBUG_SV.log(l_module_name,'over_ship_reason_code',p_ship_line.over_ship_reason_code(i));

7354: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',p_ship_line.inventory_item_id(i));
7355: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',p_ship_line.ship_from_org_id(i));
7356: WSH_DEBUG_SV.log(l_module_name,'line_set_id',p_ship_line.line_set_id(i));
7357: WSH_DEBUG_SV.log(l_module_name,'smc_flag',p_ship_line.smc_flag(i));
7358: WSH_DEBUG_SV.log(l_module_name,'over_ship_reason_code',p_ship_line.over_ship_reason_code(i));
7359: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',p_ship_line.requested_quantity(i));
7360: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',p_ship_line.requested_quantity2(i));
7361: WSH_DEBUG_SV.log(l_module_name,'pending_quantity',p_ship_line.pending_quantity(i));
7362: WSH_DEBUG_SV.log(l_module_name,'pending_quantity2',p_ship_line.pending_quantity2(i));

Line 7359: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',p_ship_line.requested_quantity(i));

7355: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',p_ship_line.ship_from_org_id(i));
7356: WSH_DEBUG_SV.log(l_module_name,'line_set_id',p_ship_line.line_set_id(i));
7357: WSH_DEBUG_SV.log(l_module_name,'smc_flag',p_ship_line.smc_flag(i));
7358: WSH_DEBUG_SV.log(l_module_name,'over_ship_reason_code',p_ship_line.over_ship_reason_code(i));
7359: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',p_ship_line.requested_quantity(i));
7360: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',p_ship_line.requested_quantity2(i));
7361: WSH_DEBUG_SV.log(l_module_name,'pending_quantity',p_ship_line.pending_quantity(i));
7362: WSH_DEBUG_SV.log(l_module_name,'pending_quantity2',p_ship_line.pending_quantity2(i));
7363: WSH_DEBUG_SV.log(l_module_name,'pending_requested_flag',p_ship_line.pending_requested_flag(i));

Line 7360: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',p_ship_line.requested_quantity2(i));

7356: WSH_DEBUG_SV.log(l_module_name,'line_set_id',p_ship_line.line_set_id(i));
7357: WSH_DEBUG_SV.log(l_module_name,'smc_flag',p_ship_line.smc_flag(i));
7358: WSH_DEBUG_SV.log(l_module_name,'over_ship_reason_code',p_ship_line.over_ship_reason_code(i));
7359: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',p_ship_line.requested_quantity(i));
7360: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',p_ship_line.requested_quantity2(i));
7361: WSH_DEBUG_SV.log(l_module_name,'pending_quantity',p_ship_line.pending_quantity(i));
7362: WSH_DEBUG_SV.log(l_module_name,'pending_quantity2',p_ship_line.pending_quantity2(i));
7363: WSH_DEBUG_SV.log(l_module_name,'pending_requested_flag',p_ship_line.pending_requested_flag(i));
7364: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',p_ship_line.order_quantity_uom(i));

Line 7361: WSH_DEBUG_SV.log(l_module_name,'pending_quantity',p_ship_line.pending_quantity(i));

7357: WSH_DEBUG_SV.log(l_module_name,'smc_flag',p_ship_line.smc_flag(i));
7358: WSH_DEBUG_SV.log(l_module_name,'over_ship_reason_code',p_ship_line.over_ship_reason_code(i));
7359: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',p_ship_line.requested_quantity(i));
7360: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',p_ship_line.requested_quantity2(i));
7361: WSH_DEBUG_SV.log(l_module_name,'pending_quantity',p_ship_line.pending_quantity(i));
7362: WSH_DEBUG_SV.log(l_module_name,'pending_quantity2',p_ship_line.pending_quantity2(i));
7363: WSH_DEBUG_SV.log(l_module_name,'pending_requested_flag',p_ship_line.pending_requested_flag(i));
7364: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',p_ship_line.order_quantity_uom(i));
7365: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',p_ship_line.order_quantity_uom2(i));

Line 7362: WSH_DEBUG_SV.log(l_module_name,'pending_quantity2',p_ship_line.pending_quantity2(i));

7358: WSH_DEBUG_SV.log(l_module_name,'over_ship_reason_code',p_ship_line.over_ship_reason_code(i));
7359: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',p_ship_line.requested_quantity(i));
7360: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',p_ship_line.requested_quantity2(i));
7361: WSH_DEBUG_SV.log(l_module_name,'pending_quantity',p_ship_line.pending_quantity(i));
7362: WSH_DEBUG_SV.log(l_module_name,'pending_quantity2',p_ship_line.pending_quantity2(i));
7363: WSH_DEBUG_SV.log(l_module_name,'pending_requested_flag',p_ship_line.pending_requested_flag(i));
7364: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',p_ship_line.order_quantity_uom(i));
7365: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',p_ship_line.order_quantity_uom2(i));
7366: WSH_DEBUG_SV.log(l_module_name,'model_remnant_flag',p_ship_line.model_remnant_flag(i));

Line 7363: WSH_DEBUG_SV.log(l_module_name,'pending_requested_flag',p_ship_line.pending_requested_flag(i));

7359: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',p_ship_line.requested_quantity(i));
7360: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',p_ship_line.requested_quantity2(i));
7361: WSH_DEBUG_SV.log(l_module_name,'pending_quantity',p_ship_line.pending_quantity(i));
7362: WSH_DEBUG_SV.log(l_module_name,'pending_quantity2',p_ship_line.pending_quantity2(i));
7363: WSH_DEBUG_SV.log(l_module_name,'pending_requested_flag',p_ship_line.pending_requested_flag(i));
7364: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',p_ship_line.order_quantity_uom(i));
7365: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',p_ship_line.order_quantity_uom2(i));
7366: WSH_DEBUG_SV.log(l_module_name,'model_remnant_flag',p_ship_line.model_remnant_flag(i));
7367: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));

Line 7364: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',p_ship_line.order_quantity_uom(i));

7360: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',p_ship_line.requested_quantity2(i));
7361: WSH_DEBUG_SV.log(l_module_name,'pending_quantity',p_ship_line.pending_quantity(i));
7362: WSH_DEBUG_SV.log(l_module_name,'pending_quantity2',p_ship_line.pending_quantity2(i));
7363: WSH_DEBUG_SV.log(l_module_name,'pending_requested_flag',p_ship_line.pending_requested_flag(i));
7364: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',p_ship_line.order_quantity_uom(i));
7365: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',p_ship_line.order_quantity_uom2(i));
7366: WSH_DEBUG_SV.log(l_module_name,'model_remnant_flag',p_ship_line.model_remnant_flag(i));
7367: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));
7368: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',p_ship_line.ordered_quantity2(i));

Line 7365: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',p_ship_line.order_quantity_uom2(i));

7361: WSH_DEBUG_SV.log(l_module_name,'pending_quantity',p_ship_line.pending_quantity(i));
7362: WSH_DEBUG_SV.log(l_module_name,'pending_quantity2',p_ship_line.pending_quantity2(i));
7363: WSH_DEBUG_SV.log(l_module_name,'pending_requested_flag',p_ship_line.pending_requested_flag(i));
7364: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',p_ship_line.order_quantity_uom(i));
7365: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',p_ship_line.order_quantity_uom2(i));
7366: WSH_DEBUG_SV.log(l_module_name,'model_remnant_flag',p_ship_line.model_remnant_flag(i));
7367: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));
7368: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',p_ship_line.ordered_quantity2(i));
7369: WSH_DEBUG_SV.log(l_module_name,'item_type_code',p_ship_line.item_type_code(i));

Line 7366: WSH_DEBUG_SV.log(l_module_name,'model_remnant_flag',p_ship_line.model_remnant_flag(i));

7362: WSH_DEBUG_SV.log(l_module_name,'pending_quantity2',p_ship_line.pending_quantity2(i));
7363: WSH_DEBUG_SV.log(l_module_name,'pending_requested_flag',p_ship_line.pending_requested_flag(i));
7364: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',p_ship_line.order_quantity_uom(i));
7365: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',p_ship_line.order_quantity_uom2(i));
7366: WSH_DEBUG_SV.log(l_module_name,'model_remnant_flag',p_ship_line.model_remnant_flag(i));
7367: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));
7368: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',p_ship_line.ordered_quantity2(i));
7369: WSH_DEBUG_SV.log(l_module_name,'item_type_code',p_ship_line.item_type_code(i));
7370: WSH_DEBUG_SV.log(l_module_name,'calculate_price_flag',p_ship_line.calculate_price_flag(i));

Line 7367: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));

7363: WSH_DEBUG_SV.log(l_module_name,'pending_requested_flag',p_ship_line.pending_requested_flag(i));
7364: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',p_ship_line.order_quantity_uom(i));
7365: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',p_ship_line.order_quantity_uom2(i));
7366: WSH_DEBUG_SV.log(l_module_name,'model_remnant_flag',p_ship_line.model_remnant_flag(i));
7367: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));
7368: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',p_ship_line.ordered_quantity2(i));
7369: WSH_DEBUG_SV.log(l_module_name,'item_type_code',p_ship_line.item_type_code(i));
7370: WSH_DEBUG_SV.log(l_module_name,'calculate_price_flag',p_ship_line.calculate_price_flag(i));
7371:

Line 7368: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',p_ship_line.ordered_quantity2(i));

7364: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',p_ship_line.order_quantity_uom(i));
7365: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',p_ship_line.order_quantity_uom2(i));
7366: WSH_DEBUG_SV.log(l_module_name,'model_remnant_flag',p_ship_line.model_remnant_flag(i));
7367: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));
7368: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',p_ship_line.ordered_quantity2(i));
7369: WSH_DEBUG_SV.log(l_module_name,'item_type_code',p_ship_line.item_type_code(i));
7370: WSH_DEBUG_SV.log(l_module_name,'calculate_price_flag',p_ship_line.calculate_price_flag(i));
7371:
7372: END LOOP;

Line 7369: WSH_DEBUG_SV.log(l_module_name,'item_type_code',p_ship_line.item_type_code(i));

7365: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',p_ship_line.order_quantity_uom2(i));
7366: WSH_DEBUG_SV.log(l_module_name,'model_remnant_flag',p_ship_line.model_remnant_flag(i));
7367: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));
7368: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',p_ship_line.ordered_quantity2(i));
7369: WSH_DEBUG_SV.log(l_module_name,'item_type_code',p_ship_line.item_type_code(i));
7370: WSH_DEBUG_SV.log(l_module_name,'calculate_price_flag',p_ship_line.calculate_price_flag(i));
7371:
7372: END LOOP;
7373:

Line 7370: WSH_DEBUG_SV.log(l_module_name,'calculate_price_flag',p_ship_line.calculate_price_flag(i));

7366: WSH_DEBUG_SV.log(l_module_name,'model_remnant_flag',p_ship_line.model_remnant_flag(i));
7367: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));
7368: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',p_ship_line.ordered_quantity2(i));
7369: WSH_DEBUG_SV.log(l_module_name,'item_type_code',p_ship_line.item_type_code(i));
7370: WSH_DEBUG_SV.log(l_module_name,'calculate_price_flag',p_ship_line.calculate_price_flag(i));
7371:
7372: END LOOP;
7373:
7374: ELSE

Line 7377: WSH_DEBUG_SV.logmsg(l_module_name,'#########BULK##############');

7373:
7374: ELSE
7375: FOR i IN l_start_index..l_end_index LOOP
7376:
7377: WSH_DEBUG_SV.logmsg(l_module_name,'#########BULK##############');
7378: WSH_DEBUG_SV.log(l_module_name,'Index',i);
7379: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));
7380: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));
7381: WSH_DEBUG_SV.log(l_module_name,'top Model line_id',p_ship_line.top_model_line_id(i));

Line 7378: WSH_DEBUG_SV.log(l_module_name,'Index',i);

7374: ELSE
7375: FOR i IN l_start_index..l_end_index LOOP
7376:
7377: WSH_DEBUG_SV.logmsg(l_module_name,'#########BULK##############');
7378: WSH_DEBUG_SV.log(l_module_name,'Index',i);
7379: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));
7380: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));
7381: WSH_DEBUG_SV.log(l_module_name,'top Model line_id',p_ship_line.top_model_line_id(i));
7382: WSH_DEBUG_SV.log(l_module_name,'ship set line_id',p_ship_line.ship_set_id(i));

Line 7379: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));

7375: FOR i IN l_start_index..l_end_index LOOP
7376:
7377: WSH_DEBUG_SV.logmsg(l_module_name,'#########BULK##############');
7378: WSH_DEBUG_SV.log(l_module_name,'Index',i);
7379: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));
7380: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));
7381: WSH_DEBUG_SV.log(l_module_name,'top Model line_id',p_ship_line.top_model_line_id(i));
7382: WSH_DEBUG_SV.log(l_module_name,'ship set line_id',p_ship_line.ship_set_id(i));
7383: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));

Line 7380: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));

7376:
7377: WSH_DEBUG_SV.logmsg(l_module_name,'#########BULK##############');
7378: WSH_DEBUG_SV.log(l_module_name,'Index',i);
7379: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));
7380: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));
7381: WSH_DEBUG_SV.log(l_module_name,'top Model line_id',p_ship_line.top_model_line_id(i));
7382: WSH_DEBUG_SV.log(l_module_name,'ship set line_id',p_ship_line.ship_set_id(i));
7383: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));
7384: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));

Line 7381: WSH_DEBUG_SV.log(l_module_name,'top Model line_id',p_ship_line.top_model_line_id(i));

7377: WSH_DEBUG_SV.logmsg(l_module_name,'#########BULK##############');
7378: WSH_DEBUG_SV.log(l_module_name,'Index',i);
7379: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));
7380: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));
7381: WSH_DEBUG_SV.log(l_module_name,'top Model line_id',p_ship_line.top_model_line_id(i));
7382: WSH_DEBUG_SV.log(l_module_name,'ship set line_id',p_ship_line.ship_set_id(i));
7383: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));
7384: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));
7385: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));

Line 7382: WSH_DEBUG_SV.log(l_module_name,'ship set line_id',p_ship_line.ship_set_id(i));

7378: WSH_DEBUG_SV.log(l_module_name,'Index',i);
7379: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));
7380: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));
7381: WSH_DEBUG_SV.log(l_module_name,'top Model line_id',p_ship_line.top_model_line_id(i));
7382: WSH_DEBUG_SV.log(l_module_name,'ship set line_id',p_ship_line.ship_set_id(i));
7383: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));
7384: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));
7385: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));
7386: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));

Line 7383: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));

7379: WSH_DEBUG_SV.log(l_module_name,'header_id',p_ship_line.header_id(i));
7380: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));
7381: WSH_DEBUG_SV.log(l_module_name,'top Model line_id',p_ship_line.top_model_line_id(i));
7382: WSH_DEBUG_SV.log(l_module_name,'ship set line_id',p_ship_line.ship_set_id(i));
7383: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));
7384: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));
7385: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));
7386: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));
7387: -- muom

Line 7384: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));

7380: WSH_DEBUG_SV.log(l_module_name,'line_id',p_ship_line.line_id(i));
7381: WSH_DEBUG_SV.log(l_module_name,'top Model line_id',p_ship_line.top_model_line_id(i));
7382: WSH_DEBUG_SV.log(l_module_name,'ship set line_id',p_ship_line.ship_set_id(i));
7383: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));
7384: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));
7385: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));
7386: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));
7387: -- muom
7388: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));

Line 7385: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));

7381: WSH_DEBUG_SV.log(l_module_name,'top Model line_id',p_ship_line.top_model_line_id(i));
7382: WSH_DEBUG_SV.log(l_module_name,'ship set line_id',p_ship_line.ship_set_id(i));
7383: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));
7384: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));
7385: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));
7386: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));
7387: -- muom
7388: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));
7389: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));

Line 7386: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));

7382: WSH_DEBUG_SV.log(l_module_name,'ship set line_id',p_ship_line.ship_set_id(i));
7383: WSH_DEBUG_SV.log(l_module_name,'arrival_set_id',p_ship_line.arrival_set_id(i));
7384: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));
7385: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));
7386: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));
7387: -- muom
7388: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));
7389: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));
7390: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));

Line 7388: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));

7384: WSH_DEBUG_SV.log(l_module_name,'actual_shipment_date',p_ship_line.actual_shipment_date(i));
7385: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));
7386: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));
7387: -- muom
7388: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));
7389: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));
7390: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));
7391: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',p_ship_line.flow_status_code(i));
7392: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));

Line 7389: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));

7385: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',p_ship_line.shipping_quantity(i));
7386: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));
7387: -- muom
7388: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));
7389: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));
7390: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));
7391: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',p_ship_line.flow_status_code(i));
7392: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));
7393: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',p_ship_line.ordered_quantity2(i));

Line 7390: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));

7386: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',p_ship_line.shipping_quantity_uom(i));
7387: -- muom
7388: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));
7389: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));
7390: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));
7391: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',p_ship_line.flow_status_code(i));
7392: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));
7393: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',p_ship_line.ordered_quantity2(i));
7394: END LOOP;

Line 7391: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',p_ship_line.flow_status_code(i));

7387: -- muom
7388: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));
7389: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));
7390: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));
7391: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',p_ship_line.flow_status_code(i));
7392: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));
7393: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',p_ship_line.ordered_quantity2(i));
7394: END LOOP;
7395: END IF;

Line 7392: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));

7388: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',p_ship_line.shipped_quantity(i));
7389: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));
7390: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));
7391: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',p_ship_line.flow_status_code(i));
7392: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));
7393: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',p_ship_line.ordered_quantity2(i));
7394: END LOOP;
7395: END IF;
7396:

Line 7393: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',p_ship_line.ordered_quantity2(i));

7389: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',p_ship_line.shipping_quantity2(i));
7390: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',p_ship_line.shipping_quantity_uom2(i));
7391: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',p_ship_line.flow_status_code(i));
7392: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',p_ship_line.ordered_quantity(i));
7393: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',p_ship_line.ordered_quantity2(i));
7394: END LOOP;
7395: END IF;
7396:
7397: WSH_DEBUG_SV.pop(l_module_name);

Line 7397: WSH_DEBUG_SV.pop(l_module_name);

7393: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',p_ship_line.ordered_quantity2(i));
7394: END LOOP;
7395: END IF;
7396:
7397: WSH_DEBUG_SV.pop(l_module_name);
7398: END IF;
7399:
7400: EXCEPTION
7401: WHEN others THEN

Line 7404: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

7400: EXCEPTION
7401: WHEN others THEN
7402:
7403: IF l_debug_on THEN
7404: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
7405: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
7406: END IF;
7407: END print_ship_line;
7408:

Line 7405: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

7401: WHEN others THEN
7402:
7403: IF l_debug_on THEN
7404: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
7405: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
7406: END IF;
7407: END print_ship_line;
7408:
7409:

Line 7525: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

7521: --hadcp
7522: BEGIN
7523: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
7524: IF l_debug_on IS NULL THEN
7525: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
7526: END IF;
7527:
7528: IF l_debug_on THEN
7529: WSH_DEBUG_SV.push(l_module_name);

Line 7529: WSH_DEBUG_SV.push(l_module_name);

7525: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
7526: END IF;
7527:
7528: IF l_debug_on THEN
7529: WSH_DEBUG_SV.push(l_module_name);
7530: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
7531: WSH_DEBUG_SV.log(l_module_name,'p_bulk_mode',p_bulk_mode);
7532: WSH_DEBUG_SV.log(l_module_name,'p_org_id',p_org_id);
7533: WSH_DEBUG_SV.log(l_module_name,'p_bulk_ship_line.count',p_bulk_ship_line.line_id.count);

Line 7530: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);

7526: END IF;
7527:
7528: IF l_debug_on THEN
7529: WSH_DEBUG_SV.push(l_module_name);
7530: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
7531: WSH_DEBUG_SV.log(l_module_name,'p_bulk_mode',p_bulk_mode);
7532: WSH_DEBUG_SV.log(l_module_name,'p_org_id',p_org_id);
7533: WSH_DEBUG_SV.log(l_module_name,'p_bulk_ship_line.count',p_bulk_ship_line.line_id.count);
7534: WSH_DEBUG_SV.log(l_module_name,'p_bulk_req_line.count',p_bulk_req_line.line_id.count);

Line 7531: WSH_DEBUG_SV.log(l_module_name,'p_bulk_mode',p_bulk_mode);

7527:
7528: IF l_debug_on THEN
7529: WSH_DEBUG_SV.push(l_module_name);
7530: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
7531: WSH_DEBUG_SV.log(l_module_name,'p_bulk_mode',p_bulk_mode);
7532: WSH_DEBUG_SV.log(l_module_name,'p_org_id',p_org_id);
7533: WSH_DEBUG_SV.log(l_module_name,'p_bulk_ship_line.count',p_bulk_ship_line.line_id.count);
7534: WSH_DEBUG_SV.log(l_module_name,'p_bulk_req_line.count',p_bulk_req_line.line_id.count);
7535: WSH_DEBUG_SV.log(l_module_name,'x_charges_are_calculated',x_charges_are_calculated);

Line 7532: WSH_DEBUG_SV.log(l_module_name,'p_org_id',p_org_id);

7528: IF l_debug_on THEN
7529: WSH_DEBUG_SV.push(l_module_name);
7530: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
7531: WSH_DEBUG_SV.log(l_module_name,'p_bulk_mode',p_bulk_mode);
7532: WSH_DEBUG_SV.log(l_module_name,'p_org_id',p_org_id);
7533: WSH_DEBUG_SV.log(l_module_name,'p_bulk_ship_line.count',p_bulk_ship_line.line_id.count);
7534: WSH_DEBUG_SV.log(l_module_name,'p_bulk_req_line.count',p_bulk_req_line.line_id.count);
7535: WSH_DEBUG_SV.log(l_module_name,'x_charges_are_calculated',x_charges_are_calculated);
7536: END IF;

Line 7533: WSH_DEBUG_SV.log(l_module_name,'p_bulk_ship_line.count',p_bulk_ship_line.line_id.count);

7529: WSH_DEBUG_SV.push(l_module_name);
7530: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
7531: WSH_DEBUG_SV.log(l_module_name,'p_bulk_mode',p_bulk_mode);
7532: WSH_DEBUG_SV.log(l_module_name,'p_org_id',p_org_id);
7533: WSH_DEBUG_SV.log(l_module_name,'p_bulk_ship_line.count',p_bulk_ship_line.line_id.count);
7534: WSH_DEBUG_SV.log(l_module_name,'p_bulk_req_line.count',p_bulk_req_line.line_id.count);
7535: WSH_DEBUG_SV.log(l_module_name,'x_charges_are_calculated',x_charges_are_calculated);
7536: END IF;
7537:

Line 7534: WSH_DEBUG_SV.log(l_module_name,'p_bulk_req_line.count',p_bulk_req_line.line_id.count);

7530: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
7531: WSH_DEBUG_SV.log(l_module_name,'p_bulk_mode',p_bulk_mode);
7532: WSH_DEBUG_SV.log(l_module_name,'p_org_id',p_org_id);
7533: WSH_DEBUG_SV.log(l_module_name,'p_bulk_ship_line.count',p_bulk_ship_line.line_id.count);
7534: WSH_DEBUG_SV.log(l_module_name,'p_bulk_req_line.count',p_bulk_req_line.line_id.count);
7535: WSH_DEBUG_SV.log(l_module_name,'x_charges_are_calculated',x_charges_are_calculated);
7536: END IF;
7537:
7538: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;

Line 7535: WSH_DEBUG_SV.log(l_module_name,'x_charges_are_calculated',x_charges_are_calculated);

7531: WSH_DEBUG_SV.log(l_module_name,'p_bulk_mode',p_bulk_mode);
7532: WSH_DEBUG_SV.log(l_module_name,'p_org_id',p_org_id);
7533: WSH_DEBUG_SV.log(l_module_name,'p_bulk_ship_line.count',p_bulk_ship_line.line_id.count);
7534: WSH_DEBUG_SV.log(l_module_name,'p_bulk_req_line.count',p_bulk_req_line.line_id.count);
7535: WSH_DEBUG_SV.log(l_module_name,'x_charges_are_calculated',x_charges_are_calculated);
7536: END IF;
7537:
7538: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
7539:

Line 7546: WSH_DEBUG_SV.log(l_module_name,'l_header_id',l_header_id);

7542: IF (p_bulk_mode='N') THEN
7543:
7544: l_header_id := p_bulk_ship_line.header_id(p_bulk_ship_line.header_id.FIRST);
7545: IF l_debug_on THEN
7546: WSH_DEBUG_SV.log(l_module_name,'l_header_id',l_header_id);
7547: END IF;
7548:
7549: --R12:MOAC replace call, updated comment
7550: --Set the Policy Context for non bulk

Line 7568: WSH_DEBUG_SV.log(l_module_name,'l_bulk_batch_size',l_bulk_batch_size);

7564:
7565: --hadcp
7566:
7567: IF l_debug_on THEN
7568: WSH_DEBUG_SV.log(l_module_name,'l_bulk_batch_size',l_bulk_batch_size);
7569: WSH_DEBUG_SV.log(l_module_name,'l_dcp_profile',l_dcp_profile);
7570: END IF;
7571:
7572:

Line 7569: WSH_DEBUG_SV.log(l_module_name,'l_dcp_profile',l_dcp_profile);

7565: --hadcp
7566:
7567: IF l_debug_on THEN
7568: WSH_DEBUG_SV.log(l_module_name,'l_bulk_batch_size',l_bulk_batch_size);
7569: WSH_DEBUG_SV.log(l_module_name,'l_dcp_profile',l_dcp_profile);
7570: END IF;
7571:
7572:
7573: -- Calculate the charges for all the stops in the batch and save it into

Line 7612: WSH_DEBUG_SV.log(l_module_name,'l_return_status',l_return_status);

7608: x_return_status => l_return_status);
7609:
7610:
7611: IF l_debug_on THEN
7612: WSH_DEBUG_SV.log(l_module_name,'l_return_status',l_return_status);
7613: WSH_DEBUG_SV.log(l_module_name,'stop id',l_stop_id);
7614: WSH_DEBUG_SV.log(l_module_name,'l_lines_tab.count',
7615: l_lines_tab.COUNT);
7616: WSH_DEBUG_SV.log(l_module_name,'l_ship_adj_line_all.line_id.count',l_ship_adj_line_all.line_id.count);

Line 7613: WSH_DEBUG_SV.log(l_module_name,'stop id',l_stop_id);

7609:
7610:
7611: IF l_debug_on THEN
7612: WSH_DEBUG_SV.log(l_module_name,'l_return_status',l_return_status);
7613: WSH_DEBUG_SV.log(l_module_name,'stop id',l_stop_id);
7614: WSH_DEBUG_SV.log(l_module_name,'l_lines_tab.count',
7615: l_lines_tab.COUNT);
7616: WSH_DEBUG_SV.log(l_module_name,'l_ship_adj_line_all.line_id.count',l_ship_adj_line_all.line_id.count);
7617: END IF;

Line 7614: WSH_DEBUG_SV.log(l_module_name,'l_lines_tab.count',

7610:
7611: IF l_debug_on THEN
7612: WSH_DEBUG_SV.log(l_module_name,'l_return_status',l_return_status);
7613: WSH_DEBUG_SV.log(l_module_name,'stop id',l_stop_id);
7614: WSH_DEBUG_SV.log(l_module_name,'l_lines_tab.count',
7615: l_lines_tab.COUNT);
7616: WSH_DEBUG_SV.log(l_module_name,'l_ship_adj_line_all.line_id.count',l_ship_adj_line_all.line_id.count);
7617: END IF;
7618:

Line 7616: WSH_DEBUG_SV.log(l_module_name,'l_ship_adj_line_all.line_id.count',l_ship_adj_line_all.line_id.count);

7612: WSH_DEBUG_SV.log(l_module_name,'l_return_status',l_return_status);
7613: WSH_DEBUG_SV.log(l_module_name,'stop id',l_stop_id);
7614: WSH_DEBUG_SV.log(l_module_name,'l_lines_tab.count',
7615: l_lines_tab.COUNT);
7616: WSH_DEBUG_SV.log(l_module_name,'l_ship_adj_line_all.line_id.count',l_ship_adj_line_all.line_id.count);
7617: END IF;
7618:
7619:
7620: IF (l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS) THEN

Line 7642: WSH_DEBUG_SV.log(l_module_name,'setting the org',l_prev_org_id);

7638: l_prev_org_id := p_bulk_ship_line.org_id(l_start_index);
7639: --R12:MOAC replace call
7640: MO_GLOBAL.set_policy_context('S', l_prev_org_id);
7641: IF l_debug_on THEN
7642: WSH_DEBUG_SV.log(l_module_name,'setting the org',l_prev_org_id);
7643: END IF;
7644: END IF;
7645:
7646: --hadcp

Line 7651: WSH_DEBUG_SV.log(l_module_name,'Outside Loop WSH_DCP_PVT.G_INIT_MSG_COUNT',WSH_DCP_PVT.G_INIT_MSG_COUNT);

7647: IF (l_dcp_profile IN (1,2) ) THEN
7648: WSH_DCP_PVT.G_INIT_MSG_COUNT := fnd_msg_pub.count_msg;
7649: END IF;
7650: IF l_debug_on THEN
7651: WSH_DEBUG_SV.log(l_module_name,'Outside Loop WSH_DCP_PVT.G_INIT_MSG_COUNT',WSH_DCP_PVT.G_INIT_MSG_COUNT);
7652: END IF;
7653: --hadcp
7654:
7655: l_line_idx := l_start_index;

Line 7669: WSH_DEBUG_SV.log(l_module_name,'l_prev_org_id', l_prev_org_id);

7665: IF p_bulk_mode = 'Y' THEN --{
7666: IF l_prev_org_id <> p_bulk_ship_line.org_id(l_line_idx) THEN
7667: l_prev_org_id := p_bulk_ship_line.org_id(l_line_idx);
7668: IF l_debug_on THEN
7669: WSH_DEBUG_SV.log(l_module_name,'l_prev_org_id', l_prev_org_id);
7670: WSH_DEBUG_SV.log(l_module_name,'l_line_idx', l_line_idx);
7671: WSH_DEBUG_SV.log(l_module_name,'l_bulk_count', l_bulk_count);
7672: END IF;
7673: IF l_bulk_count > 0 THEN

Line 7670: WSH_DEBUG_SV.log(l_module_name,'l_line_idx', l_line_idx);

7666: IF l_prev_org_id <> p_bulk_ship_line.org_id(l_line_idx) THEN
7667: l_prev_org_id := p_bulk_ship_line.org_id(l_line_idx);
7668: IF l_debug_on THEN
7669: WSH_DEBUG_SV.log(l_module_name,'l_prev_org_id', l_prev_org_id);
7670: WSH_DEBUG_SV.log(l_module_name,'l_line_idx', l_line_idx);
7671: WSH_DEBUG_SV.log(l_module_name,'l_bulk_count', l_bulk_count);
7672: END IF;
7673: IF l_bulk_count > 0 THEN
7674: l_org_change := TRUE;

Line 7671: WSH_DEBUG_SV.log(l_module_name,'l_bulk_count', l_bulk_count);

7667: l_prev_org_id := p_bulk_ship_line.org_id(l_line_idx);
7668: IF l_debug_on THEN
7669: WSH_DEBUG_SV.log(l_module_name,'l_prev_org_id', l_prev_org_id);
7670: WSH_DEBUG_SV.log(l_module_name,'l_line_idx', l_line_idx);
7671: WSH_DEBUG_SV.log(l_module_name,'l_bulk_count', l_bulk_count);
7672: END IF;
7673: IF l_bulk_count > 0 THEN
7674: l_org_change := TRUE;
7675: l_line_idx := p_bulk_ship_line.line_id.PRIOR(l_line_idx);

Line 7701: WSH_DEBUG_SV.log(l_module_name,'charge matched', p_bulk_ship_line.line_id(l_line_idx));

7697: l_ship_adj_line.arithmetic_operator.extend;
7698: l_ship_adj_line.operation.extend;
7699:
7700: IF l_debug_on THEN
7701: WSH_DEBUG_SV.log(l_module_name,'charge matched', p_bulk_ship_line.line_id(l_line_idx));
7702: END IF;
7703:
7704: l_ship_adj_line.cost_id(l_counter) :=
7705: x_freight_costs.cost_id(l_charge_idx);

Line 7736: WSH_DEBUG_SV.logmsg(l_module_name,'After while Loop');

7732: --bsadri Find out if the BULK limit is reached or the loop is
7733: -- exhouseted
7734:
7735: IF l_debug_on THEN
7736: WSH_DEBUG_SV.logmsg(l_module_name,'After while Loop');
7737: END IF;
7738: IF l_org_change THEN --{
7739: l_end_index := l_line_idx;
7740: ELSE --}{

Line 7761: WSH_DEBUG_SV.logmsg(l_module_name,'Establishing save point l_interface_om');

7757: l_loop_count := l_loop_count + 1;
7758: l_counter := 1;
7759:
7760: IF l_debug_on THEN
7761: WSH_DEBUG_SV.logmsg(l_module_name,'Establishing save point l_interface_om');
7762: END IF;
7763: Savepoint l_interface_om;
7764:
7765: l_oe_interfaced_flag := 'P';

Line 7798: WSH_DEBUG_SV.logmsg(l_module_name,'After Forall Update');

7794: );
7795:
7796:
7797: IF l_debug_on THEN
7798: WSH_DEBUG_SV.logmsg(l_module_name,'After Forall Update');
7799: WSH_DEBUG_SV.logmsg(l_module_name,'Printing P_ship_line_rec');
7800: print_ship_line(p_bulk_mode,p_bulk_ship_line,l_start_index,l_end_index);
7801: WSH_DEBUG_SV.log(l_module_name,'Calling OE_Ship_Confirmation_Pub.Ship_Confirm_New TIME:',SYSDATE);
7802: END IF;

Line 7799: WSH_DEBUG_SV.logmsg(l_module_name,'Printing P_ship_line_rec');

7795:
7796:
7797: IF l_debug_on THEN
7798: WSH_DEBUG_SV.logmsg(l_module_name,'After Forall Update');
7799: WSH_DEBUG_SV.logmsg(l_module_name,'Printing P_ship_line_rec');
7800: print_ship_line(p_bulk_mode,p_bulk_ship_line,l_start_index,l_end_index);
7801: WSH_DEBUG_SV.log(l_module_name,'Calling OE_Ship_Confirmation_Pub.Ship_Confirm_New TIME:',SYSDATE);
7802: END IF;
7803: OE_Ship_Confirmation_Pub.Ship_Confirm_New(

Line 7801: WSH_DEBUG_SV.log(l_module_name,'Calling OE_Ship_Confirmation_Pub.Ship_Confirm_New TIME:',SYSDATE);

7797: IF l_debug_on THEN
7798: WSH_DEBUG_SV.logmsg(l_module_name,'After Forall Update');
7799: WSH_DEBUG_SV.logmsg(l_module_name,'Printing P_ship_line_rec');
7800: print_ship_line(p_bulk_mode,p_bulk_ship_line,l_start_index,l_end_index);
7801: WSH_DEBUG_SV.log(l_module_name,'Calling OE_Ship_Confirmation_Pub.Ship_Confirm_New TIME:',SYSDATE);
7802: END IF;
7803: OE_Ship_Confirmation_Pub.Ship_Confirm_New(
7804: P_ship_line_rec => p_bulk_ship_line,
7805: P_requested_line_rec => p_bulk_req_line,

Line 7815: WSH_DEBUG_SV.log(l_module_name,'After OE_Shipping_Integration_PUB.Ship_Confirm_New TIME:',SYSDATE);

7811: x_msg_data => x_msg_data,
7812: x_return_status => l_return_status);
7813:
7814: IF l_debug_on THEN
7815: WSH_DEBUG_SV.log(l_module_name,'After OE_Shipping_Integration_PUB.Ship_Confirm_New TIME:',SYSDATE);
7816: WSH_DEBUG_SV.log(l_module_name,'l_return_status ',l_return_status);
7817: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'||X_MSG_COUNT );
7818: END IF;
7819:

Line 7816: WSH_DEBUG_SV.log(l_module_name,'l_return_status ',l_return_status);

7812: x_return_status => l_return_status);
7813:
7814: IF l_debug_on THEN
7815: WSH_DEBUG_SV.log(l_module_name,'After OE_Shipping_Integration_PUB.Ship_Confirm_New TIME:',SYSDATE);
7816: WSH_DEBUG_SV.log(l_module_name,'l_return_status ',l_return_status);
7817: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'||X_MSG_COUNT );
7818: END IF;
7819:
7820: FOR k IN 1 .. nvl(x_msg_count,0)

Line 7817: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'||X_MSG_COUNT );

7813:
7814: IF l_debug_on THEN
7815: WSH_DEBUG_SV.log(l_module_name,'After OE_Shipping_Integration_PUB.Ship_Confirm_New TIME:',SYSDATE);
7816: WSH_DEBUG_SV.log(l_module_name,'l_return_status ',l_return_status);
7817: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'||X_MSG_COUNT );
7818: END IF;
7819:
7820: FOR k IN 1 .. nvl(x_msg_count,0)
7821: LOOP

Line 7824: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit OE_MSG_PUB.GET',WSH_DEBUG_SV.C_PROC_LEVEL);

7820: FOR k IN 1 .. nvl(x_msg_count,0)
7821: LOOP
7822: --
7823: IF l_debug_on THEN
7824: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit OE_MSG_PUB.GET',WSH_DEBUG_SV.C_PROC_LEVEL);
7825: END IF;
7826: --
7827: x_msg_data := oe_msg_pub.get( p_msg_index => k,
7828: p_encoded => 'F'

Line 7832: WSH_DEBUG_SV.logmsg(l_module_name, SUBSTR ( X_MSG_DATA , 1 , 255 ) );

7828: p_encoded => 'F'
7829: );
7830: --
7831: IF l_debug_on THEN
7832: WSH_DEBUG_SV.logmsg(l_module_name, SUBSTR ( X_MSG_DATA , 1 , 255 ) );
7833: END IF;
7834: --
7835: WSH_UTIL_CORE.printmsg('Error msg: '||substr(x_msg_data,1,2000));
7836: END LOOP;

Line 7850: WSH_DEBUG_SV.logmsg(l_module_name,'SUCCESS');

7846:
7847:
7848: IF (l_return_status = WSH_UTIL_CORE.G_RET_STS_SUCCESS) THEN
7849: IF l_debug_on THEN
7850: WSH_DEBUG_SV.logmsg(l_module_name,'SUCCESS');
7851: END IF;
7852:
7853: --Bug 3482227
7854: IF (p_bulk_mode='N') THEN

Line 7926: WSH_DEBUG_SV.log(l_module_name,'No. Success Rec. Update to Y', l_count);

7922: END IF;
7923:
7924: l_count := SQL%ROWCOUNT;
7925: IF l_debug_on THEN
7926: WSH_DEBUG_SV.log(l_module_name,'No. Success Rec. Update to Y', l_count);
7927: END IF;
7928:
7929: --hadcp
7930: IF (l_dcp_profile IN (1,2) ) THEN

Line 7938: WSH_DEBUG_SV.logmsg(l_module_name,'No DCP Error');

7934: P_end_index => l_end_index,
7935: P_its_rec => p_bulk_ship_line);
7936: END IF;
7937: IF l_debug_on THEN
7938: WSH_DEBUG_SV.logmsg(l_module_name,'No DCP Error');
7939: END IF;
7940:
7941: IF (l_dcp_profile IN (1,2) ) THEN
7942: WSH_DCP_PVT.G_INIT_MSG_COUNT := fnd_msg_pub.count_msg;

Line 7945: WSH_DEBUG_SV.log(l_module_name,'Inside Loop WSH_DCP_PVT.G_INIT_MSG_COUNT',WSH_DCP_PVT.G_INIT_MSG_COUNT);

7941: IF (l_dcp_profile IN (1,2) ) THEN
7942: WSH_DCP_PVT.G_INIT_MSG_COUNT := fnd_msg_pub.count_msg;
7943: END IF;
7944: IF l_debug_on THEN
7945: WSH_DEBUG_SV.log(l_module_name,'Inside Loop WSH_DCP_PVT.G_INIT_MSG_COUNT',WSH_DCP_PVT.G_INIT_MSG_COUNT);
7946: END IF;
7947: --hadcp
7948:
7949: commit;

Line 7952: WSH_DEBUG_SV.logmsg(l_module_name,'WARNING');

7948:
7949: commit;
7950: ELSIF (l_return_status = WSH_UTIL_CORE.G_RET_STS_WARNING) THEN
7951: IF l_debug_on THEN
7952: WSH_DEBUG_SV.logmsg(l_module_name,'WARNING');
7953: END IF;
7954: l_warn_count := l_warn_count + 1;
7955: --Bug 3761090
7956: l_container_flag := 'N';

Line 7988: WSH_DEBUG_SV.log(l_module_name,'No. Warning Rec. Update',l_count);

7984:
7985:
7986: l_count := SQL%ROWCOUNT;
7987: IF l_debug_on THEN
7988: WSH_DEBUG_SV.log(l_module_name,'No. Warning Rec. Update',l_count);
7989: END IF;
7990:
7991: --hadcp
7992: IF (l_dcp_profile IN (1,2) ) THEN

Line 8000: WSH_DEBUG_SV.logmsg(l_module_name,'No DCP Error');

7996: P_end_index => l_end_index,
7997: P_its_rec => p_bulk_ship_line);
7998: END IF;
7999: IF l_debug_on THEN
8000: WSH_DEBUG_SV.logmsg(l_module_name,'No DCP Error');
8001: END IF;
8002:
8003: IF (l_dcp_profile IN (1,2) ) THEN
8004: WSH_DCP_PVT.G_INIT_MSG_COUNT := fnd_msg_pub.count_msg;

Line 8007: WSH_DEBUG_SV.log(l_module_name,'Inside Loop WSH_DCP_PVT.G_INIT_MSG_COUNT',WSH_DCP_PVT.G_INIT_MSG_COUNT);

8003: IF (l_dcp_profile IN (1,2) ) THEN
8004: WSH_DCP_PVT.G_INIT_MSG_COUNT := fnd_msg_pub.count_msg;
8005: END IF;
8006: IF l_debug_on THEN
8007: WSH_DEBUG_SV.log(l_module_name,'Inside Loop WSH_DCP_PVT.G_INIT_MSG_COUNT',WSH_DCP_PVT.G_INIT_MSG_COUNT);
8008: END IF;
8009: --hadcp
8010:
8011: commit;

Line 8014: WSH_DEBUG_SV.logmsg(l_module_name,'ERROR');

8010:
8011: commit;
8012: ELSE
8013: IF l_debug_on THEN
8014: WSH_DEBUG_SV.logmsg(l_module_name,'ERROR');
8015: END IF;
8016: l_error_count := l_error_count + 1;
8017:
8018: --hadcp

Line 8023: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_interface_om');

8019: --Rollback to savepoint l_interface_om;
8020:
8021: IF (p_bulk_mode='Y') THEN
8022: IF l_debug_on THEN
8023: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_interface_om');
8024: END IF;
8025: ROLLBACK TO l_interface_om;
8026: ELSE
8027: IF l_debug_on THEN

Line 8028: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint its_process_order_non_bulk');

8024: END IF;
8025: ROLLBACK TO l_interface_om;
8026: ELSE
8027: IF l_debug_on THEN
8028: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint its_process_order_non_bulk');
8029: END IF;
8030: ROLLBACK TO its_process_order_non_bulk;
8031: END IF;
8032:

Line 8043: WSH_DEBUG_SV.logmsg(l_module_name,'No DCP Error');

8039: p_raise_exception => 'N');
8040:
8041: END IF;
8042: IF l_debug_on THEN
8043: WSH_DEBUG_SV.logmsg(l_module_name,'No DCP Error');
8044: END IF;
8045:
8046: IF (l_dcp_profile IN (1,2) ) THEN
8047: WSH_DCP_PVT.G_INIT_MSG_COUNT := fnd_msg_pub.count_msg;

Line 8050: WSH_DEBUG_SV.log(l_module_name,'Inside Loop WSH_DCP_PVT.G_INIT_MSG_COUNT',WSH_DCP_PVT.G_INIT_MSG_COUNT);

8046: IF (l_dcp_profile IN (1,2) ) THEN
8047: WSH_DCP_PVT.G_INIT_MSG_COUNT := fnd_msg_pub.count_msg;
8048: END IF;
8049: IF l_debug_on THEN
8050: WSH_DEBUG_SV.log(l_module_name,'Inside Loop WSH_DCP_PVT.G_INIT_MSG_COUNT',WSH_DCP_PVT.G_INIT_MSG_COUNT);
8051: END IF;
8052: --hadcp
8053: END IF;
8054: l_start_index := l_end_index + 1;

Line 8057: WSH_DEBUG_SV.log(l_module_name,'before deleting tables', l_start_index);

8053: END IF;
8054: l_start_index := l_end_index + 1;
8055:
8056: IF l_debug_on THEN
8057: WSH_DEBUG_SV.log(l_module_name,'before deleting tables', l_start_index);
8058: END IF;
8059: l_bulk_count := 0;
8060: l_ship_adj_line.cost_id.DELETE;
8061: l_ship_adj_line.automatic_flag.DELETE;

Line 8074: WSH_DEBUG_SV.logmsg(l_module_name,'Exception e_next_record');

8070:
8071: EXCEPTION
8072: WHEN e_next_record THEN
8073: IF l_debug_on THEN
8074: WSH_DEBUG_SV.logmsg(l_module_name,'Exception e_next_record');
8075: END IF;
8076:
8077: NULL;
8078: END ; --}

Line 8081: WSH_DEBUG_SV.log(l_module_name,'current index',l_line_idx);

8077: NULL;
8078: END ; --}
8079:
8080: IF l_debug_on THEN
8081: WSH_DEBUG_SV.log(l_module_name,'current index',l_line_idx);
8082: END IF;
8083:
8084: l_line_idx := p_bulk_ship_line.line_id.NEXT(l_line_idx);
8085:

Line 8087: WSH_DEBUG_SV.log(l_module_name,'next index',l_line_idx);

8083:
8084: l_line_idx := p_bulk_ship_line.line_id.NEXT(l_line_idx);
8085:
8086: IF l_debug_on THEN
8087: WSH_DEBUG_SV.log(l_module_name,'next index',l_line_idx);
8088: END IF;
8089:
8090: IF l_org_change THEN --{
8091: --R12:MOAC replace call

Line 8094: WSH_DEBUG_SV.log(l_module_name,'setting the org', l_prev_org_id);

8090: IF l_org_change THEN --{
8091: --R12:MOAC replace call
8092: MO_GLOBAL.set_policy_context('S', l_prev_org_id);
8093: IF l_debug_on THEN
8094: WSH_DEBUG_SV.log(l_module_name,'setting the org', l_prev_org_id);
8095: WSH_DEBUG_SV.log(l_module_name,'l_line_idx', l_line_idx);
8096: WSH_DEBUG_SV.log(l_module_name,'l_bulk_count', l_bulk_count);
8097: END IF;
8098: END IF; --}

Line 8095: WSH_DEBUG_SV.log(l_module_name,'l_line_idx', l_line_idx);

8091: --R12:MOAC replace call
8092: MO_GLOBAL.set_policy_context('S', l_prev_org_id);
8093: IF l_debug_on THEN
8094: WSH_DEBUG_SV.log(l_module_name,'setting the org', l_prev_org_id);
8095: WSH_DEBUG_SV.log(l_module_name,'l_line_idx', l_line_idx);
8096: WSH_DEBUG_SV.log(l_module_name,'l_bulk_count', l_bulk_count);
8097: END IF;
8098: END IF; --}
8099:

Line 8096: WSH_DEBUG_SV.log(l_module_name,'l_bulk_count', l_bulk_count);

8092: MO_GLOBAL.set_policy_context('S', l_prev_org_id);
8093: IF l_debug_on THEN
8094: WSH_DEBUG_SV.log(l_module_name,'setting the org', l_prev_org_id);
8095: WSH_DEBUG_SV.log(l_module_name,'l_line_idx', l_line_idx);
8096: WSH_DEBUG_SV.log(l_module_name,'l_bulk_count', l_bulk_count);
8097: END IF;
8098: END IF; --}
8099:
8100: --hadcp

Line 8104: l_debug_on := wsh_debug_sv.is_debug_enabled;

8100: --hadcp
8101: EXCEPTION
8102: WHEN WSH_DCP_PVT.data_inconsistency_exception THEN
8103: IF NOT l_debug_on OR l_debug_on is null THEN
8104: l_debug_on := wsh_debug_sv.is_debug_enabled;
8105: END IF;
8106:
8107: IF l_debug_on THEN
8108: WSH_DEBUG_SV.logmsg(l_module_name,'DCP Exception');

Line 8108: WSH_DEBUG_SV.logmsg(l_module_name,'DCP Exception');

8104: l_debug_on := wsh_debug_sv.is_debug_enabled;
8105: END IF;
8106:
8107: IF l_debug_on THEN
8108: WSH_DEBUG_SV.logmsg(l_module_name,'DCP Exception');
8109: END IF;
8110:
8111: IF (l_return_status IN (WSH_UTIL_CORE.G_RET_STS_WARNING, WSH_UTIL_CORE.G_RET_STS_SUCCESS)) THEN
8112: IF l_debug_on THEN

Line 8113: WSH_DEBUG_SV.logmsg(l_module_name,'DCP Rollback');

8109: END IF;
8110:
8111: IF (l_return_status IN (WSH_UTIL_CORE.G_RET_STS_WARNING, WSH_UTIL_CORE.G_RET_STS_SUCCESS)) THEN
8112: IF l_debug_on THEN
8113: WSH_DEBUG_SV.logmsg(l_module_name,'DCP Rollback');
8114: END IF;
8115:
8116: IF l_debug_on THEN
8117: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_interface_om');

Line 8117: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_interface_om');

8113: WSH_DEBUG_SV.logmsg(l_module_name,'DCP Rollback');
8114: END IF;
8115:
8116: IF l_debug_on THEN
8117: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_interface_om');
8118: END IF;
8119: ROLLBACK TO l_interface_om;
8120:
8121: END IF;

Line 8126: WSH_DEBUG_SV.log(l_module_name,'DCP before deleting tables', l_start_index);

8122:
8123: l_line_idx := l_start_index;
8124:
8125: IF l_debug_on THEN
8126: WSH_DEBUG_SV.log(l_module_name,'DCP before deleting tables', l_start_index);
8127: END IF;
8128: l_bulk_count := 0;
8129: l_ship_adj_line.cost_id.DELETE;
8130: l_ship_adj_line.automatic_flag.DELETE;

Line 8146: WSH_DEBUG_SV.log(l_module_name,'l_loop_count',l_loop_count);

8142: END LOOP; --}
8143:
8144:
8145: IF l_debug_on THEN
8146: WSH_DEBUG_SV.log(l_module_name,'l_loop_count',l_loop_count);
8147: WSH_DEBUG_SV.log(l_module_name,'l_error_count',l_error_count);
8148: WSH_DEBUG_SV.log(l_module_name,'l_warn_count',l_warn_count);
8149: END IF;
8150:

Line 8147: WSH_DEBUG_SV.log(l_module_name,'l_error_count',l_error_count);

8143:
8144:
8145: IF l_debug_on THEN
8146: WSH_DEBUG_SV.log(l_module_name,'l_loop_count',l_loop_count);
8147: WSH_DEBUG_SV.log(l_module_name,'l_error_count',l_error_count);
8148: WSH_DEBUG_SV.log(l_module_name,'l_warn_count',l_warn_count);
8149: END IF;
8150:
8151: IF (l_error_count = l_loop_count ) THEN

Line 8148: WSH_DEBUG_SV.log(l_module_name,'l_warn_count',l_warn_count);

8144:
8145: IF l_debug_on THEN
8146: WSH_DEBUG_SV.log(l_module_name,'l_loop_count',l_loop_count);
8147: WSH_DEBUG_SV.log(l_module_name,'l_error_count',l_error_count);
8148: WSH_DEBUG_SV.log(l_module_name,'l_warn_count',l_warn_count);
8149: END IF;
8150:
8151: IF (l_error_count = l_loop_count ) THEN
8152: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;

Line 8154: WSH_DEBUG_SV.logmsg(l_module_name,'Process Order Error', WSH_DEBUG_SV.C_EXCEP_LEVEL);

8150:
8151: IF (l_error_count = l_loop_count ) THEN
8152: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;
8153: IF l_debug_on THEN
8154: WSH_DEBUG_SV.logmsg(l_module_name,'Process Order Error', WSH_DEBUG_SV.C_EXCEP_LEVEL);
8155: END IF;
8156:
8157: --hadcp
8158: IF (p_bulk_mode='N') THEN

Line 8160: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint its_process_order_non_bulk');

8156:
8157: --hadcp
8158: IF (p_bulk_mode='N') THEN
8159: IF l_debug_on THEN
8160: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint its_process_order_non_bulk');
8161: END IF;
8162: ROLLBACK TO its_process_order_non_bulk;
8163: END IF;
8164: --hadcp

Line 8169: WSH_DEBUG_SV.logmsg(l_module_name,'Process Order Warning'||WSH_DEBUG_SV.C_EXCEP_LEVEL);

8165:
8166: ELSIF (l_warn_count > 0 OR (l_error_count > 0 and l_error_count < l_loop_count) ) THEN
8167: x_return_status := WSH_UTIL_CORE.G_RET_STS_WARNING;
8168: IF l_debug_on THEN
8169: WSH_DEBUG_SV.logmsg(l_module_name,'Process Order Warning'||WSH_DEBUG_SV.C_EXCEP_LEVEL);
8170: END IF;
8171: END IF;
8172:
8173: IF l_debug_on THEN

Line 8174: WSH_DEBUG_SV.pop(l_module_name);

8170: END IF;
8171: END IF;
8172:
8173: IF l_debug_on THEN
8174: WSH_DEBUG_SV.pop(l_module_name);
8175: END IF;
8176:
8177: EXCEPTION
8178: WHEN process_freight_costs_failed THEN

Line 8183: WSH_DEBUG_SV.logmsg(l_module_name,'PROCESS_FREIGHT_COSTS_FAILED exception has occured.',

8179: WSH_UTIL_CORE.PrintMsg('process_freight_costs_failed');
8180: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;
8181:
8182: IF l_debug_on THEN
8183: WSH_DEBUG_SV.logmsg(l_module_name,'PROCESS_FREIGHT_COSTS_FAILED exception has occured.',
8184: WSH_DEBUG_SV.C_EXCEP_LEVEL);
8185: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:PROCESS_FREIGHT_COSTS_FAILED');
8186: END IF;
8187:

Line 8184: WSH_DEBUG_SV.C_EXCEP_LEVEL);

8180: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;
8181:
8182: IF l_debug_on THEN
8183: WSH_DEBUG_SV.logmsg(l_module_name,'PROCESS_FREIGHT_COSTS_FAILED exception has occured.',
8184: WSH_DEBUG_SV.C_EXCEP_LEVEL);
8185: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:PROCESS_FREIGHT_COSTS_FAILED');
8186: END IF;
8187:
8188: --Rollback to savepoint l_interface_om;

Line 8185: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:PROCESS_FREIGHT_COSTS_FAILED');

8181:
8182: IF l_debug_on THEN
8183: WSH_DEBUG_SV.logmsg(l_module_name,'PROCESS_FREIGHT_COSTS_FAILED exception has occured.',
8184: WSH_DEBUG_SV.C_EXCEP_LEVEL);
8185: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:PROCESS_FREIGHT_COSTS_FAILED');
8186: END IF;
8187:
8188: --Rollback to savepoint l_interface_om;
8189:

Line 8193: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint its_process_order_non_bulk');

8189:
8190: --hadcp
8191: IF (p_bulk_mode='N') THEN
8192: IF l_debug_on THEN
8193: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint its_process_order_non_bulk');
8194: END IF;
8195: ROLLBACK TO its_process_order_non_bulk;
8196: END IF;
8197: --hadcp

Line 8206: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Process_Stop_To_OM' );

8202: wsh_util_core.printMsg('API Process_Stop_To_OM failed with an unexpected error');
8203: WSH_UTIL_CORE.PrintMsg('The unexpected error is ' || sqlerrm);
8204:
8205: IF l_debug_on THEN
8206: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Process_Stop_To_OM' );
8207: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
8208: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
8209: END IF;
8210:

Line 8207: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

8203: WSH_UTIL_CORE.PrintMsg('The unexpected error is ' || sqlerrm);
8204:
8205: IF l_debug_on THEN
8206: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Process_Stop_To_OM' );
8207: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
8208: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
8209: END IF;
8210:
8211: --hadcp

Line 8208: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

8204:
8205: IF l_debug_on THEN
8206: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Process_Stop_To_OM' );
8207: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
8208: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
8209: END IF;
8210:
8211: --hadcp
8212: IF (p_bulk_mode='Y') THEN

Line 8214: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_interface_om');

8210:
8211: --hadcp
8212: IF (p_bulk_mode='Y') THEN
8213: IF l_debug_on THEN
8214: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_interface_om');
8215: END IF;
8216: Rollback to savepoint l_interface_om;
8217: ELSE
8218: IF l_debug_on THEN

Line 8219: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint its_process_order_non_bulk');

8215: END IF;
8216: Rollback to savepoint l_interface_om;
8217: ELSE
8218: IF l_debug_on THEN
8219: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint its_process_order_non_bulk');
8220: END IF;
8221: ROLLBACK TO its_process_order_non_bulk;
8222: END IF;
8223: --hadcp

Line 8249: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

8245:
8246: BEGIN
8247: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
8248: IF l_debug_on IS NULL THEN
8249: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
8250: END IF;
8251:
8252: IF l_debug_on THEN
8253: WSH_DEBUG_SV.push(l_module_name);

Line 8253: WSH_DEBUG_SV.push(l_module_name);

8249: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
8250: END IF;
8251:
8252: IF l_debug_on THEN
8253: WSH_DEBUG_SV.push(l_module_name);
8254: WSH_DEBUG_SV.log(l_module_name,'p_ship_line.fulfilled_flag.count', p_ship_line.fulfilled_flag.count);
8255: END IF;
8256:
8257: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;

Line 8254: WSH_DEBUG_SV.log(l_module_name,'p_ship_line.fulfilled_flag.count', p_ship_line.fulfilled_flag.count);

8250: END IF;
8251:
8252: IF l_debug_on THEN
8253: WSH_DEBUG_SV.push(l_module_name);
8254: WSH_DEBUG_SV.log(l_module_name,'p_ship_line.fulfilled_flag.count', p_ship_line.fulfilled_flag.count);
8255: END IF;
8256:
8257: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
8258:

Line 8294: WSH_DEBUG_SV.pop(l_module_name);

8290: p_ship_line.calculate_price_flag.extend;
8291:
8292:
8293: IF l_debug_on THEN
8294: WSH_DEBUG_SV.pop(l_module_name);
8295: END IF;
8296:
8297: EXCEPTION
8298: WHEN others THEN

Line 8302: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

8298: WHEN others THEN
8299: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;
8300:
8301: IF l_debug_on THEN
8302: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
8303: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
8304: END IF;
8305: END extend_om_ship_line;
8306:

Line 8303: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

8299: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;
8300:
8301: IF l_debug_on THEN
8302: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
8303: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
8304: END IF;
8305: END extend_om_ship_line;
8306:
8307:

Line 8820: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

8816: BEGIN
8817: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
8818: --
8819: IF l_debug_on IS NULL THEN
8820: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
8821: END IF;
8822: --
8823: IF l_debug_on THEN
8824: WSH_DEBUG_SV.push(l_module_name);

Line 8824: WSH_DEBUG_SV.push(l_module_name);

8820: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
8821: END IF;
8822: --
8823: IF l_debug_on THEN
8824: WSH_DEBUG_SV.push(l_module_name);
8825: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
8826: END IF;
8827:
8828: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;

Line 8825: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);

8821: END IF;
8822: --
8823: IF l_debug_on THEN
8824: WSH_DEBUG_SV.push(l_module_name);
8825: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
8826: END IF;
8827:
8828: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
8829:

Line 8841: WSH_DEBUG_SV.log(l_module_name,'l_check_bulk',l_check_bulk);

8837: FETCH check_bulk_csr INTO l_check_bulk;
8838: CLOSE check_bulk_csr;
8839:
8840: IF l_debug_on THEN
8841: WSH_DEBUG_SV.log(l_module_name,'l_check_bulk',l_check_bulk);
8842: END IF;
8843:
8844:
8845: IF (nvl(l_check_bulk,'%%') <> 'X' ) THEN --{

Line 8847: WSH_DEBUG_SV.logmsg(l_module_name,'All lines are bulk enabled');

8843:
8844:
8845: IF (nvl(l_check_bulk,'%%') <> 'X' ) THEN --{
8846: IF l_debug_on THEN
8847: WSH_DEBUG_SV.logmsg(l_module_name,'All lines are bulk enabled');
8848: END IF;
8849:
8850: OPEN c_oe_interface_bulk(p_batch_id);
8851: FETCH c_oe_interface_bulk BULK COLLECT

Line 8873: WSH_DEBUG_SV.log(l_module_name,'Rows insert into l_bulk_ship_line',l_bulk_count);

8869:
8870: l_bulk_count := c_oe_interface_bulk%ROWCOUNT;
8871: CLOSE c_oe_interface_bulk;
8872: IF l_debug_on THEN
8873: WSH_DEBUG_SV.log(l_module_name,'Rows insert into l_bulk_ship_line',l_bulk_count);
8874: END IF;
8875:
8876: ELSE --} {
8877: IF l_debug_on THEN

Line 8878: WSH_DEBUG_SV.logmsg(l_module_name,'All lines are NOT bulk enable');

8874: END IF;
8875:
8876: ELSE --} {
8877: IF l_debug_on THEN
8878: WSH_DEBUG_SV.logmsg(l_module_name,'All lines are NOT bulk enable');
8879: END IF;
8880:
8881: OPEN c_oe_interface(p_batch_id);
8882: LOOP

Line 8899: WSH_DEBUG_SV.logmsg(l_module_name, 'INTERFACE SOURCE_LINE_ID= '||OE_INTERFACE_REC.SOURCE_LINE_ID);

8895: END IF;
8896: */
8897: -- End of comment for bug 5961591
8898: IF l_debug_on THEN
8899: WSH_DEBUG_SV.logmsg(l_module_name, 'INTERFACE SOURCE_LINE_ID= '||OE_INTERFACE_REC.SOURCE_LINE_ID);
8900: END IF;
8901:
8902:
8903: IF ((nvl(oe_interface_rec.ship_tolerance_above,0) > 0) OR -- {

Line 8908: WSH_DEBUG_SV.logmsg(l_module_name, 'Checking for Lock on dds in line set '||

8904: (nvl(oe_interface_rec.ship_tolerance_below,0) > 0)) THEN
8905:
8906: IF (oe_interface_rec.source_line_set_id is not null) THEN --{
8907: IF l_debug_on THEN
8908: WSH_DEBUG_SV.logmsg(l_module_name, 'Checking for Lock on dds in line set '||
8909: oe_interface_rec.source_line_set_id);
8910: END IF;
8911:
8912: OPEN lock_dds_line_set(oe_interface_rec.source_header_id,oe_interface_rec.source_line_set_id, p_batch_id);

Line 8916: WSH_DEBUG_SV.logmsg(l_module_name, 'Some or all delivery details for Line Set '||

8912: OPEN lock_dds_line_set(oe_interface_rec.source_header_id,oe_interface_rec.source_line_set_id, p_batch_id);
8913: FETCH lock_dds_line_set INTO t_source_line_id;
8914: IF lock_dds_line_set%NOTFOUND THEN
8915: IF l_debug_on THEN
8916: WSH_DEBUG_SV.logmsg(l_module_name, 'Some or all delivery details for Line Set '||
8917: oe_interface_rec.source_line_set_id||' are already locked by another process');
8918: END IF;
8919: CLOSE lock_dds_line_set;
8920: END IF;

Line 8925: WSH_DEBUG_SV.logmsg(l_module_name,'Checking for Lock on dds in line '||

8921: CLOSE lock_dds_line_set;
8922:
8923: ELSE --}{
8924: IF l_debug_on THEN
8925: WSH_DEBUG_SV.logmsg(l_module_name,'Checking for Lock on dds in line '||
8926: oe_interface_rec.source_line_id);
8927: END IF;
8928:
8929: OPEN lock_dds_line(oe_interface_rec.source_header_id,oe_interface_rec.source_line_id, p_batch_id);

Line 8933: WSH_DEBUG_SV.logmsg(l_module_name, 'Some or all delivery details for Line '||

8929: OPEN lock_dds_line(oe_interface_rec.source_header_id,oe_interface_rec.source_line_id, p_batch_id);
8930: FETCH lock_dds_line INTO t_source_line_id;
8931: if lock_dds_line%NOTFOUND then
8932: IF l_debug_on THEN
8933: WSH_DEBUG_SV.logmsg(l_module_name, 'Some or all delivery details for Line '||
8934: oe_interface_rec.source_line_id||' are already lock by another process');
8935: END IF;
8936: CLOSE lock_dds_line;
8937: end if;

Line 8944: WSH_DEBUG_SV.log(l_module_name, 'Checking for Lock on line '||oe_interface_rec.source_line_id);

8940:
8941: ELSE --}{
8942: -- bug2080335
8943: IF l_debug_on THEN
8944: WSH_DEBUG_SV.log(l_module_name, 'Checking for Lock on line '||oe_interface_rec.source_line_id);
8945: END IF;
8946: OPEN lock_delivery_line(p_batch_id,oe_interface_rec.source_header_id,oe_interface_rec.source_line_id);
8947: FETCH lock_delivery_line INTO t_source_line_id;
8948: IF lock_delivery_line%NOTFOUND then

Line 8950: WSH_DEBUG_SV.logmsg(l_module_name, 'LINE '||OE_INTERFACE_REC.SOURCE_LINE_ID||'

8946: OPEN lock_delivery_line(p_batch_id,oe_interface_rec.source_header_id,oe_interface_rec.source_line_id);
8947: FETCH lock_delivery_line INTO t_source_line_id;
8948: IF lock_delivery_line%NOTFOUND then
8949: IF l_debug_on THEN
8950: WSH_DEBUG_SV.logmsg(l_module_name, 'LINE '||OE_INTERFACE_REC.SOURCE_LINE_ID||'
8951: IS ALREADY LOCK BY ANOTHER PROCESS' );
8952: END IF;
8953: CLOSE lock_delivery_line;
8954: END IF;

Line 8983: WSH_DEBUG_SV.log(l_module_name,'t_source_line_id',t_source_line_id);

8979: END IF;
8980: --End of fix for the bug 5961591
8981:
8982: IF l_debug_on THEN
8983: WSH_DEBUG_SV.log(l_module_name,'t_source_line_id',t_source_line_id);
8984: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit INV_GMI_RSV_BRANCH.PROCESS_BRANCH',WSH_DEBUG_SV.C_PROC_LEVEL);
8985: END IF;
8986: -- bug 7131800
8987: IF NOT INV_GMI_RSV_BRANCH.Process_Branch(p_organization_id => oe_interface_rec.organization_id) THEN

Line 8984: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit INV_GMI_RSV_BRANCH.PROCESS_BRANCH',WSH_DEBUG_SV.C_PROC_LEVEL);

8980: --End of fix for the bug 5961591
8981:
8982: IF l_debug_on THEN
8983: WSH_DEBUG_SV.log(l_module_name,'t_source_line_id',t_source_line_id);
8984: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit INV_GMI_RSV_BRANCH.PROCESS_BRANCH',WSH_DEBUG_SV.C_PROC_LEVEL);
8985: END IF;
8986: -- bug 7131800
8987: IF NOT INV_GMI_RSV_BRANCH.Process_Branch(p_organization_id => oe_interface_rec.organization_id) THEN
8988: l_process_flag := FND_API.G_FALSE;

Line 9004: WSH_DEBUG_SV.log(l_module_name,'source_header_number',oe_interface_rec.source_header_number);

9000: l_old_tolerance_below := oe_interface_rec.ship_tolerance_below;
9001: l_org_id := oe_interface_rec.org_id;
9002:
9003: IF l_debug_on THEN
9004: WSH_DEBUG_SV.log(l_module_name,'source_header_number',oe_interface_rec.source_header_number);
9005: WSH_DEBUG_SV.log(l_module_name,'l_process_flag',l_process_flag);
9006: WSH_DEBUG_SV.log(l_module_name,'l_prev_source_header_number',l_prev_source_header_number);
9007: WSH_DEBUG_SV.log(l_module_name,'l_non_bulk_ship_line.line_id.count',l_non_bulk_ship_line.line_id.count);
9008: END IF;

Line 9005: WSH_DEBUG_SV.log(l_module_name,'l_process_flag',l_process_flag);

9001: l_org_id := oe_interface_rec.org_id;
9002:
9003: IF l_debug_on THEN
9004: WSH_DEBUG_SV.log(l_module_name,'source_header_number',oe_interface_rec.source_header_number);
9005: WSH_DEBUG_SV.log(l_module_name,'l_process_flag',l_process_flag);
9006: WSH_DEBUG_SV.log(l_module_name,'l_prev_source_header_number',l_prev_source_header_number);
9007: WSH_DEBUG_SV.log(l_module_name,'l_non_bulk_ship_line.line_id.count',l_non_bulk_ship_line.line_id.count);
9008: END IF;
9009: IF (oe_interface_rec.source_header_number <> nvl(l_prev_source_header_number,'#') -- {

Line 9006: WSH_DEBUG_SV.log(l_module_name,'l_prev_source_header_number',l_prev_source_header_number);

9002:
9003: IF l_debug_on THEN
9004: WSH_DEBUG_SV.log(l_module_name,'source_header_number',oe_interface_rec.source_header_number);
9005: WSH_DEBUG_SV.log(l_module_name,'l_process_flag',l_process_flag);
9006: WSH_DEBUG_SV.log(l_module_name,'l_prev_source_header_number',l_prev_source_header_number);
9007: WSH_DEBUG_SV.log(l_module_name,'l_non_bulk_ship_line.line_id.count',l_non_bulk_ship_line.line_id.count);
9008: END IF;
9009: IF (oe_interface_rec.source_header_number <> nvl(l_prev_source_header_number,'#') -- {
9010: AND (l_non_bulk_ship_line.line_id.count > 0 OR l_non_bulk_req_line.line_id.count > 0)

Line 9007: WSH_DEBUG_SV.log(l_module_name,'l_non_bulk_ship_line.line_id.count',l_non_bulk_ship_line.line_id.count);

9003: IF l_debug_on THEN
9004: WSH_DEBUG_SV.log(l_module_name,'source_header_number',oe_interface_rec.source_header_number);
9005: WSH_DEBUG_SV.log(l_module_name,'l_process_flag',l_process_flag);
9006: WSH_DEBUG_SV.log(l_module_name,'l_prev_source_header_number',l_prev_source_header_number);
9007: WSH_DEBUG_SV.log(l_module_name,'l_non_bulk_ship_line.line_id.count',l_non_bulk_ship_line.line_id.count);
9008: END IF;
9009: IF (oe_interface_rec.source_header_number <> nvl(l_prev_source_header_number,'#') -- {
9010: AND (l_non_bulk_ship_line.line_id.count > 0 OR l_non_bulk_req_line.line_id.count > 0)
9011: ) THEN

Line 9025: WSH_DEBUG_SV.log(l_module_name, 'NON BULK Process_Stop_To_OM l_return_status',l_return_status);

9021: x_charges_are_calculated => l_charges_are_calculated,
9022: x_return_status => l_return_status);
9023:
9024: IF l_debug_on THEN
9025: WSH_DEBUG_SV.log(l_module_name, 'NON BULK Process_Stop_To_OM l_return_status',l_return_status);
9026: END IF;
9027:
9028: IF (l_return_status IN (WSH_UTIL_CORE.G_RET_STS_ERROR, WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR)) THEN
9029: IF l_debug_on THEN

Line 9030: WSH_DEBUG_SV.logmsg(l_module_name, 'Rolling back to the savepoint its_process_order_non_bulk as ITS for the order completed with an error');

9026: END IF;
9027:
9028: IF (l_return_status IN (WSH_UTIL_CORE.G_RET_STS_ERROR, WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR)) THEN
9029: IF l_debug_on THEN
9030: WSH_DEBUG_SV.logmsg(l_module_name, 'Rolling back to the savepoint its_process_order_non_bulk as ITS for the order completed with an error');
9031: END IF;
9032: --ROLLBACK TO its_process_order_non_bulk;
9033:
9034: END IF;

Line 9098: WSH_DEBUG_SV.logmsg(l_module_name, 'Setting the savepoint its_process_order_non_bulk for the next order');

9094: x_num_errors =>l_num_om_errors,
9095: p_raise_error_flag =>false);
9096:
9097: IF l_debug_on THEN
9098: WSH_DEBUG_SV.logmsg(l_module_name, 'Setting the savepoint its_process_order_non_bulk for the next order');
9099: END IF;
9100: SAVEPOINT its_process_order_non_bulk;
9101: ELSIF (l_non_bulk_count = 1) THEN
9102: --{

Line 9104: WSH_DEBUG_SV.logmsg(l_module_name, 'Setting the savepoint its_process_order_non_bulk for the first order');

9100: SAVEPOINT its_process_order_non_bulk;
9101: ELSIF (l_non_bulk_count = 1) THEN
9102: --{
9103: IF l_debug_on THEN
9104: WSH_DEBUG_SV.logmsg(l_module_name, 'Setting the savepoint its_process_order_non_bulk for the first order');
9105: END IF;
9106: SAVEPOINT its_process_order_non_bulk;
9107: --}
9108: END IF; --}

Line 9113: WSH_DEBUG_SV.logmsg(l_module_name, 'L_PROCESS_FLAG IS ' || L_PROCESS_FLAG );

9109:
9110: -- Cache the Source header Number
9111: IF l_debug_on THEN
9112: -- HW OPMCONV. Comment printing value of process flag
9113: WSH_DEBUG_SV.logmsg(l_module_name, 'L_PROCESS_FLAG IS ' || L_PROCESS_FLAG );
9114: WSH_DEBUG_SV.logmsg(l_module_name, 'L_TOT_SHP_QTY = '||L_TOT_SHP_QTY );
9115: END IF;
9116:
9117: l_setsmc_input_rec.top_model_line_id := oe_interface_rec.top_model_line_id;

Line 9114: WSH_DEBUG_SV.logmsg(l_module_name, 'L_TOT_SHP_QTY = '||L_TOT_SHP_QTY );

9110: -- Cache the Source header Number
9111: IF l_debug_on THEN
9112: -- HW OPMCONV. Comment printing value of process flag
9113: WSH_DEBUG_SV.logmsg(l_module_name, 'L_PROCESS_FLAG IS ' || L_PROCESS_FLAG );
9114: WSH_DEBUG_SV.logmsg(l_module_name, 'L_TOT_SHP_QTY = '||L_TOT_SHP_QTY );
9115: END IF;
9116:
9117: l_setsmc_input_rec.top_model_line_id := oe_interface_rec.top_model_line_id;
9118: l_setsmc_input_rec.ship_set_id := oe_interface_rec.ship_set_id;

Line 9170: WSH_DEBUG_SV.logmsg(l_module_name, 'Interface the Non-Bulk record for Source Header');

9166: l_bulk_ship_line.ordered_quantity2(l_bulk_count):= oe_interface_rec.ordered_quantity2;
9167: ELSE -- } {
9168:
9169: IF l_debug_on THEN
9170: WSH_DEBUG_SV.logmsg(l_module_name, 'Interface the Non-Bulk record for Source Header');
9171: WSH_DEBUG_SV.log(l_module_name,'ship_tolerance_above',oe_interface_rec.ship_tolerance_above);
9172: WSH_DEBUG_SV.log(l_module_name,'ship_tolerance_below',oe_interface_rec.ship_tolerance_below);
9173: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity',oe_interface_rec.total_requested_quantity);
9174: WSH_DEBUG_SV.log(l_module_name,'order_line_quantity',oe_interface_rec.order_line_quantity);

Line 9171: WSH_DEBUG_SV.log(l_module_name,'ship_tolerance_above',oe_interface_rec.ship_tolerance_above);

9167: ELSE -- } {
9168:
9169: IF l_debug_on THEN
9170: WSH_DEBUG_SV.logmsg(l_module_name, 'Interface the Non-Bulk record for Source Header');
9171: WSH_DEBUG_SV.log(l_module_name,'ship_tolerance_above',oe_interface_rec.ship_tolerance_above);
9172: WSH_DEBUG_SV.log(l_module_name,'ship_tolerance_below',oe_interface_rec.ship_tolerance_below);
9173: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity',oe_interface_rec.total_requested_quantity);
9174: WSH_DEBUG_SV.log(l_module_name,'order_line_quantity',oe_interface_rec.order_line_quantity);
9175: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_SHIP_CONFRIM_ACTIONS.Handle_Tolerances',WSH_DEBUG_SV.C_PROC_LEVEL);

Line 9172: WSH_DEBUG_SV.log(l_module_name,'ship_tolerance_below',oe_interface_rec.ship_tolerance_below);

9168:
9169: IF l_debug_on THEN
9170: WSH_DEBUG_SV.logmsg(l_module_name, 'Interface the Non-Bulk record for Source Header');
9171: WSH_DEBUG_SV.log(l_module_name,'ship_tolerance_above',oe_interface_rec.ship_tolerance_above);
9172: WSH_DEBUG_SV.log(l_module_name,'ship_tolerance_below',oe_interface_rec.ship_tolerance_below);
9173: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity',oe_interface_rec.total_requested_quantity);
9174: WSH_DEBUG_SV.log(l_module_name,'order_line_quantity',oe_interface_rec.order_line_quantity);
9175: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_SHIP_CONFRIM_ACTIONS.Handle_Tolerances',WSH_DEBUG_SV.C_PROC_LEVEL);
9176: END IF;

Line 9173: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity',oe_interface_rec.total_requested_quantity);

9169: IF l_debug_on THEN
9170: WSH_DEBUG_SV.logmsg(l_module_name, 'Interface the Non-Bulk record for Source Header');
9171: WSH_DEBUG_SV.log(l_module_name,'ship_tolerance_above',oe_interface_rec.ship_tolerance_above);
9172: WSH_DEBUG_SV.log(l_module_name,'ship_tolerance_below',oe_interface_rec.ship_tolerance_below);
9173: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity',oe_interface_rec.total_requested_quantity);
9174: WSH_DEBUG_SV.log(l_module_name,'order_line_quantity',oe_interface_rec.order_line_quantity);
9175: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_SHIP_CONFRIM_ACTIONS.Handle_Tolerances',WSH_DEBUG_SV.C_PROC_LEVEL);
9176: END IF;
9177:

Line 9174: WSH_DEBUG_SV.log(l_module_name,'order_line_quantity',oe_interface_rec.order_line_quantity);

9170: WSH_DEBUG_SV.logmsg(l_module_name, 'Interface the Non-Bulk record for Source Header');
9171: WSH_DEBUG_SV.log(l_module_name,'ship_tolerance_above',oe_interface_rec.ship_tolerance_above);
9172: WSH_DEBUG_SV.log(l_module_name,'ship_tolerance_below',oe_interface_rec.ship_tolerance_below);
9173: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity',oe_interface_rec.total_requested_quantity);
9174: WSH_DEBUG_SV.log(l_module_name,'order_line_quantity',oe_interface_rec.order_line_quantity);
9175: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_SHIP_CONFRIM_ACTIONS.Handle_Tolerances',WSH_DEBUG_SV.C_PROC_LEVEL);
9176: END IF;
9177:
9178: -- muom

Line 9175: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_SHIP_CONFRIM_ACTIONS.Handle_Tolerances',WSH_DEBUG_SV.C_PROC_LEVEL);

9171: WSH_DEBUG_SV.log(l_module_name,'ship_tolerance_above',oe_interface_rec.ship_tolerance_above);
9172: WSH_DEBUG_SV.log(l_module_name,'ship_tolerance_below',oe_interface_rec.ship_tolerance_below);
9173: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity',oe_interface_rec.total_requested_quantity);
9174: WSH_DEBUG_SV.log(l_module_name,'order_line_quantity',oe_interface_rec.order_line_quantity);
9175: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_SHIP_CONFRIM_ACTIONS.Handle_Tolerances',WSH_DEBUG_SV.C_PROC_LEVEL);
9176: END IF;
9177:
9178: -- muom
9179: l_fulfill_base := WSH_UTIL_CORE.Get_Line_Fulfillment_Base('OE', oe_interface_rec.source_line_id);

Line 9190: WSH_DEBUG_SV.log(l_module_name,'Return status after calling WSH_SHIP_CONFRIM_ACTIONS.Handle_Tolerances ',l_return_status);

9186: x_over_reason => l_over_reason,
9187: x_return_status => l_return_status);
9188:
9189: IF l_debug_on THEN
9190: WSH_DEBUG_SV.log(l_module_name,'Return status after calling WSH_SHIP_CONFRIM_ACTIONS.Handle_Tolerances ',l_return_status);
9191: END IF;
9192:
9193: WSH_UTIL_CORE.api_post_call( p_return_status => l_return_status,
9194: x_num_warnings =>l_num_warnings,

Line 9199: WSH_DEBUG_SV.logmsg(l_module_name,'l_tot_shp_qty '||l_tot_shp_qty||' l_tot_shp_qty2 '||l_tot_shp_qty2);

9195: x_num_errors =>l_num_errors);
9196:
9197: -- muom
9198: IF l_debug_on THEN
9199: WSH_DEBUG_SV.logmsg(l_module_name,'l_tot_shp_qty '||l_tot_shp_qty||' l_tot_shp_qty2 '||l_tot_shp_qty2);
9200: END IF;
9201:
9202: IF ( l_fulfill_base = 'P' and l_tot_shp_qty > 0 ) OR ( l_fulfill_base = 'S' and l_tot_shp_qty2 > 0 ) THEN --{
9203: --wrudge

Line 9209: WSH_DEBUG_SV.log(l_module_name, 'l_fulfilled_flag ',l_fulfilled_flag);

9205: -- and it's not PTO,
9206: -- and the order line is not fulfilled in this session (flag is false or pending.)
9207: --
9208: IF l_debug_on THEN
9209: WSH_DEBUG_SV.log(l_module_name, 'l_fulfilled_flag ',l_fulfilled_flag);
9210: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity',oe_interface_rec.total_requested_quantity);
9211: -- muom
9212: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity2',oe_interface_rec.total_requested_quantity2);
9213: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id', oe_interface_rec.top_model_line_id);

Line 9210: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity',oe_interface_rec.total_requested_quantity);

9206: -- and the order line is not fulfilled in this session (flag is false or pending.)
9207: --
9208: IF l_debug_on THEN
9209: WSH_DEBUG_SV.log(l_module_name, 'l_fulfilled_flag ',l_fulfilled_flag);
9210: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity',oe_interface_rec.total_requested_quantity);
9211: -- muom
9212: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity2',oe_interface_rec.total_requested_quantity2);
9213: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id', oe_interface_rec.top_model_line_id);
9214: WSH_DEBUG_SV.log(l_module_name,'ato_line_id',oe_interface_rec.ato_line_id);

Line 9212: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity2',oe_interface_rec.total_requested_quantity2);

9208: IF l_debug_on THEN
9209: WSH_DEBUG_SV.log(l_module_name, 'l_fulfilled_flag ',l_fulfilled_flag);
9210: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity',oe_interface_rec.total_requested_quantity);
9211: -- muom
9212: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity2',oe_interface_rec.total_requested_quantity2);
9213: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id', oe_interface_rec.top_model_line_id);
9214: WSH_DEBUG_SV.log(l_module_name,'ato_line_id',oe_interface_rec.ato_line_id);
9215: END IF;
9216: --Bug 8975388: initialize the value of variable l_cancel_unpicked_details.

Line 9213: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id', oe_interface_rec.top_model_line_id);

9209: WSH_DEBUG_SV.log(l_module_name, 'l_fulfilled_flag ',l_fulfilled_flag);
9210: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity',oe_interface_rec.total_requested_quantity);
9211: -- muom
9212: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity2',oe_interface_rec.total_requested_quantity2);
9213: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id', oe_interface_rec.top_model_line_id);
9214: WSH_DEBUG_SV.log(l_module_name,'ato_line_id',oe_interface_rec.ato_line_id);
9215: END IF;
9216: --Bug 8975388: initialize the value of variable l_cancel_unpicked_details.
9217: --

Line 9214: WSH_DEBUG_SV.log(l_module_name,'ato_line_id',oe_interface_rec.ato_line_id);

9210: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity',oe_interface_rec.total_requested_quantity);
9211: -- muom
9212: WSH_DEBUG_SV.log(l_module_name,'total_requested_quantity2',oe_interface_rec.total_requested_quantity2);
9213: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id', oe_interface_rec.top_model_line_id);
9214: WSH_DEBUG_SV.log(l_module_name,'ato_line_id',oe_interface_rec.ato_line_id);
9215: END IF;
9216: --Bug 8975388: initialize the value of variable l_cancel_unpicked_details.
9217: --
9218: l_cancel_unpicked_details := NULL;

Line 9223: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_CUSTOM_PUB.Cancel_Unpicked_Details_At_ITS', WSH_DEBUG_SV.C_PROC_LEVEL);

9219: --
9220: IF (l_process_flag = FND_API.G_FALSE ) THEN
9221: --{
9222: IF l_debug_on THEN
9223: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_CUSTOM_PUB.Cancel_Unpicked_Details_At_ITS', WSH_DEBUG_SV.C_PROC_LEVEL);
9224: END IF;
9225: l_cancel_unpicked_details := WSH_CUSTOM_PUB.Cancel_Unpicked_Details_At_ITS( p_source_header_id => oe_interface_rec.source_header_id,
9226: p_source_line_id => oe_interface_rec.source_line_id,
9227: p_source_line_set_id => oe_interface_rec.source_line_set_id,

Line 9230: WSH_DEBUG_SV.logmsg(l_module_name, 'l_cancel_upicked_details '|| l_cancel_unpicked_details);

9226: p_source_line_id => oe_interface_rec.source_line_id,
9227: p_source_line_set_id => oe_interface_rec.source_line_set_id,
9228: p_remain_details_id => l_remain_details_id);
9229: IF l_debug_on THEN
9230: WSH_DEBUG_SV.logmsg(l_module_name, 'l_cancel_upicked_details '|| l_cancel_unpicked_details);
9231: END IF;
9232: IF ( l_cancel_unpicked_details NOT IN ('Y','N') ) THEN
9233: IF l_debug_on THEN
9234: WSH_DEBUG_SV.logmsg(l_module_name, ' Error in Routine wsh_custom_pub.Cancel_Unpicked_Details_At_ITS ');

Line 9234: WSH_DEBUG_SV.logmsg(l_module_name, ' Error in Routine wsh_custom_pub.Cancel_Unpicked_Details_At_ITS ');

9230: WSH_DEBUG_SV.logmsg(l_module_name, 'l_cancel_upicked_details '|| l_cancel_unpicked_details);
9231: END IF;
9232: IF ( l_cancel_unpicked_details NOT IN ('Y','N') ) THEN
9233: IF l_debug_on THEN
9234: WSH_DEBUG_SV.logmsg(l_module_name, ' Error in Routine wsh_custom_pub.Cancel_Unpicked_Details_At_ITS ');
9235: END IF;
9236: RAISE FND_API.G_EXC_ERROR;
9237: END IF;
9238: --}

Line 9309: WSH_DEBUG_SV.logmsg(l_module_name, 'Lines in l_non_bulk_req_line');

9305: l_non_bulk_req_line.ship_from_org_id(l_non_bulk_req_count):= oe_interface_rec.organization_id;
9306:
9307:
9308: IF l_debug_on THEN
9309: WSH_DEBUG_SV.logmsg(l_module_name, 'Lines in l_non_bulk_req_line');
9310: WSH_DEBUG_SV.log(l_module_name,'line_id',l_non_bulk_req_line.line_id(l_non_bulk_req_count));
9311: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',l_non_bulk_req_line.requested_quantity(l_non_bulk_req_count));
9312: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',l_non_bulk_req_line.requested_quantity2(l_non_bulk_req_count));
9313: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',l_non_bulk_req_line.shipping_quantity(l_non_bulk_req_count));

Line 9310: WSH_DEBUG_SV.log(l_module_name,'line_id',l_non_bulk_req_line.line_id(l_non_bulk_req_count));

9306:
9307:
9308: IF l_debug_on THEN
9309: WSH_DEBUG_SV.logmsg(l_module_name, 'Lines in l_non_bulk_req_line');
9310: WSH_DEBUG_SV.log(l_module_name,'line_id',l_non_bulk_req_line.line_id(l_non_bulk_req_count));
9311: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',l_non_bulk_req_line.requested_quantity(l_non_bulk_req_count));
9312: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',l_non_bulk_req_line.requested_quantity2(l_non_bulk_req_count));
9313: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',l_non_bulk_req_line.shipping_quantity(l_non_bulk_req_count));
9314: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',l_non_bulk_req_line.shipping_quantity_uom(l_non_bulk_req_count));

Line 9311: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',l_non_bulk_req_line.requested_quantity(l_non_bulk_req_count));

9307:
9308: IF l_debug_on THEN
9309: WSH_DEBUG_SV.logmsg(l_module_name, 'Lines in l_non_bulk_req_line');
9310: WSH_DEBUG_SV.log(l_module_name,'line_id',l_non_bulk_req_line.line_id(l_non_bulk_req_count));
9311: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',l_non_bulk_req_line.requested_quantity(l_non_bulk_req_count));
9312: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',l_non_bulk_req_line.requested_quantity2(l_non_bulk_req_count));
9313: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',l_non_bulk_req_line.shipping_quantity(l_non_bulk_req_count));
9314: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',l_non_bulk_req_line.shipping_quantity_uom(l_non_bulk_req_count));
9315: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',l_non_bulk_req_line.shipping_quantity2(l_non_bulk_req_count));

Line 9312: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',l_non_bulk_req_line.requested_quantity2(l_non_bulk_req_count));

9308: IF l_debug_on THEN
9309: WSH_DEBUG_SV.logmsg(l_module_name, 'Lines in l_non_bulk_req_line');
9310: WSH_DEBUG_SV.log(l_module_name,'line_id',l_non_bulk_req_line.line_id(l_non_bulk_req_count));
9311: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',l_non_bulk_req_line.requested_quantity(l_non_bulk_req_count));
9312: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',l_non_bulk_req_line.requested_quantity2(l_non_bulk_req_count));
9313: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',l_non_bulk_req_line.shipping_quantity(l_non_bulk_req_count));
9314: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',l_non_bulk_req_line.shipping_quantity_uom(l_non_bulk_req_count));
9315: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',l_non_bulk_req_line.shipping_quantity2(l_non_bulk_req_count));
9316: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',l_non_bulk_req_line.shipping_quantity_uom2(l_non_bulk_req_count));

Line 9313: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',l_non_bulk_req_line.shipping_quantity(l_non_bulk_req_count));

9309: WSH_DEBUG_SV.logmsg(l_module_name, 'Lines in l_non_bulk_req_line');
9310: WSH_DEBUG_SV.log(l_module_name,'line_id',l_non_bulk_req_line.line_id(l_non_bulk_req_count));
9311: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',l_non_bulk_req_line.requested_quantity(l_non_bulk_req_count));
9312: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',l_non_bulk_req_line.requested_quantity2(l_non_bulk_req_count));
9313: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',l_non_bulk_req_line.shipping_quantity(l_non_bulk_req_count));
9314: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',l_non_bulk_req_line.shipping_quantity_uom(l_non_bulk_req_count));
9315: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',l_non_bulk_req_line.shipping_quantity2(l_non_bulk_req_count));
9316: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',l_non_bulk_req_line.shipping_quantity_uom2(l_non_bulk_req_count));
9317: -- muom

Line 9314: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',l_non_bulk_req_line.shipping_quantity_uom(l_non_bulk_req_count));

9310: WSH_DEBUG_SV.log(l_module_name,'line_id',l_non_bulk_req_line.line_id(l_non_bulk_req_count));
9311: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',l_non_bulk_req_line.requested_quantity(l_non_bulk_req_count));
9312: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',l_non_bulk_req_line.requested_quantity2(l_non_bulk_req_count));
9313: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',l_non_bulk_req_line.shipping_quantity(l_non_bulk_req_count));
9314: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',l_non_bulk_req_line.shipping_quantity_uom(l_non_bulk_req_count));
9315: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',l_non_bulk_req_line.shipping_quantity2(l_non_bulk_req_count));
9316: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',l_non_bulk_req_line.shipping_quantity_uom2(l_non_bulk_req_count));
9317: -- muom
9318: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',l_non_bulk_req_line.shipped_quantity(l_non_bulk_req_count));

Line 9315: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',l_non_bulk_req_line.shipping_quantity2(l_non_bulk_req_count));

9311: WSH_DEBUG_SV.log(l_module_name,'requested_quantity',l_non_bulk_req_line.requested_quantity(l_non_bulk_req_count));
9312: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',l_non_bulk_req_line.requested_quantity2(l_non_bulk_req_count));
9313: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',l_non_bulk_req_line.shipping_quantity(l_non_bulk_req_count));
9314: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',l_non_bulk_req_line.shipping_quantity_uom(l_non_bulk_req_count));
9315: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',l_non_bulk_req_line.shipping_quantity2(l_non_bulk_req_count));
9316: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',l_non_bulk_req_line.shipping_quantity_uom2(l_non_bulk_req_count));
9317: -- muom
9318: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',l_non_bulk_req_line.shipped_quantity(l_non_bulk_req_count));
9319: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',l_non_bulk_req_line.ordered_quantity(l_non_bulk_req_count));

Line 9316: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',l_non_bulk_req_line.shipping_quantity_uom2(l_non_bulk_req_count));

9312: WSH_DEBUG_SV.log(l_module_name,'requested_quantity2',l_non_bulk_req_line.requested_quantity2(l_non_bulk_req_count));
9313: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity',l_non_bulk_req_line.shipping_quantity(l_non_bulk_req_count));
9314: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',l_non_bulk_req_line.shipping_quantity_uom(l_non_bulk_req_count));
9315: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',l_non_bulk_req_line.shipping_quantity2(l_non_bulk_req_count));
9316: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',l_non_bulk_req_line.shipping_quantity_uom2(l_non_bulk_req_count));
9317: -- muom
9318: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',l_non_bulk_req_line.shipped_quantity(l_non_bulk_req_count));
9319: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',l_non_bulk_req_line.ordered_quantity(l_non_bulk_req_count));
9320: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',l_non_bulk_req_line.order_quantity_uom(l_non_bulk_req_count));

Line 9318: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',l_non_bulk_req_line.shipped_quantity(l_non_bulk_req_count));

9314: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom',l_non_bulk_req_line.shipping_quantity_uom(l_non_bulk_req_count));
9315: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',l_non_bulk_req_line.shipping_quantity2(l_non_bulk_req_count));
9316: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',l_non_bulk_req_line.shipping_quantity_uom2(l_non_bulk_req_count));
9317: -- muom
9318: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',l_non_bulk_req_line.shipped_quantity(l_non_bulk_req_count));
9319: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',l_non_bulk_req_line.ordered_quantity(l_non_bulk_req_count));
9320: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',l_non_bulk_req_line.order_quantity_uom(l_non_bulk_req_count));
9321: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',l_non_bulk_req_line.ordered_quantity2(l_non_bulk_req_count));
9322: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',l_non_bulk_req_line.order_quantity_uom2(l_non_bulk_req_count));

Line 9319: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',l_non_bulk_req_line.ordered_quantity(l_non_bulk_req_count));

9315: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity2',l_non_bulk_req_line.shipping_quantity2(l_non_bulk_req_count));
9316: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',l_non_bulk_req_line.shipping_quantity_uom2(l_non_bulk_req_count));
9317: -- muom
9318: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',l_non_bulk_req_line.shipped_quantity(l_non_bulk_req_count));
9319: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',l_non_bulk_req_line.ordered_quantity(l_non_bulk_req_count));
9320: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',l_non_bulk_req_line.order_quantity_uom(l_non_bulk_req_count));
9321: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',l_non_bulk_req_line.ordered_quantity2(l_non_bulk_req_count));
9322: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',l_non_bulk_req_line.order_quantity_uom2(l_non_bulk_req_count));
9323: WSH_DEBUG_SV.log(l_module_name,'line_set_id',l_non_bulk_req_line.line_set_id(l_non_bulk_req_count));

Line 9320: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',l_non_bulk_req_line.order_quantity_uom(l_non_bulk_req_count));

9316: WSH_DEBUG_SV.log(l_module_name,'shipping_quantity_uom2',l_non_bulk_req_line.shipping_quantity_uom2(l_non_bulk_req_count));
9317: -- muom
9318: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',l_non_bulk_req_line.shipped_quantity(l_non_bulk_req_count));
9319: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',l_non_bulk_req_line.ordered_quantity(l_non_bulk_req_count));
9320: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',l_non_bulk_req_line.order_quantity_uom(l_non_bulk_req_count));
9321: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',l_non_bulk_req_line.ordered_quantity2(l_non_bulk_req_count));
9322: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',l_non_bulk_req_line.order_quantity_uom2(l_non_bulk_req_count));
9323: WSH_DEBUG_SV.log(l_module_name,'line_set_id',l_non_bulk_req_line.line_set_id(l_non_bulk_req_count));
9324: WSH_DEBUG_SV.log(l_module_name,'item_type_code',l_non_bulk_req_line.ato_line_id(l_non_bulk_req_count));

Line 9321: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',l_non_bulk_req_line.ordered_quantity2(l_non_bulk_req_count));

9317: -- muom
9318: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',l_non_bulk_req_line.shipped_quantity(l_non_bulk_req_count));
9319: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',l_non_bulk_req_line.ordered_quantity(l_non_bulk_req_count));
9320: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',l_non_bulk_req_line.order_quantity_uom(l_non_bulk_req_count));
9321: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',l_non_bulk_req_line.ordered_quantity2(l_non_bulk_req_count));
9322: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',l_non_bulk_req_line.order_quantity_uom2(l_non_bulk_req_count));
9323: WSH_DEBUG_SV.log(l_module_name,'line_set_id',l_non_bulk_req_line.line_set_id(l_non_bulk_req_count));
9324: WSH_DEBUG_SV.log(l_module_name,'item_type_code',l_non_bulk_req_line.ato_line_id(l_non_bulk_req_count));
9325: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',l_non_bulk_req_line.top_model_line_id(l_non_bulk_req_count));

Line 9322: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',l_non_bulk_req_line.order_quantity_uom2(l_non_bulk_req_count));

9318: WSH_DEBUG_SV.log(l_module_name,'shipped_quantity',l_non_bulk_req_line.shipped_quantity(l_non_bulk_req_count));
9319: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',l_non_bulk_req_line.ordered_quantity(l_non_bulk_req_count));
9320: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',l_non_bulk_req_line.order_quantity_uom(l_non_bulk_req_count));
9321: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',l_non_bulk_req_line.ordered_quantity2(l_non_bulk_req_count));
9322: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',l_non_bulk_req_line.order_quantity_uom2(l_non_bulk_req_count));
9323: WSH_DEBUG_SV.log(l_module_name,'line_set_id',l_non_bulk_req_line.line_set_id(l_non_bulk_req_count));
9324: WSH_DEBUG_SV.log(l_module_name,'item_type_code',l_non_bulk_req_line.ato_line_id(l_non_bulk_req_count));
9325: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',l_non_bulk_req_line.top_model_line_id(l_non_bulk_req_count));
9326: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',l_non_bulk_req_line.inventory_item_id(l_non_bulk_req_count));

Line 9323: WSH_DEBUG_SV.log(l_module_name,'line_set_id',l_non_bulk_req_line.line_set_id(l_non_bulk_req_count));

9319: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',l_non_bulk_req_line.ordered_quantity(l_non_bulk_req_count));
9320: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',l_non_bulk_req_line.order_quantity_uom(l_non_bulk_req_count));
9321: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',l_non_bulk_req_line.ordered_quantity2(l_non_bulk_req_count));
9322: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',l_non_bulk_req_line.order_quantity_uom2(l_non_bulk_req_count));
9323: WSH_DEBUG_SV.log(l_module_name,'line_set_id',l_non_bulk_req_line.line_set_id(l_non_bulk_req_count));
9324: WSH_DEBUG_SV.log(l_module_name,'item_type_code',l_non_bulk_req_line.ato_line_id(l_non_bulk_req_count));
9325: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',l_non_bulk_req_line.top_model_line_id(l_non_bulk_req_count));
9326: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',l_non_bulk_req_line.inventory_item_id(l_non_bulk_req_count));
9327: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',l_non_bulk_req_line.ship_from_org_id(l_non_bulk_req_count));

Line 9324: WSH_DEBUG_SV.log(l_module_name,'item_type_code',l_non_bulk_req_line.ato_line_id(l_non_bulk_req_count));

9320: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom',l_non_bulk_req_line.order_quantity_uom(l_non_bulk_req_count));
9321: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',l_non_bulk_req_line.ordered_quantity2(l_non_bulk_req_count));
9322: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',l_non_bulk_req_line.order_quantity_uom2(l_non_bulk_req_count));
9323: WSH_DEBUG_SV.log(l_module_name,'line_set_id',l_non_bulk_req_line.line_set_id(l_non_bulk_req_count));
9324: WSH_DEBUG_SV.log(l_module_name,'item_type_code',l_non_bulk_req_line.ato_line_id(l_non_bulk_req_count));
9325: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',l_non_bulk_req_line.top_model_line_id(l_non_bulk_req_count));
9326: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',l_non_bulk_req_line.inventory_item_id(l_non_bulk_req_count));
9327: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',l_non_bulk_req_line.ship_from_org_id(l_non_bulk_req_count));
9328: END IF;

Line 9325: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',l_non_bulk_req_line.top_model_line_id(l_non_bulk_req_count));

9321: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity2',l_non_bulk_req_line.ordered_quantity2(l_non_bulk_req_count));
9322: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',l_non_bulk_req_line.order_quantity_uom2(l_non_bulk_req_count));
9323: WSH_DEBUG_SV.log(l_module_name,'line_set_id',l_non_bulk_req_line.line_set_id(l_non_bulk_req_count));
9324: WSH_DEBUG_SV.log(l_module_name,'item_type_code',l_non_bulk_req_line.ato_line_id(l_non_bulk_req_count));
9325: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',l_non_bulk_req_line.top_model_line_id(l_non_bulk_req_count));
9326: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',l_non_bulk_req_line.inventory_item_id(l_non_bulk_req_count));
9327: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',l_non_bulk_req_line.ship_from_org_id(l_non_bulk_req_count));
9328: END IF;
9329:

Line 9326: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',l_non_bulk_req_line.inventory_item_id(l_non_bulk_req_count));

9322: WSH_DEBUG_SV.log(l_module_name,'order_quantity_uom2',l_non_bulk_req_line.order_quantity_uom2(l_non_bulk_req_count));
9323: WSH_DEBUG_SV.log(l_module_name,'line_set_id',l_non_bulk_req_line.line_set_id(l_non_bulk_req_count));
9324: WSH_DEBUG_SV.log(l_module_name,'item_type_code',l_non_bulk_req_line.ato_line_id(l_non_bulk_req_count));
9325: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',l_non_bulk_req_line.top_model_line_id(l_non_bulk_req_count));
9326: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',l_non_bulk_req_line.inventory_item_id(l_non_bulk_req_count));
9327: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',l_non_bulk_req_line.ship_from_org_id(l_non_bulk_req_count));
9328: END IF;
9329:
9330:

Line 9327: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',l_non_bulk_req_line.ship_from_org_id(l_non_bulk_req_count));

9323: WSH_DEBUG_SV.log(l_module_name,'line_set_id',l_non_bulk_req_line.line_set_id(l_non_bulk_req_count));
9324: WSH_DEBUG_SV.log(l_module_name,'item_type_code',l_non_bulk_req_line.ato_line_id(l_non_bulk_req_count));
9325: WSH_DEBUG_SV.log(l_module_name,'top_model_line_id',l_non_bulk_req_line.top_model_line_id(l_non_bulk_req_count));
9326: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',l_non_bulk_req_line.inventory_item_id(l_non_bulk_req_count));
9327: WSH_DEBUG_SV.log(l_module_name,'ship_from_org_id',l_non_bulk_req_line.ship_from_org_id(l_non_bulk_req_count));
9328: END IF;
9329:
9330:
9331: END IF;

Line 9340: WSH_DEBUG_SV.log(l_module_name, 'Non Bulk Ship l_non_bulk_ship_count',l_non_bulk_ship_count);

9336: extend_om_ship_line(l_non_bulk_ship_line
9337: , l_return_status);
9338:
9339: IF l_debug_on THEN
9340: WSH_DEBUG_SV.log(l_module_name, 'Non Bulk Ship l_non_bulk_ship_count',l_non_bulk_ship_count);
9341: WSH_DEBUG_SV.log(l_module_name,'l_return_status',l_return_status);
9342: END IF;
9343:
9344: WSH_UTIL_CORE.api_post_call

Line 9341: WSH_DEBUG_SV.log(l_module_name,'l_return_status',l_return_status);

9337: , l_return_status);
9338:
9339: IF l_debug_on THEN
9340: WSH_DEBUG_SV.log(l_module_name, 'Non Bulk Ship l_non_bulk_ship_count',l_non_bulk_ship_count);
9341: WSH_DEBUG_SV.log(l_module_name,'l_return_status',l_return_status);
9342: END IF;
9343:
9344: WSH_UTIL_CORE.api_post_call
9345: ( p_return_status =>l_return_status

Line 9402: WSH_DEBUG_SV.log(l_module_name, 'fnd_api.g_exc_error at source_line_id',

9398:
9399: EXCEPTION
9400: WHEN fnd_api.g_exc_error THEN
9401: IF l_debug_on THEN
9402: WSH_DEBUG_SV.log(l_module_name, 'fnd_api.g_exc_error at source_line_id',
9403: oe_interface_rec.source_line_id);
9404: END IF;
9405:
9406: WHEN fnd_api.g_exc_unexpected_error THEN

Line 9408: WSH_DEBUG_SV.log(l_module_name, 'fnd_api.g_exc_unexpected_error at source_line_id', oe_interface_rec.source_line_id);

9404: END IF;
9405:
9406: WHEN fnd_api.g_exc_unexpected_error THEN
9407: IF l_debug_on THEN
9408: WSH_DEBUG_SV.log(l_module_name, 'fnd_api.g_exc_unexpected_error at source_line_id', oe_interface_rec.source_line_id);
9409: END IF;
9410:
9411:
9412: WHEN line_locked THEN

Line 9415: WSH_DEBUG_SV.log(l_module_name, 'Failure to Accrue the Lock for source_line_id: ',

9411:
9412: WHEN line_locked THEN
9413: l_num_errors:=l_num_errors + 1;
9414: IF l_debug_on THEN
9415: WSH_DEBUG_SV.log(l_module_name, 'Failure to Accrue the Lock for source_line_id: ',
9416: oe_interface_rec.source_line_id);
9417: END IF;
9418:
9419: WHEN others THEN

Line 9421: WSH_DEBUG_SV.log(l_module_name, 'Errmsg: ',sqlerrm);

9417: END IF;
9418:
9419: WHEN others THEN
9420: IF l_debug_on THEN
9421: WSH_DEBUG_SV.log(l_module_name, 'Errmsg: ',sqlerrm);
9422: END IF;
9423: raise FND_API.G_EXC_UNEXPECTED_ERROR;
9424: END; --}
9425:

Line 9438: WSH_DEBUG_SV.log(l_module_name, 'l_non_bulk_ship_line.line_id.count',l_non_bulk_ship_line.line_id.count);

9434: --HVOP heali
9435:
9436:
9437: IF l_debug_on THEN
9438: WSH_DEBUG_SV.log(l_module_name, 'l_non_bulk_ship_line.line_id.count',l_non_bulk_ship_line.line_id.count);
9439: WSH_DEBUG_SV.log(l_module_name, 'l_non_bulk_req_line.line_id.count',l_non_bulk_req_line.line_id.count);
9440: END IF;
9441:
9442: IF (l_non_bulk_ship_line.line_id.count > 0 ) THEN

Line 9439: WSH_DEBUG_SV.log(l_module_name, 'l_non_bulk_req_line.line_id.count',l_non_bulk_req_line.line_id.count);

9435:
9436:
9437: IF l_debug_on THEN
9438: WSH_DEBUG_SV.log(l_module_name, 'l_non_bulk_ship_line.line_id.count',l_non_bulk_ship_line.line_id.count);
9439: WSH_DEBUG_SV.log(l_module_name, 'l_non_bulk_req_line.line_id.count',l_non_bulk_req_line.line_id.count);
9440: END IF;
9441:
9442: IF (l_non_bulk_ship_line.line_id.count > 0 ) THEN
9443: l_num_om_api_call := l_num_om_api_call + 1;

Line 9456: WSH_DEBUG_SV.log(l_module_name, 'Process_Stop_To_OM l_return_status',l_return_status);

9452: x_return_status => l_return_status);
9453:
9454:
9455: IF l_debug_on THEN
9456: WSH_DEBUG_SV.log(l_module_name, 'Process_Stop_To_OM l_return_status',l_return_status);
9457: END IF;
9458:
9459: IF (l_return_status IN (WSH_UTIL_CORE.G_RET_STS_ERROR, WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR)) THEN
9460: IF l_debug_on THEN

Line 9461: WSH_DEBUG_SV.logmsg(l_module_name, 'Rolling back to the savepoint its_process_order_non_bulk as ITS for the order completed with an error 2');

9457: END IF;
9458:
9459: IF (l_return_status IN (WSH_UTIL_CORE.G_RET_STS_ERROR, WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR)) THEN
9460: IF l_debug_on THEN
9461: WSH_DEBUG_SV.logmsg(l_module_name, 'Rolling back to the savepoint its_process_order_non_bulk as ITS for the order completed with an error 2');
9462: END IF;
9463: --ROLLBACK TO its_process_order_non_bulk;
9464:
9465: END IF;

Line 9480: WSH_DEBUG_SV.log(l_module_name, 'l_bulk_ship_line.line_id.count',l_bulk_ship_line.line_id.count);

9476: END IF;
9477:
9478:
9479: IF l_debug_on THEN
9480: WSH_DEBUG_SV.log(l_module_name, 'l_bulk_ship_line.line_id.count',l_bulk_ship_line.line_id.count);
9481: WSH_DEBUG_SV.log(l_module_name, 'l_bulk_req_line.line_id.count',l_bulk_req_line.line_id.count);
9482: END IF;
9483: IF (l_bulk_ship_line.line_id.count > 0 ) THEN
9484: l_num_om_api_call := l_num_om_api_call + 1;

Line 9481: WSH_DEBUG_SV.log(l_module_name, 'l_bulk_req_line.line_id.count',l_bulk_req_line.line_id.count);

9477:
9478:
9479: IF l_debug_on THEN
9480: WSH_DEBUG_SV.log(l_module_name, 'l_bulk_ship_line.line_id.count',l_bulk_ship_line.line_id.count);
9481: WSH_DEBUG_SV.log(l_module_name, 'l_bulk_req_line.line_id.count',l_bulk_req_line.line_id.count);
9482: END IF;
9483: IF (l_bulk_ship_line.line_id.count > 0 ) THEN
9484: l_num_om_api_call := l_num_om_api_call + 1;
9485: Process_Stop_To_OM(

Line 9495: WSH_DEBUG_SV.log(l_module_name, 'Process_Stop_To_OM l_return_status',l_return_status);

9491: x_charges_are_calculated => l_charges_are_calculated,
9492: x_return_status => l_return_status);
9493:
9494: IF l_debug_on THEN
9495: WSH_DEBUG_SV.log(l_module_name, 'Process_Stop_To_OM l_return_status',l_return_status);
9496: END IF;
9497: IF (l_return_status = WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR) then
9498: raise fnd_api.g_exc_error;
9499: END IF;

Line 9509: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_api_call',l_num_om_api_call);

9505: END IF;
9506:
9507:
9508: IF l_debug_on THEN
9509: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_api_call',l_num_om_api_call);
9510: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_errors',l_num_om_errors);
9511: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_warnings',l_num_om_warnings);
9512: WSH_DEBUG_SV.log(l_module_name, 'l_non_bulk_count',l_non_bulk_count);
9513: WSH_DEBUG_SV.log(l_module_name, 'l_num_errors',l_num_errors);

Line 9510: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_errors',l_num_om_errors);

9506:
9507:
9508: IF l_debug_on THEN
9509: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_api_call',l_num_om_api_call);
9510: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_errors',l_num_om_errors);
9511: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_warnings',l_num_om_warnings);
9512: WSH_DEBUG_SV.log(l_module_name, 'l_non_bulk_count',l_non_bulk_count);
9513: WSH_DEBUG_SV.log(l_module_name, 'l_num_errors',l_num_errors);
9514: WSH_DEBUG_SV.log(l_module_name, 'l_num_warnings',l_num_warnings);

Line 9511: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_warnings',l_num_om_warnings);

9507:
9508: IF l_debug_on THEN
9509: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_api_call',l_num_om_api_call);
9510: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_errors',l_num_om_errors);
9511: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_warnings',l_num_om_warnings);
9512: WSH_DEBUG_SV.log(l_module_name, 'l_non_bulk_count',l_non_bulk_count);
9513: WSH_DEBUG_SV.log(l_module_name, 'l_num_errors',l_num_errors);
9514: WSH_DEBUG_SV.log(l_module_name, 'l_num_warnings',l_num_warnings);
9515: END IF;

Line 9512: WSH_DEBUG_SV.log(l_module_name, 'l_non_bulk_count',l_non_bulk_count);

9508: IF l_debug_on THEN
9509: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_api_call',l_num_om_api_call);
9510: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_errors',l_num_om_errors);
9511: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_warnings',l_num_om_warnings);
9512: WSH_DEBUG_SV.log(l_module_name, 'l_non_bulk_count',l_non_bulk_count);
9513: WSH_DEBUG_SV.log(l_module_name, 'l_num_errors',l_num_errors);
9514: WSH_DEBUG_SV.log(l_module_name, 'l_num_warnings',l_num_warnings);
9515: END IF;
9516:

Line 9513: WSH_DEBUG_SV.log(l_module_name, 'l_num_errors',l_num_errors);

9509: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_api_call',l_num_om_api_call);
9510: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_errors',l_num_om_errors);
9511: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_warnings',l_num_om_warnings);
9512: WSH_DEBUG_SV.log(l_module_name, 'l_non_bulk_count',l_non_bulk_count);
9513: WSH_DEBUG_SV.log(l_module_name, 'l_num_errors',l_num_errors);
9514: WSH_DEBUG_SV.log(l_module_name, 'l_num_warnings',l_num_warnings);
9515: END IF;
9516:
9517: IF ( (l_num_errors >= l_non_bulk_count and l_non_bulk_count > 0 ) OR (l_num_om_errors >= l_num_om_api_call and l_num_om_api_call > 0) ) THEN

Line 9514: WSH_DEBUG_SV.log(l_module_name, 'l_num_warnings',l_num_warnings);

9510: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_errors',l_num_om_errors);
9511: WSH_DEBUG_SV.log(l_module_name, 'l_num_om_warnings',l_num_om_warnings);
9512: WSH_DEBUG_SV.log(l_module_name, 'l_non_bulk_count',l_non_bulk_count);
9513: WSH_DEBUG_SV.log(l_module_name, 'l_num_errors',l_num_errors);
9514: WSH_DEBUG_SV.log(l_module_name, 'l_num_warnings',l_num_warnings);
9515: END IF;
9516:
9517: IF ( (l_num_errors >= l_non_bulk_count and l_non_bulk_count > 0 ) OR (l_num_om_errors >= l_num_om_api_call and l_num_om_api_call > 0) ) THEN
9518: raise fnd_api.g_exc_error;

Line 9529: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status);

9525: END IF;
9526:
9527:
9528: IF l_debug_on THEN
9529: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status);
9530: WSH_DEBUG_SV.pop(l_module_name);
9531: END IF;
9532:
9533: EXCEPTION

Line 9530: WSH_DEBUG_SV.pop(l_module_name);

9526:
9527:
9528: IF l_debug_on THEN
9529: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status);
9530: WSH_DEBUG_SV.pop(l_module_name);
9531: END IF;
9532:
9533: EXCEPTION
9534:

Line 9561: WSH_DEBUG_SV.logmsg(l_module_name,'fnd_api.g_exc_error exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);

9557: close c_picked_dd;
9558: END IF;
9559:
9560: IF l_debug_on THEN
9561: WSH_DEBUG_SV.logmsg(l_module_name,'fnd_api.g_exc_error exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
9562: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:fnd_api.g_exc_error');
9563: END IF;
9564: --
9565:

Line 9562: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:fnd_api.g_exc_error');

9558: END IF;
9559:
9560: IF l_debug_on THEN
9561: WSH_DEBUG_SV.logmsg(l_module_name,'fnd_api.g_exc_error exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
9562: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:fnd_api.g_exc_error');
9563: END IF;
9564: --
9565:
9566: WHEN wsh_util_core.g_exc_warning THEN

Line 9592: WSH_DEBUG_SV.logmsg(l_module_name,'wsh_util_core.g_exc_warning exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);

9588: close c_picked_dd;
9589: END IF;
9590:
9591: IF l_debug_on THEN
9592: WSH_DEBUG_SV.logmsg(l_module_name,'wsh_util_core.g_exc_warning exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
9593: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:wsh_util_core.g_exc_warning');
9594: END IF;
9595:
9596: WHEN fnd_api.g_exc_unexpected_error THEN

Line 9593: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:wsh_util_core.g_exc_warning');

9589: END IF;
9590:
9591: IF l_debug_on THEN
9592: WSH_DEBUG_SV.logmsg(l_module_name,'wsh_util_core.g_exc_warning exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
9593: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:wsh_util_core.g_exc_warning');
9594: END IF;
9595:
9596: WHEN fnd_api.g_exc_unexpected_error THEN
9597: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;

Line 9622: WSH_DEBUG_SV.logmsg(l_module_name,'fnd_api.g_exc_unexpected exception has occured: '||SQLERRM,WSH_DEBUG_SV.C_EXCEP_LEVEL);

9618: close c_picked_dd;
9619: END IF;
9620:
9621: IF l_debug_on THEN
9622: WSH_DEBUG_SV.logmsg(l_module_name,'fnd_api.g_exc_unexpected exception has occured: '||SQLERRM,WSH_DEBUG_SV.C_EXCEP_LEVEL);
9623: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:wsh_util_core.g_exc_warning');
9624: END IF;
9625:
9626:

Line 9623: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:wsh_util_core.g_exc_warning');

9619: END IF;
9620:
9621: IF l_debug_on THEN
9622: WSH_DEBUG_SV.logmsg(l_module_name,'fnd_api.g_exc_unexpected exception has occured: '||SQLERRM,WSH_DEBUG_SV.C_EXCEP_LEVEL);
9623: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:wsh_util_core.g_exc_warning');
9624: END IF;
9625:
9626:
9627: WHEN line_locked THEN

Line 9653: WSH_DEBUG_SV.logmsg(l_module_name,'LINE_LOCKED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);

9649: close c_picked_dd;
9650: END IF;
9651:
9652: IF l_debug_on THEN
9653: WSH_DEBUG_SV.logmsg(l_module_name,'LINE_LOCKED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
9654: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:LINE_LOCKED');
9655: END IF;
9656: --
9657:

Line 9654: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:LINE_LOCKED');

9650: END IF;
9651:
9652: IF l_debug_on THEN
9653: WSH_DEBUG_SV.logmsg(l_module_name,'LINE_LOCKED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
9654: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:LINE_LOCKED');
9655: END IF;
9656: --
9657:
9658: WHEN others THEN

Line 9688: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN INTERFACE_HEADER_TO_OM ' );

9684: wsh_util_core.printMsg('API interface_line_to_OM failed with an unexpected error');
9685: WSH_UTIL_CORE.PrintMsg('The unexpected error is ' || l_error_text);
9686: --
9687: IF l_debug_on THEN
9688: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN INTERFACE_HEADER_TO_OM ' );
9689: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM
9690: ,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
9691: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
9692: END IF;

Line 9689: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM

9685: WSH_UTIL_CORE.PrintMsg('The unexpected error is ' || l_error_text);
9686: --
9687: IF l_debug_on THEN
9688: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN INTERFACE_HEADER_TO_OM ' );
9689: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM
9690: ,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
9691: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
9692: END IF;
9693: --

Line 9690: ,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

9686: --
9687: IF l_debug_on THEN
9688: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN INTERFACE_HEADER_TO_OM ' );
9689: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM
9690: ,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
9691: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
9692: END IF;
9693: --
9694: END interface_stop_to_OM;

Line 9691: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

9687: IF l_debug_on THEN
9688: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN INTERFACE_HEADER_TO_OM ' );
9689: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM
9690: ,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
9691: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
9692: END IF;
9693: --
9694: END interface_stop_to_OM;
9695:

Line 9742: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

9738: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
9739: --
9740: IF l_debug_on IS NULL
9741: THEN
9742: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
9743: END IF;
9744: --
9745: IF l_debug_on THEN
9746: WSH_DEBUG_SV.push(l_module_name);

Line 9746: WSH_DEBUG_SV.push(l_module_name);

9742: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
9743: END IF;
9744: --
9745: IF l_debug_on THEN
9746: WSH_DEBUG_SV.push(l_module_name);
9747: --
9748: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
9749: WSH_DEBUG_SV.log(l_module_name,'P_TRANSACTION_HEADER_ID',P_TRANSACTION_HEADER_ID);
9750: END IF;

Line 9748: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);

9744: --
9745: IF l_debug_on THEN
9746: WSH_DEBUG_SV.push(l_module_name);
9747: --
9748: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
9749: WSH_DEBUG_SV.log(l_module_name,'P_TRANSACTION_HEADER_ID',P_TRANSACTION_HEADER_ID);
9750: END IF;
9751: --
9752: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;

Line 9749: WSH_DEBUG_SV.log(l_module_name,'P_TRANSACTION_HEADER_ID',P_TRANSACTION_HEADER_ID);

9745: IF l_debug_on THEN
9746: WSH_DEBUG_SV.push(l_module_name);
9747: --
9748: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
9749: WSH_DEBUG_SV.log(l_module_name,'P_TRANSACTION_HEADER_ID',P_TRANSACTION_HEADER_ID);
9750: END IF;
9751: --
9752: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
9753: -- mark all 'N' as 'P'

Line 9787: WSH_DEBUG_SV.log(l_module_name,'Number of rows updated',SQL%ROWCOUNT);

9783:
9784: -- process online
9785: --
9786: IF l_debug_on THEN
9787: WSH_DEBUG_SV.log(l_module_name,'Number of rows updated',SQL%ROWCOUNT);
9788: WSH_DEBUG_SV.log(l_module_name,'Current Time is ',SYSDATE);
9789: WSH_DEBUG_SV.logmsg(l_module_name, 'RIGHT BEFORE CALLING MTL_ONLINE_TRANSACTION_PUB.PROCESS_ONLINE' );
9790: END IF;
9791: --

Line 9788: WSH_DEBUG_SV.log(l_module_name,'Current Time is ',SYSDATE);

9784: -- process online
9785: --
9786: IF l_debug_on THEN
9787: WSH_DEBUG_SV.log(l_module_name,'Number of rows updated',SQL%ROWCOUNT);
9788: WSH_DEBUG_SV.log(l_module_name,'Current Time is ',SYSDATE);
9789: WSH_DEBUG_SV.logmsg(l_module_name, 'RIGHT BEFORE CALLING MTL_ONLINE_TRANSACTION_PUB.PROCESS_ONLINE' );
9790: END IF;
9791: --
9792: --Bugfix#2346011.

Line 9789: WSH_DEBUG_SV.logmsg(l_module_name, 'RIGHT BEFORE CALLING MTL_ONLINE_TRANSACTION_PUB.PROCESS_ONLINE' );

9785: --
9786: IF l_debug_on THEN
9787: WSH_DEBUG_SV.log(l_module_name,'Number of rows updated',SQL%ROWCOUNT);
9788: WSH_DEBUG_SV.log(l_module_name,'Current Time is ',SYSDATE);
9789: WSH_DEBUG_SV.logmsg(l_module_name, 'RIGHT BEFORE CALLING MTL_ONLINE_TRANSACTION_PUB.PROCESS_ONLINE' );
9790: END IF;
9791: --
9792: --Bugfix#2346011.
9793: l_profile_time_out := TO_NUMBER(FND_PROFILE.VALUE('INV_RPC_TIMEOUT'));

Line 9801: WSH_DEBUG_SV.logmsg(l_module_name, 'TIMEOUT VALUE: '||L_TIME_OUT );

9797: END IF;
9798:
9799: --
9800: IF l_debug_on THEN
9801: WSH_DEBUG_SV.logmsg(l_module_name, 'TIMEOUT VALUE: '||L_TIME_OUT );
9802: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit MTL_ONLINE_TRANSACTION_PUB.PROCESS_ONLINE',WSH_DEBUG_SV.C_PROC_LEVEL);
9803: END IF;
9804: --
9805: --Bugfix#2346011.

Line 9802: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit MTL_ONLINE_TRANSACTION_PUB.PROCESS_ONLINE',WSH_DEBUG_SV.C_PROC_LEVEL);

9798:
9799: --
9800: IF l_debug_on THEN
9801: WSH_DEBUG_SV.logmsg(l_module_name, 'TIMEOUT VALUE: '||L_TIME_OUT );
9802: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit MTL_ONLINE_TRANSACTION_PUB.PROCESS_ONLINE',WSH_DEBUG_SV.C_PROC_LEVEL);
9803: END IF;
9804: --
9805: --Bugfix#2346011.
9806: l_outcome := mtl_online_transaction_pub.process_online(

Line 9814: WSH_DEBUG_SV.log(l_module_name,'Current Time is ',SYSDATE);

9810: x_error_explanation
9811: );
9812: --
9813: IF l_debug_on THEN
9814: WSH_DEBUG_SV.log(l_module_name,'Current Time is ',SYSDATE);
9815: WSH_DEBUG_SV.log(l_module_name,'l_outcome',l_outcome);
9816: END IF;
9817: --
9818: /* what should we do if the online processer is hanging

Line 9815: WSH_DEBUG_SV.log(l_module_name,'l_outcome',l_outcome);

9811: );
9812: --
9813: IF l_debug_on THEN
9814: WSH_DEBUG_SV.log(l_module_name,'Current Time is ',SYSDATE);
9815: WSH_DEBUG_SV.log(l_module_name,'l_outcome',l_outcome);
9816: END IF;
9817: --
9818: /* what should we do if the online processer is hanging
9819: because manager is not aviable. User needs to be informed */

Line 9827: WSH_DEBUG_SV.log(l_module_name,'Error Code:',x_error_code);

9823: WSH_UTIL_CORE.printMsg('Error Code:' || x_error_code);
9824: WSH_UTIL_CORE.printMsg('Error Explanation:' || x_error_explanation);
9825: WSH_UTIL_CORE.printMsg('Retrieving messages from the stack');
9826: IF l_debug_on THEN
9827: WSH_DEBUG_SV.log(l_module_name,'Error Code:',x_error_code);
9828: WSH_DEBUG_SV.log(l_module_name,'Error Explanation::',
9829: x_error_explanation);
9830: END IF;
9831: l_process_online_msg_count := fnd_msg_pub.count_msg;

Line 9828: WSH_DEBUG_SV.log(l_module_name,'Error Explanation::',

9824: WSH_UTIL_CORE.printMsg('Error Explanation:' || x_error_explanation);
9825: WSH_UTIL_CORE.printMsg('Retrieving messages from the stack');
9826: IF l_debug_on THEN
9827: WSH_DEBUG_SV.log(l_module_name,'Error Code:',x_error_code);
9828: WSH_DEBUG_SV.log(l_module_name,'Error Explanation::',
9829: x_error_explanation);
9830: END IF;
9831: l_process_online_msg_count := fnd_msg_pub.count_msg;
9832: if l_process_online_msg_count > 0 then

Line 9839: WSH_DEBUG_SV.log(l_module_name,'Error txt:',

9835: l_process_online_message := fnd_msg_pub.get(i,'T');
9836: l_process_online_message := replace(l_process_online_message,fnd_global.local_chr(0), ' ');
9837: WSH_UTIL_CORE.PrintMsg(l_process_online_message);
9838: IF l_debug_on THEN
9839: WSH_DEBUG_SV.log(l_module_name,'Error txt:',
9840: SUBSTR(l_process_online_message,1,200));
9841: END IF;
9842: END LOOP;
9843: end if;

Line 9848: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status);

9844:
9845: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;
9846: --
9847: IF l_debug_on THEN
9848: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status);
9849: WSH_DEBUG_SV.pop(l_module_name);
9850: END IF;
9851: --
9852: return ;

Line 9849: WSH_DEBUG_SV.pop(l_module_name);

9845: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;
9846: --
9847: IF l_debug_on THEN
9848: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status);
9849: WSH_DEBUG_SV.pop(l_module_name);
9850: END IF;
9851: --
9852: return ;
9853: end if ;

Line 9865: WSH_DEBUG_SV.log(l_module_name,'process_inv_online failed for Batch '

9861: WSH_UTIL_CORE.PrintMsg('process_inv_online failed for batch '|| p_batch_id ||': txn '
9862: || p_transaction_header_id );
9863: --
9864: IF l_debug_on THEN
9865: WSH_DEBUG_SV.log(l_module_name,'process_inv_online failed for Batch '
9866: || p_batch_id|| ': txn '|| p_transaction_header_id );
9867: WSH_DEBUG_SV.pop(l_module_name);
9868: END IF;
9869: --

Line 9867: WSH_DEBUG_SV.pop(l_module_name);

9863: --
9864: IF l_debug_on THEN
9865: WSH_DEBUG_SV.log(l_module_name,'process_inv_online failed for Batch '
9866: || p_batch_id|| ': txn '|| p_transaction_header_id );
9867: WSH_DEBUG_SV.pop(l_module_name);
9868: END IF;
9869: --
9870: return ;
9871: end if;

Line 9874: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status);

9870: return ;
9871: end if;
9872: --
9873: IF l_debug_on THEN
9874: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status);
9875: WSH_DEBUG_SV.pop(l_module_name);
9876: END IF;
9877: --
9878: EXCEPTION

Line 9875: WSH_DEBUG_SV.pop(l_module_name);

9871: end if;
9872: --
9873: IF l_debug_on THEN
9874: WSH_DEBUG_SV.log(l_module_name,'x_return_status',x_return_status);
9875: WSH_DEBUG_SV.pop(l_module_name);
9876: END IF;
9877: --
9878: EXCEPTION
9879: WHEN others THEN

Line 9887: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

9883: WSH_UTIL_CORE.PrintMsg(p_transaction_header_id ||': process_inv_online failed ');
9884: WSH_UTIL_CORE.PrintMsg('The unexpected error is ' || l_error_text);
9885: --
9886: IF l_debug_on THEN
9887: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
9888: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
9889: END IF;
9890: --
9891: end process_inv_online ;

Line 9888: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

9884: WSH_UTIL_CORE.PrintMsg('The unexpected error is ' || l_error_text);
9885: --
9886: IF l_debug_on THEN
9887: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
9888: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
9889: END IF;
9890: --
9891: end process_inv_online ;
9892:

Line 9952: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

9948: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
9949: --
9950: IF l_debug_on IS NULL
9951: THEN
9952: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
9953: END IF;
9954: --
9955: IF l_debug_on THEN
9956: WSH_DEBUG_SV.push(l_module_name);

Line 9956: WSH_DEBUG_SV.push(l_module_name);

9952: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
9953: END IF;
9954: --
9955: IF l_debug_on THEN
9956: WSH_DEBUG_SV.push(l_module_name);
9957: --
9958: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_DETAIL_ID',P_DELIVERY_DETAIL_ID);
9959: END IF;
9960: --

Line 9958: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_DETAIL_ID',P_DELIVERY_DETAIL_ID);

9954: --
9955: IF l_debug_on THEN
9956: WSH_DEBUG_SV.push(l_module_name);
9957: --
9958: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_DETAIL_ID',P_DELIVERY_DETAIL_ID);
9959: END IF;
9960: --
9961: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
9962: OPEN c_details(p_delivery_detail_id);

Line 9967: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_detail_rec.source_line_id);

9963: FETCH c_details INTO l_detail_rec;
9964: CLOSE c_details;
9965:
9966: IF l_debug_on THEN
9967: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_detail_rec.source_line_id);
9968: WSH_DEBUG_SV.log(l_module_name,'organization_id',l_detail_rec.organization_id);
9969: WSH_DEBUG_SV.log(l_module_name,'org_id',l_detail_rec.org_id);
9970: END IF;
9971:

Line 9968: WSH_DEBUG_SV.log(l_module_name,'organization_id',l_detail_rec.organization_id);

9964: CLOSE c_details;
9965:
9966: IF l_debug_on THEN
9967: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_detail_rec.source_line_id);
9968: WSH_DEBUG_SV.log(l_module_name,'organization_id',l_detail_rec.organization_id);
9969: WSH_DEBUG_SV.log(l_module_name,'org_id',l_detail_rec.org_id);
9970: END IF;
9971:
9972: IF l_detail_rec.org_id IS NULL THEN

Line 9969: WSH_DEBUG_SV.log(l_module_name,'org_id',l_detail_rec.org_id);

9965:
9966: IF l_debug_on THEN
9967: WSH_DEBUG_SV.log(l_module_name,'source_line_id',l_detail_rec.source_line_id);
9968: WSH_DEBUG_SV.log(l_module_name,'organization_id',l_detail_rec.organization_id);
9969: WSH_DEBUG_SV.log(l_module_name,'org_id',l_detail_rec.org_id);
9970: END IF;
9971:
9972: IF l_detail_rec.org_id IS NULL THEN
9973: SELECT ORG_ID

Line 9978: WSH_DEBUG_SV.log(l_module_name,'derived org_id', l_detail_rec.org_id);

9974: INTO l_detail_rec.org_id
9975: FROM OE_ORDER_LINES_ALL
9976: WHERE LINE_ID = l_detail_rec.SOURCE_LINE_ID;
9977: IF l_debug_on THEN
9978: WSH_DEBUG_SV.log(l_module_name,'derived org_id', l_detail_rec.org_id);
9979: END IF;
9980: END IF;
9981:
9982: OPEN c_dispatch_account(l_detail_rec.organization_id);

Line 9995: WSH_DEBUG_SV.log(l_module_name,'l_dispatch_account',

9991: -- bug 2756842 - to reset message stack
9992: oe_msg_pub.initialize();
9993: --
9994: IF l_debug_on THEN
9995: WSH_DEBUG_SV.log(l_module_name,'l_dispatch_account',
9996: l_dispatch_account.goods_dispatched_account);
9997: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit OE_FLEX_COGS_PUB.START_PROCESS',WSH_DEBUG_SV.C_PROC_LEVEL);
9998: END IF;
9999: --

Line 9997: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit OE_FLEX_COGS_PUB.START_PROCESS',WSH_DEBUG_SV.C_PROC_LEVEL);

9993: --
9994: IF l_debug_on THEN
9995: WSH_DEBUG_SV.log(l_module_name,'l_dispatch_account',
9996: l_dispatch_account.goods_dispatched_account);
9997: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit OE_FLEX_COGS_PUB.START_PROCESS',WSH_DEBUG_SV.C_PROC_LEVEL);
9998: END IF;
9999: --
10000: l_cogs_return_status := OE_FLEX_COGS_PUB.Start_Process(
10001: 1.0,

Line 10011: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'||L_COGS_MSG_COUNT );

10007: l_cogs_msg_count,
10008: l_cogs_msg_data);
10009: --
10010: IF l_debug_on THEN
10011: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'||L_COGS_MSG_COUNT );
10012: WSH_DEBUG_SV.logmsg(l_module_name, 'RETURN STATUS FROM OE_FLEX_COGS_PUB.START_PROCESS IS ' || L_COGS_RETURN_STATUS );
10013: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_SEGS IS ' || L_COGS_CONCAT_SEGS );
10014: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_IDS IS ' || L_COGS_CONCAT_IDS );
10015: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_DESCRS IS ' || L_COGS_CONCAT_DESCRS );

Line 10012: WSH_DEBUG_SV.logmsg(l_module_name, 'RETURN STATUS FROM OE_FLEX_COGS_PUB.START_PROCESS IS ' || L_COGS_RETURN_STATUS );

10008: l_cogs_msg_data);
10009: --
10010: IF l_debug_on THEN
10011: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'||L_COGS_MSG_COUNT );
10012: WSH_DEBUG_SV.logmsg(l_module_name, 'RETURN STATUS FROM OE_FLEX_COGS_PUB.START_PROCESS IS ' || L_COGS_RETURN_STATUS );
10013: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_SEGS IS ' || L_COGS_CONCAT_SEGS );
10014: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_IDS IS ' || L_COGS_CONCAT_IDS );
10015: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_DESCRS IS ' || L_COGS_CONCAT_DESCRS );
10016: WSH_DEBUG_SV.logmsg(l_module_name, 'L_CONGS_RETURN_CCID IS ' || L_COGS_RETURN_CCID );

Line 10013: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_SEGS IS ' || L_COGS_CONCAT_SEGS );

10009: --
10010: IF l_debug_on THEN
10011: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'||L_COGS_MSG_COUNT );
10012: WSH_DEBUG_SV.logmsg(l_module_name, 'RETURN STATUS FROM OE_FLEX_COGS_PUB.START_PROCESS IS ' || L_COGS_RETURN_STATUS );
10013: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_SEGS IS ' || L_COGS_CONCAT_SEGS );
10014: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_IDS IS ' || L_COGS_CONCAT_IDS );
10015: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_DESCRS IS ' || L_COGS_CONCAT_DESCRS );
10016: WSH_DEBUG_SV.logmsg(l_module_name, 'L_CONGS_RETURN_CCID IS ' || L_COGS_RETURN_CCID );
10017: END IF;

Line 10014: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_IDS IS ' || L_COGS_CONCAT_IDS );

10010: IF l_debug_on THEN
10011: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'||L_COGS_MSG_COUNT );
10012: WSH_DEBUG_SV.logmsg(l_module_name, 'RETURN STATUS FROM OE_FLEX_COGS_PUB.START_PROCESS IS ' || L_COGS_RETURN_STATUS );
10013: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_SEGS IS ' || L_COGS_CONCAT_SEGS );
10014: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_IDS IS ' || L_COGS_CONCAT_IDS );
10015: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_DESCRS IS ' || L_COGS_CONCAT_DESCRS );
10016: WSH_DEBUG_SV.logmsg(l_module_name, 'L_CONGS_RETURN_CCID IS ' || L_COGS_RETURN_CCID );
10017: END IF;
10018: --

Line 10015: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_DESCRS IS ' || L_COGS_CONCAT_DESCRS );

10011: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'||L_COGS_MSG_COUNT );
10012: WSH_DEBUG_SV.logmsg(l_module_name, 'RETURN STATUS FROM OE_FLEX_COGS_PUB.START_PROCESS IS ' || L_COGS_RETURN_STATUS );
10013: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_SEGS IS ' || L_COGS_CONCAT_SEGS );
10014: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_IDS IS ' || L_COGS_CONCAT_IDS );
10015: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_DESCRS IS ' || L_COGS_CONCAT_DESCRS );
10016: WSH_DEBUG_SV.logmsg(l_module_name, 'L_CONGS_RETURN_CCID IS ' || L_COGS_RETURN_CCID );
10017: END IF;
10018: --
10019:

Line 10016: WSH_DEBUG_SV.logmsg(l_module_name, 'L_CONGS_RETURN_CCID IS ' || L_COGS_RETURN_CCID );

10012: WSH_DEBUG_SV.logmsg(l_module_name, 'RETURN STATUS FROM OE_FLEX_COGS_PUB.START_PROCESS IS ' || L_COGS_RETURN_STATUS );
10013: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_SEGS IS ' || L_COGS_CONCAT_SEGS );
10014: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_IDS IS ' || L_COGS_CONCAT_IDS );
10015: WSH_DEBUG_SV.logmsg(l_module_name, 'CONCAT_DESCRS IS ' || L_COGS_CONCAT_DESCRS );
10016: WSH_DEBUG_SV.logmsg(l_module_name, 'L_CONGS_RETURN_CCID IS ' || L_COGS_RETURN_CCID );
10017: END IF;
10018: --
10019:
10020: IF l_cogs_msg_count is not null then

Line 10029: WSH_DEBUG_SV.logmsg(l_module_name, SUBSTR ( L_COGS_MSG_DATA , 1 , 255 ) );

10025: p_encoded => 'F'
10026: );
10027: --
10028: IF l_debug_on THEN
10029: WSH_DEBUG_SV.logmsg(l_module_name, SUBSTR ( L_COGS_MSG_DATA , 1 , 255 ) );
10030: END IF;
10031: --
10032: END LOOP;
10033:

Line 10047: WSH_DEBUG_SV.log(l_module_name,'l_account',l_account);

10043: x_return_status := l_cogs_return_status;
10044:
10045: --
10046: IF l_debug_on THEN
10047: WSH_DEBUG_SV.log(l_module_name,'l_account',l_account);
10048: WSH_DEBUG_SV.pop(l_module_name);
10049: END IF;
10050: --
10051: RETURN(l_account);

Line 10048: WSH_DEBUG_SV.pop(l_module_name);

10044:
10045: --
10046: IF l_debug_on THEN
10047: WSH_DEBUG_SV.log(l_module_name,'l_account',l_account);
10048: WSH_DEBUG_SV.pop(l_module_name);
10049: END IF;
10050: --
10051: RETURN(l_account);
10052:

Line 10067: WSH_DEBUG_SV.logmsg(l_module_name,'NO_DEF_GOODS_DISPATCHED_ACCT exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);

10063: END IF;
10064: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;
10065: --
10066: IF l_debug_on THEN
10067: WSH_DEBUG_SV.logmsg(l_module_name,'NO_DEF_GOODS_DISPATCHED_ACCT exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
10068: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:NO_DEF_GOODS_DISPATCHED_ACCT');
10069: END IF;
10070: --
10071: RETURN NULL;

Line 10068: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:NO_DEF_GOODS_DISPATCHED_ACCT');

10064: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;
10065: --
10066: IF l_debug_on THEN
10067: WSH_DEBUG_SV.logmsg(l_module_name,'NO_DEF_GOODS_DISPATCHED_ACCT exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
10068: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:NO_DEF_GOODS_DISPATCHED_ACCT');
10069: END IF;
10070: --
10071: RETURN NULL;
10072:

Line 10089: WSH_DEBUG_SV.logmsg(l_module_name,'Unhandled exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);

10085: close c_dispatch_account;
10086: END IF;
10087: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;
10088: IF l_debug_on THEN
10089: WSH_DEBUG_SV.logmsg(l_module_name,'Unhandled exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
10090: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
10091: END IF;
10092: RETURN NULL;
10093: --

Line 10090: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

10086: END IF;
10087: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;
10088: IF l_debug_on THEN
10089: WSH_DEBUG_SV.logmsg(l_module_name,'Unhandled exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
10090: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
10091: END IF;
10092: RETURN NULL;
10093: --
10094: END Get_Account;

Line 10122: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

10118: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
10119: --
10120: IF l_debug_on IS NULL
10121: THEN
10122: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
10123: END IF;
10124: --
10125: IF l_debug_on THEN
10126: WSH_DEBUG_SV.push(l_module_name);

Line 10126: WSH_DEBUG_SV.push(l_module_name);

10122: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
10123: END IF;
10124: --
10125: IF l_debug_on THEN
10126: WSH_DEBUG_SV.push(l_module_name);
10127: --
10128: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
10129: END IF;
10130: --

Line 10128: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);

10124: --
10125: IF l_debug_on THEN
10126: WSH_DEBUG_SV.push(l_module_name);
10127: --
10128: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
10129: END IF;
10130: --
10131: IF INV_INTERFACED(p_batch_id) THEN
10132: --

Line 10134: WSH_DEBUG_SV.log(l_module_name,'Returning OM_INTERFACED');

10130: --
10131: IF INV_INTERFACED(p_batch_id) THEN
10132: --
10133: IF l_debug_on THEN
10134: WSH_DEBUG_SV.log(l_module_name,'Returning OM_INTERFACED');
10135: WSH_DEBUG_SV.pop(l_module_name);
10136: END IF;
10137: --
10138: RETURN OM_INTERFACED(p_batch_id);

Line 10135: WSH_DEBUG_SV.pop(l_module_name);

10131: IF INV_INTERFACED(p_batch_id) THEN
10132: --
10133: IF l_debug_on THEN
10134: WSH_DEBUG_SV.log(l_module_name,'Returning OM_INTERFACED');
10135: WSH_DEBUG_SV.pop(l_module_name);
10136: END IF;
10137: --
10138: RETURN OM_INTERFACED(p_batch_id);
10139: END IF;

Line 10142: WSH_DEBUG_SV.log(l_module_name,'Return False');

10138: RETURN OM_INTERFACED(p_batch_id);
10139: END IF;
10140: --
10141: IF l_debug_on THEN
10142: WSH_DEBUG_SV.log(l_module_name,'Return False');
10143: WSH_DEBUG_SV.pop(l_module_name);
10144: END IF;
10145: RETURN FALSE;
10146: END ALL_INTERFACED;

Line 10143: WSH_DEBUG_SV.pop(l_module_name);

10139: END IF;
10140: --
10141: IF l_debug_on THEN
10142: WSH_DEBUG_SV.log(l_module_name,'Return False');
10143: WSH_DEBUG_SV.pop(l_module_name);
10144: END IF;
10145: RETURN FALSE;
10146: END ALL_INTERFACED;
10147:

Line 10197: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

10193: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
10194: --
10195: IF l_debug_on IS NULL
10196: THEN
10197: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
10198: END IF;
10199: --
10200: IF l_debug_on THEN
10201: WSH_DEBUG_SV.push(l_module_name);

Line 10201: WSH_DEBUG_SV.push(l_module_name);

10197: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
10198: END IF;
10199: --
10200: IF l_debug_on THEN
10201: WSH_DEBUG_SV.push(l_module_name);
10202: --
10203: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
10204: END IF;
10205: --

Line 10203: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);

10199: --
10200: IF l_debug_on THEN
10201: WSH_DEBUG_SV.push(l_module_name);
10202: --
10203: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
10204: END IF;
10205: --
10206: OPEN c_lines_not_interfaced(P_batch_id);
10207: FETCH c_lines_not_interfaced INTO l_temp;

Line 10212: WSH_DEBUG_SV.log(l_module_name,' flag', flag);

10208: flag := c_lines_not_interfaced%NOTFOUND;
10209: CLOSE c_lines_not_interfaced;
10210: --
10211: IF l_debug_on THEN
10212: WSH_DEBUG_SV.log(l_module_name,' flag', flag);
10213: WSH_DEBUG_SV.pop(l_module_name);
10214: END IF;
10215: --
10216: RETURN flag;

Line 10213: WSH_DEBUG_SV.pop(l_module_name);

10209: CLOSE c_lines_not_interfaced;
10210: --
10211: IF l_debug_on THEN
10212: WSH_DEBUG_SV.log(l_module_name,' flag', flag);
10213: WSH_DEBUG_SV.pop(l_module_name);
10214: END IF;
10215: --
10216: RETURN flag;
10217: END INV_INTERFACED ;

Line 10265: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

10261: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
10262: --
10263: IF l_debug_on IS NULL
10264: THEN
10265: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
10266: END IF;
10267: --
10268: IF l_debug_on THEN
10269: WSH_DEBUG_SV.push(l_module_name);

Line 10269: WSH_DEBUG_SV.push(l_module_name);

10265: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
10266: END IF;
10267: --
10268: IF l_debug_on THEN
10269: WSH_DEBUG_SV.push(l_module_name);
10270: --
10271: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
10272: END IF;
10273: --

Line 10271: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);

10267: --
10268: IF l_debug_on THEN
10269: WSH_DEBUG_SV.push(l_module_name);
10270: --
10271: WSH_DEBUG_SV.log(l_module_name,'p_batch_id',p_batch_id);
10272: END IF;
10273: --
10274: OPEN c_lines_not_interfaced(p_batch_id);
10275: FETCH c_lines_not_interfaced INTO l_temp;

Line 10280: WSH_DEBUG_SV.log(l_module_name,'flag',flag);

10276: flag := c_lines_not_interfaced%NOTFOUND;
10277: CLOSE c_lines_not_interfaced;
10278: --
10279: IF l_debug_on THEN
10280: WSH_DEBUG_SV.log(l_module_name,'flag',flag);
10281: WSH_DEBUG_SV.pop(l_module_name);
10282: END IF;
10283: --
10284: RETURN flag;

Line 10281: WSH_DEBUG_SV.pop(l_module_name);

10277: CLOSE c_lines_not_interfaced;
10278: --
10279: IF l_debug_on THEN
10280: WSH_DEBUG_SV.log(l_module_name,'flag',flag);
10281: WSH_DEBUG_SV.pop(l_module_name);
10282: END IF;
10283: --
10284: RETURN flag;
10285: END OM_INTERFACED ;

Line 10378: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

10374: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
10375: --
10376: IF l_debug_on IS NULL
10377: THEN
10378: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
10379: END IF;
10380: --
10381: IF l_debug_on THEN
10382: WSH_DEBUG_SV.push(l_module_name);

Line 10382: WSH_DEBUG_SV.push(l_module_name);

10378: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
10379: END IF;
10380: --
10381: IF l_debug_on THEN
10382: WSH_DEBUG_SV.push(l_module_name);
10383: --
10384: WSH_DEBUG_SV.log(l_module_name,'P_MODE',P_MODE);
10385: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
10386: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);

Line 10384: WSH_DEBUG_SV.log(l_module_name,'P_MODE',P_MODE);

10380: --
10381: IF l_debug_on THEN
10382: WSH_DEBUG_SV.push(l_module_name);
10383: --
10384: WSH_DEBUG_SV.log(l_module_name,'P_MODE',P_MODE);
10385: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
10386: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
10387: WSH_DEBUG_SV.log(l_module_name,'P_LOG_LEVEL',P_LOG_LEVEL);
10388: WSH_DEBUG_SV.log(l_module_name,'p_organization_id',p_organization_id);

Line 10385: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);

10381: IF l_debug_on THEN
10382: WSH_DEBUG_SV.push(l_module_name);
10383: --
10384: WSH_DEBUG_SV.log(l_module_name,'P_MODE',P_MODE);
10385: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
10386: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
10387: WSH_DEBUG_SV.log(l_module_name,'P_LOG_LEVEL',P_LOG_LEVEL);
10388: WSH_DEBUG_SV.log(l_module_name,'p_organization_id',p_organization_id);
10389: WSH_DEBUG_SV.log(l_module_name,'p_num_requests',p_num_requests);

Line 10386: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);

10382: WSH_DEBUG_SV.push(l_module_name);
10383: --
10384: WSH_DEBUG_SV.log(l_module_name,'P_MODE',P_MODE);
10385: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
10386: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
10387: WSH_DEBUG_SV.log(l_module_name,'P_LOG_LEVEL',P_LOG_LEVEL);
10388: WSH_DEBUG_SV.log(l_module_name,'p_organization_id',p_organization_id);
10389: WSH_DEBUG_SV.log(l_module_name,'p_num_requests',p_num_requests);
10390: WSH_DEBUG_SV.log(l_module_name,'p_stops_per_batch',p_stops_per_batch);

Line 10387: WSH_DEBUG_SV.log(l_module_name,'P_LOG_LEVEL',P_LOG_LEVEL);

10383: --
10384: WSH_DEBUG_SV.log(l_module_name,'P_MODE',P_MODE);
10385: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
10386: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
10387: WSH_DEBUG_SV.log(l_module_name,'P_LOG_LEVEL',P_LOG_LEVEL);
10388: WSH_DEBUG_SV.log(l_module_name,'p_organization_id',p_organization_id);
10389: WSH_DEBUG_SV.log(l_module_name,'p_num_requests',p_num_requests);
10390: WSH_DEBUG_SV.log(l_module_name,'p_stops_per_batch',p_stops_per_batch);
10391: END IF;

Line 10388: WSH_DEBUG_SV.log(l_module_name,'p_organization_id',p_organization_id);

10384: WSH_DEBUG_SV.log(l_module_name,'P_MODE',P_MODE);
10385: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
10386: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
10387: WSH_DEBUG_SV.log(l_module_name,'P_LOG_LEVEL',P_LOG_LEVEL);
10388: WSH_DEBUG_SV.log(l_module_name,'p_organization_id',p_organization_id);
10389: WSH_DEBUG_SV.log(l_module_name,'p_num_requests',p_num_requests);
10390: WSH_DEBUG_SV.log(l_module_name,'p_stops_per_batch',p_stops_per_batch);
10391: END IF;
10392: --

Line 10389: WSH_DEBUG_SV.log(l_module_name,'p_num_requests',p_num_requests);

10385: WSH_DEBUG_SV.log(l_module_name,'P_STOP_ID',P_STOP_ID);
10386: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
10387: WSH_DEBUG_SV.log(l_module_name,'P_LOG_LEVEL',P_LOG_LEVEL);
10388: WSH_DEBUG_SV.log(l_module_name,'p_organization_id',p_organization_id);
10389: WSH_DEBUG_SV.log(l_module_name,'p_num_requests',p_num_requests);
10390: WSH_DEBUG_SV.log(l_module_name,'p_stops_per_batch',p_stops_per_batch);
10391: END IF;
10392: --
10393: l_completion_status := 'NORMAL';

Line 10390: WSH_DEBUG_SV.log(l_module_name,'p_stops_per_batch',p_stops_per_batch);

10386: WSH_DEBUG_SV.log(l_module_name,'P_DELIVERY_ID',P_DELIVERY_ID);
10387: WSH_DEBUG_SV.log(l_module_name,'P_LOG_LEVEL',P_LOG_LEVEL);
10388: WSH_DEBUG_SV.log(l_module_name,'p_organization_id',p_organization_id);
10389: WSH_DEBUG_SV.log(l_module_name,'p_num_requests',p_num_requests);
10390: WSH_DEBUG_SV.log(l_module_name,'p_stops_per_batch',p_stops_per_batch);
10391: END IF;
10392: --
10393: l_completion_status := 'NORMAL';
10394:

Line 10400: WSH_DEBUG_SV.log(l_module_name,'Number of requests cannot be negative'

10396: IF l_num_requests = 0 THEN
10397: l_num_requests := 1;
10398: ELSIF l_num_requests < 0 THEN
10399: IF l_debug_on THEN
10400: WSH_DEBUG_SV.log(l_module_name,'Number of requests cannot be negative'
10401: ,l_num_requests);
10402: END IF;
10403: RAISE e_invalid_number;
10404: END IF;

Line 10408: WSH_DEBUG_SV.log(l_module_name,'l_req_data',l_req_data);

10404: END IF;
10405:
10406: l_req_data := FND_CONC_GLOBAL.request_data ;
10407: IF l_debug_on THEN
10408: WSH_DEBUG_SV.log(l_module_name,'l_req_data',l_req_data);
10409: END IF;
10410:
10411: IF (l_req_data IS NULL) THEN
10412: IF (l_num_requests > 1)THEN --{

Line 10430: WSH_DEBUG_SV.log(l_module_name,'child request',l_request_id);

10426: argument9 => p_stops_per_batch
10427: );
10428:
10429: IF l_debug_on THEN
10430: WSH_DEBUG_SV.log(l_module_name,'child request',l_request_id);
10431: END IF;
10432:
10433: END LOOP;
10434: fnd_conc_global.set_req_globals(conc_status => 'PAUSED',

Line 10474: WSH_DEBUG_SV.log(l_module_name,'l_dev_status',l_dev_status);

10470: ELSIF l_dev_status <> 'NORMAL' THEN
10471: l_errors := l_errors + 1;
10472: END IF;
10473: IF l_debug_on THEN
10474: WSH_DEBUG_SV.log(l_module_name,'l_dev_status',l_dev_status);
10475: WSH_DEBUG_SV.log(l_module_name,'l_child_req_id'
10476: ,l_child_req_ids(j));
10477: END IF;
10478:

Line 10475: WSH_DEBUG_SV.log(l_module_name,'l_child_req_id'

10471: l_errors := l_errors + 1;
10472: END IF;
10473: IF l_debug_on THEN
10474: WSH_DEBUG_SV.log(l_module_name,'l_dev_status',l_dev_status);
10475: WSH_DEBUG_SV.log(l_module_name,'l_child_req_id'
10476: ,l_child_req_ids(j));
10477: END IF;
10478:
10479: FND_MESSAGE.SET_NAME('WSH','WSH_CHILD_REQ_STATUS');

Line 10511: WSH_DEBUG_SV.log(l_module_name,'errbuf',errbuf);

10507: --
10508: END IF; --}
10509:
10510: IF l_debug_on THEN
10511: WSH_DEBUG_SV.log(l_module_name,'errbuf',errbuf);
10512: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);
10513: WSH_DEBUG_SV.log(l_module_name,'l_completion_status',l_completion_status);
10514: WSH_DEBUG_SV.pop(l_module_name);
10515: END IF;

Line 10512: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);

10508: END IF; --}
10509:
10510: IF l_debug_on THEN
10511: WSH_DEBUG_SV.log(l_module_name,'errbuf',errbuf);
10512: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);
10513: WSH_DEBUG_SV.log(l_module_name,'l_completion_status',l_completion_status);
10514: WSH_DEBUG_SV.pop(l_module_name);
10515: END IF;
10516: --

Line 10513: WSH_DEBUG_SV.log(l_module_name,'l_completion_status',l_completion_status);

10509:
10510: IF l_debug_on THEN
10511: WSH_DEBUG_SV.log(l_module_name,'errbuf',errbuf);
10512: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);
10513: WSH_DEBUG_SV.log(l_module_name,'l_completion_status',l_completion_status);
10514: WSH_DEBUG_SV.pop(l_module_name);
10515: END IF;
10516: --
10517:

Line 10514: WSH_DEBUG_SV.pop(l_module_name);

10510: IF l_debug_on THEN
10511: WSH_DEBUG_SV.log(l_module_name,'errbuf',errbuf);
10512: WSH_DEBUG_SV.log(l_module_name,'retcode',retcode);
10513: WSH_DEBUG_SV.log(l_module_name,'l_completion_status',l_completion_status);
10514: WSH_DEBUG_SV.pop(l_module_name);
10515: END IF;
10516: --
10517:
10518: EXCEPTION

Line 10528: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:e_invalid_number');

10524: errbuf := 'Interface trip stop failed with unexpected error';
10525: retcode := '2';
10526: --
10527: IF l_debug_on THEN
10528: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:e_invalid_number');
10529: END IF;
10530: --
10531: WHEN OTHERS THEN
10532: l_completion_status := 'ERROR';

Line 10542: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

10538: errbuf := 'Interface trip stop failed with unexpected error';
10539: retcode := '2';
10540: --
10541: IF l_debug_on THEN
10542: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
10543: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
10544: END IF;
10545: --
10546: END interface_ALL_wrp;

Line 10543: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

10539: retcode := '2';
10540: --
10541: IF l_debug_on THEN
10542: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
10543: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
10544: END IF;
10545: --
10546: END interface_ALL_wrp;
10547:

Line 10664: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

10660: BEGIN
10661:
10662: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
10663: IF l_debug_on IS NULL THEN
10664: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
10665: END IF;
10666:
10667: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
10668:

Line 10670: WSH_DEBUG_SV.push(l_module_name);

10666:
10667: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
10668:
10669: IF l_debug_on THEN
10670: WSH_DEBUG_SV.push(l_module_name);
10671: WSH_DEBUG_SV.log(l_module_name,'delivery_id ',p_delivery_id);
10672: WSH_DEBUG_SV.logmsg(l_module_name, 'Calling program unit WSH_DELIVERY_DETAILS_PKG.Lock_Detail_No_Compare',WSH_DEBUG_SV.C_PROC_LEVEL);
10673: END IF;
10674:

Line 10671: WSH_DEBUG_SV.log(l_module_name,'delivery_id ',p_delivery_id);

10667: x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
10668:
10669: IF l_debug_on THEN
10670: WSH_DEBUG_SV.push(l_module_name);
10671: WSH_DEBUG_SV.log(l_module_name,'delivery_id ',p_delivery_id);
10672: WSH_DEBUG_SV.logmsg(l_module_name, 'Calling program unit WSH_DELIVERY_DETAILS_PKG.Lock_Detail_No_Compare',WSH_DEBUG_SV.C_PROC_LEVEL);
10673: END IF;
10674:
10675: SAVEPOINT l_cancel_wdd;

Line 10672: WSH_DEBUG_SV.logmsg(l_module_name, 'Calling program unit WSH_DELIVERY_DETAILS_PKG.Lock_Detail_No_Compare',WSH_DEBUG_SV.C_PROC_LEVEL);

10668:
10669: IF l_debug_on THEN
10670: WSH_DEBUG_SV.push(l_module_name);
10671: WSH_DEBUG_SV.log(l_module_name,'delivery_id ',p_delivery_id);
10672: WSH_DEBUG_SV.logmsg(l_module_name, 'Calling program unit WSH_DELIVERY_DETAILS_PKG.Lock_Detail_No_Compare',WSH_DEBUG_SV.C_PROC_LEVEL);
10673: END IF;
10674:
10675: SAVEPOINT l_cancel_wdd;
10676:

Line 10688: WSH_DEBUG_SV.logmsg(l_module_name, 'Inside line rec loop : line_id '|| line_rec.source_line_id);

10684: FETCH c_get_oe_interface_line_detail into line_rec;
10685: EXIT WHEN c_get_oe_interface_line_detail%NOTFOUND;
10686:
10687: IF l_debug_on THEN
10688: WSH_DEBUG_SV.logmsg(l_module_name, 'Inside line rec loop : line_id '|| line_rec.source_line_id);
10689: END IF;
10690:
10691: i := i + 1;
10692: line_id_tab(i) := line_rec.source_line_id ;

Line 10694: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_SHIP_CONFRIM_ACTIONS.Handle_Tolerances',WSH_DEBUG_SV.C_PROC_LEVEL);

10690:
10691: i := i + 1;
10692: line_id_tab(i) := line_rec.source_line_id ;
10693:
10694: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_SHIP_CONFRIM_ACTIONS.Handle_Tolerances',WSH_DEBUG_SV.C_PROC_LEVEL);
10695:
10696: /*Check the tolerances and cancel the delivery details ,if tolerances are met*/
10697: Handle_Tolerances ( p_batch_id => NULL,
10698: p_oe_interface_rec => line_rec,

Line 10704: WSH_DEBUG_SV.log(l_module_name,'Return status after calling WSH_SHIP_CONFRIM_ACTIONS.Handle_Tolerances ',l_return_status);

10700: x_over_reason => l_over_reason,
10701: x_return_status => l_return_status);
10702:
10703: IF l_debug_on THEN
10704: WSH_DEBUG_SV.log(l_module_name,'Return status after calling WSH_SHIP_CONFRIM_ACTIONS.Handle_Tolerances ',l_return_status);
10705: END IF;
10706:
10707: WSH_UTIL_CORE.api_post_call( p_return_status => l_return_status,
10708: x_num_warnings =>l_num_warnings,

Line 10718: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_SHIP_CONFIRM_ACTIONS.Process_lines_To_OM', WSH_DEBUG_SV.C_PROC_LEVEL);

10714: --Interfaces lines to OM
10715: IF (line_id_tab.count > 0 ) THEN
10716: --{
10717: IF l_debug_on THEN
10718: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit WSH_SHIP_CONFIRM_ACTIONS.Process_lines_To_OM', WSH_DEBUG_SV.C_PROC_LEVEL);
10719: END IF;
10720:
10721: /*Interface the delivery details to OM*/
10722: Process_lines_To_OM(p_line_id_tab =>line_id_tab,

Line 10726: WSH_DEBUG_SV.logmsg(l_module_name, 'After program unit Process_lines_To_OM l_return_status ' || l_return_status );

10722: Process_lines_To_OM(p_line_id_tab =>line_id_tab,
10723: x_return_status => l_return_status);
10724:
10725: IF l_debug_on THEN
10726: WSH_DEBUG_SV.logmsg(l_module_name, 'After program unit Process_lines_To_OM l_return_status ' || l_return_status );
10727: END IF;
10728:
10729: WSH_UTIL_CORE.api_post_call(p_return_status => l_return_status, x_num_warnings =>l_num_warnings, x_num_errors =>l_num_errors);
10730: --}

Line 10734: WSH_DEBUG_SV.logmsg(l_module_name, '*****No eligible lines found in the delivery to interface******');

10730: --}
10731: ELSE
10732: --{
10733: IF l_debug_on THEN
10734: WSH_DEBUG_SV.logmsg(l_module_name, '*****No eligible lines found in the delivery to interface******');
10735: END IF;
10736: --}
10737: END IF;
10738:

Line 10744: WSH_DEBUG_SV.pop(l_module_name);

10740: x_return_status := l_return_status;
10741: END IF;
10742:
10743: IF l_debug_on THEN
10744: WSH_DEBUG_SV.pop(l_module_name);
10745: END IF;
10746:
10747: EXCEPTION
10748: WHEN line_locked THEN

Line 10758: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_cancel_wdd');

10754: END IF;
10755:
10756: ROLLBACK TO SAVEPOINT l_cancel_wdd;
10757: IF l_debug_on THEN
10758: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_cancel_wdd');
10759: WSH_DEBUG_SV.logmsg(l_module_name,'LINE_LOCKED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
10760: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:LINE_LOCKED');
10761: END IF;
10762:

Line 10759: WSH_DEBUG_SV.logmsg(l_module_name,'LINE_LOCKED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);

10755:
10756: ROLLBACK TO SAVEPOINT l_cancel_wdd;
10757: IF l_debug_on THEN
10758: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_cancel_wdd');
10759: WSH_DEBUG_SV.logmsg(l_module_name,'LINE_LOCKED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
10760: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:LINE_LOCKED');
10761: END IF;
10762:
10763: WHEN OTHERS THEN

Line 10760: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:LINE_LOCKED');

10756: ROLLBACK TO SAVEPOINT l_cancel_wdd;
10757: IF l_debug_on THEN
10758: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_cancel_wdd');
10759: WSH_DEBUG_SV.logmsg(l_module_name,'LINE_LOCKED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
10760: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:LINE_LOCKED');
10761: END IF;
10762:
10763: WHEN OTHERS THEN
10764: x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;

Line 10774: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_cancel_wdd');

10770: END IF;
10771:
10772: ROLLBACK TO SAVEPOINT l_cancel_wdd;
10773: IF l_debug_on THEN
10774: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_cancel_wdd');
10775: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN WSH_Process_Stop_To_OM' );
10776: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
10777: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
10778: END IF;

Line 10775: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN WSH_Process_Stop_To_OM' );

10771:
10772: ROLLBACK TO SAVEPOINT l_cancel_wdd;
10773: IF l_debug_on THEN
10774: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_cancel_wdd');
10775: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN WSH_Process_Stop_To_OM' );
10776: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
10777: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
10778: END IF;
10779:

Line 10776: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

10772: ROLLBACK TO SAVEPOINT l_cancel_wdd;
10773: IF l_debug_on THEN
10774: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_cancel_wdd');
10775: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN WSH_Process_Stop_To_OM' );
10776: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
10777: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
10778: END IF;
10779:
10780: END Process_delivery_To_OM;

Line 10777: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

10773: IF l_debug_on THEN
10774: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_cancel_wdd');
10775: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN WSH_Process_Stop_To_OM' );
10776: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
10777: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
10778: END IF;
10779:
10780: END Process_delivery_To_OM;
10781:

Line 10881: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;

10877:
10878: BEGIN
10879: l_debug_on := WSH_DEBUG_INTERFACE.g_debug;
10880: IF l_debug_on IS NULL THEN
10881: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
10882: END IF;
10883:
10884: IF l_debug_on THEN
10885: WSH_DEBUG_SV.push(l_module_name);

Line 10885: WSH_DEBUG_SV.push(l_module_name);

10881: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
10882: END IF;
10883:
10884: IF l_debug_on THEN
10885: WSH_DEBUG_SV.push(l_module_name);
10886: WSH_DEBUG_SV.log(l_module_name,'line_id_tab.count',P_line_id_tab.count);
10887: WSH_DEBUG_SV.logmsg(l_module_name, 'Get lines to interface - Start loop');
10888: END IF;
10889:

Line 10886: WSH_DEBUG_SV.log(l_module_name,'line_id_tab.count',P_line_id_tab.count);

10882: END IF;
10883:
10884: IF l_debug_on THEN
10885: WSH_DEBUG_SV.push(l_module_name);
10886: WSH_DEBUG_SV.log(l_module_name,'line_id_tab.count',P_line_id_tab.count);
10887: WSH_DEBUG_SV.logmsg(l_module_name, 'Get lines to interface - Start loop');
10888: END IF;
10889:
10890: l_bulk_ship_line.line_id.DELETE;

Line 10887: WSH_DEBUG_SV.logmsg(l_module_name, 'Get lines to interface - Start loop');

10883:
10884: IF l_debug_on THEN
10885: WSH_DEBUG_SV.push(l_module_name);
10886: WSH_DEBUG_SV.log(l_module_name,'line_id_tab.count',P_line_id_tab.count);
10887: WSH_DEBUG_SV.logmsg(l_module_name, 'Get lines to interface - Start loop');
10888: END IF;
10889:
10890: l_bulk_ship_line.line_id.DELETE;
10891: l_non_bulk_ship_line.line_id.DELETE;

Line 10901: WSH_DEBUG_SV.logmsg(l_module_name, '=======================');

10897: FOR k IN 1..P_line_id_tab.count
10898: LOOP
10899: --{
10900: IF l_debug_on THEN
10901: WSH_DEBUG_SV.logmsg(l_module_name, '=======================');
10902: WSH_DEBUG_SV.logmsg(l_module_name, 'Before line rec line_id' || P_line_id_tab(k));
10903: END IF;
10904:
10905: /*Get the order lines which have only shipped delivery details*/

Line 10902: WSH_DEBUG_SV.logmsg(l_module_name, 'Before line rec line_id' || P_line_id_tab(k));

10898: LOOP
10899: --{
10900: IF l_debug_on THEN
10901: WSH_DEBUG_SV.logmsg(l_module_name, '=======================');
10902: WSH_DEBUG_SV.logmsg(l_module_name, 'Before line rec line_id' || P_line_id_tab(k));
10903: END IF;
10904:
10905: /*Get the order lines which have only shipped delivery details*/
10906: OPEN c_get_line_detail_to_interface(P_line_id_tab(k));

Line 10912: WSH_DEBUG_SV.logmsg(l_module_name, 'Line not eligible to interface');

10908: INTO line_rec;
10909:
10910: IF c_get_line_detail_to_interface%NOTFOUND THEN
10911: IF l_debug_on THEN
10912: WSH_DEBUG_SV.logmsg(l_module_name, 'Line not eligible to interface');
10913: END IF;
10914: GOTO loop_end;
10915: END IF;
10916:

Line 10918: WSH_DEBUG_SV.logmsg(l_module_name, 'After line rec line_id ' || line_rec.source_line_id);

10914: GOTO loop_end;
10915: END IF;
10916:
10917: IF l_debug_on THEN
10918: WSH_DEBUG_SV.logmsg(l_module_name, 'After line rec line_id ' || line_rec.source_line_id);
10919: END IF;
10920:
10921: --Get initial pick up date for the line.
10922: BEGIN

Line 10935: WSH_DEBUG_SV.log(l_module_name,'l_pick_up_date',l_pick_up_date);

10931: AND wnd.delivery_id = wda.delivery_id
10932: AND ROWNUM =1;
10933:
10934: IF l_debug_on THEN
10935: WSH_DEBUG_SV.log(l_module_name,'l_pick_up_date',l_pick_up_date);
10936: END IF;
10937: --}
10938: END;
10939:

Line 10944: WSH_DEBUG_SV.logmsg(l_module_name, 'Total quantity shipped interface to OM');

10940: --for full quantity shipped ,popualate bulk mode variable
10941: IF ( WSH_WV_UTILS.CONVERT_UOM( line_rec.order_quantity_uom, line_rec.requested_quantity_uom, line_rec.ordered_quantity, line_rec.inventory_item_id) = line_rec.total_shipped_quantity ) THEN
10942: --{
10943: IF l_debug_on THEN
10944: WSH_DEBUG_SV.logmsg(l_module_name, 'Total quantity shipped interface to OM');
10945: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_ordered_quantity',line_rec.ordered_quantity);
10946: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_requested_quantity',line_rec.total_requested_quantity);
10947: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_shipped_quantity',line_rec.total_shipped_quantity);
10948: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate bulk varaible');

Line 10945: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_ordered_quantity',line_rec.ordered_quantity);

10941: IF ( WSH_WV_UTILS.CONVERT_UOM( line_rec.order_quantity_uom, line_rec.requested_quantity_uom, line_rec.ordered_quantity, line_rec.inventory_item_id) = line_rec.total_shipped_quantity ) THEN
10942: --{
10943: IF l_debug_on THEN
10944: WSH_DEBUG_SV.logmsg(l_module_name, 'Total quantity shipped interface to OM');
10945: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_ordered_quantity',line_rec.ordered_quantity);
10946: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_requested_quantity',line_rec.total_requested_quantity);
10947: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_shipped_quantity',line_rec.total_shipped_quantity);
10948: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate bulk varaible');
10949: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);

Line 10946: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_requested_quantity',line_rec.total_requested_quantity);

10942: --{
10943: IF l_debug_on THEN
10944: WSH_DEBUG_SV.logmsg(l_module_name, 'Total quantity shipped interface to OM');
10945: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_ordered_quantity',line_rec.ordered_quantity);
10946: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_requested_quantity',line_rec.total_requested_quantity);
10947: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_shipped_quantity',line_rec.total_shipped_quantity);
10948: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate bulk varaible');
10949: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
10950: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);

Line 10947: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_shipped_quantity',line_rec.total_shipped_quantity);

10943: IF l_debug_on THEN
10944: WSH_DEBUG_SV.logmsg(l_module_name, 'Total quantity shipped interface to OM');
10945: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_ordered_quantity',line_rec.ordered_quantity);
10946: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_requested_quantity',line_rec.total_requested_quantity);
10947: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_shipped_quantity',line_rec.total_shipped_quantity);
10948: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate bulk varaible');
10949: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
10950: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
10951: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);

Line 10948: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate bulk varaible');

10944: WSH_DEBUG_SV.logmsg(l_module_name, 'Total quantity shipped interface to OM');
10945: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_ordered_quantity',line_rec.ordered_quantity);
10946: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_requested_quantity',line_rec.total_requested_quantity);
10947: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_shipped_quantity',line_rec.total_shipped_quantity);
10948: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate bulk varaible');
10949: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
10950: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
10951: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
10952: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',line_rec.flow_status_code);

Line 10949: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);

10945: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_ordered_quantity',line_rec.ordered_quantity);
10946: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_requested_quantity',line_rec.total_requested_quantity);
10947: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_shipped_quantity',line_rec.total_shipped_quantity);
10948: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate bulk varaible');
10949: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
10950: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
10951: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
10952: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',line_rec.flow_status_code);
10953: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);

Line 10950: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);

10946: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_requested_quantity',line_rec.total_requested_quantity);
10947: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_shipped_quantity',line_rec.total_shipped_quantity);
10948: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate bulk varaible');
10949: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
10950: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
10951: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
10952: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',line_rec.flow_status_code);
10953: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);
10954: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);

Line 10951: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);

10947: WSH_DEBUG_SV.log(l_module_name,'line_rec.total_shipped_quantity',line_rec.total_shipped_quantity);
10948: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate bulk varaible');
10949: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
10950: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
10951: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
10952: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',line_rec.flow_status_code);
10953: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);
10954: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
10955: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);

Line 10952: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',line_rec.flow_status_code);

10948: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate bulk varaible');
10949: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
10950: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
10951: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
10952: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',line_rec.flow_status_code);
10953: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);
10954: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
10955: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);
10956: WSH_DEBUG_SV.log(l_module_name,'org_id',line_rec.org_id);

Line 10953: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);

10949: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
10950: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
10951: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
10952: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',line_rec.flow_status_code);
10953: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);
10954: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
10955: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);
10956: WSH_DEBUG_SV.log(l_module_name,'org_id',line_rec.org_id);
10957: END IF;

Line 10954: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);

10950: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
10951: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
10952: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',line_rec.flow_status_code);
10953: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);
10954: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
10955: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);
10956: WSH_DEBUG_SV.log(l_module_name,'org_id',line_rec.org_id);
10957: END IF;
10958: i := i+1;

Line 10955: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);

10951: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
10952: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',line_rec.flow_status_code);
10953: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);
10954: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
10955: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);
10956: WSH_DEBUG_SV.log(l_module_name,'org_id',line_rec.org_id);
10957: END IF;
10958: i := i+1;
10959: l_bulk_ship_line.header_id.extend;

Line 10956: WSH_DEBUG_SV.log(l_module_name,'org_id',line_rec.org_id);

10952: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',line_rec.flow_status_code);
10953: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);
10954: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
10955: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);
10956: WSH_DEBUG_SV.log(l_module_name,'org_id',line_rec.org_id);
10957: END IF;
10958: i := i+1;
10959: l_bulk_ship_line.header_id.extend;
10960: l_bulk_ship_line.header_id(i):= line_rec.source_header_id;

Line 10993: WSH_DEBUG_SV.logmsg(l_module_name, 'Tolearance case');

10989: ELSIF ((NVL(line_rec.ship_tolerance_above,0) > 0) OR
10990: (NVL(line_rec.ship_tolerance_below,0) > 0))THEN
10991: --{
10992: IF l_debug_on THEN
10993: WSH_DEBUG_SV.logmsg(l_module_name, 'Tolearance case');
10994: WSH_DEBUG_SV.log(l_module_name,'total shipped quantity',line_rec.total_shipped_quantity);
10995: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
10996: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_below',line_rec.ship_tolerance_below);
10997: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_above',line_rec.ship_tolerance_above);

Line 10994: WSH_DEBUG_SV.log(l_module_name,'total shipped quantity',line_rec.total_shipped_quantity);

10990: (NVL(line_rec.ship_tolerance_below,0) > 0))THEN
10991: --{
10992: IF l_debug_on THEN
10993: WSH_DEBUG_SV.logmsg(l_module_name, 'Tolearance case');
10994: WSH_DEBUG_SV.log(l_module_name,'total shipped quantity',line_rec.total_shipped_quantity);
10995: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
10996: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_below',line_rec.ship_tolerance_below);
10997: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_above',line_rec.ship_tolerance_above);
10998: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate non bulk varaible');

Line 10995: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);

10991: --{
10992: IF l_debug_on THEN
10993: WSH_DEBUG_SV.logmsg(l_module_name, 'Tolearance case');
10994: WSH_DEBUG_SV.log(l_module_name,'total shipped quantity',line_rec.total_shipped_quantity);
10995: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
10996: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_below',line_rec.ship_tolerance_below);
10997: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_above',line_rec.ship_tolerance_above);
10998: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate non bulk varaible');
10999: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);

Line 10996: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_below',line_rec.ship_tolerance_below);

10992: IF l_debug_on THEN
10993: WSH_DEBUG_SV.logmsg(l_module_name, 'Tolearance case');
10994: WSH_DEBUG_SV.log(l_module_name,'total shipped quantity',line_rec.total_shipped_quantity);
10995: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
10996: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_below',line_rec.ship_tolerance_below);
10997: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_above',line_rec.ship_tolerance_above);
10998: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate non bulk varaible');
10999: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
11000: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);

Line 10997: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_above',line_rec.ship_tolerance_above);

10993: WSH_DEBUG_SV.logmsg(l_module_name, 'Tolearance case');
10994: WSH_DEBUG_SV.log(l_module_name,'total shipped quantity',line_rec.total_shipped_quantity);
10995: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
10996: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_below',line_rec.ship_tolerance_below);
10997: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_above',line_rec.ship_tolerance_above);
10998: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate non bulk varaible');
10999: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
11000: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
11001: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);

Line 10998: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate non bulk varaible');

10994: WSH_DEBUG_SV.log(l_module_name,'total shipped quantity',line_rec.total_shipped_quantity);
10995: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
10996: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_below',line_rec.ship_tolerance_below);
10997: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_above',line_rec.ship_tolerance_above);
10998: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate non bulk varaible');
10999: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
11000: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
11001: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
11002: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);

Line 10999: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);

10995: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
10996: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_below',line_rec.ship_tolerance_below);
10997: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_above',line_rec.ship_tolerance_above);
10998: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate non bulk varaible');
10999: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
11000: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
11001: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
11002: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);
11003: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',line_rec.inventory_item_id );

Line 11000: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);

10996: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_below',line_rec.ship_tolerance_below);
10997: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_above',line_rec.ship_tolerance_above);
10998: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate non bulk varaible');
10999: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
11000: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
11001: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
11002: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);
11003: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',line_rec.inventory_item_id );
11004: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',line_rec.flow_status_code);

Line 11001: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);

10997: WSH_DEBUG_SV.log(l_module_name,'line_rec.ship_tolerance_above',line_rec.ship_tolerance_above);
10998: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate non bulk varaible');
10999: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
11000: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
11001: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
11002: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);
11003: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',line_rec.inventory_item_id );
11004: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',line_rec.flow_status_code);
11005: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);

Line 11002: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);

10998: WSH_DEBUG_SV.logmsg(l_module_name, 'Populate non bulk varaible');
10999: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
11000: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
11001: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
11002: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);
11003: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',line_rec.inventory_item_id );
11004: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',line_rec.flow_status_code);
11005: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
11006: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);

Line 11003: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',line_rec.inventory_item_id );

10999: WSH_DEBUG_SV.log(l_module_name,'source_header_id',line_rec.source_header_id);
11000: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
11001: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
11002: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);
11003: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',line_rec.inventory_item_id );
11004: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',line_rec.flow_status_code);
11005: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
11006: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);
11007: WSH_DEBUG_SV.log(l_module_name,'organization_id',line_rec.organization_id);

Line 11004: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',line_rec.flow_status_code);

11000: WSH_DEBUG_SV.log(l_module_name,'source_line_id',line_rec.source_line_id);
11001: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
11002: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);
11003: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',line_rec.inventory_item_id );
11004: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',line_rec.flow_status_code);
11005: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
11006: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);
11007: WSH_DEBUG_SV.log(l_module_name,'organization_id',line_rec.organization_id);
11008: WSH_DEBUG_SV.log(l_module_name,'org_id',line_rec.org_id);

Line 11005: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);

11001: WSH_DEBUG_SV.log(l_module_name,'initial_pickup_date',l_pick_up_date);
11002: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);
11003: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',line_rec.inventory_item_id );
11004: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',line_rec.flow_status_code);
11005: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
11006: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);
11007: WSH_DEBUG_SV.log(l_module_name,'organization_id',line_rec.organization_id);
11008: WSH_DEBUG_SV.log(l_module_name,'org_id',line_rec.org_id);
11009: WSH_DEBUG_SV.log(l_module_name,'item_type_code',line_rec.item_type_code);

Line 11006: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);

11002: WSH_DEBUG_SV.log(l_module_name,'requested_quantity_uom',line_rec.requested_quantity_uom);
11003: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',line_rec.inventory_item_id );
11004: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',line_rec.flow_status_code);
11005: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
11006: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);
11007: WSH_DEBUG_SV.log(l_module_name,'organization_id',line_rec.organization_id);
11008: WSH_DEBUG_SV.log(l_module_name,'org_id',line_rec.org_id);
11009: WSH_DEBUG_SV.log(l_module_name,'item_type_code',line_rec.item_type_code);
11010: WSH_DEBUG_SV.log(l_module_name,'item_type_code',line_rec.calculate_price_flag);

Line 11007: WSH_DEBUG_SV.log(l_module_name,'organization_id',line_rec.organization_id);

11003: WSH_DEBUG_SV.log(l_module_name,'inventory_item_id',line_rec.inventory_item_id );
11004: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',line_rec.flow_status_code);
11005: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
11006: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);
11007: WSH_DEBUG_SV.log(l_module_name,'organization_id',line_rec.organization_id);
11008: WSH_DEBUG_SV.log(l_module_name,'org_id',line_rec.org_id);
11009: WSH_DEBUG_SV.log(l_module_name,'item_type_code',line_rec.item_type_code);
11010: WSH_DEBUG_SV.log(l_module_name,'item_type_code',line_rec.calculate_price_flag);
11011: END IF;

Line 11008: WSH_DEBUG_SV.log(l_module_name,'org_id',line_rec.org_id);

11004: WSH_DEBUG_SV.log(l_module_name,'flow_status_code',line_rec.flow_status_code);
11005: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
11006: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);
11007: WSH_DEBUG_SV.log(l_module_name,'organization_id',line_rec.organization_id);
11008: WSH_DEBUG_SV.log(l_module_name,'org_id',line_rec.org_id);
11009: WSH_DEBUG_SV.log(l_module_name,'item_type_code',line_rec.item_type_code);
11010: WSH_DEBUG_SV.log(l_module_name,'item_type_code',line_rec.calculate_price_flag);
11011: END IF;
11012:

Line 11009: WSH_DEBUG_SV.log(l_module_name,'item_type_code',line_rec.item_type_code);

11005: WSH_DEBUG_SV.log(l_module_name,'ordered_quantity',line_rec.ordered_quantity);
11006: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);
11007: WSH_DEBUG_SV.log(l_module_name,'organization_id',line_rec.organization_id);
11008: WSH_DEBUG_SV.log(l_module_name,'org_id',line_rec.org_id);
11009: WSH_DEBUG_SV.log(l_module_name,'item_type_code',line_rec.item_type_code);
11010: WSH_DEBUG_SV.log(l_module_name,'item_type_code',line_rec.calculate_price_flag);
11011: END IF;
11012:
11013: j := j+1;

Line 11010: WSH_DEBUG_SV.log(l_module_name,'item_type_code',line_rec.calculate_price_flag);

11006: WSH_DEBUG_SV.log(l_module_name,'total_shipped_quantity',line_rec.total_shipped_quantity);
11007: WSH_DEBUG_SV.log(l_module_name,'organization_id',line_rec.organization_id);
11008: WSH_DEBUG_SV.log(l_module_name,'org_id',line_rec.org_id);
11009: WSH_DEBUG_SV.log(l_module_name,'item_type_code',line_rec.item_type_code);
11010: WSH_DEBUG_SV.log(l_module_name,'item_type_code',line_rec.calculate_price_flag);
11011: END IF;
11012:
11013: j := j+1;
11014: l_non_bulk_ship_line.header_id.extend;

Line 11082: WSH_DEBUG_SV.logmsg(l_module_name,'Loop End');

11078: --}
11079: END LOOP; -- FOR i IN 1..line_id_tab.count LOOP
11080:
11081: IF l_debug_on THEN
11082: WSH_DEBUG_SV.logmsg(l_module_name,'Loop End');
11083: END IF;
11084:
11085: --If No STA STB case populate BULK variables
11086: l_row_count := l_bulk_ship_line.line_id.count;

Line 11101: WSH_DEBUG_SV.log(l_module_name,'Total bulk rows',l_row_count);

11097: --If No STA STB , call OM API in bulk mode
11098: IF l_row_count > 0 THEN
11099: --{
11100: IF l_debug_on THEN
11101: WSH_DEBUG_SV.log(l_module_name,'Total bulk rows',l_row_count);
11102: WSH_DEBUG_SV.logmsg(l_module_name,'Establishing save point l_interface_om_bulk');
11103: END IF;
11104:
11105: SAVEPOINT l_interface_om_bulk;

Line 11102: WSH_DEBUG_SV.logmsg(l_module_name,'Establishing save point l_interface_om_bulk');

11098: IF l_row_count > 0 THEN
11099: --{
11100: IF l_debug_on THEN
11101: WSH_DEBUG_SV.log(l_module_name,'Total bulk rows',l_row_count);
11102: WSH_DEBUG_SV.logmsg(l_module_name,'Establishing save point l_interface_om_bulk');
11103: END IF;
11104:
11105: SAVEPOINT l_interface_om_bulk;
11106: IF l_debug_on THEN

Line 11107: WSH_DEBUG_SV.log(l_module_name,'Calling OE_Ship_Confirmation_Pub.Ship_Confirm_New TIME:',SYSDATE);

11103: END IF;
11104:
11105: SAVEPOINT l_interface_om_bulk;
11106: IF l_debug_on THEN
11107: WSH_DEBUG_SV.log(l_module_name,'Calling OE_Ship_Confirmation_Pub.Ship_Confirm_New TIME:',SYSDATE);
11108: END IF;
11109:
11110: MO_GLOBAL.set_policy_context('S', l_bulk_ship_line.org_id(l_start_index));
11111: IF l_debug_on THEN

Line 11112: WSH_DEBUG_SV.log(l_module_name,'Setting the org',l_bulk_ship_line.org_id(l_start_index));

11108: END IF;
11109:
11110: MO_GLOBAL.set_policy_context('S', l_bulk_ship_line.org_id(l_start_index));
11111: IF l_debug_on THEN
11112: WSH_DEBUG_SV.log(l_module_name,'Setting the org',l_bulk_ship_line.org_id(l_start_index));
11113: END IF;
11114: l_loop_count := l_loop_count +1;
11115:
11116: /*Call OM API in bulk mode to interface wdd to OM*/

Line 11128: WSH_DEBUG_SV.log(l_module_name,'After OE_Shipping_Integration_PUB.Ship_Confirm_New TIME:',SYSDATE);

11124: x_msg_data => x_msg_data,
11125: x_return_status => l_return_status);
11126:
11127: IF l_debug_on THEN
11128: WSH_DEBUG_SV.log(l_module_name,'After OE_Shipping_Integration_PUB.Ship_Confirm_New TIME:',SYSDATE);
11129: WSH_DEBUG_SV.log(l_module_name,'l_return_status ',l_return_status);
11130: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'||X_MSG_COUNT );
11131: END IF;
11132:

Line 11129: WSH_DEBUG_SV.log(l_module_name,'l_return_status ',l_return_status);

11125: x_return_status => l_return_status);
11126:
11127: IF l_debug_on THEN
11128: WSH_DEBUG_SV.log(l_module_name,'After OE_Shipping_Integration_PUB.Ship_Confirm_New TIME:',SYSDATE);
11129: WSH_DEBUG_SV.log(l_module_name,'l_return_status ',l_return_status);
11130: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'||X_MSG_COUNT );
11131: END IF;
11132:
11133: FOR k IN 1 .. NVL(x_msg_count,0)

Line 11130: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'||X_MSG_COUNT );

11126:
11127: IF l_debug_on THEN
11128: WSH_DEBUG_SV.log(l_module_name,'After OE_Shipping_Integration_PUB.Ship_Confirm_New TIME:',SYSDATE);
11129: WSH_DEBUG_SV.log(l_module_name,'l_return_status ',l_return_status);
11130: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'||X_MSG_COUNT );
11131: END IF;
11132:
11133: FOR k IN 1 .. NVL(x_msg_count,0)
11134: LOOP

Line 11138: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit OE_MSG_PUB.GET',WSH_DEBUG_SV.C_PROC_LEVEL);

11134: LOOP
11135: --{
11136: --
11137: IF l_debug_on THEN
11138: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit OE_MSG_PUB.GET',WSH_DEBUG_SV.C_PROC_LEVEL);
11139: END IF;
11140: --
11141: x_msg_data := oe_msg_pub.get( p_msg_index => k, p_encoded => 'F' );
11142: --

Line 11144: WSH_DEBUG_SV.logmsg(l_module_name, SUBSTR ( X_MSG_DATA , 1 , 255 ) );

11140: --
11141: x_msg_data := oe_msg_pub.get( p_msg_index => k, p_encoded => 'F' );
11142: --
11143: IF l_debug_on THEN
11144: WSH_DEBUG_SV.logmsg(l_module_name, SUBSTR ( X_MSG_DATA , 1 , 255 ) );
11145: END IF;
11146: --
11147: WSH_UTIL_CORE.printmsg('Error msg: '||SUBSTR(x_msg_data,1,2000));
11148: --}

Line 11154: WSH_DEBUG_SV.logmsg(l_module_name,'ERROR');

11150:
11151: IF l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS THEN
11152: --{
11153: IF l_debug_on THEN
11154: WSH_DEBUG_SV.logmsg(l_module_name,'ERROR');
11155: END IF;
11156: l_error_count := l_error_count + 1;
11157: IF l_debug_on THEN
11158: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_interface_om_bulk');

Line 11158: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_interface_om_bulk');

11154: WSH_DEBUG_SV.logmsg(l_module_name,'ERROR');
11155: END IF;
11156: l_error_count := l_error_count + 1;
11157: IF l_debug_on THEN
11158: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_interface_om_bulk');
11159: END IF;
11160: ROLLBACK TO l_interface_om_bulk;
11161: --}
11162: END IF;

Line 11170: WSH_DEBUG_SV.log(l_module_name,'Total Non bulk rows',l_row_count_nonbulk);

11166: --If STA or STB ,call OM API in non bulk mode
11167: IF l_row_count_nonbulk > 0 THEN
11168: --{
11169: IF l_debug_on THEN
11170: WSH_DEBUG_SV.log(l_module_name,'Total Non bulk rows',l_row_count_nonbulk);
11171: END IF;
11172: IF l_debug_on THEN
11173: WSH_DEBUG_SV.logmsg(l_module_name,'Establishing save point l_interface_om_non_bulk');
11174: END IF;

Line 11173: WSH_DEBUG_SV.logmsg(l_module_name,'Establishing save point l_interface_om_non_bulk');

11169: IF l_debug_on THEN
11170: WSH_DEBUG_SV.log(l_module_name,'Total Non bulk rows',l_row_count_nonbulk);
11171: END IF;
11172: IF l_debug_on THEN
11173: WSH_DEBUG_SV.logmsg(l_module_name,'Establishing save point l_interface_om_non_bulk');
11174: END IF;
11175: SAVEPOINT l_interface_om_non_bulk;
11176: IF l_debug_on THEN
11177: WSH_DEBUG_SV.log(l_module_name,'Calling OE_Ship_Confirmation_Pub.Ship_Confirm_New TIME:',SYSDATE);

Line 11177: WSH_DEBUG_SV.log(l_module_name,'Calling OE_Ship_Confirmation_Pub.Ship_Confirm_New TIME:',SYSDATE);

11173: WSH_DEBUG_SV.logmsg(l_module_name,'Establishing save point l_interface_om_non_bulk');
11174: END IF;
11175: SAVEPOINT l_interface_om_non_bulk;
11176: IF l_debug_on THEN
11177: WSH_DEBUG_SV.log(l_module_name,'Calling OE_Ship_Confirmation_Pub.Ship_Confirm_New TIME:',SYSDATE);
11178: END IF;
11179:
11180: MO_GLOBAL.set_policy_context('S', l_non_bulk_ship_line.org_id(l_start_index_nonbulk));
11181:

Line 11183: WSH_DEBUG_SV.log(l_module_name,'setting the org',l_non_bulk_ship_line.org_id(l_start_index_nonbulk));

11179:
11180: MO_GLOBAL.set_policy_context('S', l_non_bulk_ship_line.org_id(l_start_index_nonbulk));
11181:
11182: IF l_debug_on THEN
11183: WSH_DEBUG_SV.log(l_module_name,'setting the org',l_non_bulk_ship_line.org_id(l_start_index_nonbulk));
11184: END IF;
11185:
11186: l_loop_count := l_loop_count + 1;
11187:

Line 11199: WSH_DEBUG_SV.log(l_module_name,'After OE_Shipping_Integration_PUB.Ship_Confirm_New TIME:',SYSDATE);

11195: x_msg_count => x_msg_count,
11196: x_msg_data => x_msg_data,
11197: x_return_status => l_return_status);
11198: IF l_debug_on THEN
11199: WSH_DEBUG_SV.log(l_module_name,'After OE_Shipping_Integration_PUB.Ship_Confirm_New TIME:',SYSDATE);
11200: WSH_DEBUG_SV.log(l_module_name,'l_return_status ',l_return_status);
11201: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'
11202: ||X_MSG_COUNT );
11203: END IF;

Line 11200: WSH_DEBUG_SV.log(l_module_name,'l_return_status ',l_return_status);

11196: x_msg_data => x_msg_data,
11197: x_return_status => l_return_status);
11198: IF l_debug_on THEN
11199: WSH_DEBUG_SV.log(l_module_name,'After OE_Shipping_Integration_PUB.Ship_Confirm_New TIME:',SYSDATE);
11200: WSH_DEBUG_SV.log(l_module_name,'l_return_status ',l_return_status);
11201: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'
11202: ||X_MSG_COUNT );
11203: END IF;
11204:

Line 11201: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'

11197: x_return_status => l_return_status);
11198: IF l_debug_on THEN
11199: WSH_DEBUG_SV.log(l_module_name,'After OE_Shipping_Integration_PUB.Ship_Confirm_New TIME:',SYSDATE);
11200: WSH_DEBUG_SV.log(l_module_name,'l_return_status ',l_return_status);
11201: WSH_DEBUG_SV.logmsg(l_module_name, 'NO. OF OE MESSAGES :'
11202: ||X_MSG_COUNT );
11203: END IF;
11204:
11205: FOR k IN 1 .. NVL(x_msg_count,0)

Line 11209: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit OE_MSG_PUB.GET',WSH_DEBUG_SV.C_PROC_LEVEL);

11205: FOR k IN 1 .. NVL(x_msg_count,0)
11206: LOOP
11207: --
11208: IF l_debug_on THEN
11209: WSH_DEBUG_SV.logmsg(l_module_name,'Calling program unit OE_MSG_PUB.GET',WSH_DEBUG_SV.C_PROC_LEVEL);
11210: END IF;
11211: --
11212: x_msg_data := oe_msg_pub.get( p_msg_index => k, p_encoded => 'F' );
11213: --

Line 11215: WSH_DEBUG_SV.logmsg(l_module_name, SUBSTR ( X_MSG_DATA , 1 , 255 ) );

11211: --
11212: x_msg_data := oe_msg_pub.get( p_msg_index => k, p_encoded => 'F' );
11213: --
11214: IF l_debug_on THEN
11215: WSH_DEBUG_SV.logmsg(l_module_name, SUBSTR ( X_MSG_DATA , 1 , 255 ) );
11216: END IF;
11217: --
11218: WSH_UTIL_CORE.printmsg('Error msg: '||SUBSTR(x_msg_data,1,2000));
11219: END LOOP;

Line 11224: WSH_DEBUG_SV.logmsg(l_module_name,'ERROR');

11220:
11221: IF l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS THEN
11222: --{
11223: IF l_debug_on THEN
11224: WSH_DEBUG_SV.logmsg(l_module_name,'ERROR');
11225: END IF;
11226: l_error_count := l_error_count + 1;
11227: IF l_debug_on THEN
11228: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_interface_om_non_bulk');

Line 11228: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_interface_om_non_bulk');

11224: WSH_DEBUG_SV.logmsg(l_module_name,'ERROR');
11225: END IF;
11226: l_error_count := l_error_count + 1;
11227: IF l_debug_on THEN
11228: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_interface_om_non_bulk');
11229: END IF;
11230: ROLLBACK TO l_interface_om_non_bulk;
11231: --}
11232: END IF;

Line 11238: WSH_DEBUG_SV.logmsg(l_module_name,'*******No eligible lines found*********');

11234: END IF;
11235:
11236: IF l_row_count = 0 AND l_row_count_nonbulk = 0 THEN
11237: IF l_debug_on THEN
11238: WSH_DEBUG_SV.logmsg(l_module_name,'*******No eligible lines found*********');
11239: END IF;
11240: END IF;
11241:
11242: IF ( l_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS ) THEN

Line 11247: WSH_DEBUG_SV.pop(l_module_name);

11243: x_return_status := l_return_status;
11244: END IF;
11245:
11246: IF l_debug_on THEN
11247: WSH_DEBUG_SV.pop(l_module_name);
11248: END IF;
11249:
11250: EXCEPTION
11251: WHEN OTHERS THEN

Line 11261: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_interface_om');

11257: close c_get_line_detail_to_interface;
11258: END IF;
11259:
11260: IF l_debug_on THEN
11261: WSH_DEBUG_SV.logmsg(l_module_name,'Rollback to savepoint l_interface_om');
11262: END IF;
11263: ROLLBACK TO SAVEPOINT l_interface_om;
11264:
11265: IF l_debug_on THEN

Line 11266: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Process_lines_To_OM' );

11262: END IF;
11263: ROLLBACK TO SAVEPOINT l_interface_om;
11264:
11265: IF l_debug_on THEN
11266: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Process_lines_To_OM' );
11267: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
11268: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
11269: END IF;
11270:

Line 11267: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);

11263: ROLLBACK TO SAVEPOINT l_interface_om;
11264:
11265: IF l_debug_on THEN
11266: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Process_lines_To_OM' );
11267: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
11268: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
11269: END IF;
11270:
11271: END Process_lines_To_OM;

Line 11268: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

11264:
11265: IF l_debug_on THEN
11266: WSH_DEBUG_SV.logmsg(l_module_name, 'UNEXPECTED ERROR IN Process_lines_To_OM' );
11267: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
11268: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');
11269: END IF;
11270:
11271: END Process_lines_To_OM;
11272: