AP Invoice Payments 11g

Description

Categories
Enginatics
Repository
GitHub
11g-compatible version of AP Invoice Payments.

Supplier invoice payment details.
There can be multiple payments per invoice and one document/check can be used to pay different payments and invoices. To allow reconciling payment with invoices and checks, invoice and check level amounts are shown on the last payment record only and are blank for multiple/duplicate records.

SQL 124 lines

Parameters 12

ParameterTypeList of values SQL
LedgerLOV
gl.name=:ledger and 
hou.organization_id in (select mgoat.organization_id from mo_glob_org_access_tmp mgoat union select fnd_global.org_id from dual where fnd_release.major_version=11)
Operating UnitLOV
hou.name=:operating_unit
Payment Date FromDate
aca.check_date>=:payment_date_from
Payment Date ToDate
aca.check_date<:payment_date_to+1
Accounting Date FromDate
aipa.accounting_date>=:gl_date_from
Accounting Date ToDate
aipa.accounting_date<:gl_date_to+1
SupplierLOV
aps.vendor_name=:vendor_name
Supplier NumberLOV
aps.segment1=:supplier_number
Supplier SiteLOV
assa.vendor_site_code=:vendor_site_code
Invoice NumberLOV
aia.invoice_num=:invoice_number
Check NumberNumber
aca.check_number=:check_number
Check StateLOV
aca.status_lookup_code=:check_state