Process the Settlement Flow Error in Celigo

Issue When we run the Celigo Settlement flow, there occurs an error which shows a settlement_order_not_found with message “NetSuite transaction could not be found. Settlement details: Settlement Id# 15460107661, Amazon AFN Order# 114-8511691-4140214.” Solution In this case, we need to copy the Amazon AFN Order# from the error list and need to import that id… Continue reading Process the Settlement Flow Error in Celigo

How to automate the captcha

Here is the stepwise working solution  Step1- Add dependency for net.sourceforge.tess4j  Step2- Download and keep “eng.traineddata” file in your project directory  Step3-  //Create one folder to store captcha image and assign that path to Variable Stringpath_stud_captcha=”C:/Users/shrad/.eclipse/Cucumber/src/test/resources/captcha_images/c ap.png”;  //Inspect and store captcha element  WebElement wb_stud=driver.findElement(By.xpath(“//div[@class=’style_captchaContainer   LdFYB’]”));  //Give some wait  Thread.sleep(3000);  //Get screenshot of captcha element  File… Continue reading How to automate the captcha

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