Account type Filter problem in ax 2012


I want filtered look-up like ledger journal trans basis of account type but i have reached ledger account look-up through segmented entry control ,but problem in vendor it will come.

please help. thanks

see \Forms\LedgerJournalTransDaily\Designs\Design[Tab:Tab][TabPage:OverViewTab][Grid:overviewGrid]\SegmentedEntry:LedgerJournalTrans_AccountNum\Methods\lookup

this uses \Classes\LedgerJournalEngine\accountNumLookup for lookup based on the chosen account type.