840: Print(AP_IMPORT_INVOICES_PKG.g_debug_switch,
841: debug_info||' previous req id ='||l_previous_request_id);
842: END IF;
843:
844: IF (FND_CONCURRENT.GET_REQUEST_STATUS(
845: request_id =>l_previous_request_id,
846: appl_shortname =>'',
847: program =>'',
848: phase =>l_phase,
853: IF (AP_IMPORT_INVOICES_PKG.g_debug_switch = 'Y') then
854: Print(AP_IMPORT_INVOICES_PKG.g_debug_switch,
855: 'FUNCTION GET_REQUEST_STATUS ERROR, Reason: '||l_message);
856: Print(AP_IMPORT_INVOICES_PKG.g_debug_switch,
857: 'FND_CONCURRENT.GET_REQUEST_STATUS<-'||current_calling_sequence);
858: END IF;
859: RAISE Check_control_failure;
860:
861: END IF;