Solved

Where is Purchase Order Line Received Quantity stored?

Posted on 2011-09-02
3
637 Views
Last Modified: 2012-08-14
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
0
Comment
Question by:meyerworks
  • 2
3 Comments
 
LVL 42

Expert Comment

by:dqmq
ID: 36476497
>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.  
0
 

Accepted Solution

by:
meyerworks earned 0 total points
ID: 36490967
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.
0
 

Author Closing Comment

by:meyerworks
ID: 36518407
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 .
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes some very basic things about SQL Server filegroups.
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question