Data Flow: Shopify refund to NetSuite refund (add) flow Error Code:user_error Error Message: “Failed to save record because Please choose an item to add.” Reason: This error occurs when the flow can’t find an SKU from the data to process. Resolution: Adding Items: eTail Order Linet ID field in the field mappings should correct the problem. Log… Continue reading Error :”Failed to save record because Please choose an item to add”
Month: April 2023
To get PO# value through search
On the criteria, tab give the Type as sales order On the result tab Field as Formula (Text) formula as {otherrefnum} Thus we get the value under PO# in the sales order
Change Date Format in suitescript
If you want to change the date format in suitescript the following sample will be used. First load the N/format module Then pass your date field into Date function like let dateField=new Date(lastDonateDate); Then assign your date format into a varaible, let… Continue reading Change Date Format in suitescript
Create a sales order using REST Web Services
In the Basic Sales Order example, you can create a sales order without filling in the details of the other fields. The system automatically calculates many fields in the sales order based on the value of the entity field. The transaction Date (or tranDate in REST) is the creation date of the sales order. If you leave… Continue reading Create a sales order using REST Web Services
Error Handling Log in the REST API Webservice
Each integration record includes a subtab labeled REST Web Services, under the Execution Log subtab. This log lists REST web services requests that are uniquely identified with the integration record you are currently viewing. That is, the log includes those requests that referenced the integration record’s consumer key. The execution log includes information about all… Continue reading Error Handling Log in the REST API Webservice
Error Codes in REST Web Services
In REST web services, HTTP status codes are used to inform you about the success or failure of a request. The following status codes are used: 2xx status codes are used for successful requests. 4xx status codes are used for failures due to user error. 5xx status codes are used for failures due to system… Continue reading Error Codes in REST Web Services
Convert time to Uk time
Error: ‘Inventory Revaluation is no longer the first transaction in the item’s history’.
This error occurred when we tried to create inventory adjustment first time for an item. You need to create inventory cost revaluation to solve the issue. Go to Transaction> Inventory> Revalue Inventory Cost> New. Create inventory cost revaluation. After that, you can create inventory adjustment in the NetSuite. .
Webservices and REST API
REST (Representational State Transfer) API and Web Services are two different approaches to building applications that allow communication between different systems or software components. REST is a style of software architecture that defines a set of constraints to be used when creating web services. It is based on the HTTP protocol and uses HTTP methods… Continue reading Webservices and REST API
To get individual fields from an object retrned by search.lookupField()
it is the code to get value of fields individually from an object which is returned by the search.lookupField() const curRec = scriptContext.currentRecord; let cusName = curRec.getText({ fieldId: ‘entity’ }); let cusId = curRec.getValue({ fieldId: ‘entity’ … Continue reading To get individual fields from an object retrned by search.lookupField()