Error :”Failed to save record because Please choose an item to add”

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”

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

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

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()