writing-inbound-jsonata
OfficialGenerate correct inbound 850 JSONata mappings.
Software Engineering#custom fields#netsuite#jsonata#inbound edi 850#advanced mapping#userdefinedfields#date mapping
AuthorOrderful
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Writing correct inbound JSONata for NetSuite’s Advanced Mapping is error-prone, especially when you must override defaults safely and populate custom fields using the non-obvious userDefinedFields structure.
Core Features & Use Cases
- Inbound 850 JSONata mapping authoring for the Orderful NetSuite SuiteApp, focused on Advanced Mapping for 850 Purchase Orders.
- Safe override workflow that starts from $defaultValues and overlays only the fields you intend to change using the transform operator pattern.
- Correct custom field writes via transaction.userDefinedFields (including the critical rule that the userDefinedFields object replaces rather than merges).
- Helper-powered lookups using pre-registered functions like $lookupContact, $lookupItems, and $lookupRecords to resolve contacts and item identifiers from raw Mosaic input.
- Date handling guardrails for custbody_/custentity_ date custom fields using the _textFields workaround so the Sales Order save doesn’t fail.
Quick Start
Ask for an inbound 850 Advanced Mapping JSONata expression that pulls the right contact and item details from the raw Mosaic payload and writes the needed custbody_* custom fields (including any required date fields) onto the Sales Order using $defaultValues and userDefinedFields.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: writing-inbound-jsonata Download link: https://github.com/Orderful/orderful-netsuite-skills/archive/main.zip#writing-inbound-jsonata Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.