Cannot Cancel AP Invoice line matched to Complex PO line
We need to cancel an invoice line that is matched to a Complex PO line. When we click on the discard button, it returns the following error message:
APP-SQLAP-1000: ORA-22160: element at index [1] does not exist occurred in AP_INVOICE_LINES_PKG.Discard_Inv_LIne <Line_sum_Folder_Menu.Discard_LIne with parameters (P_invoice_id = 17846 P_line_number= 5 P_last_update_by = 8260 P_last_update_login = 3100327 P_calling_mode = DISCARD) while perfomring the following operation Before check for payment count- 0 prepay flag: