The Args system class is one of the most widely used classes in Axapta. Args is an abbreviation for arguments and an Args object is used to pass information from one object (caller) to another newly created object. Using Args for object creation Args args = new Args("CustTable"); FormRun formRun = ClassFactory.formRunClass(args); ; formRun.init(); formRun.run(); formRun.wait(); caller: public Object caller( [Object _value] ) This method gets or sets the calling object. When creating an args object directly through code, the caller will not be automatically set, so you should set it yourself. Record: public Common record( [Common _value] ) this method gets or sets a table buffer (record) attached to the Args. A buffer of any table can be attached to an Args object using this method. Be aware when retrieving the buffer that there will be no compile-time check of table id. You should use the datase...
This blog has posts with AX Developments and X++ Codes for your Day to day use