Skip to Content

Missing quantity field in web service response?

I've created a new web service on standard Business Object:

EmployeeTime

This web service has two operations: Query and Read.

The query operation works as expected but when I run the Read operation it returns all the correct data EXCEPT the quantity fields...

In the EmployeeTime object there is a list of Items. Each item has a Quantity and QuantityTypeCode element amongst all the others.

Any idea what these quantity elements would not be returned?

(Yes - I did ensure the Quantity fields were ticked when defining the web service.)

;-)

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 19, 2016 at 03:47 AM

    Hi Jason,

    Webservice response contains only those elements which has data, Quantity might not have data for the Item instance you have selected.
    You could verify this by opening the same instance in the UI and check if Quantity is not empty.

    Thanks, Pradeep.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.