coolOrangeLabs / powerGateTemplate

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

in Powerjobs, ConnectToERPServer doesn't work #215

Closed TollJulian closed 2 years ago

TollJulian commented 2 years ago

Since issue #198 has been resolved, ConnectToERPServer needs the ERP Server Plugin URL as parameter (because the URL isn't unique anymore, but depends on the connected Vault)

In Powerjobs there is still used ConnectToERPServer without any parameter, so a ERP connection can never be established in the jobs

TollJulian commented 2 years ago

There is already a function ConnectToErpServerWithMessageBox which needs no parameter and connects automatically to the configured ERP system. But this function requires user interaction, since it produces Messageboxes. Not to use e.g. for jobs

I would add a new function ConnectToConfiguredErpServer which behaves similar as ConnectToErpServerWithMessageBox, but without Messageboxes.

TollJulian commented 2 years ago

solution built in into the pull request above

PatrickGrub commented 2 years ago

fixed in https://github.com/coolOrangeLabs/powerGateTemplate/pull/216