coolOrangeLabs / powerGateTemplate

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

Connect to Live ERP and Test system depending on connected Vault #198

Closed PatrickGrub closed 2 years ago

PatrickGrub commented 2 years ago

User story

As a Vault user, I want to be login automatically to my ERP Test system when i log in to my test vault, but when I log in to my productive vault I want to automatically logged-into my productive ERP system.

Solution

The solution was already implemented but must be included in our powerGateTemplate:

TollJulian commented 2 years ago

Solution: The Vault- and ERP names can be configured as "Test" or "Productive" directly in the Comunication.psm1. The script selects then the ERP system related to the connected Vault. If the Vault is not mapped, you get an Error message.

The ERP connection must be done after the Vault login (function OnLogon for Vault Client, function InitializeWindow for Inventor), since it depends on the Vault now.

Pull Request open

TollJulian commented 2 years ago

Implementation tested successfully

https://user-images.githubusercontent.com/95631077/155291223-f24e76b4-0dc1-4aa0-be16-0a92c13f9e34.mp4

https://user-images.githubusercontent.com/95631077/155291270-90649a83-b837-44b8-afa2-f2119c18fc62.mp4

PatrickGrub commented 2 years ago

Closed see https://github.com/coolOrangeLabs/powerGateTemplate/pull/204