Forum Discussion
Hi community,
this old topic became relevant again. I want to replace the current floating behavior with something custom. Does anyone has done something similar already?
Hi Angela,
As a rough implementation, you might be able to accomplish something like this by adding an extra property (either a boolean or an Item property) to the Part BOM relationship that will track whether that specific element of the BOM has been updated via a float. Then, to set that property, you could add an onAfterUpdate event to the Part ItemType that will do a reverse lookup to find all BOMs that include the updated Part. Then you can set the value of that new property you added to Part BOM to serve as a flag that an update has been made via a float.
If you want to notify your users before this update happens, you can instead do a onBeforeUpdate to check if any BOMs will be updated as part of this float and return that information to the user before the update actually occurs.
Let me know if this general idea could work for you.