Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Creating inventorycount record
Hello,
I am attempting to create an inventorycount record using SuiteScript 1.0, I am running into an error on the "nlapiSubmitRecord" statement, the script is throwing an error message "This Item requires a Bin To Be Selected" when I do the nlapiSubmitRecord In my script I am setting the "Bin Location" correctly.
The set of data that I am using is valid, I am able to create an inventorycount record using SuiteScript 2.0. Unfortunately, I can't use SuiteScript 2.0 for this project.
Below is the SuiteScript 1.0 that I am using for my testing
function myCreateInventoryCount(inventorycountarray)
{ // START myCreateInventoryCount
try
{
nlapiLogExecution('DEBUG', 'myCreateInventoryCount', 'Start' );