577: END IF;
578:
579: l_debug_info := 'Automatically recoup any available prepayments against the same po line';
580:
581: l_success := AP_Matching_Utils_Pkg.Ap_Recoup_Invoice_Line(
582: P_Invoice_Id => x_invoice_id ,
583: P_Invoice_Line_Number => nvl(x_invoice_line_number,g_max_invoice_line_number),
584: P_Amount_To_Recoup => l_amount_to_recoup,
585: P_Po_Line_Id => g_po_line_id,
3078: END IF;
3079:
3080: l_debug_info := 'Automatically recoup any available prepayments against the same po line';
3081:
3082: l_success := AP_Matching_Utils_Pkg.Ap_Recoup_Invoice_Line(
3083: P_Invoice_Id => x_invoice_id ,
3084: P_Invoice_Line_Number => nvl(x_invoice_line_number,g_max_invoice_line_number) ,
3085: P_Amount_To_Recoup => l_amount_to_recoup,
3086: P_Po_Line_Id => g_po_line_id,