Friday, September 11, 2009

How can I pass parameter from a form to a class

static void main(Args _args)
{
PurchTable purchTable;
;

if (_args.dataset( ) != tablenum(PurchTable )
throw error(strfmt( "Method %1 was called with an invalid record", funcname())) ;

purchTable = _args().record( );

}

No comments:

How to identify the user that was used to change an object from AOT in AX2012

Get the object name for which we need to track these (user and date&time) information's. Login to SQL Server Management Studio an...