Discussion:
Problem with method "ModifiedField" / "ValidateField" on a BaseEnu
(too old to reply)
hammer
2008-06-05 13:17:01 UTC
Permalink
In Dynamics :
I've got a table with a BaseEnum (Ative/NotActive). If I change the enum
from NotActive to Active I must send a message (warning) to the user. It
calls the (override)"modifiedField"-method on the table to send this
message.This works of course perfectly. But if I then make an other action on
the the form or table it activates for the 2-scnd time the "ModifiedField"-
method on the the table and it shows the message again.
I've got the same problem with BaseEnums when I use the "Modified"-method on
a form.
I cannot reproduce this problem in Axapta 3.0 SP4!!!!

Any ideas ?????

Tnx
--
jan hammer
getronics pinkroccade
Marien
2010-08-24 10:36:03 UTC
Permalink
Try to override the selectionChange method in form datasource field. This
should help.
Post by hammer
I've got a table with a BaseEnum (Ative/NotActive). If I change the enum
from NotActive to Active I must send a message (warning) to the user. It
calls the (override)"modifiedField"-method on the table to send this
message.This works of course perfectly. But if I then make an other action on
the the form or table it activates for the 2-scnd time the "ModifiedField"-
method on the the table and it shows the message again.
I've got the same problem with BaseEnums when I use the "Modified"-method on
a form.
I cannot reproduce this problem in Axapta 3.0 SP4!!!!
Any ideas ?????
Tnx
--
jan hammer
getronics pinkroccade
Loading...