grp-mcp-plugin
v0.81.0rc39MCP server exposing Acumatica ERP (contract-based REST API) as tools for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_instances
List configured Acumatica profiles (no secrets) + which one is active. The active profile is used by any tool called without an `instance` arg. Switch it with set_active_instance; add/remove with add_instance/remove_instance.
add_instance
Add (or replace) a connection profile and save it to connections.json. name: the profile key you'll pass as `instance` (e.g. "prod"). base_url + OAuth (client_id/client_secret/username/password): the target instance and a Connected Application registered there. endpoint_name/endpoint_version: the web-service endpoint (default "Default"/"24.200.001"). tenant: the company login name (needed for OData and the customization/cookie login). branch: optional login branch. Gates default to read-only (allow_write/allow_delete/allow_publish off) and the files…
| Parameter | Type | Description |
|---|---|---|
base_url * | string | |
client_id * | string | |
client_secret * | string | |
name * | string | |
password * | string | |
username * | string | |
allow_delete | boolean | |
allow_publish | boolean | |
allow_write | boolean | |
branch | string | |
endpoint_name | string | |
endpoint_version | string | |
persist | boolean | |
read_roots | ||
set_active | boolean | |
tenant | string | |
write_roots |
set_active_instance
Select which profile tools use by default (when called without `instance`). persist=true also writes the choice as "default" in connections.json so it survives a restart (requires the GRP_MCP_ALLOW_ADMIN=1 env var, since it edits the credential file); otherwise it's an ungated session-only switch.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
persist | boolean |
remove_instance
Remove a connection profile (and drop its cached session). If it was the active profile, the active switches to another remaining profile. persist=true updates connections.json (requires the GRP_MCP_ALLOW_ADMIN=1 env var, since it edits the credential file); persist=false is a session-only removal. Refuses to remove the last profile.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
persist | boolean |
test_connection
Verify a profile's credentials: fetch an OAuth token and read the contract. Returns ok=true + the entity count on success, or ok=false + the error. Use after add_instance to confirm the profile works before relying on it.
| Parameter | Type | Description |
|---|---|---|
instance |
reload_config
Reload connections.json from disk WITHOUT restarting the server. Use this after editing profiles in the config UI (grp-mcp-ui) or the file by hand — the server normally reads config only at startup, so this applies the changes (new/edited profiles, active selection, gates) to the live connector. Closes all cached API sessions first (frees license seats); they re-auth on next use. Returns the refreshed active profile + list. Session-only profiles (added with add_instance persist=false) are PRESERVED across the reload — a disk reload no longer silently drops an…
| Parameter | Type | Description |
|---|---|---|
instance |
list_endpoints
List all web service endpoints published on the instance. Returns each endpoint's name, version, and href (e.g. Default, GRPSetup, MANUFACTURING). Independent of the instance's configured endpoint.
| Parameter | Type | Description |
|---|---|---|
instance |
list_entities
List the top-level entities exposed by the instance's configured endpoint. Uses endpoint_name/endpoint_version from connections.json. Source: the endpoint's swagger.json (the metadata-root GET is often proxy-gated 401). Set refresh=true to bypass the per-session cache. endpoint: override as '<Name>/<Version>' (e.g. 'grp_mcp/25.200.001') to hit a different endpoint than the configured one — no config change needed.
| Parameter | Type | Description |
|---|---|---|
endpoint | ||
instance | ||
refresh | boolean |
get_entity_schema
List the fields of one entity in the configured endpoint contract. entity: e.g. "Customer", "Project", "SalesOrder". Returns field names + count (from swagger.json). Use before create_or_update_entity to know which fields exist on the screen. deep=true returns the FULL tree: scalars + every detail collection (tab) expanded to its own nested fields, recursively (cycle-guarded). Use this to see every field inputtable via the API, including detail/tab fields, in one call. Pass these nested arrays back to create_or_update_entity to set details. endpoint: override…
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
deep | boolean | |
endpoint | ||
instance | ||
refresh | boolean |
get_endpoint_definition
Read an endpoint's contract definition from SM207060 (read-only). Returns the endpoint record with its entity tree / properties expanded, so you can see how a contract is built before extending it. Key = name + version. entities_only=true: the full definition can be huge (400KB+ — every field of every entity). This drops the per-field EntityProperties expand and returns just the list of top-level entity names ({endpoint, entities, count}) — enough to see what's on the contract without the field dump. Falls back to the raw EntityTree if names can't be parsed.…
| Parameter | Type | Description |
|---|---|---|
endpoint_name * | string | |
endpoint_version * | string | |
entities_only | boolean | |
expand | string | |
instance |
generate_endpoint_entity
Auto-build a <TopLevelEntity> XML block for a web-service endpoint from a screen. Turns "I want screen X on my endpoint" into a ready-to-paste customization block — the format hand-authored today, generated in one call. It reads the screen's schema (friendly field names + their view/DAC bindings) and infers each field's value-type from the DAC CSDL metadata, emitting: <TopLevelEntity name="<name>" screen="<SCREEN>"> <Fields> <Field name="<FriendlyField>" type="StringValue|BooleanValue|…" /> ... </Fields> </TopLev…
| Parameter | Type | Description |
|---|---|---|
name * | string | |
screen_id * | string | |
container | ||
instance |
get_entity
Retrieve one or many records of a top-level entity. entity: endpoint entity name, e.g. "Customer", "SalesOrder", "Bill". record_id: fetch a single record by its key/id; omit to list. filter/select/expand/top/skip: OData-style query options (contract API $filter, $skip for paging the next page of a large list, etc). custom: $custom param to pull fields NOT in the contract (unexposed elements / user-defined fields), format "<View>.<Field>" comma-separated. endpoint: override as '<Name>/<Version>' (e.g. 'grp_mcp/25.200.001') to read an enti…
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
custom | ||
endpoint | ||
expand | ||
filter | ||
instance | ||
record_id | ||
select | ||
skip | ||
top |
fetch_all_entities
Retrieve ALL records of an entity, auto-paging with $top/$skip. The contract API caps a single list GET, so a plain get_entity can silently return only the first page of a big table. This loops $skip until the last (short) page, concatenating results. page_size: rows per request ($top). max_records: hard cap to stop early (None = no cap). Use filter/select to scope/shrink. Returns {count, records}. endpoint: override as '<Name>/<Version>' (e.g. 'grp_mcp/25.200.001').
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
endpoint | ||
expand | ||
filter | ||
instance | ||
max_records | ||
page_size | integer | |
select |
create_or_update_entity
Create or update a record (PUT). Acumatica upserts by key fields. COMPOSITE-KEY WARNING (proven live): on a multi-key entity, always supply the FULL key. A partial key does not error — whether it matches the existing record depends on whether the omitted key part's DEFAULT happens to complete it (Invoice.Type defaults right and updates; PurchaseOrder created a duplicate PO). The result carries "_operation": "created"|"updated" inferred from the audit stamps — if you meant to update and see "created", you just inserted a duplicate: delete it and re-PUT with the…
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
fields * | object | |
endpoint | ||
instance |
attach_file
Upload a file and attach it to an existing record (the files:put API). entity: the entity the record belongs to, e.g. "DataProvider", "Vendor". record_id: the record's id/GUID (from a create_or_update_entity / get_entity response `id` or `_links.self`). file_path: local path to the file to upload (CSV, XLSX, PDF, ...). filename: name to store it as (defaults to the file's basename). content_type: MIME type (auto-guessed from the extension if omitted). Use this to put the Pentaho CSV onto a Data Provider, or attach source documents to a record, e…
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
file_path * | string | |
record_id * | string | |
content_type | ||
filename | ||
instance |
attach_file_to_provider
Attach a source file to a Data Provider (SM206015) record — GET-free. Use this instead of attach_file for Data Providers: the `DataProvider` contract entity 500s on read-back (its `Link` field has a BQL delegate), so the normal _links resolution fails. This builds the files:put URL by template (.../files/PX.Api.SYProviderMaint/Providers/<id>/<file>) and PUTs directly — no GET on the broken entity. record_id: the provider's GUID, as returned by setup_data_provider's `id` (== the SYProvider row's NoteID, readable via run_dac_odata). file_path: the…
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
record_id * | string | |
content_type | ||
filename | ||
instance |
screen_get_schema
Discover a screen's command schema via the screen-based SOAP API. Returns {containers: {<Container>: {<Field>: {object, field}}}, actions: [...]} — the exact ObjectName + FieldName the Submit engine expects for each field, plus the classic plane's action names (B6: e.g. a grid-style master screen has no per-record "Insert" — this list makes that discoverable up front instead of only from a submit-time error). Use `containers` to build screen_submit commands. `filter` is a case-insensitive substring narrowing the payload — a whole container is kept when the C…
| Parameter | Type | Description |
|---|---|---|
screen_id * | string | |
cross_plane | boolean | |
filter | ||
instance |
ui_get_structure
Discover a screen via the MODERN UI-screen API (/ui/screen/<ID>/structure). The richer, modern-plane counterpart to screen_get_schema. Returns: views: {ViewName: [{field, label, type, required, readonly, enabled, options, selector, primary_key?}]} — `primary_key` is present, true, on the fields /structure marks as a key and absent on the rest. `options` lists a fixed-enum field's allowed values as [{value, text}] (SET the `value`, not `text`). `selector` is non-null on a LOOKUP field (e.g. SM…
| Parameter | Type | Description |
|---|---|---|
screen_id * | string | |
cross_plane | boolean | |
instance |
ui_preflight
Dry-run a modern-plane write: validate + coerce set_fields WITHOUT writing. The read-only preview for ui_screen_action — runs the same write-safety pass (against the live /structure) and tells you, before you commit, exactly what would happen: • `issues` — read-only fields, invalid enum values that would be silently dropped (each with the `allowed` option list), ambiguous field names needing a `view`, and SELECTOR values that don't resolve (would be accepted with a clean 200 and…
| Parameter | Type | Description |
|---|---|---|
screen_id * | string | |
set_fields * | array | |
instance |
screen_capabilities
Can this page/screen be automated headlessly, without a browser, and with WHICH plane/tool? Recommends the tool to drive it with — the router for "use JSON or SOAP when needed" so you don't discover the right plane by trial-and-error. Probes the modern `/structure` (views, grids, selectors, action inventory) and derives, per operation shape, the tool to reach for and why. Encodes the plane-by-shape decision rule (also in setup_map.json cross_cutting_rules): - EDIT a keyed master record / bulk-append detail rows -> classic SOAP (screen_record / screen_inse…
| Parameter | Type | Description |
|---|---|---|
screen_id * | string | |
cross_plane | boolean | |
instance |
tree_triage
Diagnose HOW (if at all) a hierarchical/tree screen can be built via API — which known "tree lever" it exposes, ranked API-first, browser last. Answers "do I need Playwright for this tree, or is there an API path?" without manual probing. A tree control's parent link is normally set ONLY by clicking a node, which no API reproduces. But a given screen usually ships an alternative lever; this probes for all of them (the target screen's /structure + a scan of the site map for a companion "Import ..." form) and returns the best tier found: TIER 1 grid+indent  
| Parameter | Type | Description |
|---|---|---|
screen_id * | string | |
instance |
ui_resolve_selector
Resolve a lookup/selector FORM field to its `{id, text}` value. The modern-plane equivalent of clicking a field's magnifier, typing a search, and picking a row — needed before ui_screen_action can set a SELECTOR field (per ui_get_structure's `selector` marker; e.g. SM207060 CreateEntityView's ScreenID). Setting a selector field's plain text directly does not work. Works on ANY selector field on ANY screen — no per-field browser capture needed. search: a SUBSTRING searched across the lookup's columns — `Defaul` finds `Default` (measured 2026-09-17), so a…
| Parameter | Type | Description |
|---|---|---|
field * | string | |
screen_id * | string | |
search * | string | |
view * | string | |
instance | ||
pick |
ui_screen_action
Drive a screen via the MODERN UI-screen API — set fields, then fire an action. The general driver for the modern plane. Use it for screens/actions the classic screen SOAP engine can't reach: dialog-driven actions whose classic tag is a silent no-op (e.g. GL201000 "Generate Calendar"), and plain record edits (set fields + action="Save"). Same login session as the rest of the engine — no browser. action: internal command from ui_get_structure `actions` ("Save", "generateYears"). `Repaint` is refused: it is a protocol command, never in that list, and…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
screen_id * | string | |
check_selectors | boolean | |
dialog_answer | string | |
grid_select | ||
insert | boolean | |
instance | ||
prove_write | boolean | |
record_key | ||
save_after | boolean | |
set_fields | ||
skip_validation | boolean | |
target | ||
tree_select | ||
verify | boolean | |
verify_dac | ||
verify_filter |
ui_lookup
Search a reference table behind a SELECTOR/lookup field — the modern plane's magnifier as a general-purpose lookup. Where ui_resolve_selector resolves ONE field to a single {id,text} for a write, this returns ALL matching rows (with every lookup column) so you can BROWSE/SEARCH reference data through any screen's selector — customers, vendors, accounts, screens, terms, tax IDs, whatever a given selector points at — without needing a DAC/GI route for it. screen_id/view/field: a selector field (from ui_get_structure, where the field's `selector` marker…
| Parameter | Type | Description |
|---|---|---|
field * | string | |
screen_id * | string | |
view * | string | |
instance | ||
pick | ||
search | string |
ui_run_process
Run a PROCESS screen action (Process / ProcessAll / a mass-action) to completion. The modern-plane driver for processing screens — period Open/Close (GL503000), posting, allocations run, revaluation, any "Process"/"Process All". It sets the process FILTER, fires the action, auto-answers a confirmation dialog, and — for a genuinely long-running batch — polls the processing dialog to completion. Most batches on a normal-sized dataset finish SYNCHRONOUSLY in one call (verified live: GL503000 ProcessAll). A large batch opens a progress dialog that this polls up…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
screen_id * | string | |
instance | ||
poll_seconds | number | |
set_fields |
ui_grid_row_action
Select an EXISTING grid row by key, then fire a screen-level ACTION on it — the "click a row in the grid, then hit a toolbar button" flow. Closes the one thing the classic screen-SOAP plane structurally CANNOT do: it navigates to a keyed MASTER record fine, but cannot select an arbitrary existing GRID row by key, so a process-the-selected-row action is impossible there. The modern plane addresses the row via activeRowContexts, which this drives. grid_view: the grid container/view (from ui_get_structure `grids`, e.g. "Snapshots" on SM203520). row_key: {…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
grid_view * | string | |
row_key * | object | |
screen_id * | string | |
confirm | boolean | |
instance | ||
parent | ||
target |
ui_tree_dialog_insert
Add a child under a TREE node via its INSERT DIALOG — the full "click a tree node → Insert → fill a popup → OK → Save" flow that no single ui_screen_action call reproduces. The end-to-end capability behind adding an entity to a web-service endpoint (SM207060); generalizes to any tree+insert-dialog screen. Runs the UI's whole 5-phase sequence in one session (select node, OPEN the dialog, Repaint to load its fields, FILL them, then COMMIT the dialog — which only STAGES the node — plus a SEPARATE Save to PERSIST). tree_view/node_key/parent_key: identify…
| Parameter | Type | Description |
|---|---|---|
dialog_view * | string | |
fields * | array | |
node_key * | object | |
open_action * | string | |
screen_id * | string | |
tree_view * | string | |
extra_context_views | ||
instance | ||
parent_key | ||
record_key | ||
save | boolean | |
select_command | string | |
target |
ui_multi_view_write
Create/edit a MULTI-TAB record on the modern plane — one Repaint per view. Use this for any screen whose record spans a header plus tab views (every IV/LL/UT entry screen, and most document screens). A single ui_screen_action carrying all the views at once does NOT create the child-tab rows: it fails with the generic "Inserting 'X' record raised at least one error" and `flagged_fields: []` even when every required field is supplied. groups: [{"view": V, "fields": [{"field": F, "value": X}, ...]}, ...] — applied IN ORDER, so put the header view first; a chi…
| Parameter | Type | Description |
|---|---|---|
groups * | array | |
screen_id * | string | |
insert | boolean | |
instance | ||
prove_write | boolean | |
record_key | ||
save | boolean | |
target | ||
verify_dac | ||
verify_filter |
ui_dialog_write
Write fields that live inside a modern DIALOG PANEL (a toolbar popup), then Save. Use this when the fields you need are NOT on the form and NOT in /structure — they only exist once a dialog is open. ui_screen_action cannot reach them: it sets fields BEFORE firing the action, so the values land in the pre-dialog context and are silently lost when the dialog opens fresh. Live-proven on SM200550 (Locale Preferences, 2026-07-26) — the screen's date/number format fields (DateShortPattern, NumberDecimalSeporator, …) sit on classic objects "Formats: 1"/"Formats: 2"…
| Parameter | Type | Description |
|---|---|---|
dialog_view * | string | |
fields * | array | |
open_action * | string | |
screen_id * | string | |
commit_answer | string | |
grid_select | ||
instance | ||
record_key | ||
save | boolean | |
target | ||
verify_dac | ||
verify_filter |
ui_populate_endpoint_entity_fields
Populate a web-service-endpoint entity's FIELDS from one of its screen data views (SM207060's "select entity → Populate → pick Object → Select All → OK → Save"). `ui_tree_dialog_insert` adds an entity SHELL; this fills in the scalar fields of the picked view so they show on the contract. endpoint_name/endpoint_version: the endpoint the entity lives on (e.g. "GRPMCP", "25.200.001") — its header record is navigated first (required, else the Populate context is wrong). entity_object_name: the entity's ObjectName as shown in the tree (e.g. "…
| Parameter | Type | Description |
|---|---|---|
data_view * | string | |
endpoint_name * | string | |
endpoint_version * | string | |
entity_object_name * | string | |
data_view_pick | ||
detail_title | ||
instance | ||
save | boolean |
ensure_entity_on_endpoint
Make a screen REST-drivable in ONE call: ensure its entity exists on a web-service endpoint, adding it via the SM207060 wizard if missing. The gap-closer for custom screens that 404 on contract REST only because their DAC was never mapped (e.g. the whole CSPY payroll module on a stock endpoint). Idempotent: reads the endpoint first — if `entity_name` is already on the contract it returns {already_present:true} and changes nothing. Otherwise it drives the real SM207060 flow end-to-end: 1. resolves the screen in CreateEntityView.ScreenID (searches + picks by scre…
| Parameter | Type | Description |
|---|---|---|
endpoint_name * | string | |
endpoint_version * | string | |
entity_name * | string | |
screen_id * | string | |
instance | ||
populate_views |
ui_read_grid
Read GRID rows via the MODERN UI-screen plane (the read peer of the grid CRUD). Reads fresh from the DB (clearSession) and returns each row flattened to {field: value} plus its `_rowId`. Unlike screen_get (classic Export) / run_dac_odata (raw DB), this reflects the LIVE grid — the same rows/cells the modern write tools see. grid_view: the grid container/view (from ui_get_structure `grids`, e.g. "AccountRecords" on GL202500). fields: optional list of columns to return (default: all bound cells). top: optional row cap. parent: MASTER-DETAIL…
| Parameter | Type | Description |
|---|---|---|
grid_view * | string | |
screen_id * | string | |
fallback_dac | ||
fields | ||
instance | ||
parent | ||
top |
ui_update_grid_row
Edit ONE existing GRID row in place, on the MODERN UI-screen plane. The capability the classic screen SOAP engine lacks: change a cell of an EXISTING detail/grid row. (Classic positional selection is inert — a {"row":N} there silently hits row 1, so it now hard-errors.) This drives the modern plane's `controlsParams.<grid>.changes.modified` channel. No browser, same session. grid_view: the grid container/view (from ui_get_structure `grids`, e.g. "AccountRecords" on GL202500 Chart of Accounts). key: {keyField: value} identifying the row — MUST be the gri…
| Parameter | Type | Description |
|---|---|---|
grid_view * | string | |
key * | object | |
screen_id * | string | |
values * | object | |
instance | ||
parent | ||
prove_write | boolean | |
skip_validation | boolean | |
target | ||
verify_dac | ||
verify_filter |
ui_update_grid_rows
Edit MANY existing GRID rows in ONE pass — the bulk peer of ui_update_grid_row. Reach for this whenever you have more than a handful of rows to change. ui_update_grid_row re-reads the WHOLE grid to locate each single row, so N rows cost N full reads; on a 6977-row grid (~1.6 MB per read) that is minutes of wall-clock, and firing them concurrently to compensate saturates the instance and trips MCP timeouts (-32001). The modern plane's changes.modified channel takes a LIST, so this locates every row in ONE read and commits them in ONE Save: ~chunk_size times fewer…
| Parameter | Type | Description |
|---|---|---|
grid_view * | string | |
screen_id * | string | |
updates * | array | |
chunk_size | integer | |
instance | ||
parent | ||
prove_write | boolean | |
skip_validation | boolean | |
target |
ui_insert_grid_row
Append a NEW row to a GRID on the MODERN UI-screen plane. Drives the modern plane's `controlsParams.<grid>.changes.inserted` channel. A client rowId is generated for you. grid_view: the grid container/view (from ui_get_structure `grids`). values: {field: value} for the new row — MUST include the grid's KEY field(s) plus any other REQUIRED columns, or the Save fails validation (e.g. GL202500 needs AccountCD + Type + Description). Enum fields take the stored code (Type "E"=Expense); booleans as true/false. parent: MASTER-DETAIL — {"view", "…
| Parameter | Type | Description |
|---|---|---|
grid_view * | string | |
screen_id * | string | |
values * | object | |
allow_duplicate | boolean | |
instance | ||
parent | ||
prove_write | boolean | |
skip_validation | boolean | |
target | ||
verify_dac | ||
verify_filter |
ui_delete_grid_row
Delete an existing GRID row (matched by key) on the MODERN UI-screen plane. Drives `controlsParams.<grid>.changes.deleted` (the full key is sent inside the row's values — required, else the delete silently no-ops). Reads the grid fresh to resolve the row, then Saves. grid_view: the grid container/view (from ui_get_structure `grids`). key: {keyField: value} identifying the row, e.g. {"AccountCD": "40100"} (for a detail grid pass only the child key; the parent id is resolved). parent: MASTER-DETAIL — {"view", "key"} to delete from a CHILD grid under…
| Parameter | Type | Description |
|---|---|---|
grid_view * | string | |
key * | object | |
screen_id * | string | |
instance | ||
parent | ||
target |
probe_field_binding
READ-ONLY: is a classic-only field on a TAB (writable) or in a DIALOG? Settles the `UNDETERMINED` verdict screen_capabilities returns for a numbered-duplicate object ("View: N"). That verdict matters because the two cases have OPPOSITE write paths and the failure is SILENT: classic screen_submit binds a duplicate TAB fine, but on a DIALOG panel it returns a clean ok:true and persists NOTHING. Guessing wrong loses data quietly. WHY THIS TOOL EXISTS RATHER THAN THE DOCUMENTED PROBE. §22 says to probe with ui_screen_action(action=<opener>, dialog_answer='none'), whi…
| Parameter | Type | Description |
|---|---|---|
screen_id * | string | |
fields | ||
instance | ||
page_url |
diagnose_save_error
DIAGNOSTIC: recover the REAL error text behind a failed grid save. When ui_insert_grid_row / ui_update_grid_row / screen_submit fail with only the generic "record raised at least one error" (or a save silently no-ops), the concrete validation message often exists ONLY on the screen's classic ASPX rendering path — proven on PY309000, where "Percent should be 100 for sum of all banks" is invisible to both API planes. This tool replays the failing change over that classic WebForms callback protocol and returns the detailed error: the screen's alert text plus any per…
| Parameter | Type | Description |
|---|---|---|
record_key * | object | |
screen_id * | string | |
grid_view | ||
instance | ||
old_values | ||
operation | string | |
page_url | ||
row_key | ||
values |
aspx_delete_grid_row
Delete ONE grid row by key over the classic ASPX plane — the last resort when neither other plane can address the row. `answer` ("yes"/"no"/"ok"/"cancel") presses a button on a CONFIRM the delete raises. PASS IT WHENEVER THE GRID CONFIRMS: without it the change is NOT applied, and the response comes back clean and empty — alert null, no row errors — which is indistinguishable from a silent no-op. (The unapplied edit is now DISCARDED rather than left parked in the graph; it used to survive the call and break the next one, including the retry this text asks for…
| Parameter | Type | Description |
|---|---|---|
grid_view * | string | |
record_key * | object | |
row_key * | object | |
screen_id * | string | |
answer | ||
instance | ||
page_url | ||
row_index | ||
row_values |
ui_action_via_list
Open an existing record FROM ITS LIST, then fire an action on it — for a screen whose record cannot be addressed any other way. THE GAP THIS FILLS. Some maintenance screens open on a BLANK NEW record and expose no way to reach an existing one: the key is on no view and no contract, a URL key param is dropped, and an action posted to /ui/screen/<ID> carries no record identity at all. Every other plane therefore acts on the blank record — and on contract REST that INSERTS it, so each attempt silently leaves another empty row behind (measured on FR101000: four cre…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
key_field * | string | |
key_value * | ||
screen_id * | string | |
answer | string | |
inquiry_id | ||
instance | ||
results_view | string |
aspx_screen_action
Fire a toolbar/process ACTION on the classic ASPX plane, targeting a record by KEY. THE GAP THIS FILLS. Firing an action *at a specific record* needs two things, and each API plane is missing one: classic SOAP sees every field but cannot NAVIGATE — `{"set": "Selection.Name"}` inside a submit is a silent no-op (KNOWLEDGE §21), so the action runs against whatever record is current, or nothing. The modern plane can target by key, but `/ui/screen/.../structure` is **not served on older builds** (client-b, Default/24.200.001: 404 on BOTH URL shapes, while `/grid` returns…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
screen_id * | string | |
answer | ||
instance | ||
page_url | ||
record_key | ||
verify_dac | ||
verify_filter |
aspx_set_form_selector
Set a HEADER selector field over the classic ASPX plane, answering the "keep/preserve existing X?" confirm it can raise — the confirm neither other plane can reach at all. PRECONDITION (KB-first policy): consult the KB server for the screen's rules before changing a header selector — changing what it points at can invalidate dependent configuration (as it does here: existing field mappings/conditions bound to the OLD object). WHEN TO USE THIS — only after the normal routes fail on a HEADER selector field specifically: `ui_screen_action` (modern) silently…
| Parameter | Type | Description |
|---|---|---|
field * | string | |
record_key * | object | |
screen_id * | string | |
value * | string | |
answer | string | |
instance | ||
page_url | ||
save | boolean |
export_screen_xml
Dump/save a screen's record out to an XML file on disk — download a record as XML via a screen's Clipboard > "Export as XML" — the WHOLE record graph in one document, including detail tables no other plane can read or write. Works on any screen with an XML export definition (server-side App_Data/XmlExportDefinitions/<SCREENID>.xml). That file declares the record graph; on EP205015 (Approval Maps) it is EPAssignmentMap -> EPRule (steps AND rules) -> EPRuleCondition + EPRuleEmployeeCondition + EPRuleApprover — the whole tree in one document. So this is…
| Parameter | Type | Description |
|---|---|---|
screen_id * | string | |
instance | ||
out_path | ||
record_key |
import_screen_xml
Create/replace a record by importing a screen's XML (Clipboard > "Import from XML") — the write half of the full-graph path: one document creates a record together with every detail structure it carries. Uploads the file through the page-level upload dialog (classic postback), then runs the modern import command and Saves. Both planes are required: the modern command reads a file the session must already hold, and the classic plane cannot run the import itself. xml / file_path: the document, inline or from disk (read_roots sandbox). as_new_record: {"id_fie…
| Parameter | Type | Description |
|---|---|---|
screen_id * | string | |
as_new_record | ||
file_path | ||
instance | ||
save | boolean | |
xml |
aspx_grid_batch
Apply SEVERAL row changes to ONE grid in a SINGLE atomic Save over the classic ASPX plane — the way to change a grid guarded by a CROSS-ROW INVARIANT. PRECONDITION (KB-first policy): consult the KB server for the screen's rules (the invariant you must satisfy, referenced-row constraints) before writing. WHY THIS EXISTS: a grid like PY309000 `EmployeeBankDetails` enforces "percent must sum to 100 across all rows", so deleting one row on its own is REJECTED — the survivors no longer sum to 100. A human deletes AND rebalances in one Save; aspx_delete_grid_row (on…
| Parameter | Type | Description |
|---|---|---|
grid_view * | string | |
operations * | array | |
record_key * | object | |
screen_id * | string | |
answer | ||
instance | ||
page_url |
aspx_upload_grid_file
Load rows into a grid from a .csv/.xlsx by driving the grid toolbar's own "Load Records from File" button (the green Excel icon) over the ASPX plane. PRECONDITION (KB-first policy): consult the KB server for the screen's rules before loading; this CREATES/UPDATES real records. WHICH EXCEL TOOL: three exist and they are NOT interchangeable. - `load_from_excel` — contract-REST upsert. Scalar fields only, and the entity must be on the web-service endpoint. Best when it applies. - `import_excel` — the Import Scenario runner (SM206015->25->36). The only…
| Parameter | Type | Description |
|---|---|---|
grid_view * | string | |
path * | string | |
screen_id * | string | |
instance | ||
mode | string | |
null_value | string | |
page_url | ||
record_key | ||
separator | string |
aspx_tree_node_action
SELECT a classic TREE node by key — and optionally fire a node-scoped action on it — over the ASPX plane. The operation long believed to require a browser click. PRECONDITION (KB-first policy): consult the KB server for the screen's rules before firing any action; tree actions restructure/delete records. WHY THIS EXISTS: a classic tree (PXTreeView, e.g. EP204061 Company Tree) binds its detail form and its node-scoped actions to the SELECTED node, and neither the SOAP nor the modern plane can make a selection. Only THIS plane can — and it is enough to bui…
| Parameter | Type | Description |
|---|---|---|
node_key * | integer | |
screen_id * | string | |
action | ||
instance | ||
key_field | string | |
page_url | ||
parent_field | string | |
sort_field | string | |
tree_dac | string |
screen_submit
Drive a screen via the screen-based SOAP API — writes screens REST can't. PRECONDITION (KB-first policy): before this write, consult the KB server (kb_status names its search tool: search_kb on a local grp-kb, search_docs on a hosted one — the name is NOT fixed) for this screen's prerequisites, dependent screens, and validation rules, and verify each prerequisite exists — Acumatica screens have hard dependencies they won't surface until a write fails. See the server instructions. Replays a UI command sequence *as a user*, so it works on context screens the c…
| Parameter | Type | Description |
|---|---|---|
commands * | array | |
screen_id * | string | |
auto_answer | ||
dry_run | boolean | |
instance | ||
prove_write | boolean | |
skip_validation | boolean | |
verify_dac | ||
verify_filter | ||
verify_key |
screen_insert_rows
Insert many grid/detail rows into one container — ONE Submit per row. The master-detail / bulk-grid writer on top of the screen-based SOAP engine — use it for Chart of Accounts rows, subaccount segments, GL batch lines, any screen where you need to append N detail/grid rows under one header. container: the grid container friendly name (from screen_get_schema), e.g. "AccountRecords" on GL202500. rows: list of {field: value}; each row gets its own isolated NewRow + field SETs + Save. Field names are friendly (qualify "Co…
| Parameter | Type | Description |
|---|---|---|
container * | string | |
rows * | array | |
screen_id * | string | |
auto_answer | ||
check_existing | boolean | |
dry_run | boolean | |
header | ||
instance | ||
prove_write | boolean | |
save | boolean | |
verify_dac | ||
verify_key_field |
screen_bulk_load
Bulk-load N INDEPENDENT master records to a screen via the SOAP plane — each row is its own set-fields-then-Save, written THROUGH the screen's graph (so every business rule + prerequisite is honoured), with NO endpoint entity required. Picking between the bulk writers: load_from_excel needs the entity on a contract endpoint (custom screens have none); screen_insert_rows adds many DETAIL rows under ONE header; this does many SEPARATE master records on ANY screen with a classic page (e.g. 50 Pay Codes on PY302000, no endpoint). Each row is isolated: one failing row…
| Parameter | Type | Description |
|---|---|---|
rows * | array | |
screen_id * | string | |
dry_run | boolean | |
extra_commands | ||
instance | ||
limit | ||
offset | integer | |
save_each | boolean | |
stop_on_error | boolean |
screen_record
Create or edit ONE record on a master-style screen (idempotent setup helper). insert=False (default): set the key field, which NAVIGATES to the existing record, then apply `fields` and Save — an in-place edit. Re-runnable. insert=True: click Insert to start a fresh record, then set the key + `fields` and Save — a create. GUARDED: if the key already EXISTS, this refuses instead of letting classic SOAP silently navigate to and OVERWRITE the existing record in place (reproduced live on GL202500/FA201000). To edit the existing record intentional…
| Parameter | Type | Description |
|---|---|---|
fields * | object | |
key_field * | string | |
key_value * | string | |
screen_id * | string | |
auto_answer | ||
dry_run | boolean | |
insert | boolean | |
instance | ||
prove_write | boolean | |
save | boolean | |
verify_dac | ||
verify_filter |
screen_get
Read current values from a screen via the screen-based SOAP Export op. The read counterpart to screen_submit — returns the live record/grid data that Submit alone doesn't echo. Useful to confirm a write, or to read screens the contract REST/DAC routes can't (config singletons, context grids). fields: schema friendly field names = the columns to return (qualify "Container.Field" if a name repeats; see screen_get_schema). top: max rows. Returns {headers, rows:[{header: value}, ...]}. filters: [{"field": "<Friendly>", "value": ..., "condition"/"op"…
| Parameter | Type | Description |
|---|---|---|
fields * | array | |
screen_id * | string | |
filters | ||
instance | ||
top | integer |
release_sessions
Log out cached API sessions to free Web Service API license seats. Frees BOTH seat holders: (1) each instance's contract-REST client session, and (2) the shared UI-plane cookie sessions (modern /ui/screen + classic SOAP). Both consume a "Max Web Services API Users" seat (a trial allows only 2). This logs them out SERVER-SIDE and drops the cache so the seat frees immediately rather than at idle-timeout; the next tool call transparently re-logs in. (Before this fix, the UI cookie sessions were only dropped locally and leaked their seat until idle-timeout — the comm…
| Parameter | Type | Description |
|---|---|---|
instance |
list_screens
What pages/screens does this system have? Find a screen's ID by title — search the site map for pages (for screen_get/submit). query: case-insensitive substring of the screen Title (e.g. "segment values", "financial year", "ledger"). Returns [{ScreenID, Title}] so you can feed the ScreenID to screen_get_schema / screen_get / screen_submit. Read-only.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
instance | ||
top | integer |
screen_health
One-shot cross-plane diagnostic for a screen — is it reachable, and if not, WHY? Probes every plane and returns per-plane pass/fail plus an inferred cause, collapsing a multi-tool debugging session into one call: • sitemap — is the ScreenID in the site map? (also proves DAC-OData works) • modern_ui — does GET /ui/screen/<id>/structure return a descriptor? • soap_getschema — does the classic SOAP GetSchema work? (a "file does not exist" fault means the screen has no classic .aspx page — modern-only) • cp_pub…
| Parameter | Type | Description |
|---|---|---|
screen_id * | string | |
instance |
whoami
Report the active connection identity + reachability (and seat guidance). Returns the configured username/tenant/endpoint, whether the token + contract read succeed, and the count of cached sessions holding API seats. Acumatica exposes no clean per-seat usage over REST, so to free seats use release_sessions (trial = 2 seats). Read-only. NOTE: `reachable` reflects ONLY the contract-REST plane (a swagger read). The screen-SOAP and modern-UI planes are independent and can work even when it is false — do NOT treat reachable:false as "instance is down" (see reachable…
| Parameter | Type | Description |
|---|---|---|
instance |
enable_features
Set feature flags on the Enable/Disable Features screen (CS100000). features: schema friendly field names from screen_get_schema('CS100000') (e.g. "Subaccounts", "Inventory", "InventorySubitems"). Sets each ON and Saves. Returns the screen_submit result. ROLLUP FEATURES: some feature checkboxes are read-only PARENT/rollup toggles (e.g. "StandardFinancials") that the platform turns on automatically once one of their children is enabled — you can't set them directly (SOAP refuses / no-ops). This detects those in the requested list, DROPS them from the SET commands…
| Parameter | Type | Description |
|---|---|---|
features * | array | |
activate | boolean | |
instance |
activate_features
Activate/install the staged feature set on CS100000 (the "Enable" button) — NON-BLOCKING (won't hang on the recompile). The apply step enable_features (Save) does NOT do: it fires the "Enable" button (via the MODERN UI plane's `requestValidation` command — the classic SOAP RequestValidation action NREs on a large feature set), which validates the license, activates the staged features, and RECOMPILES the site (~1-3 min). Unlike a customization publish, the activation runs to completion SERVER-SIDE on its own — polling ActivationStatus only OBSERVES it. So thi…
| Parameter | Type | Description |
|---|---|---|
instance | ||
wait_seconds | number |
activate_features_status
Check CS100000 feature-activation status — a single quick read (no recompile, no polling loop). After activate_features returns status "in_progress", poll this until activated=true. Returns {activated, activation_status}. activated is True only when ActivationStatus == "Validated". During the recompile the read can transiently fail — reported as activation_status "unknown (site recompiling)", just poll again.
| Parameter | Type | Description |
|---|---|---|
instance |
create_financial_calendar
Create the financial calendar (GL101000): set the year-start date, AutoFill, Save. first_year: e.g. "2026" — the fiscal year to establish. starts_on: year-start date, M/D/YYYY (e.g. "1/1/2026"). Omit to default to Jan 1 of first_year. has_adjustment_period: add a year-end adjustment period (Period 13) to the pattern. number_of_periods: override the period count (e.g. 12 monthly). Omit for default. period_type: override the period type (e.g. "Month"). Omit for default. periods_start_date: "First Period Start Date" (DAC PeriodsStartDate), M/D/YYYY.…
| Parameter | Type | Description |
|---|---|---|
first_year * | string | |
has_adjustment_period | boolean | |
instance | ||
number_of_periods | ||
period_type | ||
periods_start_date | ||
skip_validation | boolean | |
starts_on |
delete_financial_year
Delete ONE financial year (and its periods) from the Master Calendar (GL201000). Calendar teardown — the inverse of create_financial_calendar/generate_master_calendar. Drives the modern plane: navigate the FiscalYear record to `year`, fire the screen's Delete action (which COMMITS immediately — there is no separate Save; a Save after the delete errors "At least one period should be defined" because the year is already gone, proven live 2026R1). year: the financial year to remove, e.g. "2027". CAVEATS: delete LATER years before earlier ones (a year is generate…
| Parameter | Type | Description |
|---|---|---|
year * | string | |
instance |
reset_calendar
Delete a RANGE of financial years from the Master Calendar (GL201000) — teardown. Deletes each year in [from_year, to_year] HIGHEST-FIRST (a later year is generated from the earlier one, so it must go first). Per-year result is reported; a year that refuses (posted activity, or the last remaining year) is recorded and the rest continue. Each delete commits immediately (see delete_financial_year). from_year/to_year: inclusive year range (omit to_year for a single year). To also reset the year PATTERN (period count / adjustment period), re-run create_financial_cal…
| Parameter | Type | Description |
|---|---|---|
from_year * | string | |
instance | ||
to_year |
create_ledger
Create a GL ledger (GL201500): LedgerID, Description, Type, Currency, Save. ledger_id/description: the ledger's ID and display name (e.g. "ACTUAL" / "Actual Ledger"). currency: base currency; omit to take the tenant's own (the screen's default). It defaulted to "USD" until 2026-09-15 — on a single-currency MYR tenant the screen silently kept MYR and the read-back reported the mismatch. ledger_type: "Actual" | "Reporting" | "Statistical" | "Budget". Requires a financial calendar to exist first (create_financial_calendar). Requires allow_write. update_e…
| Parameter | Type | Description |
|---|---|---|
description * | string | |
ledger_id * | string | |
currency | ||
instance | ||
ledger_type | string | |
update_existing | boolean |
set_gl_preferences
Set General Ledger Preferences (GL102000) — the system accounts + posting flags. The GL-phase keystone: sets the two REQUIRED Chart-of-Accounts settings that enable posting, then optional posting/data-entry flags, then Save. retained_earnings: the Retained Earnings account code. MUST be an account of type LIABILITY (Acumatica errors otherwise — there is no Equity type). ytd_net_income: the YTD Net Income account code (also Liability by convention). auto_post_on_release: optional — set the "Automatically Post on Release" flag (True simplifies batch…
| Parameter | Type | Description |
|---|---|---|
retained_earnings * | string | |
ytd_net_income * | string | |
auto_post_on_release | ||
hold_batches_on_entry | ||
instance |
chart_of_accounts
Create Chart of Accounts rows (GL202500) in one transaction. accounts: list of dicts. Per account: account (required) the account number/CD, e.g. "10100" type (required) an Acumatica type "Asset"|"Liability"|"Income"|"Expense" OR a single-letter source code auto-mapped: A->Asset, L->Liability, E->Liability (Equity; Acumatica has no Equity type), B->Expense, H->Income. Override/extend via the type_map arg. description (required) free text account_class optional account cl…
| Parameter | Type | Description |
|---|---|---|
accounts * | array | |
auto_answer | ||
dry_run | boolean | |
instance | ||
save | boolean | |
type_map |
build_company_tree
Build a Company Tree workgroup hierarchy (EP204061) — headless + deterministic. Drives the Company Tree screen over the MODERN UI-JSON plane: for each node it SELECTS the intended parent, fires `AddWorkGroup` (which stages a child UNDER the selection), sets the name on `CurrentWorkGroup`, and Saves. Because the parent is chosen explicitly, placement is exact at any depth — arbitrary branching, no ambiguity. PLANE (changed 2026-09-08, KNOWLEDGE.md §16): this drove the classic ASPX plane, which dies on "no __RequestVerificationToken" wherever EP204061 has no cl…
| Parameter | Type | Description |
|---|---|---|
structure * | ||
instance | ||
skip_if_root_exists | boolean |
add_workgroup_member
Add a MEMBER to a Company Tree workgroup (EP204061) — headless. Selects the workgroup node, then inserts a row into its "Group Members" grid. Members are Contacts (each employee carries a DefContactID); the grid's member column is keyed by ContactID. workgroup: the target workgroup — its `Description` (name, unique) or its integer WorkGroupID (from EPCompanyTree). member: WHO to add — an EMPLOYEE CODE (e.g. "EMP001"; resolved to the employee's DefContactID via EPEmployee), or a raw ContactID (int). is_owner: mark the member as the workgroup owner…
| Parameter | Type | Description |
|---|---|---|
member * | ||
workgroup * | ||
active | boolean | |
instance | ||
is_owner | boolean |
move_workgroup
REPARENT a Company Tree workgroup (EP204061) — move a node under a new parent. PRECONDITION (KB-first policy): consult the KB server for the screen's rules before writing. The one Company Tree operation that stayed unwired: build creates and delete removes, but nothing could move an existing node. It needs the screen's MODAL DIALOG — `MoveWorkGroup` opens a parent picker (view `SelectedParentFolders`) rather than acting directly, so a plain action call does nothing. workgroup: the node to move — its `Description` (name, unique) or WorkGroupID. new_pare…
| Parameter | Type | Description |
|---|---|---|
workgroup * | ||
instance | ||
new_parent |
reorder_workgroup
Move a Company Tree workgroup UP or DOWN among its siblings (EP204061). PRECONDITION (KB-first policy): consult the KB server for the screen's rules before writing. Changes display ORDER only (EPCompanyTree.SortOrder), never parentage — use move_workgroup to reparent. Sibling-scoped: other branches are untouched. workgroup: the node — its `Description` (name, unique) or WorkGroupID. direction: "up" or "down". steps: how many positions to move (default 1). CLAMPED to the distance actually available; the result reports steps_requested vs steps_appli…
| Parameter | Type | Description |
|---|---|---|
direction * | string | |
workgroup * | ||
instance | ||
steps | integer |
build_approval_map
Build an EP205015 Approval Map (workflow) headless. Where the instance serves EP205015's classic page this generates the map's XML and imports it (the §14 round-trip); where it does not, it drives the screen on the modern plane (KNOWLEDGE.md §38). Either way: one step per role, each referencing a workgroup, with optional amount/field CONDITIONS (approval limits). Built live for a client approval matrix (GL Journal, AR Invoices); the employee, workgroup, member and map pipeline is KNOWLEDGE.md §17, "Seeding approvers". name: the approval map name (EPAssignment…
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
name * | string | |
steps * | ||
graph_type | ||
instance | ||
map_type | integer | |
skip_if_exists | boolean |
list_approval_steps
List an approval map's steps/rules with the RuleID GUIDs edit_approval_step needs. Read-only. `map_id` is the AssignmentMapID, or the map's Name. Returns the EPRule rows (steps have StepID null; their children carry StepID = the step's RuleID) plus each rule's conditions, so you can see the whole routing matrix — who approves and above what amount — before changing any of it.
| Parameter | Type | Description |
|---|---|---|
map_id * | ||
instance |
add_approval_step
APPEND a step to an existing approval map (EP205015), with its approver. PRECONDITION (KB-first policy): consult the KB server for the screen's rules before writing. A map's shape used to be fixed once built — adding a third approval tier meant deleting the map and rebuilding it. The step is appended LAST, which takes work: see the SEQUENCE note below. map_id: AssignmentMapID (list_approval_steps reports it). name: the step's name, e.g. "Director Approval". workgroup: who approves — an EPCompanyTree Description (name) or WorkGroupID. approve_t…
| Parameter | Type | Description |
|---|---|---|
map_id * | integer | |
name * | string | |
workgroup * | ||
approve_type | string | |
approver_name | ||
conditions | ||
instance |
delete_approval_step
Remove a STEP (with its rules) or a single RULE from an approval map. PRECONDITION (KB-first policy): consult the KB server for the screen's rules before writing. map_id: AssignmentMapID. rule_id: the RuleID GUID to remove, from list_approval_steps. A STEP is a StepID=null row; removing one CASCADES to its child rules (measured — the step and its approver disappeared together). Pass a child rule's RuleID to remove just that approver and leave the step in place. Requires allow_delete, which is strictly stronger than allow_write. There is no…
| Parameter | Type | Description |
|---|---|---|
map_id * | integer | |
rule_id * | string | |
instance |
set_approval_conditions
Set the CONDITIONS on an existing approval rule (EP205015) — the amount bands. PRECONDITION (KB-first policy): consult the KB server for the screen's rules before writing. DECLARATIVE: `conditions` is the complete list the rule should end up with, so one call raises a limit, adds a second band, or clears the gate. This is the piece build_approval_map could not do after the fact — conditions could only be set during the build, so revising a threshold meant rebuilding the whole map. map_id: AssignmentMapID (list_approval_steps reports it). rule_id: the Rul…
| Parameter | Type | Description |
|---|---|---|
conditions * | ||
map_id * | integer | |
rule_id * | string | |
instance |
edit_approval_step
Edit an EXISTING step/rule of an EP205015 approval map, in place. PRECONDITION (KB-first policy): consult the KB server for the screen's rules before writing. This is the operation long recorded as impossible ("EP205015 import is create-only; fix a map by deleting and rebuilding it"). It is not — but it takes FOUR things together, each of which fails silently on its own: 1. the MODERN plane navigates to the map, then the CLASSIC page is opened in the SAME session and hydrates from it. The classic plane cannot navigate itself here (no ds nav comm…
| Parameter | Type | Description |
|---|---|---|
map_id * | integer | |
rule_id * | string | |
set_fields * | object | |
instance |
generate_master_calendar
Generate financial periods on the Master Financial Calendar (GL201000). The GL101000 financial-year pattern only defines period LENGTHS — no actual Period records exist until this runs. Creates them with status Inactive for the given year range, the prerequisite for manage_financial_periods. from_year: first financial year to generate periods for, e.g. "2026". Must already exist as a financial-year pattern (create_financial_calendar). to_year: last year in the range; omit to generate just from_year. NOTE ON MECHANISM: the classic typed screen SOAP API exp…
| Parameter | Type | Description |
|---|---|---|
from_year * | string | |
instance | ||
to_year |
manage_financial_periods
Bulk period action on Manage Financial Periods (GL503000) — Open by default. Drives the screen's "Process All" flow (no per-period checkbox selection needed): set the filter, then process every matching period in one shot. from_year/to_year: financial year range to act on (required — this can touch every period in range, so the scope is explicit rather than defaulting to "every period that ever existed"). Omit to_year to target just from_year. action: "Open" | "Close" | "Lock" | "Unlock" | "Reopen" | "Deactivate". company: optional — restr…
| Parameter | Type | Description |
|---|---|---|
from_year * | string | |
action | string | |
company | ||
instance | ||
reopen_in_subledgers | ||
to_year |
create_numbering_sequence
Create a numbering sequence (CS201010) — header + one subsequence. Numbering sequences auto-generate IDs for documents (GL batches, invoices, bills, payments, transfers, allocations, schedules, …) and for auto-numbered segmented-key segments. A Common-Settings foundation screen — no module prerequisite; typically set up before the modules that reference it. numbering_id: unique ID, <=10 alphanumeric chars. description: <=30 chars. start_number / end_number / warning_number: alphanumeric strings, processed as strings with the SAME length (<=15) and s…
| Parameter | Type | Description |
|---|---|---|
description * | string | |
numbering_id * | string | |
end_number | string | |
instance | ||
manual_numbering | boolean | |
new_number_symbol | ||
numbering_step | integer | |
start_date | ||
start_number | string | |
update_existing | boolean | |
warning_number |
create_segmented_key
Create a segmented key on Segment Keys (CS202000) — key header + segment rows. update_existing: False (default) REFUSES when key_id already exists — setting an existing ID edits that key and would append more segment rows to it. True = update the existing key's HEADER only; no segments are added. This is the PREREQUISITE step for set_segment_value: a key (and its segments) must exist here before CS203000 can hold values. Per the KB chain: CS202000 (this tool) -> CS203000 (set_segment_value) -> GL203000 etc. key_id: the segmented key identifier (e…
| Parameter | Type | Description |
|---|---|---|
description * | string | |
key_id * | string | |
segments * | array | |
instance | ||
lookup_mode | ||
numbering_id | ||
specific_module | ||
update_existing | boolean |
set_segment_value
Add a value to a segment on Segment Values (CS203000) — the one that works. PREREQUISITE: the segmented key + its segments must already exist on Segment Keys (CS202000) — CS203000 only lists keys defined there, and a segment must have Validate=ON to hold a value list. So the chain is CS202000 (create key, add segments, set Validate) -> CS203000 (this tool). See the KB 'Segmented Identifiers' / 'Segment Values (CS203000)' for the full order. CS203000 IS writable via the screen-based SOAP engine. The trick is NAVIGATION: select the segment with a descriptor `set…
| Parameter | Type | Description |
|---|---|---|
segmented_key_id * | string | |
value * | string | |
active | boolean | |
description | ||
instance | ||
segment_id | string |
delete_segmented_key
Delete a segmented key with the correct children-first teardown. Deleting the CS202000 master row alone ORPHANS its Segment/SegmentValue children (they then can't be navigated/removed). This does it in the order the framework requires: 1. (orphan recovery) if the key has children but no `Dimension` master, recreate the master so the screens can navigate it again; 2. delete every segment VALUE on CS203000; 3. delete the SEGMENTS on CS202000; 4. delete the master row. Verifies via the Dimension/Segment/SegmentValue DACs and returns the final…
| Parameter | Type | Description |
|---|---|---|
key_id * | string | |
instance |
screen_preflight
Check supplied fields against a DAC's MANDATORY fields before a write. Reads the OData CSDL ($metadata) — the authoritative mandatory-field source (Nullable="false" or key = mandatory) — and reports which required fields are NOT in `provided`. The screen-based SOAP plane returns no field-state, so this is the practical preflight: catch missing required fields up front instead of eating a generic "record raised at least one error" fault on Save. dac: the DAC entity-type name (e.g. "Account", "Ledger", "Branch"). List them with get_dac_metadata(da…
| Parameter | Type | Description |
|---|---|---|
dac * | string | |
provided * | array | |
instance |
screen_prereqs
Discover a screen's SETUP PREREQUISITES on any live instance — SOURCE-FREE. Answers "what must already exist before I can save this screen?" without the customization source in hand. Reads the modern /structure for the screen's REQUIRED + enabled fields, then — for each required SELECTOR (lookup) field — actually queries its lookup grid to see if the source table has any rows. A required lookup with ZERO candidates is a hard prerequisite: that field can never be set until the screen feeding it is populated first (e.g. PY301000's PCB Pay Code needs Pay Codes o…
| Parameter | Type | Description |
|---|---|---|
screen_id * | string | |
instance |
screen_discover_prereqs
Discover a screen's GRAPH-CODED prerequisites by trial-saving and reading the error — the source-free way to surface rules that leave NO schema trace. screen_prereqs sees only schema-declared requirements. Rules coded by hand in the screen's C# graph — a thrown "PCB Pay Code can not be empty" on a field with no `required` flag, or "at least one Tax Office detail is required" — are INVISIBLE to metadata. The only source-free oracle for them is the runtime error a real save throws. This drives a Save (seeded with `seed_fields`, else a bare new record), and when…
| Parameter | Type | Description |
|---|---|---|
screen_id * | string | |
instance | ||
seed_fields |
module_setup_plan
Build a dependency-ORDERED setup plan for a set of screens — SOURCE-FREE. Reads each screen's modern /structure, extracts its REQUIRED selector and lookup fields, and maps the table each one reads to whichever screen in the set has that table as its primary DAC or graph — yielding "screen A must be set up before screen B" edges. A topological sort turns those edges into a build order: screens feeding others come first. Purely structural (one /structure read per screen, no row probes), so it's the fast first pass for planning a blind module build. Provide t…
| Parameter | Type | Description |
|---|---|---|
instance | ||
prefix | ||
screens |
screen_autofill
Propose a set_fields payload for a screen — auto-resolving what CAN be resolved, and surfacing ONLY the fields a human must actually decide. Read-only (proposes, never writes). For each REQUIRED + enabled field on the screen it decides how to fill it: • selector with a `hints[field]` search (or, absent a hint, a blank search that returns exactly ONE candidate) -> resolved to its {id,text} value, added to `proposed_set_fields` ready to pass straight to ui_screen_action. • selector matching MANY rows -> listed under `needs_decision` with the candida…
| Parameter | Type | Description |
|---|---|---|
screen_id * | string | |
hints | ||
instance |
load_from_excel
Bulk create/update ENDPOINT-ENTITY records from an .xlsx/.csv file (contract REST upsert). NOT the import-scenario runner — for a document WITH detail/LINE rows (invoice, journal, batch) or any screen not on the endpoint, use `import_excel` instead. This path is scalar-only and requires the entity on the web-service endpoint. Each data row -> one upsert (PUT, keyed by the entity's key fields). The first row is the header. column_map maps a header to an entity field name; omit it to use headers verbatim, or map a header to "" to ignore that column. Only scalar…
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
path * | string | |
background | ||
column_map | ||
dry_run | boolean | |
instance | ||
limit | ||
offset | integer | |
sheet | ||
stop_on_error | boolean |
load_status
Check a background bulk-load started by load_from_excel (in-memory, instant). job: the id load_from_excel returned; omit for the most recent. Returns the same shape (status completed | in_progress | error) with processed/succeeded/failed and next_offset. If it stopped early (stop_on_error or an interruption), resume with load_from_excel(..., offset=next_offset). State is per server session (a restart clears it — verify loaded rows via count_entity / get_entity instead). Detailed per-row errors cap at 200 per job (failed still counts every row); at most 50 jobs to…
| Parameter | Type | Description |
|---|---|---|
job |
stock_scenario_info
Surface the VENDOR predefined 'ACU Import …' scenario for a screen — the authoritative import recipe to clone instead of guessing (read-only). Acumatica ships inactive predefined scenarios for the migration screens (AR301000 AR Invoices, AP301000 AP Bills, GL301000 GL Transactions, AR303000 Customers, AP303000 Vendors, FA303000 Fixed Assets, AM208000 BOM, …). This returns, for the given screen: the scenario name + its full field mapping (ordered, with the source Value each field expects and the Commit/Active flags) and the SET OF SOURCE COLUMNS the mapping re…
| Parameter | Type | Description |
|---|---|---|
screen_id * | string | |
instance |
setup_data_provider
Create AND fully configure a Data Provider (SM206015) from a data file — via API. Writes the provider header + schema object/field rows, uploads the file, AND — the step whose absence used to make every provider built here read 0 rows — points the provider's FileName parameter at the uploaded file ('Data Providers (<name>)\<file>'; a provider left at '<EmptyFileName>' reads NOTHING, silently). Root cause proven live 2026-07-08; no fillSchemaFields rebind is needed — the schema rows written here are sufficient (verified: such a provider Prepared 3/3 rows once po…
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
name * | string | |
instance | ||
key_columns | ||
object_name | string | |
provider_type | ||
sheet | ||
upload_file | boolean |
import_excel
THE import-scenario runner (SM206015 -> SM206025 -> SM206036) — the reliable way to bulk-load ANY screen, including master-DETAIL documents (invoices, journals). NOT `load_from_excel` (a scalar-only endpoint-entity upsert, no line rows) and NOT `run_import_scenario` (the UNRELIABLE contract path). If a task says "import scenario" / "bulk load a document", this is the tool. Runs an Import Scenario against a NEW data file, end to end, with every silent dead-end from the proven ordeal turned into a loud, actionable error. Screen- agnostic: the scenario carries the t…
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
scenario_name * | string | |
do_import | boolean | |
force | boolean | |
instance | ||
refresh_schema | boolean | |
repoint_scenario_object | boolean | |
scenario_object | ||
validate | boolean |
validate_import_setup
PRE-IMPORT DATA CHECK — does every lookup value in the file already EXIST in the instance's master data? The reason a Prepare "succeeds" but the Import then fails row-by-row: Prepare only STAGES rows; foreign-key values (asset class, book, depreciation method, department, branch, …) aren't validated until commit. This tool front-runs that failure with zero curation — it PROBES the target screen live. How it works (screen-agnostic, no hard-coded FK map): 1. Reads the scenario's field mapping (SM206025) → the mapped (target field ← source column) pai…
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
scenario_name * | string | |
instance | ||
max_probe_per_field | integer |
build_import_scenario
Build an SM206025 Import Scenario + its field mapping — using ONLY the write patterns proven to persist correctly. Screen-agnostic: pass any target screen's field list once and the scenario carries it thereafter (run with import_excel). Two proven landmines are baked in: the Screen combo is set by RAW ScreenID (setting it by title truncates server-side on titles containing "/"), and mapping rows are written ONE ROW PER SUBMIT (batching them returns ok:true but persists CORRUPTED rows — values crossed between rows, phantom artifacts). name: scenario…
| Parameter | Type | Description |
|---|---|---|
mapping * | array | |
name * | string | |
provider * | string | |
provider_object * | string | |
screen_id * | string | |
add_save | boolean | |
instance |
delete_entity
Delete a record by its id (the record's key GUID or keys path). endpoint: override as '<Name>/<Version>' (e.g. 'grp_mcp/25.200.001'). Requires the instance's "allow_delete": true (default off, stricter than write). record_id is sent as-is in the URL path — for an entity keyed by a COMPOSITE key (e.g. Payment's Type+RefNbr), that means a keys-path like "Check/000123", NOT the record's NoteID GUID. A GUID there 500s with a condition-not-satisfied error (get_entity_schema shows whether an entity's key is composite).
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
record_id * | string | |
endpoint | ||
instance |
count_entity
Count records of an entity (optionally scoped by filter). NOTE: the contract API has no server-side $count, so this fetches matching rows (auto-paging with $skip so big tables aren't under-counted) and counts them. Pass select=<a key field> to shrink the payload, and use filter to scope. endpoint: override as '<Name>/<Version>' (e.g. 'grp_mcp/25.200.001').
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
endpoint | ||
filter | ||
instance | ||
select |
list_actions
List the actions invokable on an entity via invoke_action (from the contract). e.g. SalesOrder -> ["ReopenSalesOrder", ...]. Use before invoke_action to get the exact action name. Set refresh=true to bypass the swagger cache.
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
instance | ||
refresh | boolean |
poll_action
Check a long-running action's status by its Location (from invoke_action). invoke_action returns 202 + a location for async actions. GET it here: 204 = finished, 202 = still running. Re-call until it finishes.
| Parameter | Type | Description |
|---|---|---|
location * | string | |
instance |
snapshot_entity
Dump all records of an entity to a JSON file (backup before risky changes). Writes to `path`, or by default to <connections dir>/snapshots/<entity>_<instance>.json. Returns the file path + record count. Use before destructive ops (calendar regen, segment restructure, bulk overwrite) so you can roll back. filter/expand: optional OData `$filter` / `$expand` to scope the dump to a subset or pull in related detail collections. Auto-pages with $skip so the snapshot captures the FULL table, not just page 1. The final path — whether you supplied one or it's the au…
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
expand | ||
filter | ||
instance | ||
path |
list_generic_inquiries
List Generic Inquiries on the instance — BOTH the OData-exposed ones and the ones that exist but are not exposed. Requires the instance's `tenant` set in config. Use a returned `exposed` name with run_generic_inquiry. A GI is only reachable over OData if someone ticked "Expose via OData" in the GI designer. Listing only those made a GI that EXISTS but is not exposed indistinguishable from one that does not exist — run_generic_inquiry just 404s (measured: all six Module 10 GIs, none exposed). So the SiteMap is cross-checked and the unexposed ones are report…
| Parameter | Type | Description |
|---|---|---|
instance |
invoke_action
Invoke an action on a record (e.g. Release, ConfirmShipment). entity: entity the action belongs to, e.g. "SalesOrder". action: action name, e.g. "Release". entity_ref: identifies the target record, e.g. {"OrderType": "SO", "OrderNbr": "000123"}. parameters: optional action parameters. endpoint: override as '<Name>/<Version>' (e.g. 'grp_mcp/25.200.001'). Returns 202 + a Location to poll for long-running actions. Requires the instance's "allow_write": true (actions mutate ERP state).
| Parameter | Type | Description |
|---|---|---|
action * | string | |
entity * | string | |
entity_ref * | object | |
endpoint | ||
instance | ||
parameters |
run_import_scenario
Drive Import-by-Scenario (SM206036) via the CONTRACT-REST entity. UNRELIABLE — prefer import_excel (the classic-plane runner) for real work. PROVEN LIMITATION (live, 2026-07-08): this contract path routes EVERY scenario through SYImportSimple, whose copy-paste script machinery makes assumptions about the TARGET SCREEN's shape — it crashed with "SetBranchFieldCommandToTheTop / Sequence contains no matching element" even on a trivial 2-field Countries mapping (and on full AR301000 mappings). Whether it works depends on the target screen, not on mapping size. The…
| Parameter | Type | Description |
|---|---|---|
scenario_name * | string | |
do_import | boolean | |
entity | string | |
import_action | string | |
instance | ||
key_field | string | |
poll_interval | number | |
prepare_action | string | |
timeout | number |
run_generic_inquiry
Run a Generic Inquiry via OData. `name` is the GI's exposed OData name. Requires the instance's `tenant` (company login) to be set in config. A 404 is checked against GIDesign, and the error says whether the inquiry exists but is not exposed via OData (with the classic-plane route to read it) or does not exist.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
filter | ||
instance | ||
top |
list_dacs
List every DAC (data access class) exposed via the DAC-based OData v4 interface. Returns the OData service document (each DAC's name + url). This reaches data DIRECTLY from DACs (e.g. PX.Objects.GL.GLTran) WITHOUT needing the screen on a web service endpoint — the complement to the contract API's endpoint-bound view. Requires the instance's `tenant` to be set in config. Query one with run_dac_odata.
| Parameter | Type | Description |
|---|---|---|
instance |
run_dac_odata
Query a single DAC through the DAC-based OData v4 interface. dac: the DAC OData name from list_dacs (e.g. "PX_Objects_GL_GLTran", "Account"). filter/select/expand/top/skip: OData v4 query options ($filter, $select, ...). Read-only. Use this to read tables/screens NOT exposed on the contract endpoint (the contract API only sees entities added to the endpoint). Requires `tenant`. filter_in={"Field": [v1, v2, ...]}: match a field against a LIST of values WITHOUT a big `Field eq v1 or Field eq v2 or …` filter — that multi-OR form frequently TIMES OUT server-side o…
| Parameter | Type | Description |
|---|---|---|
dac * | string | |
dedup | boolean | |
expand | ||
filter | ||
filter_in | ||
instance | ||
select | ||
skip | ||
timeout | ||
top |
get_dac_metadata
What columns/fields does this table have? Reads a DAC's field definitions from the OData CSDL ($metadata) — incl. which are mandatory/required. The authoritative source for which fields a DAC requires. Each property carries a Nullable flag: Nullable="false" (or a key field) = MANDATORY. Works for DACs that run_dac_odata cannot read at all — an EntityType with no EntitySet, such as SYData or FinYear. (This used to name single-row config DACs — GLSetup, FinancialYear — as unreadable. They are OData SINGLETONS: run_dac_odata reads them with no $top/$filter, me…
| Parameter | Type | Description |
|---|---|---|
dac | ||
instance | ||
mandatory_only | boolean | |
raw | boolean |
guide
START HERE — pick the right grp-mcp tool for your task (this server has 100+ tools across five Acumatica planes, so guessing wastes calls). Returns a task->tool decision map + the plane-by-shape routing rule. Read-only, instant (static, no API call). topic: narrow the answer — one of: "read", "write", "grid", "process", "setup", "lookup", "customization", "import", "files", "actions", "session", "discover", "planes". Omit for the full overview. (For a SPECIFIC screen use screen_capabilities(screen_id); for financial-foundation setup use get…
| Parameter | Type | Description |
|---|---|---|
topic |
kb_status
Which knowledge base this server consults before a write, and whether it ANSWERS. Read-only. Makes one real search call so the answer is evidence, not a config echo — a spec can be perfectly well-formed and point at a dead host, a wrong path, or a rejected token, and all three look identical in the file. Written for the migration off a locally spawned grp-kb onto a hosted KB endpoint: the only other way to confirm a swap took effect was to attempt an ERP write and read `preflight.kb`, which is a poor way to test a config change. Both shapes stay supported — no…
| Parameter | Type | Description |
|---|---|---|
instance | ||
query | ||
timeout | number |
knowledge
grp-mcp's OPERATIONAL KNOWLEDGE base — distilled, sanitized Acumatica-driving lessons served straight from the package (read-only, no API call, instant). This is the hard-won "how Acumatica actually behaves" knowledge that turns "the screen won't write" into "here's the exact command shape": the five planes and which to reach for, the classic screen-SOAP command mechanics (descriptor `set` vs flat `key`, the ~335-byte no-bind signal, mass-update safety), the modern UI-screen JSON protocol, the DATA-MIGRATION recipe + every silent-failure trap, the GL/foundation setup…
| Parameter | Type | Description |
|---|---|---|
section |
find_tool
Search all grp-mcp tools for your task, described in your own words — no tool name needed. Complements guide(), which answers by topic: this ranks every tool's description, and the phrases people use for it, against your query, so a paraphrase can still find the right tool — e.g. "free up API seats" -> release_sessions, "why did my write fail" -> diagnose_save_error. READ ALL THE CANDIDATES — do not just take the first. Measured 2026-09-17 over 117 labelled queries, the top hit is right three times in four and the right tool is in the top 3 84% of the time;…
| Parameter | Type | Description |
|---|---|---|
query * | string | |
include_schema | boolean | |
top_k | integer |
get_setup_guidance
Baked-in Acumatica FOUNDATION setup map — prereqs/required-fields/gotchas/order per screen. The documented, version-stable knowledge for standing up the financial foundation (System/Company -> GL -> Common -> CA -> AP/AR -> Tax -> Currency), distilled from the Acumatica KB + proven experience. Consult it BEFORE driving any setup screen so you know the prerequisites, required fields, validation gotchas, correct order, which grp-mcp tool/plane to use, and how to verify — instead of hitting a screen cold and eating a generic error. This is the machine-readable compani…
| Parameter | Type | Description |
|---|---|---|
area | ||
screen_id |
why_not_posted
Why has this GL batch not posted? Reads the usual causes and says which one applies. READ-ONLY — changes nothing. batch_nbr: the batch number (e.g. "AP26000006"). module: GL / AP / AR / CA / FA / IN / ... — needed only when the same number exists in more than one module. Checks, in the order a consultant would: the batch itself (released? posted? on hold? approved?); the company its branch belongs to; that company's financial period and the master period for the batch — Status must be Open, the batch's module must not be closed for it, and the date must not…
| Parameter | Type | Description |
|---|---|---|
batch_nbr * | string | |
instance | ||
module |
who_can_access
Which roles can open this screen — and, given a username, can THAT user, and through which role? READ-ONLY — changes nothing. screen_id: the form ID (e.g. "GL202500"). username: the login name to explain (optional). Reads the access rights set ON the screen per role (Revoked / View Only / Edit / Insert / Delete), and with a username the user's roles and account state. A user with several roles gets the MOST PERMISSIVE level among them (Acumatica's rule for forms), so one role granting access is enough. A role with NO row on the screen inherits from a pare…
| Parameter | Type | Description |
|---|---|---|
screen_id * | string | |
instance | ||
username |
setup_readiness
Report an instance's setup state: enabled features + per-module config gaps. Reads the FeaturesSet config DAC (which modules/features are switched on) and runs best-effort existence probes for the prerequisite records each financial module needs (ledger, chart of accounts, customer/vendor classes, ...), then cross-checks the Acumatica implementation checklist to flag what's still missing. Read-only. The engine for guided/no-knowledge setup: call it to learn "where is this instance now, and what's the next step." Probes degrade to `exists: null` (unknown) for any D…
| Parameter | Type | Description |
|---|---|---|
instance |
list_attachments
List the files attached to a record (name + download href). Reads the record's `files` collection. Use a returned `id`/`filename` with download_file. (To ADD a file, use attach_file.)
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
record_id * | string | |
instance |
download_file
Download a file attached to a record to disk. entity/record_id: the record. filename: which attached file to pull (defaults to the record's first/only attachment). out_path: where to write the bytes. Resolves the file's href from the record's `files` collection, then STREAMS the bytes, aborting before anything hits disk if the download exceeds the instance's max_file_bytes. (List a record's files first with list_attachments.) out_path must be within the instance's write_roots (if configured).
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
out_path * | string | |
record_id * | string | |
filename | ||
instance |
download_file_by_id
Download a generated file, report or attachment by its file GUID, and save it to disk. Use when a screen has PRODUCED a document — a generated .docx/.pdf/.xlsx — and you want the bytes, or when download_file cannot reach an attachment. Takes the FileID GUID straight from the DAC column holding it, so it needs no record id and no endpoint entity. Why it exists: download_file resolves an attachment through `GET /entity/<Endpoint>/<Entity>/<record_id>`, so it dies with the record — an entity whose DAC key is not mapped onto the endpoint answers that GET with 50…
| Parameter | Type | Description |
|---|---|---|
file_id * | string | |
out_path * | string | |
instance |
run_report
Run a Report-type endpoint entity and save the rendered file (PDF) to disk. report_entity: the report entity's name on the configured endpoint (a Report entity must be added to the endpoint first — list_entities to see them). parameters: the report's parameters as a plain map, auto-wrapped, e.g. {"LedgerID": "ACTUAL", "FromPeriod": "012026", "ToPeriod": "122026"}. out_path: where to write the report bytes. poll_interval/timeout: seconds between status polls / max seconds to wait for the report to render before giving up. Contract flow: PUT repor…
| Parameter | Type | Description |
|---|---|---|
out_path * | string | |
report_entity * | string | |
instance | ||
parameters | ||
poll_interval | number | |
timeout | number |
download_classic_report
Render a CLASSIC report screen (AP630500, AR6xxxxx, SM6xxxxx family — the ones screen_capabilities/ui_get_structure fail on with "the view doesn't exist") and save the rendered file (PDF or Excel) to disk. Fully headless — no browser, no SM207060 endpoint entity needed. param_contract (optional): a `{raw_field: {"shape": ...}}` map from report_param_probe — supply it only for an UNFAMILIAR report screen whose parameters don't filter with the built-in shapes. The known AP/AR/GL report families need nothing here. This is a DIFFERENT mechanism from run_report (…
| Parameter | Type | Description |
|---|---|---|
out_path * | string | |
screen_id * | string | |
fmt | string | |
instance | ||
param_contract | ||
parameters | ||
report_filename |
report_param_probe
Discover a classic report screen's parameter wire-shapes as a machine-readable contract — the deterministic alternative to guessing shapes field-by-field. Classic report screens publish NO server-side contract for how to submit each parameter (ui_get_structure fails; SOAP GetSchema has field names only; the launcher HTML has no descriptor — the widgets are built client-side). The ONE machine-readable source is the RENDERED DOM: each parameter widget's CSS class + initial `_state` value deterministically encode its wire shape. This tool bridges that. TWO modes:…
| Parameter | Type | Description |
|---|---|---|
probed_fields |
download_filter_report
Render a MODERN-UI "Filter screen + report action" screen (e.g. GL601000 "Trial Balance Daily") and save the rendered file (PDF or Excel) to disk. A SECOND, DIFFERENT classic-report mechanism from download_classic_report's — found live on devsite 2026-07-23. Use screen_capabilities or ui_get_structure first to tell them apart: this family shows a plain "Filter" view (no "Parameters" container, screen_get_schema returns nothing useful) plus a report-firing action ("Run Report" / internal name usually "printReport"). If a screen instead has a "Parameters" container…
| Parameter | Type | Description |
|---|---|---|
out_path * | string | |
screen_id * | string | |
set_fields * | array | |
action | string | |
fmt | string | |
instance |
set_note
Set (or clear) the Note text on a record. The contract API exposes a record's note as the `note` field. Pass note="" to clear it. record_id identifies the target record (key/GUID). Requires the instance's "allow_write": true.
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
note * | string | |
record_id * | string | |
instance |
list_published
List customization projects currently published on the instance (read-only). The full response includes every published ITEM (screens/DACs/graphs) and can be large (250KB+). Narrow it: names_only=true -> just {"projects": [name, ...]} (what publish_customization merges). project="X" -> only the published items whose key mentions project X, plus the project name list.
| Parameter | Type | Description |
|---|---|---|
instance | ||
names_only | boolean | |
project |
export_customization
Export a customization project to a .zip on disk (Customization getProject). Pulls the project content via API and writes it to out_path. This closes the headless edit loop for endpoints: export_customization -> edit project.xml -> import_customization -> publish_customization (no browser export needed). out_path must be within the instance's write_roots (if configured); the decoded size is checked against max_file_bytes before anything is written to disk (this is a check-after-buffer, not a stream-with-abort — the SOAP/JSON envelope this comes wrapped in has to…
| Parameter | Type | Description |
|---|---|---|
out_path * | string | |
project_name * | string | |
instance |
import_customization
Import a customization package (.zip on disk) into the instance. Creates/replaces the project; does NOT publish it. Requires the instance's profile to have "allow_publish": true. is_replace_if_exists: overwrite a same-named project (default true; false errors if it exists). project_level: optional int precedence level. project_description: optional description stamped on the created project. backup=true: before a REPLACE, export the EXISTING project to disk first (cheap insurance — lets you restore it if the import is wrong). Defaults the backup to…
| Parameter | Type | Description |
|---|---|---|
project_name * | string | |
zip_path * | string | |
backup | boolean | |
backup_path | ||
instance | ||
is_replace_if_exists | boolean | |
project_description | ||
project_level |
publish_customization
Publish customization project(s) — MERGE-safe + NON-BLOCKING. ⚠️ Acumatica's publishBegin publishes EXACTLY the set you pass — every currently published project NOT in that set gets UNPUBLISHED. To prevent silently wiping other modules (a real incident), this tool now reads what's already published and, by default, MERGES: mode="merge" (DEFAULT): publishes (currently-published ∪ project_names) — nothing is ever unpublished. This is what you almost always want. mode="replace": publishes ONLY project_names. Any currently-published project not in…
| Parameter | Type | Description |
|---|---|---|
project_names * | array | |
confirm_unpublish | boolean | |
dry_run | boolean | |
instance | ||
mode | string | |
options | ||
tenant_login_names | ||
tenant_mode | string | |
wait_seconds | number |
publish_status
Check a background publish started by publish_customization (in-memory read, no API call — instant). job: the `job` id publish_customization returned; omit for the most recent. Returns the same shape (status completed | in_progress | error | refused). in_progress means this server is still calling publishEnd, which Acumatica needs to finish a publication (it runs the customization plug-ins), including through the site restart a publish causes. Poll this until status != "in_progress", and do not start another publish or validation meanwhile: the site refuses it.…
| Parameter | Type | Description |
|---|---|---|
instance | ||
job |
unpublish_customization
Unpublish ALL customization projects (rollback). Website-level recompile. tenant_mode: Current | All | List. Requires "allow_publish": true.
| Parameter | Type | Description |
|---|---|---|
instance | ||
tenant_login_names | ||
tenant_mode | string |
call_tool
Invoke any grp-mcp tool by name — the other half of find_tool. Use when find_tool named a tool that is not registered directly in this session (see GRP_MCP_CORE_ONLY). Behaviour is identical to calling it directly: same function, same write gates, same KB pre-flight. tool: exact tool name from find_tool. args: that tool's arguments as an object; get its shape from find_tool's `input_schema`. Omit for a no-argument tool.
| Parameter | Type | Description |
|---|---|---|
tool * | string | |
args |