Linked button to an item in sales order
When clicking the linked button to an item, in a sales order, when the item has a definition of a bill of materials, the bill of materials form opens. is there a way to tell SBO to open the item form instead?
Owen Slater replied
There's no option in SBO itself to do this so you'd need to code it. If it's just one or two screens then you might consider the following:
1) Trap the event of the user clicking on the link button
2) Query the database to see if the item on the row is a BOM.
3) If it's a BOM then set BubbleEvent to false to cancel the standard behaviour and then use the UI API to open the Item Master data window, set it to Find mode, put the item code in the field and then click on the Find button. If it's not a BOM then no action is required.
You'd need to code it for each form where you want the link behaviour to be non-standard.