Overriding the JournalName on LedgerJournalTable.

Dear All,

I have a requirement to override the lookup field on LedgerJournalTable on the basis of a condition in voucher series in journalnames. Actually i have added a field of enable which will decide the voucher series lookup on journalname field . I tried overriding the lookup on JournalName field on LedgerJournalTable but prblm is like it is showing the voucher series of all journal types which should not happen…

JournalFormTable.designLookupJournalName(_formcontrol); - this code is getting bypassed.

How to apply filter along with std. functionality?