Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing Stock Value
Message
De
06/07/2010 15:07:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Divers
Thread ID:
01471551
Message ID:
01471571
Vues:
46
openingamount + nvl(purchaseamount,0) - nvl(soldamount,0) as [ClosingAmount] ;
Nomi, thanks for helping but I want to draw you attention to above line of codes

the closing qty will multiply by purchase rate

The last purchase rate of 1401 is 14.775
so closing amount of 1401=?

closing amount=closing qty*last purchase rate
14.775*6=88.65

so closing amount of 1401=88.65

But your query displays 59.70
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform