Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle get_select_value when no records exist #384

Open
iloveitaly opened this issue Jan 27, 2018 · 0 comments
Open

Handle get_select_value when no records exist #384

iloveitaly opened this issue Jan 27, 2018 · 0 comments

Comments

@iloveitaly
Copy link
Member

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soapenv:Header>
    <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2015_1.platform.webservices.netsuite.com">
      <platformMsgs:nsId>WEBSERVICES_4642356_01272018952461623365681791_6b431bf76c3de</platformMsgs:nsId>
    </platformMsgs:documentInfo>
  </soapenv:Header>
  <soapenv:Body>
    <getSelectValueResponse xmlns="urn:messages_2015_1.platform.webservices.netsuite.com">
      <platformCore:getSelectValueResult xmlns:platformCore="urn:core_2015_1.platform.webservices.netsuite.com">
        <platformCore:status isSuccess="true"/>
        <platformCore:totalRecords>0</platformCore:totalRecords>
        <platformCore:totalPages>0</platformCore:totalPages>
      </platformCore:getSelectValueResult>
    </getSelectValueResponse>
  </soapenv:Body>
</soapenv:Envelope>

stack

	from /app/vendor/bundle/ruby/2.2.0/bundler/gems/netsuite-2816fd96947c/lib/netsuite/support/attributes.rb:14:in `initialize_from_attributes_hash'
	from /app/vendor/bundle/ruby/2.2.0/bundler/gems/netsuite-2816fd96947c/lib/netsuite/support/sublist.rb:34:in `initialize'
	from /app/vendor/bundle/ruby/2.2.0/bundler/gems/netsuite-2816fd96947c/lib/netsuite/actions/get_select_value.rb:52:in `new'
	from /app/vendor/bundle/ruby/2.2.0/bundler/gems/netsuite-2816fd96947c/lib/netsuite/actions/get_select_value.rb:52:in `get_select_value'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant