4172: PO_DEBUG.debug_var(l_log_head,l_progress,'l_user_id',l_user_id);
4173: END IF;
4174:
4175: ---
4177: --unexpected error returned from execute_gl_call
4178: if l_message_text = 'GL_FUNDS_API_EXC' then
4179:
4180:
4201: , g_result_TRANSACTION -- message type
4202: , pba.ENCODED_MSG
4203: , 'Y' --
4204: , poh.segment1
4205: from psa_xla_accounting_errors pba,po_headers_all poh
4206: where pba.event_id = PO_ENCUMBRANCE_POSTPROCESSING.g_event_id
4207: and pba.source_id_int_1 = poh.po_header_id
4208:
4209: UNION ALL
4218: , g_result_TRANSACTION -- message type
4219: , pba.ENCODED_MSG
4220: , 'Y' --
4221: , prh.segment1
4222: from psa_xla_accounting_errors pba,po_requisition_headers_all prh
4223: where pba.event_id = PO_ENCUMBRANCE_POSTPROCESSING.g_event_id
4224: and pba.source_id_int_1 = prh.requisition_header_id;
4225: else
4226: