u can take some ideas from interpreter design pattern.... http://en.wikipedia.org/wiki/Interpreter_pattern
Tony Zeigler wrote: > > Trying to think of where they do something similiar already, and I > think of their import mechanism. > For example, if you create a table with a column for each variable, > then you can stick your formula in the definition group to populate > another field. > Finally, to tie it all together you could call the import via code. > > Or - you could try to dig down into the code to see if you can get to > how AX calls their convert code in the import - and then do something > similiar. > > To delve into what I'm talking about go to administration, periodic, > data export/import, definition group, table setup, then the conversion > tab. In that tab you place code associated with the import of the > selected table of that definition group. The resulting code is then > compiled and run each time you run an import. They store it in the > database as well. > > > --- On Tue, 3/3/09, naveed ali <[email protected] > <mailto:naveed_jadoon83%40yahoo.com>> wrote: > > From: naveed ali <[email protected] > <mailto:naveed_jadoon83%40yahoo.com>> > Subject: [development-axapta] Mathmatical Expression in ax > To: [email protected] > <mailto:Axapta-Knowledge-Village%40yahoogroups.com>, > [email protected] > <mailto:development-axapta%40yahoogroups.com> > Date: Tuesday, March 3, 2009, 4:40 AM > > Hi, > > I have mathmatical expression like a+b(c/d)/(d* e). > > My problem is how to save it in database table and reterive to > perform some mathmatical operation.All these varaibles have some fixed > values which is stroed in another table. > > Any help regardig this. > > > Regards, > > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed] > > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/development-axapta/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/development-axapta/join (Yahoo! ID required) <*> To change settings via email: mailto:[email protected] mailto:[email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

