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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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