Practice management
practice_management is the firm database. It is not a second copy of pennylane. Opening the database and seeing rows are two checks.
Who can open the database
| User | Database |
|---|---|
| Client company user | Hidden. |
| Firm user (an accountant at an accounting firm) | Listed. |
| Pennylane employee | Listed. |
Client ledgers stay on pennylane. A firm user who can open practice_management still uses pennylane for those ledgers.
Which rows come back
Same companies as pennylane
These tables return every company that user can already read in pennylane. Confidential companies are left out.
companies_identificationgeneral_ledger_revisiontrial_balance_revision
trial_balance_revision follows this row rule. SELECT on it is not granted yet, so the table does not appear.
companies_identification adds the staff email columns and source_id. Those columns are not on pennylane.companies. A client company user never sees them, because that user cannot open this database.
A confidential company is absent from these three tables, including for a firm admin.
The firm’s own company
Every other practice_management table returns one company: the accounting firm’s own company. All three conditions have to be true:
- the user is a firm admin
- the user is also an executive or an internal accountant of that company
- that company is confidential
Client companies are not in these tables. A firm user who misses one of the three conditions can list the table and gets no rows.
companiescompany_userscustomerssupplierscustomer_invoicessupplier_invoicesbank_accountsbank_transactionsfiscal_yearstax_declarationsvat_declarationsgeneral_ledgeranalytical_ledgertimesheet_entriesmission_invoice_lines
general_ledger in this database is the firm’s own company. The client ledger is pennylane.general_ledger. Revision columns for a non-confidential company are on general_ledger_revision.
timesheet_entries and mission_invoice_lines exist only here. mission_invoice_lines is firm billing (missions), not the lines of a customer invoice.
trial_balance follows this row rule. SELECT on it is not granted yet, so the table does not appear.