359: END IF;
360: END IF;
361: IF l_message_text IS NULL THEN
362: IF l_processing = 'INBOUND_IFACE' THEN
363: fnd_message.set_name ('ONT', 'OE_OI_IFACE');
364: ELSIF l_processing = 'OUTBOUND_SENT' THEN
365: fnd_message.set_name ('ONT', 'OE_OA_ACKNOWLEDGMENT_SENT');
366: END IF;
367: fnd_message.set_token ('TRANSACTION', ECEPOI.EM_Transaction_Type (p_txn_code => l_transaction_type));
361: IF l_message_text IS NULL THEN
362: IF l_processing = 'INBOUND_IFACE' THEN
363: fnd_message.set_name ('ONT', 'OE_OI_IFACE');
364: ELSIF l_processing = 'OUTBOUND_SENT' THEN
365: fnd_message.set_name ('ONT', 'OE_OA_ACKNOWLEDGMENT_SENT');
366: END IF;
367: fnd_message.set_token ('TRANSACTION', ECEPOI.EM_Transaction_Type (p_txn_code => l_transaction_type));
368: l_message_text := fnd_message.get;
369: END IF;
363: fnd_message.set_name ('ONT', 'OE_OI_IFACE');
364: ELSIF l_processing = 'OUTBOUND_SENT' THEN
365: fnd_message.set_name ('ONT', 'OE_OA_ACKNOWLEDGMENT_SENT');
366: END IF;
367: fnd_message.set_token ('TRANSACTION', ECEPOI.EM_Transaction_Type (p_txn_code => l_transaction_type));
368: l_message_text := fnd_message.get;
369: END IF;
370: -----------------------------------------------------------
371: -- Non-CLN params
364: ELSIF l_processing = 'OUTBOUND_SENT' THEN
365: fnd_message.set_name ('ONT', 'OE_OA_ACKNOWLEDGMENT_SENT');
366: END IF;
367: fnd_message.set_token ('TRANSACTION', ECEPOI.EM_Transaction_Type (p_txn_code => l_transaction_type));
368: l_message_text := fnd_message.get;
369: END IF;
370: -----------------------------------------------------------
371: -- Non-CLN params
372: -----------------------------------------------------------