Hi all, Hope you all doing good. I have issue and i am struggling for so much in calculation while updation and insert on the same table. Here is the issue… I am working on AX 2009.
Mete
r no opening reading close reading total usuage
101E 0.0000 5.0000 5.0000
101E 5.0000 15.0000 10.0000
102A 0.0000 25.0000 25.0000
102A 25.000 35.0000 10.0000
I am getting value like this…
I want this meter field will have initial value as 0.0000 for all the meters …here i have given only 2 meters…
101E & 102A
I am getting results like this.
now i am getting wrong values…but only thing with initialization…
I couldn’t get you. Please make it in a readable format.
Hi krishna,
The issue is ?
Meter no opening reading close reading total usuage
MN1 0.0000 10.0000 10.0000
MN 2 0.0000 15.0000 15.0000
MN1 15.0000 20.0000 5.0000
MN2 15.0000 20.0000 5.0000
krishna here…I have 2 meters only…for every calculation on meter ,I should be initialised to 0.0000
for each record on one meter (MN1)…It should take the close reading of the previous record. and it will used in opening reading…next close reading valu will be taken as opening reading. i.e from the previous record.
if you have skype please add me on parimalraj.sscet
still not clear. It’s hard to guess what is your requirement. However if you know the business logic you can implement it.
Would be better if you explain with an example with more specific.
Also, we already gave you plenty of information in your other threads. What’s the point asking a question, ignoring all answers and asking the same question again?