OZF Budgets

Description

Categories
Enginatics
Repository
GitHub
Trade Management budgets with the amounts of the budget checkbook, in the budget currency: original budget, transfers, holdback, planned, committed, available, utilized, earned, paid and unpaid.

Total is the original budget plus transfers in less transfers out. Available is the total less holdback and committed. Unpaid is earned less paid. OZF Budget Utilization lists the accruals, adjustments and payments behind Utilized, Earned and Paid.

Rollup Amounts shows the amounts of each budget including its child budgets, as the rollup view of the budget checkbook. Quotas are not included.

SQL 57 lines

Parameters 6

ParameterTypeList of values SQL
Operating UnitLOV
x.org_id in (select hou.organization_id from hr_operating_units hou where hou.name=:operating_unit)
Budget TypeLOV
x.fund_type=xxen_util.lookup_code(:budget_type,'OZF_FUND_TYPE',682)
Budget CategoryLOV
x.category_id in (select acv.category_id from ams_categories_vl acv where acv.category_name=:budget_category)
Budget NameLOV
x.short_name=:budget_name
StatusLOV
x.user_status_id in (select ausv.user_status_id from ams_user_statuses_vl ausv where ausv.name=:status)
Rollup AmountsLOV