Link to home
Start Free TrialLog in
Avatar of meyerworks
meyerworksFlag for United States of America

asked on

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
Avatar of dqmq
dqmq
Flag of United States of America image

>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.  
ASKER CERTIFIED SOLUTION
Avatar of meyerworks
meyerworks
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of meyerworks

ASKER

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 .