LogoLogo
More help and supportPhocas website
  • Home
  • Getting started
    • Navigation
    • Homepage
    • Data access
    • User licenses, profiles and permissions
    • Account settings
    • Databases
    • Periods
      • Offset dates
      • Default period for a database
    • Sharing and folders
      • Share a dashboard, favorite, or alert
    • Subscriptions
  • Analytics
    • Take a tour of Analytics
    • Work with the grid
    • View a summary of the data
    • Customize your view (Analytics)
      • Change the mode
        • Period mode
        • Period Variance mode
        • Period Stream mode
        • Moving mode
        • Stream mode
        • Total mode
        • Transaction mode
        • Matrix mode
        • Matrix Variance mode
        • Matrix Share mode
        • Variance mode
        • Search mode
        • Market mode
        • Custom mode
      • Change the properties (Analytics)
      • Change the measures (Analytics)
      • Change the stream
      • Use the activity filter
      • Change the data format
      • Change the period (Analytics)
    • Drill down into your data (view transactions)
    • Filter data (use dimensions)
    • Select data (Analytics)
    • Focus on data (Analytics)
    • Copy or export data
    • Search for data
      • Perform a basic search
      • Perform an advanced search
      • Search for similar or comparative data (right-click filter)
    • Add levels to the grid (grid nesting)
    • Compare data with Matrix mode
    • Get more options for viewing data
    • Visualize your data in a chart
      • Bar and Column charts
      • Combo chart
      • Pareto chart
      • Waterfall chart
      • Line chart
      • Area and % Area charts
      • Pie and Donut charts
      • Bubble chart
      • Radar chart
      • Gauge chart
      • Bullet chart
      • Summary and Ring Summary charts
      • Map charts
      • Configure the chart options
      • Select and focus on a chart segment
      • Export a chart as an image
      • Use the chart legend
    • Save favorites and add to dashboards (Analytics)
    • Reset data
    • Phocas AI
    • Flex Modes
      • Switch modes
      • Filter data (Flex Modes)
      • Apply conditional formatting
      • Add levels to the grid (Flex Modes)
      • Manage columns (Flex Modes)
      • Save and share a favorite (Flex Modes)
      • View your data in a chart (Flex Modes)
  • Financial Statements
    • Take a tour of Financial Statements
    • Overview of access to financial statements
    • Customize your view (Financial Statements)
      • Change the properties (Financial Statements)
      • Change the measures (Financial Statements)
      • Change the period (Financial Statements)
      • Change the current data
      • Change the budget data
      • Change the columns
      • Change the style
      • Change the rows (activity filter)
    • Filter the financial information
    • Select and focus on data (Financial Statements)
    • Copy or export financial information
    • Add a level in a financial statement
    • View financial information in a matrix (change column groups)
    • Add and view comments (Financial Statements)
    • View transactions (Financial Statements)
    • View financial information in a chart
      • Create a Pie and Donut chart (Financial Statements)
      • Create a Value card
      • Export a financial chart widget as an image
    • Save and share favorites (Financial Statements)
    • Add financial analysis to a dashboard
    • Manage financial statements
      • Overview of financial statements and dimensions
      • Create a financial statement
      • Delete a financial statement
      • Customize a financial statement
        • Rename a financial statement
        • Reorder a financial statement
        • Customize account groups
        • Customize calculations
          • Functions for Profit & Loss calculations
          • Formulas for financial ratios
        • Customize headings and spacers
        • Set the revenue row in a Profit & Loss statement
        • Customize columns
        • Customize a Cash Flow statement
          • Common account mapping for Cash Flow statements
        • Rebuild the database
      • Set the financial year end date
      • Map the Retained Earnings account(s)
      • Restrict access to accounts
      • Manage budget streams (Financial Statements)
        • Create a budget (Financial Statements)
      • Use statistical streams
      • Use multiple currencies
      • Manage dimension groups
      • Map categories from your Chart of Accounts
  • Budgets & Forecasts
    • Overview of key terms and concepts
      • Budgets versus forecasts
      • Users and data access
      • Relationship with the Financial Statements module
      • 3-statement budgeting
      • Filtering methods
      • Demand planning
      • Loan repayments
    • Take a tour of Budgets & Forecasts
      • Explore the budget workbook
      • Explore the forecast workbook
      • Explore the Balance Sheet and Cash Flow budgets and forecasts
    • Customize your view (Budgets & Forecasts)
      • Filter a worksheet (search for items)
      • Group period columns
      • Use layouts
    • Use session filters
    • Edit values in a worksheet
      • Open workbook notes
      • Use keyboard shortcuts
      • Copy and paste values
      • Use comparison rows
      • Use sum and working lines
      • Use formulas
      • Spread totals
      • Revert to the baseline values
      • Edit the Balance Sheet budget
      • View and use headcount data
    • Refresh a workbook
    • Use workflows
      • Contribute to the workflow
      • View the workflow history
      • View workflow comments
    • View budget information in a chart
    • Open baseline, comparative, or opening balance data
    • Review the budget or forecast
      • Add and view cell comments
      • View and restore the cell history
      • View the audit log
      • Compare actuals, budgets and forecasts
    • Export a workbook or worksheet tab
    • Manage budgets and forecasts
      • Create a budget workbook
        • Filtered budget or forecast
        • Multi-currency budget
        • Unclassified data
        • Period types in budgets
        • Additional measures for driver-based budgeting
      • Create a forecast workbook
      • Clone a workbook
      • Import a budget or forecast
      • Edit the workbook setup
      • Roll a budget forward
      • Add more detail to a budget or forecast
      • Add worksheet tabs (drivers)
        • Balance Sheet and Cash Flow tabs
        • Manual Entry tab
        • Database tab
        • Headcount tab
          • Headcount tab FAQs
        • Reference tab
        • Lookup tab
        • Allocations tab
        • Scratch Pad tab
      • Manage worksheet tabs
      • Add notes to a workbook
      • Customize the format of measures
      • Manage the workflow
      • Manage user access and notifications
      • Publish a budget, forecast or other worksheet tab
      • Fix the baseline in a budget
      • Delete or restore a workbook
      • Delete a stream (Budgets & Forecasts)
      • Troubleshoot performance issues
  • Rebates
    • Overview of rebates
    • Get started with Rebates
    • Projects
    • Rules
      • Parent-child rebate rules
      • Rebates calculation methods
      • Yearly rebates
      • Quarterly rebates
      • Monthly rebates
      • Whole rule period rebates
      • Retrospective rebates
      • Pro rata rebates
    • Calculations
      • Run a calculation
      • Schedule calculations
      • View calculation results and transactions
      • Post calculation results
    • Seasonal calendars
    • Rebates analysis
    • Rebates near miss analysis
  • CRM
    • Overview of CRM
    • Agenda
    • Contacts
    • Accounts
    • Leads
    • Activities
      • Microsoft 365 Outlook calendar integration
    • Campaigns
    • CRM analysis
    • CRM administration
  • Favorites
    • Save a favorite
    • Manage favorites
    • Set a favorite as your default view
    • Use alerts
  • Dashboards
    • Use dashboards
    • Create a dashboard
    • Set a dashboard as your homepage
    • Manage dashboards
  • Administration
    • Overview of access to data (Administration)
    • Users
      • Add, update or delete a user account
        • User maintenance form
        • User permissions
      • Create a user template
      • Manage a user's database access and restrictions
      • Manage user passwords
      • Monitor user activity
      • Lock user accounts
      • Impersonate a user
    • Profiles
    • Folders (Administration)
    • Favorites (Administration)
    • Dashboards (Administration)
    • Subscriptions (Administration)
    • Periods (Administration)
      • Period types
      • Working days
    • Databases (Administration)
    • Sync Sources
    • Connectors
    • Configuration
      • Set up SSO
      • Set up SSO with Microsoft Entra ID
    • Logs
    • Designer
      • Modify a database
      • Get your data into Phocas
      • Design a database
        • Create a database
        • Add (connect) data to a database
        • Map data to the database
        • Save your database design
      • Design a financial database
      • Build a database
      • View and revert to older design versions
      • Add a budget file to a financial database
      • Add a budget file to a non-financial database (easy budget upload)
    • Sync
      • Automatically join or split items during Sync (split view)
      • Schedule the sync process
      • Migrate Sync
      • Test the sync process
    • Reserved words and characters
    • End of year maintenance tips
  • OTHER INFORMATION
    • File upload
    • Encrypt (share secrets)
    • Glossary
    • Release notes
      • Analytics release notes
      • Financial Statements release notes
      • Budgets and Forecasts release notes
      • Rebates release notes
      • Administration release notes
    • System requirements
    • Technical limitations
    • Security information
    • Scheduled upgrade and maintenance periods
    • More help and support
