Sunday, July 3, 2016

Code profilier Test X++

static void san_codeProfilerTest()
{
    int   i, j;
    ;  
    #profileBegin("test")  
   
    for(i=1;   i<=10; i++)
    {  
        j+=   i*i;
    }  
   
    info(strfmt("%1",j));  
    #profileEnd  
}

No comments:

Post a Comment

Override custom dimension value on posting sales invoice in X++

 Requirement: 1. Override custom dimension value on posting sales invoice 2.  Ledger posting type as "Cost of goods, invoiced" ...