ns_getRecordTransformMetadata

Tool Description

Lists supported transformations from one NetSuite record type to another, such as a sales order to an invoice.

Use this tool to identify a pair of source and target record types before calling ns_transformRecord. To check the target record's fields and their data types, use ns_getRecordTypeMetadata.

Omit both filters to return all listed transformation pairs. Each filter can include multiple record types. When you provide both filters, the tool returns only transformations that match both.

The tool returns a predefined list. It doesn't filter the list by your account configuration or role permissions. Whether a transformation succeeds also depends on the source record's eligibility. This tool doesn't create or change records.

Annotation

Get Record Transformation Metadata

Properties

Property

Type

Required or Optional

Description

sourceRecordTypeFilter

string

Optional

A comma-separated list of source record types, for example salesorder,estimate.

The tool returns transformations whose source record type matches any type in the list. Matching is case-insensitive.

Omit this property to apply no source record type filter.

targetRecordTypeFilter

string

Optional

A comma-separated list of target record types, for example invoice,itemfulfillment.

The tool returns transformations whose target record type matches any type in the list. Matching is case-insensitive.

Omit this property to apply no target record type filter.

Permissions

Your role must have the following permission for this tool to appear in your AI client.

Permission ID

Permission Name

Level

ADMI_RESTWEBSERVICES

REST Web Services

Full

A listed transformation doesn't mean your role can perform it. Your NetSuite role's permissions still apply when you use ns_transformRecord.

Related Topics

General Notices