Hi, You can see example in the InventTable table insert() method.
Regards, Agus On Mon, Jul 5, 2010 at 10:42 AM, sai sharan <saisharan....@gmail.com> wrote: > > > can u please just send me a sample code for an insert. > > On Sun, Jul 4, 2010 at 9:28 PM, Agus Riyadi <agusa...@gmail.com> wrote: > >> >> >> Hi, >> >> Ax does not support trigger in the database. You have to write your >> 'trigger' code in the Ax tables' method under the AOT > Data Dictionary > >> Tables. There are table methods (insert, update, delete) that you can >> override to satisfy your trigger needs. >> Constraint in the database is also not supported in Ax - except for index >> constraint which is generated also from the application. >> Foreign key relation and delete action constraints are also defined within >> the application, not in the database. >> >> Best regards, >> >> Agus Riyadi >> >> >> >> On Sat, Jul 3, 2010 at 6:22 PM, sai sharan <saisharan....@gmail.com>wrote: >> >>> >>> >>> >>> sir , >>> >>> i am a beginner in Ax Programming, I had a situation where i need >>> to reciprocate the changes made in a table in one database into the table >>> in another database. i added a trigger in sql server for that table. but >>> when i add a record in that table from Ax it shows an error . so i need to >>> write a trigger in Ax itself. how ca i do that? >>> >>> please help me to get out of this >>> situation. >>> >>> waiting for ur reply. >>> -- >>> Saisharan koka, >>> ph:8121156190.... >>> >> >> > > > -- > Saisharan koka, > ph:8121156190.... > >