Friday, November 26, 2021

AP_INVOICE_DISTRIBUTIONS_ALL.MATCH_STATUS_FLAG in Oracle APPS


The Invoice Header form derives the invoice validation Status based on the following:
  • Validated: If all of the invoice distributions have a MATCH_STATUS_FLAG = 'A'
  • Never Validated: If all of the invoice distributions have a MATCH_STATUS_FLAG = null or 'N'
  • Needs Revalidation
    • If there are any rows in AP_HOLDS that do not have a release code.
    • If any of the invoice distributions have a MATCH_STATUS_FLAG = 'T'.
    • If the invoice distributions have MATCH_STATUS_FLAG values = 'N', null and 'A'.

Use AP_INVOICES_PKG.GET_APPROVAL_STATUS to find the approval status.

No comments:

Post a Comment

Query to get Parent and Child Accounts in Oracle APPS R12

SELECT ffv1.flex_value parent_account       ,ffvt1.description parent_account_desc   ,ffv2.flex_value child_account   ,ffvt2.description...