Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Thursday, June 27, 2013

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.", "");
}


No comments:

Post a Comment

SQL code to upate one Legal entity banner to all the legal entity in D365

 Hi, update companyimage set  companyimage.Image  = companyimageA.Image  from  ( select Image from companyimage where dataAreaid = 'USF...