sorry mistakenly uploaded non-ajax version
here is the download link again
@anoopmb - This is what i asked, This is awesome. i have tested your program, it works fine.
I found one thing was missing from the core. Let me tel you here.
From sales invoice page,or items page. you can see a textbox before the drop down. When we type the item code like say for example if i type 101 with default US coa. it will get us first item automatically in the drop down. This you have override it. i mean its not working either in your auto complete and ajax auto complete versions.
While taking one step forward, we dont need that feature, if we can type the stock id to get the product in the list.
I mean, if you enable it to check the stock id for items, debtor no for customers, supplier id for suppliers to get the list working. If you add it like this, i guess it would be perfect replace for the existing textbox item code search, and popup search box. quite simple textbox will filter the product from the list, whether its 1,00,000 or more than that, we dont need to worry, FA will handle the items.
Once again, its a great job @Anoopmb. Congrats for the bold step to change the core concept.