Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

show image in ssrs report according to no yes value in field

$
0
0

i am creating SSRs Report and in logic i have 2 fields bank payment and cheque payment.

so if payment type = bank payment then 

it should show image bank on report 

or if payment type is cheque then it should show cheque image 

At  process report i have written logic

and values are coming correctly in tmp table but images are not printing accordingly 

i tried severel scenarios ...  

kindly help 

==

if (VendPaymModeTable::find(ledgerjournaltrans.PaymMode).LtBankPayment == NoYes::Yes)

        {

            LTPaymentRequestTableTmp.ShowBankImage  = true;

        }

        else

        {

            LTPaymentRequestTableTmp.ShowBankImage = false ;

        }

        if (VendPaymModeTable::find(ledgerjournaltrans.PaymMode).LtChequePayment == NoYes::Yes)

        {

            LTPaymentRequestTableTmp.ShowCheckImage = true;

        }

        else

        {

            LTPaymentRequestTableTmp.ShowCheckImage = false;

        }

 

 


Viewing all articles
Browse latest Browse all 9880

Trending Articles