preloader-matrix

Alfasith

Infolog in AX and its types

Hi,
Infolog

static void Intro_Infolog(Args _args)
{
int i;
;
info(“This is an info.”);
warning(“This is a warning.”);
error(“This is an error.”);
setprefix(“prefix text”);
for (i=1; i<=3; i++)
{
setprefix(“1. for loop”);
info(“loop 1”);
}
for (i=1; i<=3; i++)
{
setprefix(“2. for loop”);
info(“loop 2”);
}
//info(“Check customer parameters.”, “”,
//SysInfoAction_Formrun::newFormname(formStr(CustParameters),
//identifierStr(Customer_defaultCust), “”));
info(“Check the sales form help page.”, “ApplDoc://Forms/SalesTable”);
throw error(“This error stop execution.”, “”);
}

 

Leave a Reply

Your email address will not be published.