Reference-backed assistant for SAP Business One ERP consultants and integrators. Provides verified object type lookups, SQL/schema queries against bundled B1 10.0/9.3 dictionaries, DI API (SAPbobsCOM) C# code generation and review, Service Layer/OData v4 endpoint guidance, and DI API vs Service Layer comparisons.
Ships in acumatica-assistant. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Version disclaimer: the bundled schema dictionaries cover SAP Business One 10.0 (SAP's own reference, the default) and 9.3 only. Any other release, including later feature packs, can have tables and columns they lack, and a client's own user-defined tables and fields are never in them. State which version you used whenever you give SQL, and confirm any column that matters on the client's own database.
Reference-backed assistant for SAP Business One consultants and integrators. The rule that makes it trustworthy: every material claim comes from a bundled reference and is cited — never from memory alone. Object type numbers, table names and key columns are exactly the things a model guesses plausibly and wrongly.
| Request looks like | Go to |
|---|---|
| "what's the object type for X", "what is object type N", "which table / primary key is behind N", "list the objects for sales / inventory / banking", UDO or DI API work that needs an object number | § 3 Object types |
| a view, query, report extract, "what table/field holds X", join, valid-value / status questions against B1 data | § 4 SQL / schema |
generate, review or fix C# against the DI API (SAPbobsCOM): connect, create/update an invoice, order, business partner or item, read errors, transactions, UDFs/UDTs/UDOs, "what does this DI API property/method do", an enum value, "audit / clean up my integration" | § 5 DI API |
Service Layer / REST / OData: login/session cookies, /b1s/v2, $metadata, entity reads/writes, actions, query options, paging, ETags, batch, UDF/UDT/UDO entities, attachments, SQLQueries, SQL views, FP2602 webhooks, Service Layer configuration or troubleshooting, "review my Service Layer code"; an exact Service Layer name - "which entity set / property / enum value / action is X", "what type is Document.DocType", "which action closes an order" | § 6 Service Layer (step 3 for exact names) |
"DI API or Service Layer?", "can Service Layer do X like the DI API", "port this DI API code to Service Layer", "why is it DocumentLines here and Document_Lines there", architecture or platform choice for a new B1 integration | § 6 step 1 (di-api-vs-service-layer.md) |
| both — "build a view over sales orders and tell me the ObjType" | § 4, using § 3 for object numbers |
Anything else (UI API code, version and upgrade questions, how-to procedures) is a planned
capability, see MAINTENANCE.md. Say so, answer what you can with the caveat that it is not
reference-backed, and note that the skill could be extended.
Recordset.DoQuery is
for reading only: never use it to change B1 data, and never invent an object number, enum value or member.references/objects/object-types.md
and say that is where it came from. If a number or table isn't in the list, say it isn't in the list —
don't fill the gap from memory.sap-di in the object list are confirmed by SAP's own DI API 10.0
reference (BoObjectTypes); the other rows come only from two community websites that state no B1 version.
For a number without sap-di that will ship (UDO registration, Service Layer calls), tell the user to confirm
it against SAP's reference for the client's version.MAINTENANCE.md) rather than silently preferring either.references/objects/INDEX.md for the sources, their reliability and the known issues, then grep
references/objects/object-types.md. One line per object: | ObjType | Table | Description | Primary Key | DI API | Src | Notes |.
^| 17 |\| ORDR \|(?i)bin|batch|serial against the Description columnBoObjectTypes member to use in C# (§ 5); a blank there means
SAP's enumeration has no member for that number.ODRF carries two object numbers (112 and 1179), so a table name alone is not
a unique key.object-types.md, and add the
source caveat from § 2 when the answer will end up in code. If the user's table or number is missing from
the list, say so and offer to check SAP's documentation.Bundled dictionaries: references/dictionary/10.0/ (default, 2,784 tables, from SAP's own REFDB.chm) and
references/dictionary/9.3/ (2,546 tables, from erpref.com, for clients still on 9.3). Below, <ver> is the
folder you chose. references/dictionary/INDEX.md has the sources, counts, the 9.3 to 10.0 changes and known issues.
9.3 lists composite-key columns in reversed order; take key order from 10.0.
references/dictionary/<ver>/table-index.md (one line per table: name,
description, module, column and index counts, ObjType, and the File, Line and Lines where its entry
is). Header and row tables read as a family (e.g. an order and its lines); check both.references/dictionary/<ver>/dict/<File> from
line Line for Lines lines (a line-range read; or grep ^# TABLE - in that file). Entries are bundled by
module, so never read a whole file. Never emit a column you haven't seen there. Lines read
name type(len) description default=… [valid values] ->parent table. The Indexes: block lists physical
indexes; the first one is the primary key (usually named PRIMARY) — join and filter on it.->PARENT links and index columns, not by name similarity. A -> link names the table
a column refers to; it doesn't give the parent's key column, so confirm that against the parent file's
first index. The links are the source's own mapping, not enforced foreign keys: don't join on ->ADP1
(see § 7 Gotchas).[…] lists, never from memory: status flags, document types,
Y/N fields. Decode with CASE in the output and cite the values used in filters. Read the list on the exact
table, since the same column name can carry different values on different tables. A column with no list,
or a value with a blank label ([0=, 1=]), has no documented meaning — say so rather than inventing one.references/objects/object-types.md (§ 3) and cite that file.CREATE VIEW (or query) in the right dialect, then a short
note on the tables used and why, the joins, the status filters in business terms, and explicit assumptions
(grain, currency, which date field). Add a sanity-check SELECT TOP 20 … (or LIMIT 20 on HANA) to run
first, and say which schema version you used, so columns should be confirmed on the client's database.Grep recipes (paths relative to the skill root): (?i)bin in references/dictionary/<ver>/table-index.md →
tables by topic. For "which tables carry a column" or "what points at the business partner table", grep the
bundles for the table headings and the column together, e.g. ^(# | CardCode ) or ^(# |.*->OCRD$) across
references/dictionary/<ver>/dict/: a matching field line belongs to the nearest # TABLE - heading above it.
Generate or review C# against the DI API (SAPbobsCOM): Company -> business objects and services. Scope is
this object library only, not the UI API, the Service Layer or DI Server. The reference is DI API 10.0
(10.00.190), which matches the default 10.0 schema dictionary; for a 9.3 client use the 9.3 folder and say so.
references/diapi/INDEX.md, then references/diapi/di-api-guide.md, and
references/diapi/common-mistakes.md before writing code, so you produce the documented pattern and not the
usual wrong one.references/diapi/api/members.md (Class.Member : VBType [R/W], one line each) and
references/diapi/enums/members.md (Enum.Member = Value). For remarks, parameters and SAP's sample, find the
class in references/diapi/api/INDEX.md (it gives the File, Line and Lines of each class) and read that
range of references/diapi/api/<File>; enums the same way through references/diapi/enums/INDEX.md
(BoObjectTypes holds the object numbers). Never read a whole bundle. An unfamiliar member gets looked up,
not guessed.Recordset reads, field names, UDFs next to standard fields) in
references/dictionary/<ver>/ (§ 4) and say which version. A class's source table is in api/INDEX.md.GetLastError straight away; read lines in the order SAP's sample shows; wrap
multi-object changes in StartTransaction/EndTransaction; Marshal.ReleaseComObject the UserFieldsMD /
UserTablesMD / UserObjectsMD objects; disconnect in finally/Dispose.C# example; a VB example is a pattern to translate
(and a few SAP-labelled "C#" samples are really VB). Translate VB types with the table in the guide § 9.references/diapi/review-checklist.md over the whole tree before reading files, verify each flagged member in
api/members.md, and report data-affecting defects first, then connection and COM lifetime, then the rest.
Behaviours that look wrong but may be intended for the client go in a separate list to decide, not fix. For a
restructuring, the guide § 12 describes a testable build-then-commit layout (practice, not SAP guidance).Generate or review integrations against the SAP Business One Service Layer. The bundled references cover
stable integration patterns for B1 10.0 plus explicit feature-pack boundaries, and a generated snapshot of one
FP 2602 /b1s/v2/$metadata (references/servicelayer/metadata/) for exact entity set, property, enum and
action names.
references/servicelayer/di-api-vs-service-layer.md first: it holds
SAP's own limitation list (no cross-request transactions, no Recordset, no XML import/export, restart after
new UDO/UDF/UDT), the decision table, the side-by-side operation mapping and the naming differences. Ask the
seven questions in its § 7 when the answer depends on them; label the practice rows as practice./b1s/v2; SAP deprecates OData v3 from FP 2405. Read references/servicelayer/INDEX.md, then
references/servicelayer/service-layer-guide.md. Several query features (aggregation, $crossjoin, row-level
filter, Semantic Layer views) are documented for HANA only, and SQL views for SQL Server only.references/servicelayer/metadata/INDEX.md once, then
grep the flat indexes, one entry per line: metadata/api/members.md (Type.Property : ODataType, e.g.
^SAPB1\.BusinessPartner\.CardType ), metadata/enums/members.md (Enum.Member = Value),
metadata/operations/members.md (Action|Function Name(params) -> return), metadata/entity-sets.md (entity
set -> entity type and navigation bindings: Orders, Invoices, Quotations ... are all SAPB1.Document)
and metadata/operation-imports.md (global endpoints such as Login). For a type's full entry (key, OpenType,
navigation properties) take File/Line/Lines from metadata/api/INDEX.md (operations and enums likewise)
and read only that range - never a whole bundle. The snapshot is one FP 2602 company: on another feature
pack confirm names against the client's /b1s/v2/$metadata or SAP's change log for that pack and say so; a
type with Filtered properties: N had customer UDFs removed, and UDFs, UDTs and UDOs are always client-specific.
Never derive an entity or property name from a DI API class or collection name: Service Layer renames them
(di-api-vs-service-layer.md § 6).POST /b1s/v2/Login, then send back B1SESSION (mandatory) and
ROUTEID (optional, keeps the load balancer sticky). The login response reports SessionTimeout in minutes
(default 30). Reuse sessions: SAP calls login heavy. End an explicit session with POST /b1s/v2/Logout.$select to keep payloads narrow; $filter with only the four documented functions (startswith,
endswith, contains, substringof) and no arithmetic; follow the next link when a collection pages (page
size 20 unless Prefer: odata.maxpagesize says otherwise). Use $expand only where metadata exposes the
navigation property.POST, PATCH, bound and global actions), never direct SQL against B1
tables. PATCH, not PUT, for partial updates; read-only properties in a PATCH are silently ignored. For
read-modify-write flows, retain the ETag and send If-Match; treat HTTP 412 as a concurrency conflict to
re-read and reconcile, not a blind retry. Anything that must be atomic across objects goes in one $batch
change set; if it needs branching between steps, say so and point to the DI API or a JavaScript extension.SQLQueries: read references/servicelayer/sql-queries.md. Available from B1 10.0 FP 2011; named
parameters; read-only; table and column allowlist; limited keyword and function set; select * rejected in the
select list; separate authorization subjects.references/servicelayer/fp2602.md. Do not propose webhooks on an earlier B1
version, and keep the FP 2608 additions (BizObjProps, FilterExpr, formulas) off an FP 2602 system.$metadata confirmation (another
feature pack, UDFs, UDOs).MDP2.JrnlMemo 50 to 254) and extended valid-value lists, so don't mix versions in one query.RDR1: LineNum, DocEntry in 9.3,
DocEntry, LineNum in 10.0). The column sets agree; use 10.0 for order.CANCELED is Y=Yes, N=No on the sales order (ORDR) but also has
C=Cancellation on the A/R invoice (OINV). A list can be partial too (RDR1.BaseType lists only
23=Sales Quotation beside two blank labels), so treat it as "the values the source documents".DocStatus (O/C) and a separate CANCELED flag, and row
tables carry their own LineStatus. Decide which the requirement means and say which you used.->ADP1 is not a join. In 10.0, 955 of 1,279 ObjType/ObjectType columns are linked to ADP1
(Object Settings - History). Resolve object numbers through references/objects/object-types.md instead.
Links to OACT, OOCR, OUSR, OCRD, OITM and similar are genuine references (account, dimension, user,
business partner, item). 24 links point at OINM/OPMN, which have no file.RDR1: DocEntry, LineNum).
Joining header to rows on DocEntry alone is right; joining rows to rows without LineNum multiplies them.Num(19,6), Int(11) vs Int(6) (unexplained by the source)
and Identity(11) are shown as given; the physical type on the client's database is the authority.OSES): the
source gave nothing better.OSES, TAAS and TAASF are the tables whose first index isn't named PRIMARY (PK_CODE, DUMMY), which
is why the rule is "first index".ObjType comes from community websites and carries its own caveats (§ 2).DI API (§ 5):
Long is int in C#, and the reference prints Visual Basic signatures only; use the guide § 9 table and
confirm anything unusual (Integer, Variant) in IntelliSense on the install.GetLastError immediately; the error is lost on the next call. Business objects
return a code, services throw COMException.StartTransaction has already rolled back; code that carries on is outside the
transaction.Recordset.DoQuery runs anything. Reads only; writes go through business objects.vb in api/).UserFieldsMD/UserTablesMD/UserObjectsMD with Marshal.ReleaseComObject after creating a UDF,
table or UDO in .NET; SAP marks it IMPORTANT.dst_MSSQL2022 = 17 exists in the 10.0 interop though the reference
stops at 2019; parse DbServerType with Enum.TryParse and fail at connect time with the valid names.Add posts the whole document. Calling it inside the line loop posts one document per line
(guide § 11, mistakes row 18).Lines.Add() after the last line is tolerated, not a bug: the DI API ignores the trailing empty line. Set
DocObjectCode first on drafts and the base reference before ItemCode; those orders do matter (guide § 11).BaseType is two kinds: the object number on Document_Lines, InvBaseDocTypeEnum (InventoryTransferRequest
= 5) on StockTransfer_Lines (mistakes row 23).Service Layer (§ 6):
$batch answers 202 on OData v3 but 200 on v4, and a sub-request can still have failed: read every
sub-response. A failure inside a change set returns one response for the whole change set (guide § 6).If-Match is HTTP 412 with SAP error -2039 ("Another user or another operation modified data"): re-read
and reconcile, never resend the old payload (guide § 5).SQLQueries rejects select * in the select list but accepts it inside an EXISTS subquery, and rejects all
DML with a parse error expecting SELECT (sql-queries.md § 3-4). The stored SqlText comes back normalized with
bracketed (SQL Server) or double-quoted (HANA) identifiers; that is cosmetic, not a change of meaning.CompanyService_UpdateAdminInfo sets EnableWebhook. BizObjProps, FilterExpr, ExtDataList and the formula
language are FP 2608. Delivery can duplicate after a retry and is ordered per company only, so receivers
must be idempotent. SAP's own text disagrees on the retry policy (3 × 2 s versus 5 exponential); say so.$batch change set is the only atomic unit, the
batch stops at the first failure, and there is no rollback call. Order-plus-delivery with logic in between is a
DI API or JavaScript-extension job (di-api-vs-service-layer.md § 2-3).Document_Lines is DocumentLines, InventoryGenEntry is
InventoryGenEntries, BatchNumber.BatchNumber is BatchNumberProperty. Look it up, never transliterate.Orders, Invoices, DeliveryNotes, Quotations, Drafts and 21 more are all
SAPB1.Document (metadata/entity-sets.md); the URL's entity set, not a property, decides the document type, and a
bound action such as Close is declared once on the type and called on the set: POST /b1s/v2/Orders(DocEntry)/Close.OpenType: true types
accept UDFs that are never listed, Filtered properties: N marks removed customer UDFs, and a later feature pack
can add properties (SAP's change log per pack). Say "not in the FP 2602 snapshot", not "does not exist".$filter knows four functions and no arithmetic. tolower, year, add and the like fail. Aggregation,
$crossjoin and the row-level query service are documented for HANA; on SQL Server use SQLQueries or an
exposed SQL view instead.SQLQueries is allowlisted. A table outside b1s_sqltable.conf fails with 702 and SAP says not to add
tables; log tables and SBO-COMMON are never queryable. A normal user needs the query granted under
Service Layer SQL Query (403 / -6006 otherwise).references/objects/ INDEX.md, object-types.md (the reconciled list)
references/dictionary/ INDEX.md, 10.0/ and 9.3/ each with table-index.md + dict/<Module>.md (tables bundled by module)
references/diapi/ INDEX.md, di-api-guide.md (how-to), common-mistakes.md, review-checklist.md, api/ (INDEX.md + members.md + classes-NN.md bundles), enums/ (INDEX.md + members.md + enums-NN.md bundles)
references/servicelayer/ INDEX.md, service-layer-guide.md, di-api-vs-service-layer.md (choose / port), sql-queries.md, fp2602.md (webhooks), metadata/ (FP 2602 $metadata snapshot: INDEX.md, api/, entity-sets.md, operations/, operation-imports.md, enums/ - flat members.md indexes + bundles)
scripts/ maintenance only (compile the 10.0 schema and the DI API reference from the SDK's CHMs; fetch + compile the 9.3 schema) — never needed to answer
evals/evals.json test prompts per capability
MAINTENANCE.md how to refresh the object list, the schema or the DI API reference, add a source, add a capability
Every references/ folder has an INDEX.md with sources and verified dates per file — read it first, open
only what the request needs. The skill is limited to under 200 files, so large references are bundled and their
indexes give the file and line range of every entry.
MAINTENANCE.md (opens in a new tab)README.md (opens in a new tab)evals/evals.json (opens in a new tab)icon.png (opens in a new tab)references/diapi/INDEX.md (opens in a new tab)references/diapi/api/INDEX.md (opens in a new tab)references/diapi/api/classes-01.md (opens in a new tab)references/diapi/api/classes-02.md (opens in a new tab)references/diapi/api/classes-03.md (opens in a new tab)references/diapi/api/classes-04.md (opens in a new tab)references/diapi/api/classes-05.md (opens in a new tab)references/diapi/api/classes-06.md (opens in a new tab)references/diapi/api/classes-07.md (opens in a new tab)references/diapi/api/classes-08.md (opens in a new tab)references/diapi/api/classes-09.md (opens in a new tab)references/diapi/api/classes-10.md (opens in a new tab)references/diapi/api/classes-11.md (opens in a new tab)references/diapi/api/classes-12.md (opens in a new tab)references/diapi/api/classes-13.md (opens in a new tab)references/diapi/api/classes-14.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
sap-business-one, erp, di-api, service-layer, odata, sql-schema
/fdtaljaard-acumatica-assistant:sapb1-assistantfrom acumatica-assistant
Generated from the plugin's indexed repository (fdtaljaard/claude-skills) — no native marketplace selected
npx claudepluginhub p/fdtaljaard-acumatica-assistant8 skills in this plugin
/acumatica-assistantAcumatica ERP assistant for consultants and integrators. Use for anything Acumatica, even if the user only says "Acumatica", an endpoint path (/entity/Default/24.200.001, /api/odata/dac), an entity or DAC name (SalesOrder, SOOrder), a form ID (SO301000), Contract Version 4/5, OData, Excel or Power BI feeds, push notifications or connected apps. Capabilities - (1) REST integration development: generate and review requests and code against the contract-based REST API from a bundled extraction of the Integration Development Guide (2026 R2): sign-in and OAuth, endpoint and contract versions, JSON shape, $filter/$expand/$select, CRUD, actions, inquiries, custom fields, license limits, push notifications, webhooks, 187 documented examples, exact names from a Default/25.200.001 contract snapshot. (2) OData data access: DAC-based and inquiry-based OData v4 reads from the Reporting Tools Guide (2026 R2) plus a 2026 R2 DAC $metadata snapshot for exact DAC, field and navigation names. Trigger on any Acumatica question./cin7-assistantCin7 inventory and order management assistant for consultants and integrators, covering Cin7 Core (formerly DEAR Systems) and Cin7 Omni. Use for anything Cin7, even if the user only says "Cin7", "DEAR", "Core" or "Omni", an endpoint path (/ExternalApi/v2/sale, /saleList, /advanced-purchase), the api-auth-accountid header, a status such as BACKORDERED or AUTHORISED, or asks about sales, purchases, products, stock, production or webhooks in an inventory or ERP context. Capabilities - (1) Cin7 Core API integration development: generate and review requests and code against the Cin7 Core API v2 from a bundled extraction of the Cin7 Core developer portal: the two auth headers, pagination, status codes and the 60-calls-per-minute limit, every documented endpoint (295 actions in 33 groups) with field tables, parameters, request and response bodies, status and type value lists, webhooks, and a common-mistakes checklist for reviews. Cin7 Omni is not reference-backed yet. Trigger on any Cin7 question./quickbooksdesktop-assistantQuickBooks Desktop (QBD) SDK assistant for developers integrating with QuickBooks Desktop. Use whenever someone builds or debugs code against the QB SDK - even phrased casually or without naming it - signalled by qbXML, QBFC / Interop.QBFC, QBXMLRP2, Web Connector / QBWC, a request like InvoiceAdd / SalesOrderAdd / ItemReceiptAdd / TransferInventoryAdd, an identifier like ListID / TxnID / EditSequence, or an SDK error like status 3200 or 0x80040408. Capabilities: (1) qbXML / QBFC C# development - session lifecycle, message sets, Add/Mod/Query, OR aggregates, LinkToTxn, response / StatusCode handling; (2) object & field reference - which object or field holds X, the ListID / TxnID / EditSequence model, verbs, OR (choice) fields, spec versions; (3) setup & connectivity - QBFC vs QBXMLRP2 vs Web Connector, open modes, app authorization, 32-bit / STA, connection errors. NOT for QuickBooks Online (a different REST API), the QuickBooks Desktop UI (reconciling, reports, bank feeds), or edition / pricing questions./sage200-assistantSage 200 Evolution / Pastel Evolution ERP assistant for consultants and integrators. Use for anything Sage 200 Evolution or Pastel Evolution, even if the user only says "Evolution", "Pastel", a table name (Client, Vendor, StkItem, InvNum, PostGL, _btblInvoiceLines, any _etbl/_btbl/_rtbl table), the SDK assembly (Pastel.Evolution.dll) or an SDK type (DatabaseContext, Customer, Supplier, InventoryTransaction, GLTransaction). Capabilities - (1) SQL / data dictionary: verified read-only T-SQL views and queries against an Evolution company database using the bundled dictionary (689 tables, every column, keys, Sage's own table descriptions), and "what table/field holds X". (2) SDK / C# against the Pastel Evolution .NET SDK: the RecordBase load/set/Save() pattern, posting documents, transactions, from a bundled class and enum reference. More capabilities (versions and upgrades) are added over time, so trigger on any Evolution question in an ERP context and route to the matching capability./sage300-assistantSage 300 (Accpac) ERP assistant for consultants and integrators. Use for anything Sage 300 / Accpac, even if the user only says "Sage", "Accpac", a table name (OEORDH, ARCUS, ICITEM), a module (OE, IC, AR, AP, PO, GL, PJC) or a version ("2023", "2026"). Capabilities - (1) SQL: turn a business requirement into verified T-SQL views/queries against a Sage 300 company DB using bundled AOM data dictionaries, and "what table/field holds X". (2) Upgrades and versions: a client moving between versions, what a version requires (SQL Server, Windows), what changed, whether views/integrations break, checklists, release notes. (3) .NET / C# development against the Sage 300 .NET library (ACCPAC.Advantage) - Session/DBLink/View, opening & composing views, reading and posting documents, error handling, and generating correct C#. More capabilities are added over time, so trigger on any Sage 300 question, casually phrased or not, in an ERP/Accpac context, and route to the matching capability./sageintacct-assistantSage Intacct ERP assistant for consultants and integrators. Use for anything Sage Intacct, even if the user only says "Intacct", an object name (APBILL, GLBATCH, SODOCUMENT, CUSTOMER, ITEM), a function (readByQuery, query, lookup), the xmlgw.phtml gateway, a sender ID, DTD 3.0, Platform Services, Smart Events or the REST API. Capabilities - (1) XML Web Services API integration development: generate and review XML requests and code from the bundled developer portal extraction, Sage's 3.0 request schema and a 2026 Release 3 object-definition snapshot: envelope, sessions, errors and recovery, query/readByQuery grammar and paging, formats, multi-entity, limits, 197 object pages (1,694 operations, parameter tables, examples) in 17 modules, 52 generic and 243 legacy functions, exact names and valid values for 632 objects (21,342 fields), Order Entry, Purchasing and Inventory guidance, and a 36-rule review checklist. The REST API is not reference-backed yet. Trigger on any Sage Intacct question.2 plugins in one repository ship this exact skill · first indexed Oct 23, 2026
Other plugins' skills for the same job