Closed christiangessner closed 4 years ago
check if the BOM exists in ERP and if it's identical with the Vault file/item BOM (same as BOM window would check) block the state transition if it's not identical
This was already implemented in the fileMaster in a project recently by @HannesDosser you can find all information and the code related to [this Github Issue(https://github.com/coolOrangeProjects/Sollich/issues/210):
Issue was implemented. However, I recommend to refactor some functions (for instance GetEntityNumber) from powerGateMain.ps1 to a module used by both powerEvents and powerGate. Currently powerGateMain.ps1 is included directly in powerEvents/modules/Import.Modules.psm1 to be used in powerEvents.
Mentioned recommended refactor (see above) needs to be done for closing this issue
Refactoring complete: b99494f
Bei der Freigabe soll die BOM „validiert“ werden. Im Moment wird über powerEvents der Artikel „validiert“. Das sollte im Template mit aufgenommen werden, da es ein recht übliches und gut angesehenes Feature ist