Main Account Type 'Total' to be restricted in Accounts lookup.

In AX 2012 R3, I have created one General journal Line. For the account type ‘Ledger’, by standard all (Main Account types Balance sheets, Reporting, Profit and Loss, Total etc.) the main accounts are getting displayed in the Account field Lookup.

The requirement is to restrict the main account type ‘Total’ in the accounts lookup if I choose account type as ‘ledger’. Is it possible ?

Regards,

Sathees Kannan