Where is Purchase Order Line Received Quantity stored?

meyerworks
meyerworks used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
>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.  
Flexquarters.com Limited QODBC Driver for QuickBooks® Pro 2011-2002
Version 11.00.00.275 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.

Author

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 .

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial