Cost Control & Budgeting reports
The Cost Control & Budgeting heading of the Report menu: ten reports plus two empty items. Every one is a print mode of the Cost Control module (procurement folder, cmd=print&print=<code>) or of Budget & Expense Reporting (show=report&print=<code>). Only master has the group installed.
How this page was verified
Written from master on 2026-09-06 and compared with the big five the same day. The handlers are byte-identical in the four forks; the rows are installed only in master's three QA databases.
The entries
| Label | Code | Module and print code | Rendered by | State where the legacy helper throws |
|---|---|---|---|---|
| Cost Report Summary (Actual) | cost_summary_report_actual | Cost Control, cost_summary_report_actual | procurement_handler_print_cost_summary_report.php: the filter form on $pdo; with file_type excel or html it hands over to direct_download_report/cost_summary_report.inc.php (on $pdo); the inline HTML branch is legacy | works as Excel or HTML export, the inline view is dead |
| Cost Report Summary (Accrual) | cost_summary_report | Cost Control, cost_summary_report | same handler, accrual figures | same |
| Contract Payment Summary | procurement_05 | Cost Control, act_vs_payment | procurement_handler_print_act_vs_payment.inc.php | on $pdo except one contract-value lookup on the legacy helper |
| Contract Payment Summary (WBS) | procurement_05_1 | Cost Control, act_vs_payment_wbs | ..._act_vs_payment_wbs.inc.php | same |
| Contract Invoices Balance Report | procurement_06 | Budget, rbc | budget_handler_print_rbc.php | on $pdo except one contract lookup when a single contract is chosen |
| AFE Accrual Report | procurement_07 | Cost Control, afe_report | procurement_handler_print_afe_accrual_2.inc.php | on $pdo, works |
| Finance Accrual Report | procurement_14 | Cost Control, afe_finance_accrual | ..._afe_finance_accrual.inc.php | on $pdo, works |
| Contract, Commitment and Expenditure Report | procurement_16 | Cost Control, report3 | procurement_handler_print_report3.php | on $pdo, works |
| Contract Balance Report, Expenditure Breakdown Per Order & AFE CBS Allocations | procurement_17 | Budget, rbc2 | budget_handler_print_rbc2.php | like rbc |
| Budget versus Current Month | budget_03 | Budget, bvcm | budget_handler_print_bvcm.php | on $pdo, works |
| (empty), (empty) | procurement, budget | none; their report_url is a bare word (reportProc, reportBudget) | nothing | the legacy group headers, kept installed by the seed |
The tables behind them are the Cost Control set: ts_contract_number, ts_lineitem, ts_transact, ts_map_transact, ts_projectdocref, ts_invoice, ts_cbs, ts_pertamina_afe, ts_budget, ts_actual_forecast_snapshot.
Dispatch
procurement_handler_print.inc.php switches on print in this order: projmonth (four month-end accrual layouts), act_vs_payment, act_vs_payment_wbs, accrual_summary, the AP voucher, afe_report, the two-month AFE accrual, the two pricing checks, afe_accrual_snapshot, afe_finance_accrual, budget_commitment, report3, cost_summary_report. budget_handler_print.inc.php switches on pmcm, ytds, bvcm, budgetmp, tac, rbc, rbc2, bcomment, afcomment, daily_updates, adhoc1, pmcm_detail_adhoc2, actcast. The registry installs ten of these; the rest are reachable from the Report tab or Report button of the two modules, and most of them are dead, see the Cost Control and Budget pages.
Gotchas
- Two empty items are normal. They are the
procurementandbudgetheader rows. Removing them is a seed change, not a bug fix in the menu code. - Cost Report Summary has two versions in the code, the inline HTML in
modules/procurement/and the export indirect_download_report/. Only the export is alive. Fix the export, not the inline one. afe_reportmaps toafe_accrual_2, not toafe_accrual. The older file and its_monthand_snapshotvariants are legacy.
Instance differences
Checked on 2026-09-06.
| Instance | Difference |
|---|---|
| Master | The only instance with the rows installed. |
| Jadestone, Medco, JOTRE, Timas | Handlers identical to master; no row installed and no Cost Control module. |