General Journal - Lines

Hi All,

I have added a lookup on general Journal lines overview tab on paymMode field in general ledger. I am able to see the lookup but i cannot save and select any value from that lookup. kindly help.

Regards,

Kalpna

how did you build the lookup?

i wrote this code:

public void lookup(FormControl _formControl, str _filterStr)

{

;

//GOD NS by 37729 on 2/06/14 at 3.12 pm

if (ledgerJournalTrans.AccountType == LedgerJournalACType::Ledger ||

ledgerJournalTrans.AccountType == LedgerJournalACType::Bank)

//GOD NS by 37729 on 2/06/14 at 3.12 pm

{

// A custom lookup is required for ledger accounts because different tables are

// accessed depending on the calling form. in all other supported cases the table

// relation provides the necessary link.

CustPaymModeTable::lookupPaymMethod(_formControl, _filterStr, ledgerJournalTrans.Company);

}

else

{

super(_formControl, _filterStr);

}

}