[Home] [Help]
632:
633: -- only call txn processor if online processing. 4(form level) is treated as 1.
634: if (EAM_MATERIALISSUE_PVT.get_tx_processor_mode() in (1,4)) then
635: if (l_sLog) then FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module,
636: 'Calling INV_TXN_MANAGER_PUB.process_Transactions');
637: end if;
638: l_txmgr_ret_code := INV_TXN_MANAGER_PUB.process_Transactions(
639: p_api_version => 1.0,
640: p_header_id => l_tx_hdr_id,
634: if (EAM_MATERIALISSUE_PVT.get_tx_processor_mode() in (1,4)) then
635: if (l_sLog) then FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module,
636: 'Calling INV_TXN_MANAGER_PUB.process_Transactions');
637: end if;
638: l_txmgr_ret_code := INV_TXN_MANAGER_PUB.process_Transactions(
639: p_api_version => 1.0,
640: p_header_id => l_tx_hdr_id,
641: p_table => 1, -- 1 for MTI, 2 for MMTT
642: x_return_status => x_wip_ret_status,
644: x_trans_count => l_tx_count,
645: x_msg_data => x_error_mssg1);
646: if (l_sLog) then
647: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module,
648: 'INV_TXN_MANAGER_PUB finished with return code='|| l_txmgr_ret_code);
649: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module,
650: 'INV_TXN_MANAGER_PUB finished with return status='|| x_wip_ret_status);
651: end if;
652:
646: if (l_sLog) then
647: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module,
648: 'INV_TXN_MANAGER_PUB finished with return code='|| l_txmgr_ret_code);
649: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, l_module,
650: 'INV_TXN_MANAGER_PUB finished with return status='|| x_wip_ret_status);
651: end if;
652:
653: if(x_wip_ret_status = FND_API.G_RET_STS_UNEXP_ERROR OR
654: x_wip_ret_status = FND_API.G_RET_STS_ERROR