NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Other Charge Sale Item → Insert record

AI-generated

Summary

Insert a new Other Charge Sale Item record into NetSuite via the SuiteTalk REST API with optional detailed fields and custom fields.

Inputs

  • Debug Mode - Whether to include full request and response info in the output. — Boolean to include detailed request/response information for debugging.
  • Additional Fields - Optional properties to specify details of the Other Charge Sale Item such as Allocation Price, Amortization Period, Billing Schedule, Class, Description, Pricing info, and more. — Collection of optional detailed fields to define characteristics of the new Other Charge Sale Item record.
  • Custom Fields - User-defined custom fields to include in the inserted record. — Multiple entries specifying the custom field name, type, and value to add to the record.

Output shape

The newly created Other Charge Sale Item record JSON object as returned by the NetSuite REST API, including any identifiers assigned by NetSuite.

Output optionally includes full request and response information if Debug Mode is enabled. The insert operation sends the supplied properties to NetSuite and returns the created record data. Errors are thrown if required fields are missing or invalid.

Examples

Example 1: Create an Other Charge Sale Item with a specific item name and price, enabling debug mode to get detailed request and response info.

Set Debug Mode to true, provide Additional Fields including Item Name/Number and price details, optionally add custom fields as needed.

Discussion