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
Fatal error: Uncaught SoapFault exception: [Server.userException] No such operation 'getSelectValue'
I've found https://usergroup.netsuite.com/users/forum/platform-areas/web-services-suitetalk/420176-php-getselectvalue-pulling-the-content-from-a-custom-field-record but no one had a solution.
[PHP]$methods = array();
$paymentMethods = new getSelectValueRequest();
$paymentMethods->fieldDescription = new GetSelectValueFieldDescription();
$paymentMethods->fieldDescription->field = 'customer_creditCardsList_paymentMethod';
$getResponse = $service->getSelectValue($paymentMethods);
echo json_encode($getResponse, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);[/PHP]
I've confirmed that the call is in the WSDL: https://webservices.netsuite.com/wsdl/v2018_1_0/netsuite.wsdl
[CODE]<operation name="getSelectValue">
<input name="getSelectValueRequest" message="tns:getSelectValueRequest"/>
<output name="getSelectValueResponse" message="tns:getSelectValueResponse"/>
<fault name="InsufficientPermissionFault" message="tns:InsufficientPermissionFault"/>
<fault name="InvalidSessionFault" message="tns:InvalidSessionFault"/>
[PHP]$methods = array();
$paymentMethods = new getSelectValueRequest();
$paymentMethods->fieldDescription = new GetSelectValueFieldDescription();
$paymentMethods->fieldDescription->field = 'customer_creditCardsList_paymentMethod';
$getResponse = $service->getSelectValue($paymentMethods);
echo json_encode($getResponse, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);[/PHP]
I've confirmed that the call is in the WSDL: https://webservices.netsuite.com/wsdl/v2018_1_0/netsuite.wsdl
[CODE]<operation name="getSelectValue">
<input name="getSelectValueRequest" message="tns:getSelectValueRequest"/>
<output name="getSelectValueResponse" message="tns:getSelectValueResponse"/>
<fault name="InsufficientPermissionFault" message="tns:InsufficientPermissionFault"/>
<fault name="InvalidSessionFault" message="tns:InvalidSessionFault"/>
0