|
|
Re: from any table can get the status of the AP invoice status [message #476170 is a reply to message #476062] |
Tue, 21 September 2010 18:57 |
skimmer333
Messages: 23 Registered: August 2010 Location: Adelaide, Australia
|
Junior Member |
|
|
Im on R12.0.5 so not sure if the packages have changed.
However the script behind AP_INVOICES_V shows:
AP_INVOICES_PKG.GET_APPROVAL_STATUS (AI.INVOICE_ID,AI.INVOICE_AMOUNT,AI.PAYMENT_STATUS_FLAG,AI.INVOICE_TYPE_LOOKUP_CODE) APPROVAL_STATUS_LOOKUP_CODE
Cheers,
Russell H.
Edit:
Looking at the function in AP_INVOICES_PKG, the function GET_APPROVAL_STATUS calls the AP_INVOICES_UTILITY_PKG.GET_APPROVAL_STATUS.
The functions in the AP_INVOICES_UTILITY_PKG performs multiple checks on the invoice, so i'd suggest calling the AP_INVOICES_PKG so it passes the correct invoice status back.
[Updated on: Tue, 21 September 2010 19:52] Report message to a moderator
|
|
|