Error while fetching Assembly Items via REST API

Issue when we try to fetch the assembly items via REST API, it returns a forbidden error with detail as “The assembly item record is only available as a beta record”. Solution 1 We cannot fetch all records via REST API as some of the records are beta for REST API. In order to fetch… Continue reading Error while fetching Assembly Items via REST API

Multi Location Inventory / MLI_LOCATION_REQUIRED Error

A transaction or its items must have a location. The error “MLI_LOCATION_REQUIRED“will be encountered if the Item involved was not distributed to any location by using the Inventory Distribution Transaction. The user needs to check Transactions > Inventory > Distribute Inventory > Lists to verify that an Inventory Distribution was made. If there is already… Continue reading Multi Location Inventory / MLI_LOCATION_REQUIRED Error

What is the ternary operator and how do we can use it?

JavaScript’s ternary operator (?:), also called the conditional operator, is used to replace a conditional statement, most commonly an assignment. For example: As you can tell from the above example, the ternary operator is shorter than using and if…else statement and allows us to assign the resulting value to a variable provided the condition is pretty much… Continue reading What is the ternary operator and how do we can use it?

EntityOrRoleDisabled Error

Issue When testing the program that calls the SuiteTalk API, it is returning an error: EntityOrRoleDisabled. Solution Navigate to Setup > Company > Enable Features. Under SuiteCloud tab, Manage Authentication section Mark TOKEN-BASED AUTHENTICATION checkbox Click Save Navigate to Setup > Users/Roles > Manage Roles Edit the role you want to modify Click the Setup subtab  Select SOAP Web Services from Permissions dropdown Click Add Click Save Navigate to Setup > Users/Roles > Access Tokens > New Select Application Name Select User Select Role Enter Token Name Click Save

TIME_ENTRY_DISALLWD

Issues I will get an error while saving the time entry in UI or in the script. I have verified that the time entry is billable and the time entries are “Unbilled”. The error message is listed below, “type”:”error.SuiteScriptError”,”name”:”TIME_ENTRY_DISALLWD”,”message”:”P&L Test Project does not allow time entry.” Solution I have found the reason for the issue,… Continue reading TIME_ENTRY_DISALLWD

Discount and Shipping Cost not showing in PDF even if inline discount shipping is enabled

Scenario The customer would like to show discount and shipping cost in the sales order pdf as inline. It should be shown even if the PDF is generated via print PDF icon or using Suitelet script. The current PDF is as below. Solution Ensure that following feature is enabled in the NetSuite account Check this… Continue reading Discount and Shipping Cost not showing in PDF even if inline discount shipping is enabled

Different types of Celigo Flow Errors

Celigo Error: “Failed to add Amazon Order# 114-0556364-1777836. A mapping error occurred. Could not find a match for \”[[\”nameinternal\”,\”is\”,\”New_Salad_Spinner\”],\”AND\”,[\”isinactive\”,\”is\”,\”false\”]]\” for the record type \”item\”.” Solution: The item record for New_Salad_Spinner in Netsuite is either inactive or non-existent. It needs to be created and activated. Then we need to click “retry” on the error in Celigo.… Continue reading Different types of Celigo Flow Errors