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.
NetSuite Perl customfield structure
Hi,
I'm using the Webservices::NetSuite Perl module to add a customer record to NetSuite.
The structure of the record is like this:
[CODE]my $customer = {
isPerson => 0,
companyName => $data{firma},
altName => $data{name},
entityStatus => 13,
emailPreference => '_hTML',
currency => 1,
addressbookList => [
{
defaultShipping => 'true',
defaultBilling => 'true',
isResidential => 0,
phone => $data{tel},
label => '',
attention => $data{name},
addressee => $data{firma},
addr1 => $data{str},
addr2 => '',
city => $data{ort},
zip => $data{plz},
country => $country{$data{land}},
}
],
customFieldList => {
[
{
valueName => 'Name',
valueInternalId => '1',
valueTypeId => '33'
I'm using the Webservices::NetSuite Perl module to add a customer record to NetSuite.
The structure of the record is like this:
[CODE]my $customer = {
isPerson => 0,
companyName => $data{firma},
altName => $data{name},
entityStatus => 13,
emailPreference => '_hTML',
currency => 1,
addressbookList => [
{
defaultShipping => 'true',
defaultBilling => 'true',
isResidential => 0,
phone => $data{tel},
label => '',
attention => $data{name},
addressee => $data{firma},
addr1 => $data{str},
addr2 => '',
city => $data{ort},
zip => $data{plz},
country => $country{$data{land}},
}
],
customFieldList => {
[
{
valueName => 'Name',
valueInternalId => '1',
valueTypeId => '33'
0