API for Invoice Payments
Hello Experts,
I am trying to create AP invoice Payments through API..
I am using ap_checks_pkg.insert_row,ap_pay_invoice_pkg.ap_pay_invoice and ap_accounting_events_pkg.create_events APIs..
While executing ap_pay_invoice_pkg.ap_pay_invoice , I am getting error 'ora 28115 policy with check option violation occurred in ap_aid_table_handler_pkg insert_row'
I tried several options and nothing helps.. There are no custom triggers on Invoice/Invoice Payments or Checks base table..
If someone can post sample working code , it will be really helpful.
Any inputs on this will be highly appreciated.