Mass Cancellation of Invoices API
Hi i am trying to do mass cancellation of invoices using the API
ap_cancel_pkg.Ap_Cancel_Single_Invoice
I am running it in a loop statement.
however, when i run it and display the message, i get the message output of
"AP_DISTS_NO_OPEN_FUT_PERIOD"
upon checking FND_NEW_MESSAGES, i get:
"Payables cannot create invoice distributions because the invoice header GL date is in a closed period, and no open or future periods are defined. Please ask the appropriate person in your organization to define an open or future period. Then Payables will use the next valid accounting date as the invoice distribution GL date.