I have the following view:Region
Eastern USD20K 50 Units
Sale 1 5k , 20 units
Sale 2 15k , 30 Units
Western USD30K, 18 units
Sale 1 5k, 3 Units
Sale 2 10k, 10 units
Sale 3 15k, 5 Units
The problem is that, I need to compute cost per unit, I was thinking of having a view, and than create a form which will lookup the view, and get the total using @sum. However, when I have 50,000 documents, this view need to be updated. So, is it better, I make the document, whenever saved, will update one profile document. So I just need to retrieve this document, to know the latest total.
Problem is that, I don’t know how to create a profile document. I know there is help, but it will be much easier to understand, if I can get some example on how to create it.
Also, anyone can share with me how to write the formula, can I use @Command, or I need to write LotusScript, anyone got sample of script which I can modify, scenario as below.
I creat a form called balance. Following are the fields
Region: Eastern or WEstern
Current Balance: A
Last Transaction: B
Final Balance: A+B, which give me final balance as at today.
Any help is greatly appreciated.