NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Manufacturing Cost Template → Insert or update record

AI-generated

Summary

Insert or update a Manufacturing Cost Template record in NetSuite by specifying the template's internal identifier and providing any desired fields and custom fields to set or update.

Inputs

  • id (required) — External identifier of the Manufacturing Cost Template to create or update.
  • additionalFields — Optional fields for the Manufacturing Cost Template such as cost details (including items with cost category, item references, fixed rate, run rate), custom form, external ID, inactive status, memo, name, subsidiary, last modified date, reference name, and settings for replace behavior and validation preferences.
  • customFields — Custom fields with specified field name, type, and value to be set on the Manufacturing Cost Template.
  • isDebugMode — Enable to include full request and response details in the output for debugging purposes.
  • authMethod — Choose between OAuth1 or OAuth2 authentication methods.
  • Prefer — Request asynchronous execution by setting 'respond-async'.
  • X-NetSuite-Idempotency-Key — User-defined unique idempotency key for asynchronous request execution to ensure exactly-once processing.
  • X-NetSuite-PropertyNameValidation — Set strictness for property name validation: Error, Warning, or Ignore.
  • X-NetSuite-PropertyValueValidation — Set strictness for property value validation: Error, Warning, or Ignore.

Output shape

a single Manufacturing Cost Template record JSON object as returned by the NetSuite API after insert or update

Supports synchronous or asynchronous execution depending on 'Prefer' header; debug information included if 'Debug Mode' is enabled; update replaces or selectively replaces sublist lines if 'replace' and 'replaceSelectedFields' are set; supports idempotency for async requests via the idempotency key header.

Examples

Example 1: Insert or update a Manufacturing Cost Template with specified fields, returning the updated record

Provide the Manufacturing Cost Template 'id' along with optional fields like 'name', 'memo', and custom fields. Enable 'Debug Mode' if request details are needed for troubleshooting.

Links

Discussion