NSOA.NSConnector.integrateRecord()
This function let you export a single OpenAir record to NetSuite from your form scripts. It is equivalent to clicking the Export/Send links in the Tips menu for a selected record. For more information about exporting a single record from OpenAir to NetSuite, see Exporting a Single Record from OpenAir to NetSuite on Demand.
This function applies only to the OpenAir records available for export to NetSuite. It will perform an action only if called for one of the following forms:
-
Envelope
-
Invoice
-
Revenue Recognition Transaction
-
Customer
-
Timesheet
-
Purchase Request
-
Project
-
Project Task
This function:
-
Must be called from a form script.
-
Allows a maximum of one call per script.
-
Performs no action and returns false if called for any form other than those listed above.
Parameters
-
(none)
Returns
-
Boolean true if integration was triggered and false if integration was not triggered.
Units Limit
-
10 units
For more information, see Scripting Governance.
Since
-
April 16, 2016
Example
-
This example presents a common use case for after-approval events with envelopes.
function main() { // integrate current form object to NetSuite NSOA.NSConnector.integrateRecord();
See Code Samples for more examples.