When I use the CompanyVouchers collection, Tally Server returns vouchers for the current-date only.
CompanyVouchers is a pre-defined collection. The Collection definition is given herewith for your reference:-
[Collection: Company Vouchers]
Type : Voucher
Child of : ##SVCurrentDate
Report : Voucher
IsODBCTable : Yes
As you can see, this collection is filtered for the Current-date using the ChildOf attribute. Hence, it returns Vouchers for the current-date only.
To retrieve all Vouchers, you can use the RTSAllVouchers Collection.
No comments:
Post a Comment