NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Time Sheet → Insert or update record

AI-generated

Summary

Insert or update a Time Sheet record in NetSuite by specifying its ID and desired fields, including optional additional and custom fields.

Inputs

  • Id (required) — The external identifier of the Time Sheet record to insert or update.
  • Additional Fields — Optional fields to set or update on the Time Sheet such as Approval Status, Employee, Dates, Hours, Subsidiary, custom form, lock status, and preferences for server behavior and validation.
  • Custom Fields — User-defined custom fields with type and value to be included or updated on the Time Sheet.
  • Debug Mode — Toggle to include full HTTP request and response information in the node output for debugging.
  • Authentication Method — Choice between OAuth1 or OAuth2 authentication for the API request.

Output shape

a JSON object representing the updated or inserted Time Sheet record with server response details and optionally full debug information

The output includes the Time Sheet data as returned by the NetSuite REST API, and when Debug Mode is enabled, includes HTTP request and response details for troubleshooting.

Examples

Example 1: Updating an existing Time Sheet record by ID with specified dates, hours, and approval status to track time worked for an employee.

Set resource to 'Time Sheet', operation to 'Insert or update record', provide the Time Sheet ID, fill additional fields like startDate, endDate, totalHours, approvalStatus, and optionally custom fields, then execute the node.

Links

Discussion