Thursday, September 17, 2009
Friday, September 11, 2009
How to call a form method from method of other form
void B()
{
Object formAobj = element.args( ).caller( );
;
// Check that this form was opened from FormA
If ( formAobj && formAobj.name( ) == formstr(FormA) )
{
// Call method A on FormA
formAobj.A()
}
Return;
}
{
Object formAobj = element.args( ).caller( );
;
// Check that this form was opened from FormA
If ( formAobj && formAobj.name( ) == formstr(FormA) )
{
// Call method A on FormA
formAobj.A()
}
Return;
}
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( );
}
{
PurchTable purchTable;
;
if (_args.dataset( ) != tablenum(PurchTable )
throw error(strfmt( "Method %1 was called with an invalid record", funcname())) ;
purchTable = _args().record( );
}
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( );
}
{
PurchTable purchTable;
;
if (_args.dataset( ) != tablenum(PurchTable )
throw error(strfmt( "Method %1 was called with an invalid record", funcname())) ;
purchTable = _args().record( );
}
How to sow a webpage on ax 3.0
These are the steps to solve your problem..
STEPS-->
1) Create a new Form in AOT
2) In design of that form
A) Add-->ActiveX
B) Set Autodeclaration property of that ActiveX to "Yes"
C) Set Height & Width property as per your requirement
3) Override "Init" method of Form u have created in step-1)
public void init()
{
;
super();
WebPage.Navigate( "http://www.google. co.in");
}
4) Run the form
STEPS-->
1) Create a new Form in AOT
2) In design of that form
A) Add-->ActiveX
B) Set Autodeclaration property of that ActiveX to "Yes"
C) Set Height & Width property as per your requirement
3) Override "Init" method of Form u have created in step-1)
public void init()
{
;
super();
WebPage.Navigate( "http://www.google. co.in");
}
4) Run the form
Subscribe to:
Posts (Atom)
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...
-
Combo boxes in Dialogs are added by adding a DialogField object with the type of an enum. The enum is then controlling what items you can pi...
-
This article explains: How to picking list through a job using X++ in Dynamics AX. Applied on: Dynamics AX 2009 SP1 Create a job a...
-
A while ago I had the need to translate labels, I was creating eMail bodys while using SysMailer and wanted to use different languages for d...