API Overview
Konsolidat's API is the set of Python functions in the konsol Frappe app that carry the @frappe.whitelist() decorator. Frappe serves each one at:
/api/method/<python module path>.<function>
For example konsol.api.epm_value is served at /api/method/konsol.api.epm_value, and konsol.close.signoff_api.sign at /api/method/konsol.close.signoff_api.sign.
The clients are the Excel add-in (=K.EPM() and the other K.* functions, the task pane), the Close app, the Frappe Desk, the frappectl CLI, and the Airbyte webhook. Any HTTP client can call the same methods.
On 2026-11-08 the app has 129 whitelisted methods (counted from the source by an AST walk of konsol/konsol/**/*.py, tests excluded, konsol 0cca0242: 121 carry @frappe.whitelist directly; the 8 under konsol/orchestrator/ (api.py, fx.py, resources.py) use that package's whitelist alias of the same decorator). The full inventory is at the end of this page. Eight methods have a page of their own; the 57 period-close methods are summarised on Period close API.
Base URL
http://localhost:8069/api/method/<module>.<function>
In production, replace the host with your Frappe server (for example https://epm.yourcompany.com).
Authentication
Session cookie
Log in once; Frappe sets a session cookie. Send it with every call.
curl -X POST http://localhost:8069/api/method/login \
-H "Content-Type: application/json" \
-d '{"usr": "admin@example.com", "pwd": "your_password"}'
Session check:
curl http://localhost:8069/api/method/frappe.auth.get_logged_user -b "cookies.txt"
Bearer token (Excel Online)
Excel Online runs the add-in in an iframe where cookies are often blocked. POST konsol.api.excel_addin_auth with {"usr", "pwd"} logs in and returns {"token", "user"}. Send the token as the X-Konsolidat-Token header; a before_request hook (konsol/excel_addin_auth.py) makes a Guest request act as that user. konsol.api.excel_addin_whoami returns {"user": <name or null>} for either a cookie session or a token; POST konsol.api.excel_addin_logout revokes a token.
Guest methods
Six methods have allow_guest=True and need no login: health, excel_addin_auth, excel_addin_whoami, excel_addin_logout, airbyte_sync_complete and try_demo (the demo-mode login, below). The Airbyte webhook is guest-callable only with the shared secret in the X-Webhook-Secret header (EPM Settings.webhook_secret); otherwise it needs a session. Every other method needs a logged-in user.
HTTP verbs
- A method declared
methods=["POST"]accepts POST only. A method declaredmethods=["GET"]accepts GET only. A method declared with neither accepts both. - Frappe rolls back the database at the end of a GET request. In konsol, every method that writes is therefore POST-only (
konsol/CLAUDE.md). Every method underkonsol/close/declares exactly one verb;konsol/tests/test_close_api_contract.pyfails the build if one does not. - A GET-only method answers 403 to a POST.
frappe.xcalldefaults to POST, so a Desk script must pass"GET"explicitly (konsolHANDOFF.md, 5 Nov 2026). - POST methods in
konsol/api.pyread a raw JSON body (frappe.request.get_data). The close methods take ordinary Frappe form or JSON arguments that map to the function's parameters.
Roles and entity scope
- Role gate. Every close method opens with
frappe.only_for((...roles...)); a user outside the tuple getsPermissionError(HTTP 403). Admin tools (apply_schema, chart upload, pipeline runs) usekonsol.schema_lifecycle.check_epm_admin(EPM Admin, System Manager or Administrator). The Period close API page lists the roles per method. - Entity scope. Reads that go straight to ClickHouse never pass Frappe's permission layer, so
konsol.entity_permissions.assert_entity_access(one entity) orentity_read_scope(per batch item) is called instead. The allow-list comes from the user's User Permissions on Entity, expanded down the tree. No assignment means unrestricted, except for an Entity Accountant (sees nothing until assigned) or a site withEPM Settings.restrict_entities_by_default. System Manager and Administrator always see everything. - Budget writes also check the account (through
EPM Settings.account_permission_doctype) and permission-controlled dimensions; each check is a no-op until configured.
Request flow
sequenceDiagram
participant Client as Excel add-in / HTTP client
participant Frappe as Frappe (konsol.api)
participant CH as ClickHouse
Client->>Frappe: POST /api/method/konsol.api.epm_batch
Frappe->>Frappe: per item: year, period, Dataset, measure, dimensions, entity scope
Frappe->>CH: one parameterised SELECT per (dataset, measure, dimension set, scenario_id, layer)
CH-->>Frappe: rows per entity / year / account / period
Frappe-->>Client: {"message": {"values": [...], "errors": [...]}}
konsol/api.py talks to ClickHouse over HTTP itself (_clickhouse_query, konsol.clickhouse.execute) with ClickHouse parameter binding ({name:Type} in SQL, param_name on the wire). There is no semantic-layer service between them.
Dataset resolution
A read names a Dataset (doctype Dataset, module EPM) either by fact (its fact_name, case-insensitive; wins when both are given) or by scenario (its scenario_key; default actuals). The Dataset's clickhouse_table is the table queried. Its fact_measures and fact_dimensions child tables say which measures (intersected with Published Measure records) and dimensions a read may name. A read that names no measure takes the Dataset's default_measure; a Dataset with none refuses the read and lists its measures.
Period tokens (1..n, P07, CLS, Q1..Q4, H1, H2, FY) resolve against the calendar declared for that year in EPM Fiscal Year, not a constant; see epm_value.
Error handling
Frappe wraps a return value as {"message": ...}. A frappe.throw comes back as HTTP 417 (ValidationError) with exc_type and _server_messages:
{
"exc_type": "ValidationError",
"_server_messages": "[\"Invalid scenario 'forecast'. Allowed: actuals, budget, variance\"]"
}
A PermissionError is HTTP 403. Two budget methods set their own status: 409 (budget_cell_save conflict) and 423 (Budget Cycle locked).
| Message | Source |
|---|---|
Invalid scenario '{x}'. Allowed: ... | No Dataset has scenario_key = {x}; the list is every scenario_key |
Invalid fact '{x}'. Allowed: ... | No Dataset has fact_name = {x}; the list is every fact_name |
Fact '{x}' declares no Default Measure, so a read must name one. Its measures are: ... | Blank measure on a Dataset without default_measure |
Invalid measure '{m}' for fact '{x}'. Allowed: ... | Measure not in the Dataset's measures intersected with Published Measures |
Invalid dimension '{d}' for fact '{x}'. Allowed: ... | Dimension not in the Dataset's dimensions |
Invalid year / Invalid year '{y}' | Batch item with a missing, non-integer or non-positive year |
... is not a declared period ... (text from the resolver) | Period token not in the year's declared calendar |
Batch size {n} exceeds maximum of 2000 | Too many items; the whole request is refused |
Not permitted to access entity '{e}' | Entity outside the caller's allow-list |
ClickHouse query timeout / ClickHouse connection failed | 30 s timeout; ClickHouse unreachable |
The allowed-value lists are computed from the registry at request time, so adding a Dataset, Measure or Dimension changes the messages with no code change.
Batch size and query grouping
MAX_BATCH_SIZE = 2000 items per epm_batch call. The add-in collects K.* cells into batches of at most 2000.
The batch groups items by (dataset, measure, set of dimension names, scenario_id, layer) and issues one SELECT ... WHERE ... IN (...) per group, with fiscal_period selected and grouped so each cell reads the sum of its own periods. The period is deliberately not part of the key (konsol#231): a year of monthly cells for one account set is one query, not twelve.
Inventory
One row per whitelisted method. Verb is what the decorator declares (GET/POST means no restriction). Access is the gate the function applies on top of login. Document methods (self methods on a doctype class) are called from the Desk form or with /api/method/run_doc_method (dt, dn, method), not by module path.
konsol/api.py — values, budgets, hierarchies, add-in
| Method | Verb | Access | What it does | Page |
|---|---|---|---|---|
konsol.api.health | GET/POST | Guest | Frappe and ClickHouse health: status ok / degraded / down | health |
konsol.api.epm_value | GET/POST | Session; entity scope | One value for entity, year, period, account | epm_value |
konsol.api.epm_batch | POST | Session; entity scope per item | Up to 2000 values in one call | epm_batch |
konsol.api.budget_save | POST | Session; budget write scope | Save one budget line for several periods | budget_save |
konsol.api.budget_cell_save | POST | Session; budget write scope | Save one cell, with optimistic locking | budget_cell_save |
konsol.api.budget_save_batch | POST | Session; budget write scope | Save many lines; per-item errors | budget_save_batch |
konsol.api.get_hierarchy_tree | GET/POST | Session | Consolidation Group tree with ownership as of a date | Hierarchies |
konsol.api.get_reporting_hierarchy_tree | GET/POST | Session | A Reporting Hierarchy as a tree, as of a date | Hierarchies |
konsol.api.excel_addin_auth | POST | Guest | Log in with usr/pwd; returns a bearer token for Excel Online | — |
konsol.api.excel_addin_whoami | GET/POST | Guest | {"user": name or null} from cookie or token | — |
konsol.api.excel_addin_logout | POST | Guest | Revoke a bearer token | — |
konsol.api.list_report_templates | GET | Session | Report templates for the add-in's Apply pane | — |
konsol.api.build_cell_map | POST | Session; entity scope | Compile a template (template_id, entity, year, scenario_id) into an Excel cell map of formulas | — |
konsol.api.build_snapshot | POST | Session; entity scope | Values-only cell map for trial_balance_long (period_from, period_to in 1..12) | — |
konsol.api.airbyte_sync_complete | POST | Guest with X-Webhook-Secret, or session | Airbyte webhook; records the last sync on EPM Settings and the matching Connector | — |
konsol.api.connector_health | GET/POST | Read on Connector Health | One row per connector: status, lag, counts, last error | — |
konsol.api.fx_rates | GET/POST | Session | Governed group exchange rates; filters from_currency, to_currency, rate_type, fiscal_year, fiscal_period, as_of, limit (1..5000, default 500) | — |
Configuration and schema — konsol/cli_api.py, konsol/schema_apply.py
| Method | Verb | Access | What it does | Page |
|---|---|---|---|---|
konsol.cli_api.apply_schema_api | POST | EPM Admin (checked in apply_schema) | Apply the published configuration: dbt vars, ClickHouse DDL, budget fields; run_dbt=1 queues a build | — |
konsol.cli_api.get_schema_status_api | GET/POST | Session | Registry counts and pipeline build-request status | — |
konsol.cli_api.export_config_api | GET/POST | Session | Dimensions, measures, datasets and connectors as one bundle (status filter) | — |
konsol.cli_api.diff_config_api | GET/POST | Session | Diff a bundle (spec, JSON) against the live site | — |
konsol.cli_api.apply_config_api | POST | Session | Apply a bundle (spec, publish, prune) | — |
konsol.schema_apply.apply_schema | POST | EPM Admin / System Manager | The function apply_schema_api wraps; also the Apply Schema button | — |
Group chart — konsol/chart_upload.py, konsol/group_chart.py
| Method | Verb | Access | What it does | Page |
|---|---|---|---|---|
konsol.chart_upload.check_chart_file | POST | EPM Admin with create on Main Account | Report what loading a chart file would do; writes nothing | — |
konsol.chart_upload.load_chart | POST | same | Load the file, all or nothing, as Draft Main Accounts | — |
konsol.chart_upload.publish_chart | POST | same | Publish every Draft of one chart in one transaction, one rebuild | — |
konsol.group_chart.get_chart | GET | Session (list permissions apply) | The Main Accounts the user may read, parent first | — |
Trial balance upload — konsol/tb_bulk.py
| Method | Verb | Access | What it does | Page |
|---|---|---|---|---|
konsol.tb_bulk.check_file | POST | EPM Admin (submit on Trial Balance Submission, create on Trial Balance Upload) | Create a Trial Balance Upload for a file and report on it; loads nothing | — |
konsol.tb_bulk.check_upload | POST | same, plus write on the upload | Re-check a saved upload in place (Desk "Check file") | — |
konsol.tb_bulk.load | POST | same | Re-check, then queue the load of every ready entity-period; resumes a partly loaded upload | — |
konsol.tb_bulk.upload_options | GET | Session | The site's default Amount Basis and the exact basis strings | — |
konsol.tb_bulk.get_upload | GET | Read on the upload | One upload's report and status | — |
konsol.tb_bulk.recent_uploads | GET | Session (list permissions apply) | Latest uploads (limit, max 50) with derived status | — |
Rates, calendar, trial balances
| Method | Verb | Access | What it does | Page |
|---|---|---|---|---|
konsol.group_rates.prefill_from_erp | POST | EPM Analyst / EPM Admin / System Manager | Draft Closing and Average rates for a period from the ERP quotes | — |
konsol.fiscal_calendar.declare_years_in_use | POST | System Manager | Declare an EPM Fiscal Year for every year in use; dry_run defaults to true | — |
konsol.consolidation.doctype.trial_balance_submission.trial_balance_submission.set_amount_basis | POST | EPM Admin | Declare the Amount Basis of already-submitted trial balances (names, amount_basis) | — |
konsol.consolidation.doctype.trial_balance_submission.trial_balance_submission.reland_submitted | POST | EPM Admin | Compare every submitted trial balance with the warehouse claims and landed row counts and return {applied, reland, orphans, kept, matched, not_submitted, relanded, failed, orphans_removed, build_for}; writes nothing unless apply is set; with apply it queues the re-land job on the long queue and returns {queued: true, applied: false} instead (names, apply, remove_orphans; konsol#283) | — |
konsol.consolidation.doctype.historical_equity_rate.historical_equity_rate.presentation_currencies | GET/POST | Session; read on Consolidation Group | The currencies a Historical Equity Rate recorded under consolidation_group may convert into: [(group code, reporting currency)] for the group's own node and every ancestor, nearest first | — |
Close checks and deals — konsol/consolidation/doctype/...
| Method | Verb | Access | What it does | Page |
|---|---|---|---|---|
konsol.consolidation.doctype.assertion_run.assertion_run.trigger_close_run | POST | EPM Admin / EPM Analyst / System Manager | Create an Assertion Run and queue the checks; refuses a period that is not Open or a run already in progress | close |
konsol.consolidation.doctype.assertion_run.assertion_run.sign_off_close | POST | Write on Assertion Run | Sign off a run: green signs, amber needs acknowledgement, red needs override_reason from EPM Admin / System Manager | close |
konsol.consolidation.doctype.business_combination.business_combination.get_balances_from_trial_balance | POST | Write on the Business Combination | Fill a Draft deal's acquired balance sheet from the warehouse trial balance | — |
Pipeline — konsol/orchestrator/{api,fx,resources}.py, konsol/pipeline/doctype/pipeline_run/pipeline_run.py
| Method | Verb | Access | What it does | Page |
|---|---|---|---|---|
konsol.orchestrator.api.start_run | GET/POST | EPM Admin | Create a Pipeline Run (definition, params) and queue it; one active run at a time | — |
konsol.orchestrator.api.get_run | GET/POST | Session | Run snapshot with its steps | — |
konsol.orchestrator.api.retry_step | GET/POST | EPM Admin | Re-arm a failed step and its descendants, re-queue | — |
konsol.orchestrator.api.resume_run | GET/POST | EPM Admin | Restart a finished run from a step downward | — |
konsol.orchestrator.api.launch_options | GET/POST | Session | Option lists for the launch form (definitions, fiscal years, periods, scopes) | — |
konsol.orchestrator.api.cancel_run | GET/POST | EPM Admin | Request cancellation of a run | — |
konsol.orchestrator.fx.get_fx_rates | GET/POST | Session | Read-only: FX rates for the pipeline SPA, filtered and normalised (**filters) | — |
konsol.orchestrator.resources.list_resources | GET/POST | Session | Read-only: the resolvable resources for the pipeline SPA (params) | — |
konsol.pipeline.doctype.pipeline_run.pipeline_run.trigger_pipeline | GET/POST | EPM Admin | Older entry point: create a Pipeline Run and queue run_pipeline | — |
Setup, handbook and demo — konsol/setup.py, konsol/handbook.py, konsol/demo_mode.py
| Method | Verb | Access | What it does | Page |
|---|---|---|---|---|
konsol.setup.status | GET | EPM Admin / System Manager | The site's setup checklist, read-only: {done, total, steps}; a step whose reader fails is not done and says why | — |
konsol.handbook.get_handbook | GET | EPM Admin / EPM Analyst / EPM User / Entity Accountant / System Manager | The product guide pages and the caller's readable published site pages for audience (blank: all): {audiences, audience, my_audiences, start_here, pages, problems, can_edit} | — |
konsol.demo_mode.try_demo | GET | Guest; 10 requests per 60 s per client IP | Log the visitor in as the site's demo_user and redirect to /desk; answers 404 when the demo_user key is unset or names a refused user | — |
Desk — konsol/desk/connections.py
| Method | Verb | Access | What it does | Page |
|---|---|---|---|---|
konsol.desk.connections.get_open_count | GET/POST | Session | Replacement for Frappe's linked-document counts on a form | — |
Period close — konsol/close/*_api.py
Every method here declares one verb and opens with frappe.only_for(...). Details, roles and parameters: Period close API.
| Method | Verb | Access | What it does | Page |
|---|---|---|---|---|
konsol.close.period_api.get_context | GET | All close roles | The user, every Regular period's state, the landing period | close |
konsol.close.mywork_api.get_my_work | GET | All close roles | The user's work items, ranked blocking / todo / waiting | close |
konsol.close.freshness_api.get_freshness | GET | All close roles | Whether the consolidated numbers are current | close |
konsol.close.grid_api.get_period_grid | GET | Group roles | The period grid: rows, counts, deadlines, overdue flags | close |
konsol.close.grid_api.get_readiness | GET | Group roles | The readiness checklist, read from the sign-off gate | close |
konsol.close.tb_api.check_tb | POST | EPM Admin / Entity Accountant / System Manager | Check a trial-balance CSV; writes nothing | close |
konsol.close.tb_api.submit_tb | POST | same | Submit a trial-balance CSV, replacing the one submitted | close |
konsol.close.tb_read_api.my_tbs | GET | All close roles | The period's entities with their TB status | close |
konsol.close.tb_read_api.tb_compare | GET | All close roles | This period's TB against the previous one, by account | close |
konsol.close.checks_api.get_checks | GET | All close roles | The period's checks: latest run, staleness, failures, warnings | close |
konsol.close.checks_api.run_checks | POST | EPM Admin / EPM Analyst / System Manager | Start the close checks (calls trigger_close_run) | close |
konsol.close.ic_api.get_ic | GET | Group roles | Intercompany pairs, differences and unmatched rows | close |
konsol.close.ic_api.send_back | POST | EPM Analyst / EPM Admin / System Manager | Send an over-tolerance pair back to both entities | close |
konsol.close.ic_balance_api.get_ic_balances | GET | Group roles | IC Balances for the period and the rule gap | close |
konsol.close.ic_balance_api.save_ic_balance | POST | EPM Analyst / EPM Admin / System Manager | Draft or edit an IC Balance | close |
konsol.close.journal_api.get_journals | GET | Group roles | Consolidation Journals of the period | close |
konsol.close.journal_api.save_journal | POST | EPM Analyst / System Manager | Draft or edit a Consolidation Journal | close |
konsol.close.journal_api.send_for_approval | POST | EPM Analyst / System Manager | Move a draft journal to Pending Approval | close |
konsol.close.rates_api.get_rates | GET | Group roles | The period's group exchange rate grid | close |
konsol.close.rates_api.save_rate | POST | EPM Analyst / EPM Admin / System Manager | Draft a Group Exchange Rate or a correction | close |
konsol.close.rates_api.delete_rate | POST | EPM Analyst / EPM Admin / System Manager | Delete one draft correction | close |
konsol.close.rates_api.get_pending | GET | Group roles | Pending Historical Equity Rate and Ownership Period drafts | close |
konsol.close.rates_api.get_ownership | GET | Group roles | Ownership as of the period's first day | close |
konsol.close.rates_api.preview_ownership_change | GET | Group roles | Refusals and effect of an ownership change; writes nothing | close |
konsol.close.rates_api.save_ownership_change | POST | EPM Analyst / EPM Admin / System Manager | Draft an Ownership Period change | close |
konsol.close.commentary_api.save_commentary | POST | EPM Admin / EPM Analyst / System Manager | Save a Statement Commentary, with a staleness check | close |
konsol.close.statement_api.get_statement | GET | Group roles | The consolidated statement for a group and period | close |
konsol.close.statement_api.get_drill | GET | Group roles | One heading's drill-down | close |
konsol.close.statement_api.export_statement | GET | Group roles | The statement and every drill as an .xlsx download | close |
konsol.close.approvals_api.get_queue | GET | Group roles | The caller's approval queue | close |
konsol.close.approval_api.approve_mode | GET | All close roles | What the caller may do with a document from its Actions menu | close |
konsol.close.approval_api.approve | POST | EPM Admin / System Manager | Approve a document awaiting approval | close |
konsol.close.approval_api.reject | POST | EPM Admin / System Manager | Reject a document awaiting approval, with a reason | close |
konsol.close.signoff_api.get_signoff | GET | All close roles | The period's sign-off summary and what the caller may do | close |
konsol.close.signoff_api.sign | POST | EPM Admin / System Manager | Sign off the period's latest run | close |
konsol.close.signoff_api.reject | POST | EPM Admin / System Manager | Reject the period's signature, with a reason | close |
konsol.close.signoff_api.declare_tb_exception | POST | EPM Admin / System Manager | Declare that an entity has no trial balance for the period | close |
konsol.close.signoff_api.close_period | POST | EPM Admin / System Manager | Close the period through its EPM Fiscal Year | close |
konsol.close.signoff_api.reopen_period | POST | EPM Admin / System Manager | Reopen the period, with a reason | close |
konsol.close.remind_api.remind | POST | EPM Admin / EPM Analyst / System Manager | Remind an entity's people about tb or ic | close |
konsol.close.trail_api.get_trail | GET | Group roles | The period's audit trail, filtered | close |
konsol.close.trail_api.export_trail_csv | GET | Group roles | The filtered trail as a CSV download | close |
konsol.close.overview_api.close_status | POST | Group roles | Number card: the current period close status | close |
konsol.close.overview_api.trial_balances_in | POST | Group roles | Number card: trial balances in / expected | close |
konsol.close.overview_api.waiting_for_me | POST | Group roles | Number card: documents the caller may approve now | close |
konsol.close.overview_api.ic_over_tolerance | POST | Group roles | Number card: intercompany pairs over tolerance | close |
konsol.close.overview_api.tb_exceptions | POST | Group roles | Number card: TB Exceptions declared for the period | close |
konsol.close.overview_api.warehouse_freshness | POST | Group roles | Number card: whether the consolidated numbers are current | close |
konsol.close.overview_api.get_checklist | GET | Group roles | The current period close checklist | close |
konsol.close.charts_api.tb_submission_progress | POST | Group roles | Chart: TB submission progress by period | close |
konsol.close.charts_api.net_sales_and_result | POST | Group roles | Chart: consolidated net sales and net result by period | close |
konsol.close.charts_api.top_ic_differences | POST | Group roles | Chart: the ten largest IC differences by pair | close |
konsol.close.charts_api.approvals_backlog | POST | Group roles | Chart: documents waiting for approval, by type | close |
konsol.close.charts_api.closing_vs_average_rate | POST | Group roles | Chart: closing and average rate of the top currencies | close |
konsol.close.charts_api.entities_by_status | POST | Group roles | Chart: entities by status | close |
konsol.close.charts_api.days_to_close | POST | Group roles | Chart: days from period end to sign-off | close |
konsol.close.mywork_board_api.get_board | GET | All close roles | My Work laid out as board columns | close |
"All close roles" is EPM Admin, EPM Analyst, Entity Accountant, EPM User, System Manager. "Group roles" is the same tuple without Entity Accountant.
Document methods (called through the Desk form or run_doc_method)
| Method | Verb | Access | What it does | Page |
|---|---|---|---|---|
konsol.epm.doctype.dataset.dataset.publish | GET/POST | EPM Admin | Publish a Dataset: apply schema (DDL, dbt source) and request a rebuild | — |
konsol.epm.doctype.dataset.dataset.unpublish | GET/POST | EPM Admin | Set a Dataset Inactive; never drops the ClickHouse table | — |
konsol.epm.doctype.dimension.dimension.publish | GET/POST | EPM Admin | Publish a Dimension; the save applies the schema once | — |
konsol.epm.doctype.dimension.dimension.unpublish | GET/POST | EPM Admin | Set a Dimension Inactive | — |
konsol.epm.doctype.measure.measure.publish | GET/POST | EPM Admin | Publish a Measure | — |
konsol.epm.doctype.measure.measure.unpublish | GET/POST | EPM Admin | Set a Measure Inactive | — |
konsol.governed_reference.publish | GET/POST | EPM Admin | Base-class Publish for governed reference doctypes (Main Account, Dimension Mapping, Cash Flow Category, Reporting Hierarchy, Intercompany Account): save and request a governed rebuild | — |
konsol.governed_reference.unpublish | GET/POST | EPM Admin | Base-class Unpublish for the same doctypes | — |
konsol.epm.doctype.epm_fiscal_year.epm_fiscal_year.generate_periods | POST | EPM Admin / System Manager | Replace the period table with the rows the year's pattern gives | — |
konsol.epm.doctype.epm_fiscal_year.epm_fiscal_year.close_period | POST | Roles allowed by fiscal_status_model.transition_problem | Close one period row; checks group rates first | — |
konsol.epm.doctype.epm_fiscal_year.epm_fiscal_year.lock_period | POST | Roles allowed by fiscal_status_model.transition_problem | Lock one period row | — |
konsol.epm.doctype.epm_fiscal_year.epm_fiscal_year.reopen_period | POST | Roles allowed by fiscal_status_model.transition_problem | Reopen one period row of an Open year, with a reason | — |
konsol.epm.doctype.epm_fiscal_year.epm_fiscal_year.close_year | POST | Roles allowed by fiscal_status_model.transition_problem | Close the year and every Open row; all or nothing on rates and sign-off | — |
konsol.epm.doctype.epm_fiscal_year.epm_fiscal_year.lock_year | POST | Roles allowed by fiscal_status_model.transition_problem | Lock the year and every Open or Closed row | — |
konsol.epm.doctype.epm_fiscal_year.epm_fiscal_year.reopen_year | POST | Roles allowed by fiscal_status_model.transition_problem | Reopen the year, with a reason; rows stay as they are | — |
konsol.pipeline.doctype.connector.connector.test_extract_connection | GET/POST | Write on the Connector | Validate extract credentials against the ERP | — |
konsol.pipeline.doctype.connector.connector.test_writeback_connection | GET/POST | Write on the Connector | Validate write-back credentials against the ERP | — |
konsol.pipeline.doctype.connector.connector.provision_airbyte | GET/POST | Write on the Connector | Test extract credentials, then create or update the Airbyte source and connection | — |
For document methods, Frappe first checks the caller's read permission on the document; the gates named in "Access" are what the method then applies itself (check_epm_admin on every publish/unpublish; the period and year transitions ask fiscal_status_model.transition_problem which roles may make each move).