Powered by GitBook

© Phocas Software

On this page
  • Get your raw data ready
  • Learn about the financial database template
  • Design the database

Was this helpful?

  1. Administration
  2. Designer

Design a financial database

Special considerations for when designing a financial database.

PreviousSave your database designNextBuild a database

Last updated 12 hours ago

Was this helpful?

User permissions: Administration > Databases and Sync

When is a financial database not a financial database? You might already have access to a General Ledger (GL) or similar database in Phocas, but unless it was created specifically as a financial database, it will behave as a standard database without any of the financial reporting elements.

It is not possible to convert a standard Phocas database to a financial database, even if the original one contains financial information. You have to flag a financial type database when you first create a database (this is what gives you the default structure required for a financial database).

You need to have the Financial Statements license to be able to design a financial database.

If you have financial data already synced (for your standard database), you might be able to reuse this data to build a new financial database without needing to sync a whole new dataset. However, please read through this page first, as there are a few special requirements to ensure the financial database correctly displays your financial statements.

A financial database opens in the Phocas Financial Statements module. All other types of databases open in the Phocas Analytics module.

A financial database displays consolidated financial statements in an accounting format and integrates account-based streams. It is usually based on General Ledger data displayed in the following financial statements: Profit and Loss (P&L), Balance Sheet, Cash Flow and Trial Balance.

As with standard Phocas databases, generally, the Phocas Implementations team will design your financial databases for you. However, you can design new databases by yourself. The basic process of designing a financial database is much the same as for a standard database, however, there are a couple of important points to note:

  • Your data needs to be split between the P&L and the Balance Sheet. It also needs to include sufficient data to allow you to group the accounts in these statements to suit your needs, along with the dimensions (such as Country or Branch) required for analysis purposes. Often the data is categorized already but you can do this in Phocas during the design process.

  • You need to map your data quite specifically. Every new financial database opens with a template (see below) to get you started with the data loading and mapping process.

Other differences to the standard design process and points to note are outlined in the table below.

Get your raw data ready

Before you start your database design, the following data needs to be available in the in Designer:

  1. General Ledger (GL) transactional data. It is easier if your P&L and Balance Sheet data is separated in your raw data file but you can do this in Designer.

    • Note about end-of year P&L roll-ups (clear-downs): When adding GL transactions from your system, the automated Retained Earnings allocations from the P&L should be excluded, as this would cause a double-count (Phocas automatically adds the sum of the P&L to the Retained Earnings account). Any P&L clear-down representing the sum of the P&L transactions for the year should be excluded from the transactions.

  2. Opening balances for your Balance Sheet accounts.

  3. Chart of accounts.

  4. Budget data and statistical streams are useful but not essential. You can add these later.

It is good practice to get your FC or CFO or accountant involved to validate the data.

How Retained Earnings works in Phocas

Analytics forms the base value, which is calculated as follows:

  • Retained Earnings appears on the Balance Sheet stream and can either be mapped to an existing GL code via the Settings option in Designer or left unmapped (displayed as Account 'Retained Earnings'). Retained Earnings is the sum of all the P&L transactions within the P&L stream in Designer plus any relevant Balance Sheet transactions. It is calculated as A + B, where: A = Sum of all transactions for all dates for P&L accounts from the database start date to the end of the current period. B = The amount already in Retained Earnings*, such as the opening Balance Sheet value and other manual transactions, such as a dividend payment recorded directly in Retained Earnings.

  • *This could be an existing account that is already called Retained Earnings. Or it could be another account that you’ve manually mapped by going into Design > Options during the database setup.

  • If you do not map a Retained Earnings account, Phocas will automatically create a Retained Earnings account for you (which will only contain A above).

