NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Purchase Requisition → Transform to purchaseOrder

AI-generated

Summary

Transform a Purchase Requisition into a Purchase Order in NetSuite by specifying the internal identifier of the requisition and optional additional fields to customize the resulting Purchase Order.

Inputs

  • Id (required) — Internal identifier of the Purchase Requisition to transform.
  • Additional Fields — Optional parameters to customize fields and sublists of the new Purchase Order such as billing address, ship date, items, memo, currency, and other details.
  • Debug Mode — Whether to include full request and response information in the output for troubleshooting.

Output shape

a single record representing the newly created Purchase Order or detailed request/response info if Debug Mode is enabled

The output contains the Purchase Order record created by transforming the specified Purchase Requisition. If 'Debug Mode' is enabled, the output includes comprehensive details of the API request and response for debugging purposes.

Examples

Example 1: Transform Purchase Requisition with ID 1234 to a Purchase Order with a specified ship date and memo

Set 'Id' to 1234, 'Additional Fields' to include 'shipDate' and 'memo' values, leave 'Debug Mode' disabled.

Discussion