IEX Dunning History

Description

Categories
Enginatics, R12 only
Repository
GitHub
Dunning letters sent by Advanced Collections, one row per dunning, with the customer, account or bill-to site dunned, the dunning plan, the letter template, the delivery method and the amount due at the time of the dunning.

The customer, account and bill-to site are derived from the dunning level: a customer level dunning has no account, and a delinquency level dunning shows the delinquent transaction with its due date and the days past due on the dunning date.

Collector is the collector of the bill-to site profile, else of the account profile, else of the party profile.

SQL 79 lines

Parameters 8

ParameterTypeList of values SQL
Operating UnitLOV
haouv.name=:operating_unit
Dunning Date FromDate
id.creation_date>=:dunning_date_from
Dunning Date ToDate
id.creation_date<:dunning_date_to+1
Customer NameLOV
upper(hp.party_name) like upper(:customer_name)
Account NumberLOV
hca.account_number=:account_number
Dunning LevelLOV
id.dunning_level=xxen_util.lookup_code(:dunning_level,'IEX_RUNNING_LEVEL',695)
Dunning PlanLOV
id.dunning_plan_id in (select idpv.dunning_plan_id from iex_dunning_plans_vl idpv where idpv.name=:dunning_plan)
Delivery MethodLOV
id.dunning_method=xxen_util.lookup_code(:delivery_method,'IEX_FULFILLMENT_SEND_METHOD',695)