INL Pending Actual Charges

Description

Categories
Enginatics, R12 only
Repository
GitHub
Estimated landed cost charges per shipment line, charge type and charging party that no AP invoice has been matched to yet, aged by shipment date at the As of Date. It lists the freight, duty and brokerage invoices still to be received and the accrual exposure they carry.

Estimated Amount is the current estimate in functional currency, including estimate changes made after the shipment was submitted, and Original Estimated Amount the first calculation. A charge type stops being pending on a receipt line once any invoice of that type is matched to it, whatever the amount.

A charge invoice that Payables has matched but that has not reached the shipment yet, because it is still in the LCM matches interface or failed there, shows its amount, interface status and invoice number in the Interface columns. Such a charge stays pending until the Landed Cost Management matches import has processed it.

Shipment lines closed for matching are excluded unless Include Closed for Matching is set.

SQL 159 lines

Parameters 11

ParameterTypeList of values SQL
Operating UnitLOV
ish.org_id in (select haouv.organization_id from hr_all_organization_units_vl haouv where haouv.name=:operating_unit)
Organization CodeLOV
ish.organization_id in (select mp.organization_id from mtl_parameters mp where mp.organization_code=:organization_code)
As of DateDate
Minimum Age DaysNumber
trunc(:as_of_date)-trunc(ish.ship_date)>=:minimum_age_days
Shipment Date FromDate
ish.ship_date>=:shipment_date_from
Shipment Date ToDate
ish.ship_date<:shipment_date_to+1
SupplierLOV
isl.ship_line_group_id in (select islg.ship_line_group_id from inl_ship_line_groups islg, ap_suppliers aps where islg.party_id=aps.party_id and aps.vendor_name=:supplier)
ItemLOV
isl.inventory_item_id in (select msiv.inventory_item_id from mtl_system_items_vl msiv where ish.organization_id=msiv.organization_id and msiv.concatenated_segments=:item)
Charge TypeLOV
pcfv.name=:charge_type
Charging PartyLOV
hp.party_name=:charging_party
Include Closed for MatchingLOV