How to search ALU custom field for ITEM in POS

I have created new custom field named ALU(Alternative Lookup Unit) for ITEM to store additional alphanumeric identity. It created and values saved successfully. Now i need to use this ALU values in POS search item input box to add item to Item list. Please let me know the way to implement this requirement.

Thanks

Hello,

Please help us to resolve this issue urgently. Waiting for the reply.

For now, you cannot search and add items based on the value in Custom Field. Perhaps you should rename your Item Code for ALU value for the Item.

Here is the source code on how fields are define for search functionality. Please check and confirm if you can write a custom script to make ALU field searchable as well. Please do not edit source file in your ERPNext account, as it will get overwritten on next update.

Thank you for the information.

What is the best way to preserve customization done in erpnext, when upgrade to new version.