Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
POS - weighted average
Message
From
05/09/2001 21:39:34
 
 
To
05/09/2001 16:48:54
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00552340
Message ID:
00552931
Views:
17
Hi,
Thank you for your reply.
Hmm.. What I am trying to say is...

The calculation of weighted average:
Stock Balance as at 01/09/2001 = 10 and weighted average = 4.50

Stock operation
Action    Date           Qty  CPU    Wegithed Average 
StockIn   01/09/2001     5    4.40   ((10*4.5) + (5*4.4)) / 15 = 4.4667
Sales     01/09/2001     1    
WHen I try to calc the qty of the item backdated, i will get balance stock = 14 becoz one of them had been sold. However, the actual qty at the time stockin should be 15. It may effect the result of weighted average. SInce invoice doesn't contain of time field, how could I know stock in was being done before sales?


Pls advise
Thank you
Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Previous
Reply
Map
View

Click here to load this message in the networking platform