跳到正文
Skillpedia
智能体77k · #2274

NetSuite Automation

它能做什么

这个工具可以帮你管理 NetSuite 系统中的信息,比如客户、销售订单和库存。你可以创建新记录,用自定义查询搜索数据,或者更新已有信息。

适用场景

  • ✓为客户创建一个新的销售订单。
  • ✓查找居住在某个特定城市的所有客户。
  • ✓更新一位现有客户的地址。

技能链接

https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/netsuite-automation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/netsuite-automation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“创建一位新客户,名称为“Example Company”,邮箱为 contact@example.com,电话号码为 11999998888。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会连接到你的 NetSuite 系统。你告诉它想做什么(比如创建客户或搜索数据),它就会在 NetSuite 中为你执行相应操作。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

NetSuite Automation

Automate Oracle NetSuite ERP operations including creating customers and sales orders, running SuiteQL queries, upserting records by external ID, and inspecting record metadata for comprehensive business management.

Toolkit docs: composio.dev/toolkits/netsuite


Setup

This skill requires the Rube MCP server connected at https://rube.app/mcp.

Before executing any tools, ensure an active connection exists for the netsuite toolkit. If no connection is active, initiate one via RUBE_MANAGE_CONNECTIONS.


Core Workflows

1. Create Sales Orders

Create customer orders with line items including item references, quantities, and pricing.

Tool: NETSUITE_CREATE_SALES_ORDER

Key Parameters:

  • entity (required) -- Customer reference: {"id": "<internal_id>"}
  • item (required) -- Container with items array, each containing:
    • item (required) -- Item reference: {"id": "<internal_id>"}
    • quantity (required) -- Units to order (non-negative)
    • rate -- Unit price (optional if item has default pricing)
    • amount -- Total line amount (alternative to rate)
    • taxcode -- Tax code reference: {"id": "<internal_id>"} (required if SuiteTax enabled)
    • description -- Line item notes
  • tranDate -- Transaction date in YYYY-MM-DD format
  • memo -- Header memo
  • orderStatus -- "A" (Pending Approval) or "B" (Pending Fulfillment)
  • otherrefnum -- External reference or PO number

Example:

Tool: NETSUITE_CREATE_SALES_ORDER
Arguments:
  entity: {"id": "1234"}
  item: {
    "items": [
      {"item": {"id": "56"}, "quantity": 10, "rate": 25.00},
      {"item": {"id": "78"}, "quantity": 5, "rate": 50.00}
    ]
  }
  tranDate: "2026-02-11"
  memo: "Q1 bulk order"
  orderStatus: "B"

2. Run SuiteQL Queries

Execute ad-hoc SQL queries against NetSuite data with server-side paging.

Tool: NETSUITE_RUN_SUITEQL_QUERY

Key Parameters:

  • q (required) -- SuiteQL SELECT statement
  • limit -- Rows per page (default varies)
  • offset -- Zero-based index of first row (must be a multiple of limit)

Examples:

Tool: NETSUITE_RUN_SUITEQL_QUERY
Arguments:
  q: "SELECT id, companyname, email FROM customer WHERE isinactive = 'F' ORDER BY companyname"
  limit: 100
  offset: 0
Tool: NETSUITE_RUN_SUITEQL_QUERY
Arguments:
  q: "SELECT id, entitystatus, total FROM transaction WHERE type = 'SalesOrd' AND trandate >= '2026-01-01'"
  limit: 50

3. Create and Manage Customers

Create new customer records with subsidiary assignment and contact details.

Tools:

  • NETSUITE_CREATE_CUSTOMER -- Create a new customer
  • NETSUITE_GET_CUSTOMER -- Retrieve customer by internal ID
  • NETSUITE_UPDATE_CUSTOMER -- Update existing customer (PATCH semantics)

Key Parameters for NETSUITE_CREATE_CUSTOMER:

  • body (required) -- JSON object with customer data. Required fields:
    • subsidiary -- Object with id (subsidiary internal ID)
    • Either companyName (for businesses) or firstName + lastName (for individuals)
    • Optional: email, phone, isPerson (set to "T" for individuals), comments
  • replace -- Comma-separated sublist names to fully replace (e.g., "contacts,addressbook")

Example:

Tool: NETSUITE_CREATE_CUSTOMER
Arguments:
  body: {
    "companyName": "Acme Corp",
    "subsidiary": {"id": "1"},
    "email": "info@acme.com",
    "phone": "555-0100"
  }

4. Upsert Records by External ID

Create or update records idempotently using an external identifier. Essential for sync workflows.

Tool: NETSUITE_UPSERT_RECORD_BY_EXTERNAL_ID

Key Parameters:

  • record_type (required) -- Record type name, e.g., "customer", "salesorder", "customrecord_myrec"
  • external_id (required) -- External ID value (letters, numbers, underscore, hyphen only)
  • body (required) -- JSON object matching the record schema; include mandatory fields when creating

Example:

Tool: NETSUITE_UPSERT_RECORD_BY_EXTERNAL_ID
Arguments:
  record_type: "customer"
  external_id: "CRM-CUST-42"
  body: {
    "companyName": "Acme Corp",
    "subsidiary": {"id": "1"},
    "email": "updated@acme.com"
  }

Warning: Idempotency depends on consistent external ID usage. Mismatches silently create additional records instead of updating.


5. Inspect Record Metadata

…

常见问题

我需要知道客户或商品的内部 ID 吗?

很多操作都需要用到,比如创建销售订单时,就需要客户和商品的内部 ID。你可以使用搜索功能来查找这些 ID。

什么是 SuiteQL?

SuiteQL 是一种查询语言(类似 SQL),可以让你灵活地从 NetSuite 系统中检索特定信息。

工具怎么知道该使用哪个 NetSuite 账户?

你需要在工具和你的 NetSuite 账户之间建立安全连接。这通常是通过一个名为 Rube MCP 的服务器来完成的。

详情

作者的原始描述

NetSuite Automation: manage customers, sales orders, invoices, inventory, and records via Oracle NetSuite ERP with SuiteQL queries

repo: ComposioHQ/awesome-claude-skills

热度

GitHub 星标
77k
排名
#2274
许可证
—
更新时间
2026/9/18

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能