ERP API Field Mapping Worksheet for Agent Tools
Most agent integration bugs are mapping bugs: a padded vendor code, a date in the wrong format or an enum that means something different in the database. This worksheet makes the mapping explicit before anyone writes the tool.
| ERP field | ERP type | Tool parameter | Tool type | Required | Max length | Transform or rule | Exposed to model | |
|---|---|---|---|---|---|---|---|---|
The sample field names are generic, not taken from a specific ERP version. Replace them with the exact field names from your API documentation and mark pricing or personal data as Masked or No.
Check my field mapping
Optionally have a mapping reviewed against your ERP's API for missed code lists and units.
Optional. The tool and every export work without this. No spam.
How to use the worksheet
Start with the ERP endpoint or table and list each field the agent needs, using the exact API name. For each, write the parameter name the model will see, which should be descriptive and human readable, then the types on both sides. Add a transform rule for anything that is not a straight copy, such as padding, case, units or code lists. Finally decide whether the field is exposed to the model, masked or withheld. Export to Excel and share with the ERP functional owner for sign-off.
Design rules for tool parameters
Model-facing names should read like business language, not column names: promise_date, not due_dt. Use enums for code fields and document each value in the tool description so the model does not guess. Accept dates as ISO 8601 and convert on your side. Keep decimals as numbers and state the unit. Keep required fields to the minimum, because every required parameter is one more place for a model to invent a value.
- Prefer enums over free text for status and type codes
- State units in the parameter description
- Validate on the server, never trust the model's format
- Mask cost, price and personal fields unless the use case needs them
Reading the example
The sample maps five fields. The vendor number is padded because many ERPs store fixed-width codes, so a model that sends 42 would otherwise miss the record. The status enum shows the translation from a single character to a word the model can reason about. The unit cost is marked Masked so buyers see a price band but not the raw standard cost.
Common mistakes
Skipping the mapping for code lists is the biggest one: the model then sees raw codes and guesses. Others include leaving time zones undefined on datetime fields, exposing internal key fields the user never uses, and forgetting that string comparisons in some databases are case or padding sensitive. Test each row with real records, including empty and maximum-length values.
Frequently Asked Questions
Should I expose every ERP field to the model?
No. Expose only what the use case needs. Fewer fields mean smaller prompts, fewer wrong guesses and less data exposure. Mark sensitive fields as masked or withheld in the worksheet.
How do I handle code lists like status or type?
Map them to descriptive enum values and document each in the tool description. Translate back to the ERP code on the server so the model never has to remember single-letter codes.
What date format should tool parameters use?
ISO 8601, for example 2026-10-20 for dates and 2026-10-20T14:30:00Z for datetimes. Convert to the ERP's native format server-side and state the time zone for datetimes.
Can this worksheet be reused for REST and SQL sources?
Yes. The ERP field column can hold a REST property or a database column. Add the endpoint or table name in the transform column if you map several sources in one sheet.
Netray builds ERP connectors and agents with grounded, role-aware field access. If your mapping spans a legacy ERP with undocumented fields, we can help you work through it.
Related Tools
MCP Tool Catalog and Risk Worksheet
Register each MCP tool your agent exposes, the ERP object it touches and a computed risk score, then export to Excel.
AI Agents & AutomationAI Agent Evaluation Test Case Worksheet
Log evaluation questions for an ERP agent with expected answers, the tool it should call and scored results, with a computed pass rate.
Developer ToolsMCP Tool Schema Token Cost Calculator
Estimate the tokens and monthly cost of tool definitions sent on each request, and how caching or fewer tools changes it.
Developer ToolsMCP Server Deployment Runbook Template
A fill-in runbook covering host, secrets, network, health checks, monitoring and rollback for an MCP server in front of an ERP.
More Developer Tools tools
See all- SAP Sales Order ABAP SELECT Generator (VBAK, VBAP, VBFA)
- SAP Sales Order Create BAPI ABAP Generator (BAPI_SALESORDER_CREATEFROMDAT2)
- SAP ABAP Open Items SELECT Generator
- SAP ACDOCA SQL Query Generator
- SAP QM Inspection Lot ABAP SELECT Generator
- SAP Quality Notification Pareto SQL Query Generator
- SAP QM Usage Decision BAPI Skeleton
- ABAP Custom Exception Class Generator
- ABAP Unit Test Class Generator
Keep exploring
Free tools
- Acumatica Data Migration Field Mapping WorksheetMap each legacy field to its Acumatica screen and field, record the transform rule and owner, and track cleansing status. Exports to Excel.
- NetSuite Integration Field Mapping WorksheetMap source system fields to NetSuite fields with transforms, defaults and validation notes, and export the table to Excel for the build team.
- ABAP Field Mapping Specification WorksheetA source-to-target field mapping sheet for SAP interfaces and data migration with length checks, rules and sign-off status.
ERP fixes and how-tos
- How to Map and Transform a BOD in Infor ION ConnectHow to build a mapping in ION Desk between two BOD or message types, handle custom fields and lookups, test with the Monitor and fix common mapping errors.
- Infor LN integration document types and integration rules with IONHow integration document types and rules work in Infor LN with ION and BODs: what they define, how mapping is set up, and where to debug.
- Infor LN: BOD mapping errors when publishing to IONInfor LN BOD publishing error to ION: no mapping found for a field or code value, where LN and ION Desk mappings live, and how to fix and reprocess safely.
Guides
- ERP Data Mapping Best PracticesMaster ERP data mapping with source-to-target techniques, transformation rules, and field-level documentation. Prevent data loss during ERP migration.
- EDI Field Mapping & Data Transformation in SyteLineConfigure EDI field mappings in Infor SyteLine. Map X12 segments to IDO properties, set up data transformations, and manage cross-reference table lookups.
- Field Service Management and ERP Integration: Patterns That Actually WorkField service ERP integration guide: master data ownership, work order to service order mapping, parts consumption, billing, and Infor ION patterns.
AI on your ERP
- AI-assisted data migration for ERP implementationsAI speeds ERP data migration by profiling legacy data, proposing field mappings, and flagging cleansing issues before cutover, with a human validating every rule.
- Oracle Field Service AI Integration: Private AI Over Activities, Resources and InventoryPrivate AI over Oracle Field Service activities, resources and inventory via the REST APIs, joined to ERP parts and contracts. Read-only, on-prem option.
Software
- Oracle Field ServiceOracle Field Service schedules, routes and equips mobile workers within Oracle cloud applications. Modules, integrations, AI uses and alternatives.
- Dynamics 365 Field ServiceDynamics 365 Field Service handles work orders, resource scheduling and mobile technicians on Microsoft Dataverse. Modules, integrations and alternatives.