Dear All,
I am facing a problem.
I have got a boolean say Boolean1 on Gen. Journal Line. On the Journal Voucher Form, I want to mark all the boolean 1 of the same document no.=True or False when I click on the first line boolean1. For example.
DocNo. Amount Boolean1
DOC001 100.00
DOC001 200.00
DOC001 300.00
DOC002 100.00
DOC002 200.00
Now when I click on First line boolean1, all the three lines with the same document no. (DOC001) must be true automatically. The scene should be like below after clicking line 1.
DocNo. Amount Boolean1
DOC001 100.00 TRUE
DOC001 200.00 TRUE
DOC001 300.00 TRUE
DOC002 100.00
DOC002 200.00
The error is, when I click the first line, the booleans get update on the table, but the form flashes an error " ANother User has modified the record for the Gen.Jour. Line after you retrieved it from the database."
The code has been written on the table field=Boolean1.
Kindly help with your suggestions.
Regards,
Deep
India
0
Answers
Tino Ruijs
Microsoft Dynamics NAV specialist
Already done, but of no use.
Deep
India
currform.update
Hopefully it will work ..
It works.
Deep
India