Hi,
A client has a requirement to search on alternate part numbers. (Note this does not involve the Jiwa alternate part numbers). Specifically, they have a long established inventory custom field "Alternate Part", when a part number changes, they copy the existing partno to alternate part, then update partno.
The requirement is on SOE, when typing a partno directly into the grid (ie. without the lookup popup), if the partno exists - proceed as usual, if the partno does not exist - search altpart instead and if found substitute partno and proceed as usual.
All the altpart searching and partno substitution logic is fine.
I'm stuck on intercepting the current Jiwa SOE inventory search process.
At a BL level, I have tried AddInventoryItemStartEventHandler(InventorySeed, InventorySeedType, ref NewKey, KitHeader, LineNumber) but unfortunately InventorySeed is passed by value not by ref so I cannot alter it.
At a UI level I have tried GrdLines_LeaveCell / GrdLines_Change / GrdLines_KeyPress / GrdLines_KeyDown (intending to modify the partno text if needed), but the partno search either fires before or inhibits these.
Could you point me in the right direction to correctly intercept in order to add this functionality?
Cheers,
Neil