ken bohnenkamp
3rd May 2018, 15:57
I have an form that has 10 occurrences. I might enter 5 occurrences and then on the 6th occurrence, I hit a condition that asks the question "Do you want to continue?"
If the user answers yes, then just continue on but if the answer is no, I want to save the 5 good occurrences that were already entered, but I do not want to update the
6th occurrence, I just want it removed and start entry of the 6th occurrence over again. I tried the command execute(recover.set) but that lost all my changes to the previous
5 occurrences. Is there a way to do this? Any help would be appreciated.

vahdani
3rd May 2018, 16:47
Hi,

exactly for this reason there is a standard function enable.save.on.occ.change()
I use this in ERPLN in the following manner. Your profile says Baan4. I am not certain if this available in Baan4:rolleyes:


after.form.read:
|* Force implicit save after each occurence.
enable.save.on.occ.change()

bhushanchanda
14th May 2018, 16:12
There was a thread with a replacement on Baan 4 for enable.save.occ.change()

http://www.baanboard.com/baanboard/showthread.php?p=182469#poststop