preloader-matrix

Alfasith

Adding indicators to the table in Dynamic AX

Hi,

display ImageRes showIndicatorImage()
{
    #resAppl

    int ret;
    ;
    ret = 0;
//By Alfasith for the requirement of red and green indicator
    if (this.ExpiryDate > systemDateGet() )//  == AnotherTable::find(this.ForeignKeyField).MyField)
        ret = #ImageAgingPeriod2_small;
   else
        ret = #ImageAgingPeriod5_small;

    return ret;
}

Regards,

Leave a Reply

Your email address will not be published. Required fields are marked *