coolOrangeLabs / powerGateTemplate

powerGate full functional sample ERP integration
MIT License
3 stars 3 forks source link

#190 prevent check button bug with removed items #219

Closed StefanNairz closed 2 years ago

StefanNairz commented 2 years ago

Explanation of the Problem: Issue #190

How to test this code:

  1. Direct to Files/DataStandard/Vault.Custom/addinVault/powerGateBomTransfer.ps1
  2. Add the following 2 lines in line 101:
    $remove = Add-BomWindowEntity -Type BomRow -Properties @{Bom_Number = "test"} -Parent $VaultBom
    Update-BomWindowEntity $remove -Status "Remove"
  3. Open Vault, click on an .iam item, direct to the ERP BOM tap and click on BOM transfer...
  4. Click Check multiple times on Check and the item with the status remove will appear just once.