Hi All,
i wrote the fallowing code
static void CountFunction(Args _args)
{
LedgerTrans ledgerTrans;
int countLedgerTrans;
;
select count(recId) from ledgerTrans;
countLedgerTrans = ledgerTrans.recId;
print countLedgerTrans;
pause;
}
IT SHOWS ME THE FALLOWING ERROR
Assignment/Comparison loses precision.