confusion with keys

kgsinhakgsinha Member Posts: 67
Hello everybody.....

I am filter cust. ledger entry on two fields i.e. document type and customer no.

But the Setcurrent key which i am using that is :-
Document No.,Document Type,Customer No.


Applying this key will reduce the time or has no effect...because first filed is document no..in key..but this is not in filter??

Comments

  • Sandeep_PrajapatiSandeep_Prajapati Member Posts: 151
    Hi kgsinha,

    Using [Document No.,Document Type,Customer No.] key compared to the default one [Entry No.] is better. It will improve the performance for your above filters, if the order is
    1) filter on Document Type then
    2) filter on Customer No.
    Sandeep Prajapati
    Technical Consultant, MS Dynamics NAV
  • David_SingletonDavid_Singleton Member Posts: 5,479
    kgsinha wrote:
    Hello everybody.....

    I am filter cust. ledger entry on two fields i.e. document type and customer no.

    But the Setcurrent key which i am using that is :-
    Document No.,Document Type,Customer No.


    Applying this key will reduce the time or has no effect...because first filed is document no..in key..but this is not in filter??

    Is this Native DB or SQL?
    David Singleton
Sign In or Register to comment.