In Financial Statements, if the financial year end has been set, the Retained Earnings value is adjusted by the Current Year Earnings, which appears as a separate row on the statement.

Phocas expects the raw data to contain typical financial credits and debits, for example, where Revenue, Liabilities and Equity are credit (negative), and Expenses and Assets are debits (positive). If this is not the case, it can be changed during the design process (using the Transform feature) but some features, such as the Cash Flow statement will not provide accurate results.

Learn about the financial database template

In the first step of the design process, where you create the database, you tell Phocas that you are creating a financial database. As a result, when Designer opens, you get the financial database template.

In this template, there are:

  • Two streams; the Profit and Loss and Balance Sheet. These are the only streams you need initially.

    • Profit and Loss: This stream must only contain transactions from your P&L accounts. You can apply the filter to exclude any Balance Sheet accounts.

    • Balance Sheet: This stream must only contain transactions from your Balance Sheet accounts. You can apply the filter to exclude any P&L accounts.

    • You will receive a system error if you have accounts in both streams.

  • Three placeholder dimensions; Account, Category and Classification. Phocas uses standard categories (such as Sales, Cost of Sales, Operating Expenses, Other Expenses and Other Revenue) and you can change these to suit your needs. You can add other dimensions but the template items are locked. This means you can map data to them but cannot edit, delete or move them. If you clone a financial database, these items remain locked.

  • Two placeholder properties connected to the Account dimension; Name and IsCash.

    • Name is the name of the account. For example, an account might have the code X1234 and the name Repairs and Maintenance. When the database is designed and built, this Name property displays by default for users in Financial Statements.

    • IsCash is relevant to the Cash Flow statement and used to group the sum of the cash and cash equivalent accounts. This can be done in Designer or within the Financial Statements module later.

Design the database

Map the financial data to the template elements
  1. Map the Account dimension directly from your GL transaction data.

  2. Click the mapped Account dimension, then add the appropriate raw data files (probably the Chart of Accounts).

  3. Map the Category and Classification dimensions.

  4. Map the Name properties.

Then map the other data to the date, dimensions, properties and measures as required.

Map the Retained Earnings account code
Categorize the accounts

If required, you can categorize the accounts in two locations:

Designer: Your data (accounts) can be classified from your Chart of Accounts mapping. If you want to drive your account mapping directly from your ERP, you can create the categories (groups) as required. You might have groupings or sub groupings that can be created from the Chart of Accounts.

If you have mapped the categories in Designer, any subsequent statements can also be mapped in Financial Statements, as it refers to a separate dimension, not the default Category dimension in Designer.

Proceed to save and build the database.

See and the overview of for more information before you start designing your database.

Typically, you follow the (open this page in another tab, to view the information side-by-side). However, there are some key differences for a financial database, as follows:

: You must select the Finance Database checkbox. This presents the financial database template in Designer and connects the database with the Financial Statements module. See the Learn about the financial database template section above. If you do not select the checkbox, you will only get a standard database (even if your source data contains financial information), which opens in the Analytics module.

(P&L and Balance Sheet data): Add the GL transaction data file to the P&L and Balance Sheet streams* and add the opening balances to the Balance Sheet stream.

You can also to your financial database but this is optional. You can add it later.

: Map the data columns in the GL transaction file to the template elements.

: After you map the data, you can take some further action to set up the financial database:

You need to tell Designer which Retained Earnings account code you want to use for calculating Retained Earnings for the Balance Sheet. You do this within Financial Statements. See .

Financial Statements (font-end): If you have NOT mapped the categories in Designer, you or other users can do it within the Financial Statements module and map it however they want. See .

(Optional) Customize the columns: Use the to create a new column containing a simple calculation, join columns or duplicate columns.

(Optional) . For example, you might wan the negative numbers to display in brackets. You can do this in Designer or leave it up to the user to change their own measure format.

Get your data into Phocas
Designer
basic process of designing a database in Phocas
Create the database
Add raw data files
add a budget file
Map the data to the database
Customize the database components
Map the Retained Earnings account
Manage financial statements
Change the measure format
data sources panel
Transform feature