Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IMINVLOC File

Status
Not open for further replies.

dmrVA

IS-IT--Management
Jul 22, 2003
164
US
What populates this file, field Product Category?
It is not viewable or up-datable on the screens.
I do not see where you tie the product category to anything and the material cost type is tied correctly to the location.

Thanks
Donna
 
This comes from the item master product category. I am not sure why this field is not available to the screen designer.

Software Sales, Training, Implementation and Support for Macola, Synergy, and Crystal Reports. Check out our Macola tools:
 
When I do a crystal report using the IMINVLOC file, part#, location, product category for a few parts it pulls over incorrect infomation (the category is incorrect). I just cannot figure out where the tie is. In the item master the category is correct. Strange....

Thanks
 
Donna,

Are you saying the imitmidx_sql.prod_cat <> iminvloc_sql.prod_cat?

I have sql script to fix this. Are you still on Pervasive?

Software Sales, Training, Implementation and Support for Macola, Synergy, and Crystal Reports. Check out our Macola tools:
 
The report uses the IMINVLOC_SQL file and I am selecting prod_cat. I have not added the IMITMIDX_SQL file to the report. That is why I am so confused.

We don't key in the Prod Cat when we load the inventory location, so where is this field getting populated from??

Yes, we are still on Prevasive.

Thanks
 
When you add a new item location record, it reads the prod_cat from the item master (imitmidx_sql) table. The first time you create a new item master, it automatically creates an item location using the same prod_cat.

Software Sales, Training, Implementation and Support for Macola, Synergy, and Crystal Reports. Check out our Macola tools:
 
Well there is something wrong, because what is in the Inventory Master as product category does not match what comes up in the inventory location...unless they were put in wrong and the programming does not recognize a change.

I just changed the report to look at the Inventory MAster prod category...guess a but in this old Pervasion version.

Thanks for your help.
 
This script should work with Pervasive. It will set the iminvloc_sql.prod_cat equal to the imitmidx_sql.prod_cat. Please run a file validation report on the imtmidx_sql first to make sure all product categories are good and there are no nulls.

Code:
UPDATE     iminvloc_sql
SET iminvloc_sql.prod_cat=imitmidx_sql.prod_cat
FROM         imitmidx_sql INNER JOIN
                      iminvloc_sql ON imitmidx_sql.item_no = iminvloc_sql.item_no

Software Sales, Training, Implementation and Support for Macola, Synergy, and Crystal Reports. Check out our Macola tools:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top