| Namespace | http://www.mulesoft.org/schema/mule/netsuite |
|---|---|
| Schema Location | http://www.mulesoft.org/schema/mule/netsuite/current/mule-netsuite.xsd (View Schema) |
| Schema Version | 3.0 |
| Minimum Mule Version | 3.4 |
The NetSuite cloud connector facade, based on a NetSuiteClient
| Configuration | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configure an instance of this module
| |||||||||||
| Message Processors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new file record.
| |||||||||||
Used to add one or more records into the system
| |||||||||||
Creates a new record.
| |||||||||||
Creates new records
Example:
| |||||||||||
Searches for all records that match the given filtering expression, asynchronously.
| |||||||||||
Attaches a source record - that is, the attachment - to another destination one,
optionally specifying a contact for the
attachment.
| |||||||||||
Answers the status of an asynchronous Web services submission.
| |||||||||||
Used to delete one or more records in the system.
| |||||||||||
Deletes a record.
| |||||||||||
Detaches a source record - that is, the attachment - from a destination record.
| |||||||||||
Answers the first records that match the given filtering expression.
| |||||||||||
Answers all records that match the given filtering expression.
| |||||||||||
Answers the the first result of an asynchronous asyncFind.
| |||||||||||
Answers the results of an asynchronous web services submission.
| |||||||||||
Answers the list of budget exchange rates
Example:
| |||||||||||
Answers the list of consolidated exchange rates
Example:
| |||||||||||
Answers the ids of available customizations for a given record type.
| |||||||||||
Answers a list of deleted records of a given record type that match a given date expression.
| |||||||||||
Answers the availability for a given record reference.
| |||||||||||
Answers a record given its id
Example:
| |||||||||||
Answers all the record of a given type
Example:
| |||||||||||
Retrieves a list of existing saved searches for the given record type.
| |||||||||||
Answers the server time, resulting in more accurate and reliable sync'ing of data than using
using local client time.
| |||||||||||
Populates fields on transaction line items with values from a related record,
in a similar way empty text boxes are prepopulated within the Netsuite UI
Example:
| |||||||||||
Answers all records of a given type for a saved search, given its search id.
| |||||||||||
Updates existing record's custom fields
Example:
| |||||||||||
Sets a new invitation status for a given event.
| |||||||||||
Used to update one or more existing records in the system by providing new values for the fields to
be updated for each record.
| |||||||||||
Updates an existing record.
| |||||||||||
The upsertList operation is used to add or update one or more instances of a record type in NetSuite.
| |||||||||||
The upsert operation is used to add a new instance or to update an instance of a record in NetSuite.
| |||||||||||
To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:netsuite="http://www.mulesoft.org/schema/mule/netsuite"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/netsuite
http://www.mulesoft.org/schema/mule/netsuite/current/mule-netsuite.xsd">
<!-- here goes your flows and configuration elements -->
</mule>
This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necessary as long as each carries its own name.
Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.
| Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | Name | Default Value | Description | Java Type | MIME Type | Encoding | Optional. Give a name to this configuration so it can be later referenced. | ||||
| https://webservices.na1.netsuite.com/services/NetSuitePort_2012_2 | Optional. Service endpoint
|
||||||||||
This connector offers automatic connection management via the use of a connection pool. The pool will act a storage mechanism for all the connections that are in-use by the user of this connector.
Prior to execution of a processor, the connector will attempt to lookup an already established connection and if one doesn't exists it will create one. That lookup mechanism is done in the connection pool via the use of connection variables declared as keys.
The user of the connector can configure the pool by adding a connection-pooling-profile to the connector configuration like this:
<netsuite:connection-pooling-profile maxActive="10" maxIdle="10"
exhaustedAction="WHEN_EXHAUSTED_GROW" maxWait="120" minEvictionMillis="60000" evictionCheckIntervalMillis="30000"/>
The following is a list of connection attributes, each connection attribute can be configured at the config element level or they can also be added to each processor. If they are used at the processor level they get the benefit of full expression resolution.
| Connection Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
| Optional. Specify which configuration to use. | |||||||||||
| The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Service endpoint | String | */* | UTF-8 | ||||||||
| SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
Reconnection Strategies specify how a connector behaves when its connection fails. You can control how Mule attempts to reconnect by specifying a number of criteria:
With a reconnection strategy, you can better control the behavior of a failed connection, by configuring it, for example, to re-attempt the connection only once every 15 minutes, and to give up after 30 attempts. You can also send an automatic notification to your IT administrator whenever this reconnection strategy goes into effect. You can even define a strategy that attempts to reconnect only during business hours. Such a setting can prove useful if your server is frequently shut down for nightly maintenance.
A reconnection strategy that allows the user to configure how many times a reconnection should be attempted and how long to wait between attempts.
<netsuite:config>
<reconnect count="5" frequency="1000"/>
</netsuite:config>
| Reconnect Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | Default Value | Description | |||||||||
| Optional. How often (in ms) to reconnect | |||||||||||
| Optional. How many reconnection attempts to make | |||||||||||
For more information about reconnection strategies in Mule, or even how to write your own custom reconnection strategy please check this section.
Creates a new file record. This Processor is similar to addRecord, but is customized for simplifying local content passing.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The content of the file record to add. It can be of type String, byte array, File or InputStream. If it is an input stream, this Processors also closes it. | Object | */* | |||||||||
| The name of the remote file | String | */* | UTF-8 | ||||||||
| The id of the folder record where to add this file | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The id type of the folder record | RecordIdType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Name | Default Value | Description | Java Type |
|---|---|---|---|
| Optional. The additional file attributes | Map<String, Object> |
| Return Type | Description |
|---|---|
| RecordRef | the RecordRef of the new record |
| Payload Class | Description |
|---|---|
| IOException | if the content cannot be parsed to byte[] |
Used to add one or more records into the system
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of record to add | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Name | Default Value | Description | Java Type |
|---|---|---|---|
| #[payload] | Optional. The records with their attributes, as a string-object map | List<Map<String, Object>> |
| Return Type | Description |
|---|---|
| List<RecordRef> | A list of record references for the added records |
Creates a new record. Example:
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of record to add | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Name | Default Value | Description | Java Type |
|---|---|---|---|
| #[payload] | Optional. The record attributes, as a string-object map | Map<String, Object> |
| Return Type | Description |
|---|---|
| RecordRef | the RecordRef of the new record |
Creates new records Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of record to add | RecordTypeEnum | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Name | Default Value | Description | Java Type |
|---|---|---|---|
| The Records object | List<? extends Record> |
| Return Type | Description |
|---|---|
| List<RecordRef> | the RecordRef of the new record |
Searches for all records that match the given filtering expression, asynchronously. If no expression is specified, all records of the given type are retrieved Filtering expressions support both basic and joined syntax, that is, using in the filters attributes of both the target entity and the target entity associations. Advanced search is not supported. Search expressions are in the form operator(attribute, arguments...) for basic search, and operator(join.attribute, arguments...) for joined search, where operator is any of the string, long, double, and text operators supported by SuiteTalk - MultiSelect operators are not supported - plus the isTrue/isFalse boolean operators, and arguments are zero up to three operands that depend on the operator used. Examples:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of record to search | SearchRecordTypeEnum | */* | |||||||||
| Optional. The filtering expression, in the form operator(attribute, arguments...) for basic search, and operator(join.attribute, arguments...) for joined search, where operator is any of the string, long, double, and text operators supported by SuiteTalk - MultiSelect operators are not supported - plus the isTrue/isFalse boolean operators, and arguments are zero up to three operands that depend on the operator used. Multiple filters can be combined using multiple predicates separated by commas. | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| AsyncStatusResult | the AsyncStatusResult of the query |
Attaches a source record - that is, the attachment - to another destination one, optionally specifying a contact for the attachment. Not all record type are supported as source, destination or contact. Please consult NetSuite documentation. Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of the target record to be attached | RecordTypeEnum | */* | |||||||||
| The id of the target record to be attached | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The id type of the record to be attached | RecordIdType | */* | ||||||||
| The type of the record to be attached to | RecordTypeEnum | */* | |||||||||
| The id of the record to be attached to | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The id type of the record to be attached to | RecordIdType | */* | ||||||||
| Optional. The record type of the optional contact record | RecordTypeEnum | */* | |||||||||
| Optional. The id of the optional contact record | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The id type of the optional contact record | RecordIdType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| AttachResponse | AttachResponse information including the WriteResponse object. |
Answers the status of an asynchronous Web services submission. When a jobId is submitted, the status, percent complete, and estimated remaining duration are returned. Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The id of the job whose status to check | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| AsyncStatusResult | the AsyncStatusResult for the given job |
Used to delete one or more records in the system. The records to be deleted are identified through the provided unique identifiers.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of record to add | RecordTypeEnum | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Name | Default Value | Description | Java Type |
|---|---|---|---|
| The records with their attributes, as a string-object map | List<Map<String, Object>> |
| Return Type | Description |
|---|---|
| List<RecordRef> | A list of Record references for the deleted records |
Deletes a record. Not all records can be deleted. Please consult NetSuite documentation Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of the record to delete | RecordTypeEnum | */* | |||||||||
| The id of the record to delete | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The type of id of the record to delete | RecordIdType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| DeleteResponse | deleted record response |
Detaches a source record - that is, the attachment - from a destination record. Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of the target record to be detached | RecordTypeEnum | */* | |||||||||
| The id of the target record to be detached | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The id type of the record to be detached | RecordIdType | */* | ||||||||
| The type of the record to be detached to | RecordTypeEnum | */* | |||||||||
| The id of the record to be detached to | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The id type of the record to be detached to | RecordIdType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| DetachResponse | DetachResponse object |
Answers the first records that match the given filtering expression. If no expression is specified, the empty expression is used, which retrieves all records of the given type. Returns null if no element can be retrieved Filtering expressions support both basic and joined syntax, that is, using in the filters attributes of both the target entity and the target entity associations. Advanced search is not supported. Search expressions are in the form operator(attribute, arguments...) for basic search, and operator(join.attribute, arguments...) for joined search, where operator is any of the string, long, double, and text operators supported by SuiteTalk - MultiSelect operators are not supported - plus the isTrue/isFalse boolean operators, and arguments are zero up to three operands that depend on the operator used. Examples:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of record to search | SearchRecordTypeEnum | */* | |||||||||
| Optional. The filtering expression Multiple filters can be combined using multiple predicates separated by commas. | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| Record | the first record that match the given filtering expression |
Answers all records that match the given filtering expression. If no expression is specified, the empty expression is used, which retrieves all records of the given type. Filtering expressions support both basic and joined syntax, that is, using in the filters attributes of both the target entity and the target entity associations. Advanced search is not supported. Search expressions are in the form operator(attribute, arguments...) for basic search, and operator(join.attribute, arguments...) for joined search, where operator is any of the string, long, double, and text operators supported by SuiteTalk - MultiSelect operators are not supported - plus the isTrue/isFalse boolean operators, and arguments are zero up to three operands that depend on the operator used.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of record to search | SearchRecordTypeEnum | */* | |||||||||
| Optional. The filtering expression Multiple filters can be combined using multiple predicates separated by commas. | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
Answers the the first result of an asynchronous asyncFind. Throws a NoSuchElement exception if there are no results. This Processor can be executed Processor up to 20 times within a 30 day time period to retrieve the results of an asynchronous job. Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The id of the job | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| Object | the first Record |
Answers the results of an asynchronous web services submission. This Processor can be executed Processor up to 20 times within a 30 day time period to retrieve the results of an asynchronous job. Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The id of the job | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| List<Record> | An iterable with the Records found |
Answers the list of budget exchange rates Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The id of the period | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The period id type | RecordIdType | */* | ||||||||
| The id of the staring subsidiary | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The starting subsidiary id type | RecordIdType | */* | ||||||||
| Optional. The the id of the optional ending subsidiary | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The id type of the optional ending subsidiary | RecordIdType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| List<BudgetExchangeRate> | a list of BudgetExchangeRate's |
Answers the list of consolidated exchange rates Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The id of the period | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The period id type | RecordIdType | */* | ||||||||
| The id of the staring subsidiary | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The starting subsidiary id type | RecordIdType | */* | ||||||||
| Optional. The the id of the optional ending subsidiary | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The id type of the optional ending subsidiary | RecordIdType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| List<ConsolidatedExchangeRate> | a list of ConsolidatedExchangeRate's |
Answers the ids of available customizations for a given record type. Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The target record type | GetCustomizationTypeEnum | */* | |||||||||
| false | Optional. If inactive customizations should also be returned | boolean | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| List<CustomizationRef> | a list of CustomizationRef's |
Answers a list of deleted records of a given record type that match a given date expression. This Processors accepts two different date expression passing styles: string oriented, and object oriented. If whenExpression is specified, it is parsed and used as date expression. Otherwise, a date expression is build from date1, date2 and operator parameters. The first style is more appropriate when the date expression can be harcdoded, while the second style is better when client code already has date objects. However, predefined search values like thisWeek, tomorrow or today can only be used with the first, string oriented, style. String oriented date expressions are in the form Processor( searchValue, arguments...), where Processor is any of the NetSuite supported date Processors, arguments are one or two operands for the given operator, and searchValue is some of the supported predefined search value as defined by NetSuite or any of the following expressions: isoDate( anIsoDate ), isoDateRante( anIsoDate, anotherIsoDate ) , dateTime( aQuotedDateTime, aQuoatedJavaDateFormat ), dateTimeRange( aQuotedDateTime, anotherQuotedDateTime, aQuoatedJavaDateFormat ). Supported predefined search values are: today, thisWeek, thisBusinessWeek, thisMonth,thisYear, yesterday, twoDaysAgo, lastWeek, lastMonth, threeMonthAgo,tomorrow, nextMonth , nextWeek Examples using both string and object oriented styles:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of the target deleted record to retrieve | RecordTypeEnum | */* | |||||||||
| Optional. A predicate-style date filtering expression | String | */* | UTF-8 | ||||||||
| Optional. The first date to use | Date | */* | |||||||||
| Optional. The second date to use | Date | */* | |||||||||
| Optional. The date operator | SearchDateFieldOperatorEnum | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| List<DeletedRecord> | the list of DeletedRecord's that match the given date filtering expression |
Answers the availability for a given record reference. If the Multi-Location Inventory feature is enabled, this Processor returns results for all locations. For locations that do not have any items available, only location IDs and names are listed in results. Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The target record type | RecordTypeEnum | */* | |||||||||
| The target record id | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The id type of the given record id | RecordIdType | */* | ||||||||
| Optional. An optional modified since date. If set, only items with quantity available changes recorded as of the specified date are returned. | Date | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| List<ItemAvailability> | A list of ItemAvailability's |
Answers a record given its id Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The target record type | RecordTypeEnum | */* | |||||||||
| The target record id | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The id type of the given record id | RecordIdType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
Answers all the record of a given type Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The target record type | GetAllRecordType | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| List<Record> | the list of Record's |
Retrieves a list of existing saved searches for the given record type. Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The target record type | RecordTypeEnum | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| List<RecordRef> | the list of RecordRedf's |
Answers the server time, resulting in more accurate and reliable sync'ing of data than using using local client time. Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| Date | the server time, as a Date |
Populates fields on transaction line items with values from a related record, in a similar way empty text boxes are prepopulated within the Netsuite UI Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of record whose defaults values are used to populate the target record | InitializeTypeEnum | */* | |||||||||
| The target record type | RecordTypeEnum | */* | |||||||||
| The target record id | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The id type of the given record id | RecordIdType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| Object | the initialized Record |
Answers all records of a given type for a saved search, given its search id. Examples:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of record to search | SearchRecordTypeEnum | */* | |||||||||
| The id of the save search | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| List<SearchRow> | An iterable with the Records found |
Updates existing record's custom fields Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The target record type to update | RecordTypeEnum | */* | |||||||||
| The type of custom field | CustomFieldRefTypeEnum | */* | |||||||||
| The target record id | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The id type of the given record id | RecordIdType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Name | Default Value | Description | Java Type |
|---|---|---|---|
| The custom fields as a map, where the key is the internalId | Map<String, Object> |
Sets a new invitation status for a given event. Example: Example:
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The target event id | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The id type of the given eventId | RecordIdType | */* | ||||||||
| The new status to set | CalendarEventAttendeeResponseEnum | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| UpdateInviteeStatusResponse | UpdateInviteeStatus response object |
Used to update one or more existing records in the system by providing new values for the fields to be updated for each record. The records to be updated are identified through the provided unique identifiers.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of record to add | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Name | Default Value | Description | Java Type |
|---|---|---|---|
| #[payload] | Optional. The records with their attributes, as a string-object map | List<Map<String, Object>> |
| Return Type | Description |
|---|---|
| List<RecordRef> | A list with the record references for the updated records |
Updates an existing record. Example:
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The target record type to update | String | */* | UTF-8 | ||||||||
| The target record id | String | */* | UTF-8 | ||||||||
| INTERNAL | Optional. The id type of the given record id | RecordIdType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Name | Default Value | Description | Java Type |
|---|---|---|---|
| #[payload] | Optional. The record attributes, as a string-object map | Map<String, Object> |
| Return Type | Description |
|---|---|
| RecordRef | The Record reference for the updated record |
| Payload Class | Description |
|---|---|
| Exception |
The upsertList operation is used to add or update one or more instances of a record type in NetSuite. The upsertList operation is similar to both the addList and updateList operations, but upsert can be run without first determining whether records exist in NetSuite. Records are identified by their external ID and their record type. If a record of the specified type with a matching external ID exists in the system, it is updated. If it does not exist, a new record is created. Because external ID is mandatory for this operation, upsertList is supported only for records that support the external ID field. Also, this operation prohibits the passing of internal ID values.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The target record type to update | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Name | Default Value | Description | Java Type |
|---|---|---|---|
| #[payload] | Optional. The record attributes, as a string-object map | List<Map<String, Object>> |
| Return Type | Description |
|---|---|
| List<RecordRef> | A list with the references to the upserted records |
The upsert operation is used to add a new instance or to update an instance of a record in NetSuite. It is similar to the upsertList operation, which allows users to add or update more than one record at a time. The upsert operation is similar to both the add and update operations, but upsert can be run without first determining whether a record exists in NetSuite. A record is identified by its external ID and its record type. If a record of the specified type with a matching external ID exists in the system, it is updated. If it does not exist, a new record is created. Because external ID is mandatory for this operation, upsert is supported only for records that support the external ID field. Also, this operation prohibits the passing of internal ID values.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The target record type to update | String | */* | UTF-8 | ||||||||
| The target record id | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The login email of both NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. The login password of both the NetSuite UI and SuiteTalk | String | */* | UTF-8 | ||||||||
| Optional. Service endpoint | String | */* | UTF-8 | ||||||||
| Optional. SuiteTalk -NetSuite WebService - account id. It looks like TSTDRVXXXXXX | String | */* | UTF-8 | ||||||||
| Optional. The id of the role used to login in SuiteTalk, which determines the Processor privileges | String | */* | UTF-8 | ||||||||
| Name | Default Value | Description | Java Type |
|---|---|---|---|
| #[payload] | Optional. The record attributes, as a string-object map | Map<String, Object> |
| Return Type | Description |
|---|---|
| RecordRef | an instance of UpsertResponse
|