DBA Data[Home] [Help]

APPS.PA_CHECK_COMMITMENTS dependencies on AP_INVOICES_PKG

Line 528: and CMT.cmt_approved_flag = decode(AP_INVOICES_PKG.GET_APPROVAL_STATUS(I.invoice_id,I.invoice_amount,I.payment_status_flag,I.invoice_type_lookup_code),'APPROVED','Y','N')

524: AND CMT.CMT_DISTRIBUTION_ID = D.invoice_distribution_id
525: and NVL(CMT.description,'') = NVL(D.description,'')
526: and NVL(CMT.expenditure_item_date,sysdate-15000) = NVL(D.expenditure_item_date,sysdate-15000)
527: and NVL(CMT.cmt_creation_date,sysdate-15000) = NVL(I.invoice_date,sysdate-15000)
528: and CMT.cmt_approved_flag = decode(AP_INVOICES_PKG.GET_APPROVAL_STATUS(I.invoice_id,I.invoice_amount,I.payment_status_flag,I.invoice_type_lookup_code),'APPROVED','Y','N')
529: and CMT.vendor_id = I.vendor_id
530: and NVL(CMT.expenditure_type,'') = NVL(D.expenditure_type,'')
531: and NVL(CMT.organization_id,0) = NVL(O.organization_id,0)
532: and CMT.expenditure_category = ET.expenditure_category