Add a budget file to a financial database
Last updated
Last updated
User permission: Financial Statements > Manage Custom Statements and Administration > Databases and Sync
This page outlines how to manually add a budget to a financial database for use in Financial Statements. If you want to add a budget for use in Analytics, see Add a budget file to a non-financial database (easy budget upload).
If you have the Budgets & Forecasts module, you can publish your budget to a stream from there, avoiding the need to follow this process.
Adding a budget file to a financial database involves multiple steps in different places, as illustrated in the following diagram.
Watch this video of the process
Export the raw data from the underlying database into a Microsoft Excel file. The data might come from Phocas, your ERP system or another source.
You can download your current data (actuals) from Phocas and use that as a template for your budget file, as it contains the required data structure and format.
Watch this video to learn how to create a Phocas-friendly template
Prepare the data in the budget file according to the requirements outlined below, to ensure it is in the correct format for uploading to Phocas.
Structure the data in the budget file in either of these two ways:
A table with dates along the top (this is the structure of the template).
A list of values with a Date column.
The budget file must contain the following data, in the specified format (expand the sections to view the details):
You might need to add other dimensions to your file, depending on your database setup. These other dimensions, such as Country, Department and Cost Centre are for analysis purposes.
Whereas these instructions involve using one file, you can have data in multiple files and add all those files to one stream (dataset) for your budget.
Save the budget file in CSV (preferred) or XLXS Data format, then close the file.
Open Designer in Phocas, then either upload or sync the file (see Get your data into Phocas). Either way, ensure you select the File has header row checkbox, to enable Designer to recognize the file as a budget file.
If you are creating a Balance Sheet budget, you need to upload the opening balances in addition to the budget file. This data can be in the same file or a separate file.
Add the budget file to a budget stream in the finance database design, so you can view the budget data via that stream in the Financial Statements module.
For Profit and Loss and non-financial budget files, you can either create a new stream or use an existing budget stream.
For Balance Sheet budget files, you are likely to need a new stream for each budget period, as your opening balance position will have changed.
In Designer, click the New Stream tab.
Click the Edit button in the new stream then:
Enter a more suitable name for the stream, such as P&L Budget 2023.
If you're adding a Balance Sheet budget, select the Balance Brought Forward check box. Otherwise, the budget will be treated as a Profit and Loss budget.
If you are adding a non-financial budget, select the Variance Stream check box. If you do not do this, the non-financial data will display in the Current column rather than the Budget column.
Click Save.
Expand the data sources panel on the right, locate the budget file, and drag it into the stream’s Drag Here box.
Designer recognizes that you are loading a budget-type file and displays a message to that effect. Click Yes.
Designer converts the budget data into the required format and displays it in the new stream tab with some notable differences. Firstly, the value column in your source data displays as the Measure column. Secondly, regarding the date, if your source data had multiple date columns in the header row, Designer unpivots the data and displays all the dates in one Moment column. If your source data had all the dates in one column, Designer retains that column but changes the header to Moment.
Map the data in the budget file to the corresponding elements in the database.
The minimum mapping requirements are as follows:
General Ledger account code → Account
Value → Measure > Value
Moment (date/period) → Date
You can also map other dimensions to their corresponding dimensions, as applicable.
Save your design changes and build the database to apply those changes. You can either build the database now or schedule a build for later.
Add the budget stream(s) to a budget package in the Financial Statements module. See Manage budgets to learn more about this.
When you create the budget package, the Cash Flow budget is automatically derived from both the Profit and Loss budget and the Balance Sheet budget.
After you add the budget stream to a budget package, you can view the budget data in the Budget column in the Financial Statements module. Depending on your setup, you might need to change the budget dataset, add the Budgets column and change the budgets period before the budget data displays in the grid.