static void Jobx(Args
_args)
{
#localmacro.TRA_Macro_Local1
print "Hello local world";
pause;
#endmacro
{
#localmacro.TRA_Macro_Local1
print "Hello local world";
pause;
#endmacro
#TRA_Macro_Local1
}
}
now
push F5 (execute)
Otto
-----Ursprüngliche Nachricht-----
Von: Danny Gaethofs [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. Dezember 2004 14:51
An: Axapta-Knowledge-Village@yahoogroups.com
Betreff: [Axapta-Knowledge-Village] Macro Question
Dear all,
I have created a macro in the AOT containing the following:
#localmacro.TRA_Macro_Local1
print "Hello local world";
pause;
#endmacro
Now I created a job containing the following:
static void TRA_Macro_Global1(Args _args)
{
#TRA_Macro_Local1
}
I expected I could just call the macro to have the code stored in
the macro executed. It makes no difference if I call the macro Local
or Global. The above is not working.
How can I put a large amount of code in a macro and execute it at
compile time?
regards,
Danny
Sharing the knowledge on Axapta.
Sharing the knowledge on Axapta.
Yahoo! Groups Sponsor Get unlimited calls to
U.S./Canada
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.