Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

trans color

$
0
0

dear  ;

i have table name   DAPEMPLTRANS   need when trans in posted coming by color  

i am add the code in DAPEMPLTRANS   table

but not work can any help for this

This code :

public void displayOption(Common _record, FormRowDisplayOption _options)
{
    DAPEmplTrans     daptrans;

    DAPTrans = _record ;


    
   Switch(DAPTrans.Posted)
    {
        Case NoYes::Yes:
        _options.backColor(8421631); //Light Red 8421631
        Break;
    }

    Switch(DAPTrans.Posted)
    {
        Case NoYes::No:
        _options.backColor(65408); //Light Red 65408
        Break;
    }


Viewing all articles
Browse latest Browse all 72043

Trending Articles