DBA Data[Home] [Help]

APPS.WIP_MOVPROC_PRIV dependencies on WIP_UTILITIES

Line 1904: wip_utilities.get_message_stack(p_msg =>l_msg);

1900: WHERE transaction_id = l_rs_txn.txn_id
1901: AND group_id = p_gib.group_id;
1902:
1903: -- Get error from message stack
1904: wip_utilities.get_message_stack(p_msg =>l_msg);
1905: IF(l_msg IS NULL) THEN
1906: -- initialize message to something because we cannot insert
1907: -- null into WIP_TXN_INTERFACE_ERRORS
1908: fnd_message.set_name('WIP', 'WIP_SOME_RECORDS_ERROR');

Line 2374: wip_utilities.update_serial(

2370: l_step := l_dj_txn.to_step;
2371: END IF;
2372: -- update current serial location to WMTI.TO_OPERATION_SEQ_NUM and
2373: -- WMTI.INTRAOPERATION_STEP_TYPE
2374: wip_utilities.update_serial(
2375: p_serial_number => l_ser_loc.serial,
2376: p_inventory_item_id => l_dj_txn.item_id,
2377: p_organization_id => l_dj_txn.org_id,
2378: p_wip_entity_id => l_dj_txn.wip_id,

Line 2385: l_errMsg := 'wip_utilities.update_serial failed';

2381: p_intraoperation_step_type => l_step,
2382: x_return_status => l_returnStatus);
2383:
2384: IF(l_returnStatus <> fnd_api.g_ret_sts_success) THEN
2385: l_errMsg := 'wip_utilities.update_serial failed';
2386: raise fnd_api.g_exc_unexpected_error;
2387: END IF;
2388: END IF; -- IF(l_dj_txn.txn_type
2389: END LOOP; -- l_ser_loc IN c_ser_loc

Line 2590: wip_utilities.get_message_stack(p_msg =>l_msg);

2586: SET process_status = WIP_CONSTANTS.ERROR
2587: WHERE transaction_id = l_dj_txn.txn_id
2588: AND group_id = p_gib.group_id;
2589: -- Get error from message stack
2590: wip_utilities.get_message_stack(p_msg =>l_msg);
2591: IF(l_msg IS NULL) THEN
2592: -- initialize message to something because we cannot insert
2593: -- null into WIP_TXN_INTERFACE_ERRORS
2594: fnd_message.set_name('WIP', 'WIP_SOME_RECORDS_ERROR');

Line 10542: wip_utilities.get_message_stack(p_msg =>l_errMsg);

10538: END IF; -- check entity type
10539: EXCEPTION
10540: WHEN fnd_api.g_exc_unexpected_error THEN
10541: ROLLBACK TO SAVEPOINT s_backflush_proc;
10542: wip_utilities.get_message_stack(p_msg =>l_errMsg);
10543: IF(l_errMsg IS NULL) THEN
10544: -- initialize message to something because we cannot
10545: -- insert null into WIP_TXN_INTERFACE_ERRORS
10546: fnd_message.set_name('WIP', 'WIP_SOME_RECORDS_ERROR');

Line 10707: wip_utilities.get_message_stack(p_msg =>l_errMsg);

10703: WHERE group_id = p_group_id
10704: AND process_status = WIP_CONSTANTS.RUNNING
10705: AND TRUNC(transaction_date)= TRUNC(l_gib.txn_date);
10706:
10707: wip_utilities.get_message_stack(p_msg =>l_errMsg);
10708: IF(l_errMsg IS NULL) THEN
10709: -- initialize message to something because we cannot insert null
10710: -- into WIP_TXN_INTERFACE_ERRORS
10711: fnd_message.set_name('WIP', 'WIP_SOME_RECORDS_ERROR');

Line 10987: --wip_utilities.get_message_stack(p_msg =>errbuf);

10983: retcode := 2; -- error
10984: -- Fixed bug 5355443. Since WIP_SOME_RECORDS_ERROR message is only
10985: -- applicable to background transaction, we should set error message here
10986: -- instead of wip_movProc_priv.processIntf().
10987: --wip_utilities.get_message_stack(p_msg =>errbuf);
10988: fnd_message.set_name('WIP', 'WIP_SOME_RECORDS_ERROR');
10989: errbuf := fnd_message.get;
10990: END IF;
10991: COMMIT; -- To prevent Move Worker concurrent program rollback.

Line 11510: wip_utilities.print_label(p_txn_id => p_mtl_header_id,

11506: l_process_phase := '3';
11507:
11508: /*Start: Bug 13103060 print completion label for ez completion*/
11509: IF (p_print_cmpl_label = 1) THEN
11510: wip_utilities.print_label(p_txn_id => p_mtl_header_id,
11511: p_table_type => 2, --MMTT
11512: p_ret_status => l_return_status,
11513: p_msg_count => l_msg_count,
11514: p_msg_data => l_error_msg,

Line 11519: wip_utilities.get_message_stack(p_msg => l_msg_stack);

11515: p_label_status => l_label_status,
11516: p_business_flow_code => 26); -- discrete business flow code
11517: -- do not error out if label printing, only put warning message in log
11518: IF(x_returnStatus <> fnd_api.g_ret_sts_success) THEN
11519: wip_utilities.get_message_stack(p_msg => l_msg_stack);
11520: IF (l_log_level <= wip_constants.full_logging) then
11521: wip_logger.log(p_msg => 'An error has occurred with label printing.\n' ||
11522: 'The following error has occurred during ' ||
11523: 'printing: ' || l_msg_stack || '\n' ||

Line 11572: wip_utilities.print_move_txn_label(p_txn_id => p_group_id,

11568: END IF;
11569:
11570: /* Start: VJ Label Printing */
11571: IF (p_print_label = 1) THEN
11572: wip_utilities.print_move_txn_label(p_txn_id => p_group_id,
11573: x_status => l_return_status,
11574: x_msg_count => l_msg_count,
11575: x_msg => l_error_msg);
11576: -- do not error out if label printing, only put warning message in log

Line 11578: wip_utilities.get_message_stack(p_msg => l_msg_stack);

11574: x_msg_count => l_msg_count,
11575: x_msg => l_error_msg);
11576: -- do not error out if label printing, only put warning message in log
11577: IF(l_return_status <> fnd_api.g_ret_sts_success) THEN
11578: wip_utilities.get_message_stack(p_msg => l_msg_stack);
11579: IF (l_log_level <= wip_constants.full_logging) THEN
11580: wip_logger.log(p_msg => 'An error has occurred with label printing.\n' ||
11581: 'The following error has occurred during ' ||
11582: 'printing: ' || l_msg_stack || '\n' ||