NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Statistical Journal Entry → Insert or update record

AI-generated

Summary

Insert or update a Statistical Journal Entry record in NetSuite by specifying its external ID and providing various fields and custom fields to define or modify the entry.

Inputs

  • id (required) — The external identifier of the Statistical Journal Entry to insert or update.
  • additionalFields — Optional collection of additional properties to set on the Statistical Journal Entry, such as approval status, memo, posting period, lines with account details, reversal details, class, department, subsidiary, and others.
  • customFields — Optional list of custom fields with specified names, types, and values to include in the Statistical Journal Entry.
  • isDebugMode — Boolean flag to include full request and response information in the node output for debugging purposes.
  • authMethod — The authentication method to use for the request, either OAuth1 or OAuth2.

Output shape

The JSON representation of the inserted or updated Statistical Journal Entry record returned by NetSuite, including any IDs and status information.

Supports synchronous and asynchronous execution based on the 'Prefer' header. Debug mode adds detailed request and response data to the output. Errors from NetSuite are propagated. The 'replace' and 'replaceSelectedFields' parameters control how sublist lines are updated. Custom fields support multiple data types and must be specified accordingly.

Examples

Example 1: Insert a new Statistical Journal Entry with specific line items and memo.

Set the external ID as a new unique identifier, fill in Additional Fields such as 'memo', 'line' items with accounts and amounts; leave 'approved' unchecked if you want it to require approval before posting.

Example 2: Update an existing Statistical Journal Entry to mark it as approved immediately.

Specify the existing Statistical Journal Entry's external ID, set 'approved' to true in Additional Fields, optionally adjust date or memo.

Links

Discussion