-
Customer Payment - Memo set only on Debit Line
Hello everyone! I hope you all are doing great! We are creating customer payments via RESTlet and we set the "Memo" field: However, this memo doesn't apply to the credit line on GL Impact: How do you set the memo on both lines? Debit and Credit? Thank you!
-
How to include the tokens for OAuth1 inside the code of Restlet/SuieQL code
/** * @NApiVersion 2.x * @NScriptType restlet */ define(['N/query'], function(query) { return { get: function(context) { // Construct the SuiteQL query string var suiteQL = "SELECT companyname, id, entityid FROM vendor where category = 4 AND duplicate= 'F'"; // Run the SuiteQL query var resultSuiteQL =…
-
How to get list of custom forms and meta data
Hi is there a way to get a list of custom forms in a netsuite account, along with their meta data using restlet or SuiteQL ?
-
AE: Restlet Suitescript create assemblybuild with inventory detail
Hi, Using a restlet v2.1, I would like to build an assembly for each item in a sales order, the items in the sales order are lot numbered assembly items. I have tried the below to create an assemblybuild but I get an error saying the subsidiary is missing: var assBld = record.create({ type: record.Type.ASSEMBLY_BUILD,…
-
SuiteScript 2.1 Restlet Responses
Hello, While testing SuiteScript 2.1 Restlets I faced some strange behavior. In GET requests to several of my scripts I return a stringified JSON object. If the script is run under 2.0 the response I receive from the script is string, and if the script is run under 2.1 I receive an object. Example: Response from 2.0…