Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
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' );