Hi Rob,
No, that's not quite it. I need to know how long my inventory has been here. If I have a part with more than one receipt, I need it divided by receipt date. Example part A has 50 on hand. I received 20 in May and 10 in July and 20 in August. I need to know that if Part A cost $1 that I have $20 of current inventory, $10 of 60 day inventory and $20 of 90 day inventory.
Thanks for taking time to answer.
Doyce
---In MS_Access_Professionals@yahoogroups.com, <r.koelmans@...> wrote :
Hi Doyce,
If I understand right, your issue is whether what you still have on stock was purchased for the last time.
So you need a query that gives the last receiving date of items with OnHand_01 <> 0. That's a simple join on the two tables.
Next you use that query in a query that groups on month of the last purchased date. Unless I misunderstand what info is needed, that would do the job I think.
Rob
From: MS_Access_Professionals@yahoogroups.com <MS_Access_Professionals@yahoogroups.com>
Sent: donderdag 5 september 2019 06:08
To: MS_Access_Professionals@yahoogroups.com
Subject: Re: [MS_AccessPros] Inventory Aging
A couple suggestions:
Every time I read about a specification for "buckets" I create a table of "buckets" with MinBucketValue, MaxBucketValue, and BucketTitle.
Is MAXID numeric? You are using a numeric operator ">=" and yet comparing it with a string.
You are calculating LeftSum in the query and also using LeftSum in other expression. I never do this. I would repeat the LeftSum expression/calculation in place of using LeftSum elsewhere.
You do the same thing with SeqID. Why not use [Transaction History].MAXID?
I would always make sure there is a space prior to the "and". You have ..."'and TNXCDE_15...
This might or might not resolve your issue but I would sleep better.
Duane
From: MS_Access_Professionals@yahoogroups.com <MS_Access_Professionals@yahoogroups.com> on behalf of winberry.doyce@... [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com>
Sent: Wednesday, September 4, 2019 2:54 PM
To: MS_Access_Professionals@yahoogroups.com <MS_Access_Professionals@yahoogroups.com>
Subject: [MS_AccessPros] Inventory Aging
Posted by: winberry.doyce@con-way.com
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (5) |
Tidak ada komentar:
Posting Komentar