Hi Morris,
The only practical option you really have is to override the
ValidateDelete and ValidateWrite methods in each individual form's
datasources. A more generic approach is to do that on the tables.
Off course the Axapta kernel dev team could implement that in the base
class, but you can't.
Regards,
--
Luis Mour�o
[EMAIL PROTECTED]
--- In [EMAIL PROTECTED], "Morris Mendoza"
<[EMAIL PROTECTED]> wrote:
>
>
> Hey Tom,
>
> Thanks for your reply, however, aren't this all form level methods?
> I was trying to find a way for all forms to react the same way maybe
> calling a GLOBAL method or something. Any thoughts on this?
>
> -MORRIS
>
> --- In [EMAIL PROTECTED], "Tom Bak" <[EMAIL PROTECTED]>
> wrote:
> >
> >
> > Sequence of execution of methods
> >
> >
> > The nature of the user interface in MorphX is event driven. This
> means that
> > when an event recognized by MorphX occurs, the X++ programmer can
> modify the
> > system's default behavior if necessary. A table does not have a
> visual
> > representation on it's own. The only way to work with the data in
> your
> > tables through the user interface, is through a form. Both forms
> and tables
> > have methods that are executed in response to the actions
> performed by the
> > end user. Below are descriptions of typical sequences of events
> that occur
> > in a normal MorphX application.
> >
> >
> >
> >
> > When the end user...
> >
> > This sequence of table methods is called...
> >
> >
> > runs a form which is using a table as a data source.
> >
> > HelpField
> >
> >
> > inserts a new record via a form using CTRL+N
> >
> > InitValue
> >
> >
> > jumps from field to field when entering data in a record by using
> the Tab
> > key
> >
> > ValidateField, HelpField
> >
> >
> > enters a new record via a form and leaves the current record, for
> example,
> > by using the arrow keys to move to the next line in a grid
> >
> > ValidateWrite, Write, Insert
> >
> >
> > modifies an existing record via a form and leaves the current
> record, for
> > example, by using the arrow keys to move to the next line in a grid
> >
> > ValidateWrite, Write, Update
> >
> >
> > places the mouse pointer over the current field in the current
> record in a
> > form
> >
> > TooltipField
> >
> > -----Original Message-----
> > From: Morris Mendoza [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, October 28, 2004 2:06 AM
> > To: [EMAIL PROTECTED]
> > Subject: [development-axapta] Insert, Update, Delete Watch
> >
> >
> >
> >
> > Im a newbie in AXAPTA so i hope you can bear with my question. Here
> > it goes.
> >
> > I want to have a way to watch every UPDATE,DELETE,ADD in any form
> > that i use in axapta. I want to know what Form Im calling, what
> > Table im updating, and the values that i entered during the
> > UPDATE,DELETE or ADD. I want to display this information before any
> > of the said actions is committed in my database.
> >
> > I tried writing code in the TTSNOTIFYCOMMIT and TTSNOTIFYBEGIN
> > classes, but i wasn't able to get the information maybe because
> > these classes does not require any parameters.
> >
> > Can anyone please help me with my problem?
> >
> > -MORRIS
> >
> >
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Sponsor
> >
> > ADVERTISEMENT
> >
> >
> <http://us.ard.yahoo.com/SIG=129r7bdbo/M=315388.5529720.6602079.30011
> 76/D=gr
> >
> oups/S=1705006764:HM/EXP=1099026952/A=2372354/R=0/SIG=12id813k2/*http
> s://www
> > .orchardbank.com/hcs/hcsapplication?
> pf=PLApply&media=EMYHNL40F21004SS> click
> > here
> >
> > <http://us.adserver.yahoo.com/l?
> M=315388.5529720.6602079.3001176/D=groups/S=
> > :HM/A=2372354/rand=698236002>
> >
> >
> > _____
> >
> > Yahoo! Groups Links
> >
> >
> > * To visit your group on the web, go to:
> > http://groups.yahoo.com/group/development-axapta/
> >
> >
> > * To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]
> subject=Unsubscribe>
> >
> >
> > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service
> > <http://docs.yahoo.com/info/terms/> .
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

