Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
error trying to create new customer via addList
I'm using php and the php toolkit, I was trying to create 50 new customers via the addList operation.
To do this, I just had a for loop with 50 iterations and had the same customer information for each, except that I changed the email address by using the loop counter...
for($i=1;$i<=50;$i++) {
...
'fname'=> 'testcust',
'lname'=> 'one',
'email' => "testcust{$i}@test.com",
'phone'=> '999-888-7654',
'addr1' => '555 ORder One Test way',
'addr2'=> '',
'city' => 'portland',
'state' => 'OR',
...
}
the code works fine, I know because it works when I'm creating just 1 customer.
0