DBA Data[Home] [Help]

APPS.WIP_TRANSACTION_PVT dependencies on WIP_CONSTANTS

Line 52: IF (l_log_level <= wip_constants.trace_logging) THEN

48:
49: BEGIN
50: l_process_phase := '1';
51: -- write parameter value to log file
52: IF (l_log_level <= wip_constants.trace_logging) THEN
53: l_params(1).paramName := 'p_validation_level';
54: l_params(1).paramValue := p_validation_level;
55: l_params(2).paramName := 'p_init_msg_list';
56: l_params(2).paramValue := p_init_msg_list;

Line 111: if (l_entity_type = wip_constants.eam and l_receiving_transaction_id is not null) then

107: l_receiving_transaction_id := l_OSP_rec.rcv_transaction_id;
108: l_entity_type := l_OSP_rec.entity_type;
109: /*Call CST_eamCost_PUB.Get_Encumbrance_Data only for EAM Work Order and receiving_
110: transaction_id not null*/
111: if (l_entity_type = wip_constants.eam and l_receiving_transaction_id is not null) then
112: if (l_logLevel <= wip_constants.full_logging) then
113: wip_logger.log(p_msg => 'Calling CST_eamCost_PUB.Get_Encumbrance_Data',
114: x_returnStatus => l_return_status);
115: end if;

Line 112: if (l_logLevel <= wip_constants.full_logging) then

108: l_entity_type := l_OSP_rec.entity_type;
109: /*Call CST_eamCost_PUB.Get_Encumbrance_Data only for EAM Work Order and receiving_
110: transaction_id not null*/
111: if (l_entity_type = wip_constants.eam and l_receiving_transaction_id is not null) then
112: if (l_logLevel <= wip_constants.full_logging) then
113: wip_logger.log(p_msg => 'Calling CST_eamCost_PUB.Get_Encumbrance_Data',
114: x_returnStatus => l_return_status);
115: end if;
116:

Line 127: if (l_logLevel <= wip_constants.full_logging) then

123: ,x_return_status => p_return_status
124: ,x_msg_count => p_msg_count
125: ,x_msg_data => p_msg_data);
126:
127: if (l_logLevel <= wip_constants.full_logging) then
128: wip_logger.log(p_msg => 'CST_eamCost_PUB.Get_Encumbrance_Data returns '
129: || p_return_status,
130: x_returnStatus => l_return_status);
131: end if;

Line 165: l_OSP_rec.autocharge_type <> WIP_CONSTANTS.PO_MOVE AND

161:
162: --Bug 7409477(FP 6991030): Resource to be charged must be an OSP resource
163: if (l_return_status <> FND_API.G_RET_STS_ERROR) then
164: if (l_OSP_rec.autocharge_type IS NOT NULL AND
165: l_OSP_rec.autocharge_type <> WIP_CONSTANTS.PO_MOVE AND
166: l_OSP_rec.autocharge_type <> WIP_CONSTANTS.PO_RECEIPT)
167: then
168: l_return_status := FND_API.G_RET_STS_ERROR;
169: WIP_Globals.Add_Error_Message

Line 166: l_OSP_rec.autocharge_type <> WIP_CONSTANTS.PO_RECEIPT)

162: --Bug 7409477(FP 6991030): Resource to be charged must be an OSP resource
163: if (l_return_status <> FND_API.G_RET_STS_ERROR) then
164: if (l_OSP_rec.autocharge_type IS NOT NULL AND
165: l_OSP_rec.autocharge_type <> WIP_CONSTANTS.PO_MOVE AND
166: l_OSP_rec.autocharge_type <> WIP_CONSTANTS.PO_RECEIPT)
167: then
168: l_return_status := FND_API.G_RET_STS_ERROR;
169: WIP_Globals.Add_Error_Message
170: (p_message_name => 'WIP_INVALID_OSP_RESOURCE');

Line 184: IF l_OSP_rec.autocharge_type = WIP_CONSTANTS.PO_MOVE THEN

180: if (l_direct_item_flag <> 1) then
181: --Perform the Move transaction if the autocharge is PO Move
182: -- do not do this if direct item
183: if (l_return_status <> FND_API.G_RET_STS_ERROR) then
184: IF l_OSP_rec.autocharge_type = WIP_CONSTANTS.PO_MOVE THEN
185: l_process_phase := '10';
186: --Default the ShopFloorMove record
187: WIP_Default_ShopFloorMove.Attributes(
188: p_ShopFloorMove_rec => l_ShopFloorMove_rec,

Line 228: IF (l_log_level <= wip_constants.trace_logging) THEN

224: p_data => p_msg_data
225: );
226: p_return_status := l_return_status;
227: -- write to the log file
228: IF (l_log_level <= wip_constants.trace_logging) THEN
229: wip_logger.exitPoint(p_procName => 'WIP_Transaction_PVT.Process_OSP_Transaction',
230: p_procReturnStatus => p_return_status,
231: p_msg => 'procedure complete',
232: x_returnStatus => l_return_status);

Line 247: IF (l_log_level <= wip_constants.trace_logging) THEN

243: , p_data => p_msg_data
244: );
245: l_error_msg := 'process_phase = ' || l_process_phase || ';' ||
246: ' unexpected error: ' || p_msg_data;
247: IF (l_log_level <= wip_constants.trace_logging) THEN
248: wip_logger.exitPoint(
249: p_procName => 'WIP_Transaction_PVT.Process_OSP_Transaction',
250: p_procReturnStatus => p_return_status,
251: p_msg => l_error_msg,

Line 265: IF (l_log_level <= wip_constants.trace_logging) THEN

261: , p_data => p_msg_data
262: );
263: l_error_msg := 'process_phase = ' || l_process_phase || ';' ||
264: ' unexpected error: ' || p_msg_data;
265: IF (l_log_level <= wip_constants.trace_logging) THEN
266: wip_logger.exitPoint(
267: p_procName => 'WIP_Transaction_PVT.Process_OSP_Transaction',
268: p_procReturnStatus => p_return_status,
269: p_msg => l_error_msg,

Line 292: IF (l_log_level <= wip_constants.trace_logging) THEN

288: , p_data => p_msg_data
289: );
290: l_error_msg := 'process_phase = ' || l_process_phase || ';' ||
291: ' unexpected error: ' || SQLERRM;
292: IF (l_log_level <= wip_constants.trace_logging) THEN
293: wip_logger.exitPoint(
294: p_procName => 'WIP_Transaction_PVT.Process_OSP_Transaction',
295: p_procReturnStatus => p_return_status,
296: p_msg => l_error_msg,

Line 490: IF (l_log_level <= wip_constants.trace_logging) THEN

486: l_params wip_logger.param_tbl_t;
487: BEGIN
488: l_process_phase := '1';
489: -- write parameter value to log file
490: IF (l_log_level <= wip_constants.trace_logging) THEN
491: l_params(1).paramName := 'p_validation_level';
492: l_params(1).paramValue := p_validation_level;
493: l_params(2).paramName := 'p_init_msg_list';
494: l_params(2).paramValue := p_init_msg_list;

Line 549: IF (l_log_level <= wip_constants.trace_logging) THEN

545: );
546:
547: p_return_status := l_return_status;
548: -- write to the log file
549: IF (l_log_level <= wip_constants.trace_logging) THEN
550: wip_logger.exitPoint(p_procName => 'WIP_Transaction_PVT.Process_Resource_Transaction',
551: p_procReturnStatus => p_return_status,
552: p_msg => 'procedure complete',
553: x_returnStatus => l_return_status);

Line 560: IF (l_log_level <= wip_constants.trace_logging) THEN

556:
557: WHEN FND_API.G_EXC_ERROR THEN
558: l_res_txn_rec.return_status := FND_API.G_RET_STS_ERROR;
559: l_error_msg := 'process_phase = ' || l_process_phase || ';';
560: IF (l_log_level <= wip_constants.trace_logging) THEN
561: wip_logger.exitPoint(
562: p_procName => 'WIP_Transaction_PVT.Process_Resource_Transaction',
563: p_procReturnStatus => p_return_status,
564: p_msg => l_error_msg,

Line 570: IF (l_log_level <= wip_constants.trace_logging) THEN

566: END IF;
567: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
568: l_res_txn_rec.return_status := FND_API.G_RET_STS_UNEXP_ERROR;
569: l_error_msg := 'process_phase = ' || l_process_phase || ';';
570: IF (l_log_level <= wip_constants.trace_logging) THEN
571: wip_logger.exitPoint(
572: p_procName => 'WIP_Transaction_PVT.Process_Resource_Transaction',
573: p_procReturnStatus => p_return_status,
574: p_msg => l_error_msg,

Line 589: IF (l_log_level <= wip_constants.trace_logging) THEN

585: );
586: END IF;
587: l_error_msg := 'process_phase = ' || l_process_phase || ';' ||
588: ' unexpected error: ' || SQLERRM;
589: IF (l_log_level <= wip_constants.trace_logging) THEN
590: wip_logger.exitPoint(
591: p_procName => 'WIP_Transaction_PVT.Process_Resource_Transaction',
592: p_procReturnStatus => p_return_status,
593: p_msg => l_error_msg,