OZF Accrual Balance Reconciliation

Description

Categories
Enginatics
Repository
GitHub
Trade Management accrual balance by offer and customer for a range of GL periods: the opening balance, then the accruals, accrual adjustments and paid amounts of each period, in the ledger currency of the operating unit.

Accrual and Adjustment are the offer accruals and accrual adjustments by their GL date. Paid is the earnings paid by closed claims, by the claim's GL date and at the accrual's exchange rate, and is shown negative. Accruals without a GL date and claims that are not closed are not included.

The opening balance is the total of all three before the first period, so the opening balance plus the period amounts is the balance at the end of Period To.

The templates Pivot: by Offer and Pivot: by Customer list offers or customers against periods; their Grand Total column is the closing balance.

SQL 143 lines

Parameters 5

ParameterTypeList of values SQL
Operating UnitLOV
hou.name=:operating_unit
Period FromLOV
Period ToLOV
Offer CodeLOV
oo.offer_code=:offer_code
CustomerLOV
hp.party_name=:customer_name