DBA Data[Home] [Help]

APPS.WIP_MOVPROC_PRIV dependencies on WIP_MTLTEMPPROC_PRIV

Line 9080: wip_mtlTempProc_priv.validateInterfaceTxns(

9076: -- we never used message stack.
9077: l_addMsgToStack := fnd_api.g_false;
9078: END IF;
9079: -- Move all assembly records from mti to mmtt
9080: wip_mtlTempProc_priv.validateInterfaceTxns(
9081: p_txnHdrID => p_gib.assy_header_id,
9082: p_addMsgToStack => l_addMsgToStack,
9083: p_rollbackOnErr => fnd_api.g_false,
9084: x_returnStatus => x_returnStatus);

Line 9094: l_errMsg := 'wip_mtlTempProc_priv.validateInterfaceTxns failed' ||

9090: IF (l_transaction_mode <> WIP_CONSTANTS.ONLINE) THEN
9091: -- write mtl error message into WIP_TXN_INTERFACE_ERRORS
9092: write_mtl_errors(p_mtl_header_id => p_gib.assy_header_id);
9093: END IF;
9094: l_errMsg := 'wip_mtlTempProc_priv.validateInterfaceTxns failed' ||
9095: ' (assembly records)' ;
9096: raise fnd_api.g_exc_unexpected_error;
9097: END IF;
9098:

Line 9904: wip_mtlTempProc_priv.processTemp

9900:
9901: IF(l_gib.assy_header_id IS NOT NULL AND
9902: l_gib.assy_header_id <> -1) THEN
9903: -- Process assembly return record
9904: wip_mtlTempProc_priv.processTemp
9905: (p_initMsgList => fnd_api.g_true,
9906: p_txnHdrID => l_gib.assy_header_id,
9907: p_txnMode => WIP_CONSTANTS.ONLINE,
9908: x_returnStatus => x_returnStatus,

Line 9915: l_errMsg := 'wip_mtlTempProc_priv.processTemp failed' ;

9911: IF(x_returnStatus <> fnd_api.g_ret_sts_success) THEN
9912: fnd_message.set_name('FND', 'FND_GENERIC_MESSAGE');
9913: fnd_message.set_token('MESSAGE', l_errMsg);
9914: fnd_msg_pub.add;
9915: l_errMsg := 'wip_mtlTempProc_priv.processTemp failed' ;
9916: raise fnd_api.g_exc_unexpected_error;
9917: END IF;
9918: l_return_hdr_id := l_gib.assy_header_id;
9919: -- reset l_gib.assy_header_id to null

Line 10051: wip_mtlTempProc_priv.processTemp

10047: -- Calling inventory to process assembly completion records.
10048: IF(l_gib.assy_header_id IS NOT NULL AND
10049: l_gib.assy_header_id <> -1) THEN
10050: -- Process assembly completion record
10051: wip_mtlTempProc_priv.processTemp
10052: (p_initMsgList => fnd_api.g_true,
10053: p_txnHdrID => l_gib.assy_header_id,
10054: p_txnMode => WIP_CONSTANTS.ONLINE,
10055: x_returnStatus => x_returnStatus,

Line 10062: l_errMsg := 'wip_mtlTempProc_priv.processTemp failed' ;

10058: IF(x_returnStatus <> fnd_api.g_ret_sts_success) THEN
10059: fnd_message.set_name('FND', 'FND_GENERIC_MESSAGE');
10060: fnd_message.set_token('MESSAGE', l_errMsg);
10061: fnd_msg_pub.add;
10062: l_errMsg := 'wip_mtlTempProc_priv.processTemp failed' ;
10063: raise fnd_api.g_exc_unexpected_error;
10064: END IF;
10065: END IF; -- check l_gib.assy_header_id
10066:

Line 10257: wip_mtlTempProc_priv.validateInterfaceTxns(

10253: -- Move assembly pull and operation pull records from mti to mmtt
10254: -- pass fnd_api.g_false to p_addMsgToStack because we never used
10255: -- message stack for background transaction. Moreover, this will
10256: -- improve performance if there are lots of errors.
10257: wip_mtlTempProc_priv.validateInterfaceTxns(
10258: p_txnHdrID => l_gib.mtl_header_id,
10259: p_addMsgToStack => fnd_api.g_false,
10260: p_rollbackOnErr => fnd_api.g_false,
10261: x_returnStatus => x_returnStatus);

Line 10267: l_errMsg := 'wip_mtlTempProc_priv.validateInterfaceTxns failed'||

10263: IF(x_returnStatus <> fnd_api.g_ret_sts_success) THEN
10264: -- write error into WIP_TXN_INTERFACE_ERRORS
10265: write_mtl_errors(p_mtl_header_id => l_gib.mtl_header_id);
10266: IF (l_logLevel <= wip_constants.full_logging) THEN
10267: l_errMsg := 'wip_mtlTempProc_priv.validateInterfaceTxns failed'||
10268: ' (component records)' ;
10269: wip_logger.log(p_msg => l_errMsg,
10270: x_returnStatus => l_returnStatus);
10271: END IF;

Line 10295: wip_mtlTempProc_priv.processTemp

10291: IF(l_MMTT_record > 0 AND
10292: l_gib.mtl_mode <> WIP_CONSTANTS.NO_PROCESSING) THEN
10293: -- Call material processor to process backflush components, and
10294: -- scrap assembly.
10295: wip_mtlTempProc_priv.processTemp
10296: (p_initMsgList => fnd_api.g_true,
10297: p_txnHdrID => l_gib.mtl_header_id,
10298: p_txnMode => l_gib.mtl_mode,
10299: x_returnStatus => x_returnStatus,

Line 10306: l_errMsg := 'wip_mtlTempProc_priv.processTemp failed' ;

10302: IF(x_returnStatus <> fnd_api.g_ret_sts_success) THEN
10303: fnd_message.set_name('FND', 'FND_GENERIC_MESSAGE');
10304: fnd_message.set_token('MESSAGE', l_errMsg);
10305: fnd_msg_pub.add;
10306: l_errMsg := 'wip_mtlTempProc_priv.processTemp failed' ;
10307: raise fnd_api.g_exc_unexpected_error;
10308: END IF;
10309: END IF; -- there is the records in MMTT with this header_id
10310: ELSE -- backflush is background

Line 11031: wip_mtlTempProc_priv.validateInterfaceTxns(

11027: END IF; -- from serialized page
11028: l_process_phase := '2.5';
11029: -- Validate and move records from MTI to MMTT. This will move both assembly
11030: -- and component records because we use the same header Id.
11031: wip_mtlTempProc_priv.validateInterfaceTxns(
11032: p_txnHdrID => p_mtl_header_id,
11033: p_addMsgToStack => fnd_api.g_true, -- So that we can display to user
11034: p_rollbackOnErr => fnd_api.g_false,
11035: x_returnStatus => x_returnStatus);