• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 667
  • Last Modified:

Where is Purchase Order Line Received Quantity stored?

How can I locate or access the received quantity on a purchase order line if the line is only partially filled? Does the SDK have access to this kind of information? It is retrievable using a stored procedure  from the flex ODBC driver but I am hoping to use the new data retrieval mechanisms in Enterprise 2011( SqlAnywhere)  or the SDK. The value is reported using open Purchased Orders By Job Off of the Reports Menu, but I can not see a column in the purchase order line table from the QBSqlAnywhere Tables
  • 2
1 Solution
>It is retrievable using a stored procedure

Then examine the proc and see where it originates.  FWIW, I would not expect to see it in the PO Line table, rather in a PO Receipt table or something to that effect.  

If you have a "managed" proc that returns the correct information, then you may want to stick with that.  Received_Qty may very well be a sum() of all receipts for the same PO Line.  Or it can be even more complex if it takes returns, cancellations, and adjustments into account.  
meyerworksAuthor Commented:
Flexquarters.com Limited QODBC Driver for QuickBooks® Pro 2011-2002
Version has a stored procedure for open PO's which provides Received Quantity. Also, I've learned that the SDK provides a purchase order query method, and a method to call QB reports..working each to decide which works best in my application.
meyerworksAuthor Commented:
There is no field named Received Quantity in any purchase order table that i could find either in Flex's ODBC, or the version 11 Enterprise new ODBC schema. Several indirect methods are available .
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now