Introduction
Origami Lens is a full-stack metadata workbench for NetSuite. Each pane shares the same visual language: a control column on the left, a resizable work surface on the right, and persistent indicators for sync status and theme. Keyboard focus follows whichever view is active in the menu bar.
Getting Started
- Sync metadata from the top-right “Metadata ▾” menu to refresh cached objects and summaries.
- Select a slice (O2C, Inventory, etc.) to pre-populate ERD record lists, or type CSV values manually.
Trial & Billing Limits
Limits are pulled from your current billing policy and update automatically.
- Upgrade via the Billing button (Stripe checkout/portal).
- Profile / Org buttons open Clerk for account and organization settings.
ℹ️ Info: Sitewide network protections (rate limits and abuse controls) may throttle bursts to keep the service safe. If you see a 429 Too Many Requests, wait briefly and retry.
ERD Builder
The left pane drives both the Mermaid preview and Dagre graph.
- Expand hops automatically adds referenced records within the provided hop count.
- Show lists toggles the inclusion of
customlist_* objects.
- Refs only (expanded) limits expanded mode to reference fields so diagrams remain focused.
- Include line nodes surfaces line collections as separate nodes; use the Lines toggle inside the Dagre filter bar to hide/show them dynamically.
- Magnify node zooms into the hovered or selected node and becomes a reset toggle.
- Export scope supports Visible vs Full ERD; the Notes toggle adds a notes list to exports.
ERD Builder supports deep linking.
ℹ️ Info: Warm the cache: trigger a single metadata fetch (or run a small ERD once) for the current context so cache files exist; subsequent ERDs should be fast.
Interactive Graph (Dagre)
- Hover to preview fields; click to lock selection and expose the right-hand detail tabs.
- The minimap mirrors your viewport; drag the highlighted rectangle to pan quickly.
- Use Lists / Refs / Lines checkboxes to hide node families, and the search box to center on an entity.
- Creates edges render in maroon (solid for first-degree, dashed for downstream hops). Hovering a node highlights its inbound/outbound flows.
- The Notes button opens contextual annotations that sync with the Metadata view.
- Creates toggle is off by default; enable it to show system-generated create/transform links.
Mermaid Preview
The Mermaid card shows a compact ER diagram suitable for documentation or Precision AI prompts.
- Use the
- / Reset / + controls or a trackpad pinch to zoom.
- "Generate Mermaid" reruns the backend generator; paid plans can copy the Mermaid source.
- Trial accounts hide the Mermaid preview/source to prevent exporting raw diagrams.
- The fullscreen button opens the preview in a modal with independent zoom state.
Metadata Explorer
The Metadata menu exposes two sub-views: Explore and Diff.
- Slices and search filter the left-hand catalog; slice pills behave like the ERD slicer.
- Summary card includes lineage pills that route to related records, plus line collection tabs.
- Notes show up on both the catalog list and Dagre nodes so you can annotate requirements.
- Tables respond to the resizable gutter; drag to allocate more vertical space to the field grid.
Metadata Explorer supports deep linking.
Metadata Diff
Compare cached metadata versions using the selectors at the top of the Diff page.
- Env A / Env B can be the same or different; versions update based on the selected environment.
- Select versions, run "Diff metadata caches," then jump into per-object field diffs via the "View diff" shortcut.
- Use the modal search filter (Ctrl/Cmd+F still works) to locate specific objects inside large diffs.
System Notes
System notes summarize recent NetSuite changes (default range is Yesterday).
- Row limits apply by plan: trial uses 200 rows, past due uses 50, active uses all.
- Use the filters to narrow by record type, context, or employee before exporting.
SuiteQL Workbench
- Run queries with paging controls (Rows dropdown) and filter/highlight output via the toolbar.
- Use the inline clear button to reset filters, and export to CSV/JSON from the action menu.
Datasets
Datasets mirror the SuiteAnalytics dataset catalog.
- Select a dataset to preview columns and sample rows; use the right gutter to resize the table area.
- “Load dataset” fetches fresh data with pagination, respecting the Rows picker.
Saved Searches
- Load available searches through the MCP connector; Origami normalizes the result columns for sorting/filtering.
- Use the "Run search" button to execute with the current filter values and export via CSV/JSON as needed.
ℹ️ Info: You might not be able to execute all "Public" saved searches due to permission constraints.
⚠️ Warning: This is an experimental feature requiring the MCP connector. Reach out to support if you need help enabling it.
Token is good for an hour.
SuiteAnalytics Reports
- Browse enabled SuiteAnalytics reports, then run a report to display rows with the shared table toolbar.
- The toolbar mirrors SuiteQL/Datasets: inline filters, quick pagination, and export actions.
ℹ️ Info: You might not be able to execute all "Public" saved searches due to permission constraints.
⚠️ Warning: This is an experimental feature requiring the MCP connector. Reach out to support if you need help enabling it.
Token is good for an hour.
Precision AI
Generate narrative insights or SOP drafts using cached metadata and ERD context.
- Parameter inputs (Top P, Top K, Max tokens) are optional; leave blank to use model defaults.
- Paste Mermaid snippets or notes into the prompt box, then run "Send to Precision AI." Token counts appear under the status bar.
- Trial accounts hide the auto-filled schema data field (ERD/Diff) until you upgrade.
CodeEye
CodeEye turns SuiteScript uploads into a deterministic inventory, findings, dependency graph, and diagrams.
- Uploads are never executed. ZIPs are unpacked safely (no symlinks or path traversal).
- Secrets are redacted before analysis artifacts are written.
- Results are delivered as JSON artifacts you can download.
- Diagrams render in the dual-pane viewer with Mermaid text on the right and SVG fallback for large graphs.
- Use the Copy button to reuse Mermaid definitions in docs or tickets.
Workflow: Upload → Analyze → Review Summary → Open Diagrams → (Optional) Run AI Actions.
- Summary Report aggregates files, entry points, integrations, and findings.
- Runs lists prior analyses per tenant/context and supports hard delete for cleanup.
- AI Actions (if enabled) use redacted source only; output is advisory.
?? Info: Mermaid is available for copy/paste. SVG fallback is used automatically for large graphs.
?? Warning: AI output may be inaccurate. Validate before acting on recommendations.
Notes and Context Sharing
Notes are stored per record and synchronized between Dagre and Metadata views. The yellow badge appears anywhere a note exists, and the ✎ button opens the modal editor.
Deep Linking
You can open specific Entity Relationship Diagram (ERD) views and metadata
screens in Origami Lens directly from your documentation, emails, or chat
messages by using deep links.
Examples
-
Single object ERD view
/lens/erd?object=customer
Open ERD for customer
-
Multiple object ERD view
/lens/erd?object=customer,account
Open ERD for customer and account
-
Slice ERD view
/lens/erd?slice=o2c
Open order to cash slice
Slice keys and labels
| Slice key | Label name |
o2c | Order to Cash |
p2p | Procure to Pay |
core | Core Finance |
revrec | Revenue Recognition |
fixedAssets | Fixed Assets |
suiteBilling | SuiteBilling |
projects | Projects & Time |
manufacturing | Manufacturing |
inventory | Inventory |
vendorMgmt | Vendor Management |
people | People & HR |
crm | CRM |
tax | Tax & Compliance |
banking | Banking |
commerce | E Commerce |
-
Metadata view for a record type
/lens/metadata?recordType=invoice
Open invoice metadata
These pages might take ~5 seconds to load.
Keyboard Shortcuts
Global keyboard shortcuts:
- Esc: closes the Change Password and Manage Context overlays
- Ctrl+Enter: triggers each view’s primary action (Compare, System Notes Run, Generate ERD, Precision AI Run, SuiteQL Run, SoD Run All) based on the current view.
Contact, Feedback and Disclosures
Need help beyond these docs?
Notice: NetSuite is a registered trademark of Oracle Corporation and/or its affiliates.