Hi ,
I need to return a count of all the unique ( don't count the duplicate ) voucher number of a journal in vedor payment journal.
Can you help me with the code??

Hi ,
I need to return a count of all the unique ( don't count the duplicate ) voucher number of a journal in vedor payment journal.
Can you help me with the code??
Just use "group by" to group by voucher and "where" to select only records from the journal required. Here is documentation with examples docs.microsoft.com/.../select-statement-syntax