Skip to content

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

LabelCodeModule and print codeRendered byState where the legacy helper throws
Cost Report Summary (Actual)cost_summary_report_actualCost Control, cost_summary_report_actualprocurement_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 legacyworks as Excel or HTML export, the inline view is dead
Cost Report Summary (Accrual)cost_summary_reportCost Control, cost_summary_reportsame handler, accrual figuressame
Contract Payment Summaryprocurement_05Cost Control, act_vs_paymentprocurement_handler_print_act_vs_payment.inc.phpon $pdo except one contract-value lookup on the legacy helper
Contract Payment Summary (WBS)procurement_05_1Cost Control, act_vs_payment_wbs..._act_vs_payment_wbs.inc.phpsame
Contract Invoices Balance Reportprocurement_06Budget, rbcbudget_handler_print_rbc.phpon $pdo except one contract lookup when a single contract is chosen
AFE Accrual Reportprocurement_07Cost Control, afe_reportprocurement_handler_print_afe_accrual_2.inc.phpon $pdo, works
Finance Accrual Reportprocurement_14Cost Control, afe_finance_accrual..._afe_finance_accrual.inc.phpon $pdo, works
Contract, Commitment and Expenditure Reportprocurement_16Cost Control, report3procurement_handler_print_report3.phpon $pdo, works
Contract Balance Report, Expenditure Breakdown Per Order & AFE CBS Allocationsprocurement_17Budget, rbc2budget_handler_print_rbc2.phplike rbc
Budget versus Current Monthbudget_03Budget, bvcmbudget_handler_print_bvcm.phpon $pdo, works
(empty), (empty)procurement, budgetnone; their report_url is a bare word (reportProc, reportBudget)nothingthe 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 procurement and budget header 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 in direct_download_report/. Only the export is alive. Fix the export, not the inline one.
  • afe_report maps to afe_accrual_2, not to afe_accrual. The older file and its _month and _snapshot variants are legacy.

Instance differences

Checked on 2026-09-06.

InstanceDifference
MasterThe only instance with the rows installed.
Jadestone, Medco, JOTRE, TimasHandlers identical to master; no row installed and no Cost Control module.