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;
}