Hi all,
Please help me with this,
There is a customized code for the Item Requirements form Item Id Lookup method. When clicking the Item id, it is very slow to show the dropdown. The lookup method calls the Temporary Table where they perform inserting the below records,
while select inventtable
{
Tmp.item = InventTable.ItemId
Tmp.Name =InventTable.NameAlias;
Tmp.Tyoe =InventTable.ItemType;
Tmp.Product = EcoResProduct::find(inventTable.Product).DisplayProductNumber;
Tmp.Description = EcoResProductTranslation::findByProductLanguage(inventtable.Product, SystemParameters::getSystemLanguageId()).Description;
Tmp.insert();
}
Here the the highlighted part which is ProductNumber and Description makes the lookup bad.
Is there any other way to get the ProductNumber and Description so the perfomance(lookup) be normal.
Please advice.