Thursday, May 15, 2014

Class ID and Number get through X++

// Class ID and Number get through X++

static void classIdNUmGetExample(Args _args)
{
    int i,j;
    WorkTimeCheck w; // class
    ;
    i = classIdGet(w);
    print "Class ID for object is " + int2Str(i);
   

    j = classNum(PurchTableForm); //class name
    print "Class NUm for object is " + int2Str(j);
    print j;
    pause;
}

No comments:

Post a Comment

Search hierarchy for a match (TableALLGroup) X++

  Table1 ppt;  select firstonly ppt  order ItemCode, ItemRelation, AccountCode, AccountRelation where      (ppt.ItemCode == TableGroupAll::T...