E9: Recreate Stock Status from a point in time

Hi,

Stock status report works fine. How are you calculating previous day's average cost?

To use E9 BAQ, it would be tough. But you can start with PartWhse (which includes aggregated on hand qty and average material cost by warehouse). Left join parttran table. Filter the parttran table to only include transactions after the cut-off date. To decide which trantypes to use, if they change onhandqty or the avgerage material cost in the partwhse table, you will need to include this trantype and reverse the transaction. Below is example of Pur-Stk:

 

If you average cost .90 and you receive a PO at $1.00 – the transaction is for $1.00 – although the average cost has been re-calculated.

 

Let Current Average Cost $.90

Let Current On Hand Qty: 100

Current Total  Material Cost ($.90 x 100) = $90

Let cut-off date be December 31, 2014

Let current date be January 31, 2015

Transaction: (from parttran):

Let Transaction Type = Pur-Stk

Let transaction date be 1/1/2015

Purchased 50 qty at $1.00.

Assuming that there is no other transaction in the Parttran for this part, 50 qty is part of current on hand qty. Current Average Cost includes cost of this purchase. To calculate the average qty and average cost at end of December 31, 2014, this transaction must be removed from the Total Material Cost and Current On Hand Qty. Average cost will be calculated as Total Material Cost (Dec 31, 2014) Divided by Total On Hand Qty (as December 31 2014).

To calculate average cost, first calculate On Hand qty at December 31, 2014 and calculate Total Material Cost as December 31, 2014. Then divide Total Material Cost over Total On Hand Qty.

Total Material Cost as of December 31, 2014:


Current Material Cost – [purchase unit cost x purchased qty] =

$90 – [$1.00 x 50] = $90 - $50 = $40

 

Total Qty on Hand as of December 31, 2014:

Current On Hand Qty – Purchase Qty =

100 – 50 = 50


Average Material Cost as of December 31, 2014:

$40/50 = $.80/Unit

 

Hello,

I need to develop of query that will show me the value of the stock status report from a particular point in time (history).
The canned report has come limitations. Specifically, it cannot show me the correct cost from a previous date.

Has anyone tried doing this? If yes, can you share some pointers?
I’d imagine that it has to be based off of PartTran but I’m trying to figure out how to do it.




Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 179 Campanelli Pkwy | Stoughton | MA | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring

[cid:7c8328.png@dac65f39.43ba683c]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.




[Non-text portions of this message have been removed]
Yeah its bassed entirely off part tran, simply add up all the transactions and look up the values, its a heck of a query can't really be done reliably in 9.x you'll need more powerful BAQ tools


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Tue, Mar 3, 2015 at 3:44 PM, Joe Rojas jrojas@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p>Hello,


I need to develop of query that will show me the value of the stock status report from a particular point in time (history).
The canned report has come limitations. Specifically, it cannot show me the correct cost from a previous date.

Has anyone tried doing this? If yes, can you share some pointers?
I’d imagine that it has to be based off of PartTran but I’m trying to figure out how to do it.




Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 179 Campanelli Pkwy | Stoughton | MA | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring

[cid:7c8328.png@dac65f39.43ba683c]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.



[Non-text portions of this message have been removed]

</div>
 


<div style="color:#fff;min-height:0;"></div>

I did a BAQ – and it is  exported to a  cvs file to a directory on the network at every month end.

 

I don’t know how precise or at what point you need to get a cost from a particular date.

 

With the Parttran you might have a problem.

 

We use average cost –

 

If you average cost .90 and you receive a PO at $1.00 – the transaction is for $1.00 – although the average cost has been re-calculated.

 

 

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, March 03, 2015 1:44 PM
To: vantage@yahoogroups.com
Subject: [Vantage] E9: Recreate Stock Status from a point in time

 

 

Hello,

I need to develop of query that will show me the value of the stock status report from a particular point in time (history).
The canned report has come limitations. Specifically, it cannot show me the correct cost from a previous date.

Has anyone tried doing this? If yes, can you share some pointers?
I’d imagine that it has to be based off of PartTran but I’m trying to figure out how to do it.




Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 179 Campanelli Pkwy | Stoughton | MA | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring

[cid:7c8328.png@dac65f39.43ba683c]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.



[Non-text portions of this message have been removed]

We replicated to SQL Server so I’m planning to use that database for this query.
I’m just need to figure out what transactions need to be included and how to pull the cost from a point in time.





Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 179 Campanelli Pkwy | Stoughton | MA | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring

[cid:cd6683.png@9dcd4be4.4796397b]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.


From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, March 03, 2015 3:47 PM
To: Vantage
Subject: Re: [Vantage] E9: Recreate Stock Status from a point in time


Yeah its bassed entirely off part tran, simply add up all the transactions and look up the values, its a heck of a query can't really be done reliably in 9.x you'll need more powerful BAQ tools


Jose C Gomez
Software Engineer

T: 904.469.1524 mobile
E: jose@...<mailto:jose@...>
http://www.josecgomez.com
[Image removed by sender.]<http://www.linkedin.com/in/josecgomez> [Image removed by sender.] <http://www.facebook.com/josegomez> [Image removed by sender.] <http://www.google.com/profiles/jose.gomez> [Image removed by sender.] <http://www.twitter.com/joc85> [Image removed by sender.] <http://www.josecgomez.com/professional-resume/> [Image removed by sender.] <http://www.josecgomez.com/feed/>

Quis custodiet ipsos custodes?

On Tue, Mar 3, 2015 at 3:44 PM, Joe Rojas jrojas@...<mailto:jrojas@...> [vantage] <vantage@yahoogroups.com<mailto:vantage@yahoogroups.com>> wrote:


Hello,

I need to develop of query that will show me the value of the stock status report from a particular point in time (history).
The canned report has come limitations. Specifically, it cannot show me the correct cost from a previous date.

Has anyone tried doing this? If yes, can you share some pointers?
I’d imagine that it has to be based off of PartTran but I’m trying to figure out how to do it.




Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291<tel:781-573-0291> | cell: 781-408-9278<tel:781-408-9278> | fax: 781-232-5191<tel:781-232-5191>

addr: 179 Campanelli Pkwy | Stoughton | MA | 02072-3734
jrojas@...<mailto:jrojas@...> | www.matsinc.com<http://www.matsinc.com>
Ask us about our clean, green and beautiful matting and flooring

[cid:7c8328.png@dac65f39.43ba683c]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.



[Non-text portions of this message have been removed]




[Non-text portions of this message have been removed]