NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Cash Sale → Insert record

AI-generated

Summary

Create a Cash Sale record in NetSuite

Inputs

  • isDebugMode — Whether to include full request and response info in the output
  • authMethod — Authentication method, either OAuth1 or OAuth2
  • externalId — External identifier for the cash sale
  • tranDate — NetSuite inserts today's date as the date of this cash sale. You can type or pick another date.
  • tranId — NetSuite increases the largest sale number by one. You can also type another number.
  • entity — The customer or entity associated with this cash sale
  • subsidiary — The subsidiary context for this transaction
  • memo — Enter a memo to describe this cash sale. It will appear on reports.
  • total — NetSuite computes the total of line items, tax and shipping charges.
  • toBePrinted — Check this box if you wish to save this in a queue of sales receipts to print.

Output shape

The newly created Cash Sale record identifier and stored fields from NetSuite's REST API response.

All parameters correspond to UI properties defined for the Cash Sale resource and Insert record operation. Default values indicate optional parameters; those without defaults are treated as required by the workflow builder.

Examples

Example 1: Create a basic cash sale for a customer in a specific subsidiary.

Set entity to the customer's internal ID, subsidiary to the target subsidiary, and tranDate to the desired sale date. Other fields may be left at defaults.

Links

Discussion