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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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