Journal name *****. does not support journal type Daily.

i had to filter Payment journal on the bases of created date and time, for that i used this line of code in execute query() of data source inventjournaltable

this.query().dataSourceName(LedgerJournalTable_ds.name()).addRange(fieldnum(LedgerJournalTable, CreatedDateTime)).value(SysQuery::range(roletable.uptodate,dateMax()));

the records got filtered as per my requirement  but i am facing an other problem that is when creating new journal i am facing an error

Journal name BVHO. does not support journal type Daily.

 by default journal type is Daily but for payment journal i want Payment but due to my customization ledger type is not changing to required type

so i need help regarding this issue that what should i do next so that my filter also work and other things also work normally.

waiting for a quick response.

Related
Recommended