If you have the parts list in excel, use 'ADO' thru an ODBC connection in VBA:
Â
Â
 -Loop thru part numbers:
    - For each part number , pass the part number to a function which use a SQL query to 'hit' the PartBin table , return the 'qnty'
Â
Â
 -Loop thru part numbers:
    - For each part number , pass the part number to a function which use a SQL query to 'hit' the PartBin table , return the 'qnty'
--- On Wed, 6/10/09, bruce_erpgeek <epicor@...> wrote:
From: bruce_erpgeek <epicor@...>
Subject: [Vantage] Re: Have anyone successfully pulled data from progress to excel via ODBC VB funct.?
To: vantage@yahoogroups.com
Date: Wednesday, June 10, 2009, 9:09 PM
This may be a slightly odd way of solving this problem, but, using the system capability of checking inventory requirements for a job.
Step 1
Create a job for part on the fly
Step 2
Copy and paste the list of parts you want to check the inventory for into the material for the job.
Step 3
Thru the action menu, Check inventory for the parts for the job.
or run a pick list.
Copy this to excel.
Step 4
Delete the job - you don't want to cause a problem with MRP. :)
Bruce
--- In vantage@yahoogroups .com, "sh4m4n71x" <lunar@...> wrote:
>
> I have a long list of part numbers that I need the current on hand qty. Instead of checking each number individually I was wondering if anyone have created or used a VB function in excel that would pull this info via ODBC from the PartBin table
>
> Example.
>
>
> "Part Number" , ="function that pulls the current QTY from PartsBin based on the part number from row1"
>
> Any info as how to accomplish this would be appreciated.
>
> Thanks,
> Tom.
>
[Non-text portions of this message have been removed]