powerGate v22
v22.0.1
20-09-2022
Features
- A Connection Error Dialog informs Vault users about erroneous web requests, responses and their exact cause 
- Similarly, in the BOM Window, BOMs, rows and Items are automatically marked with an Error status when connection problems occur during Check or Transfer operations 
- powerEvents Restriction events are automatically restricted when ERP connection problems occur 
General
- WebRequestException Class provides following properties: - Sourceinforms about where the issue occurred. This can be either the local computer, powerGateServer or the ERP system
- StackTraceprovides details about the actual error occured in powerGateServer Plugins or on the web server of the ERP system
 
- Connection problems are displayed more clearly on all workstations when beeing caused by: - the local computer if no request can be send to the server (e.g. no internet connection available, proxy blocks access…) or if the license has expired 
- expired powerGateServer licenses (requires powerGateServer v21.0.5 or later) 
- the powerGateServer or the ERP system when no response is returned (e.g. server not responding in time, powerGateServer service not running…) 
- incorrect data input by the Vault user or the ERP integration (e.g. invalid credentials, execution of operations for non-existing entities, bad syntax in requests…) causing the server to respond with 4xx client errors 
- the powerGateServer or the ERP system while processing - $metadatarequests
 
- All Cmdlets now respond to non-terminating errors by additionally displaying the error messages in PowerShell consoles before the execution continues (common parameter -ErrorAction:Continue) 
- Improved performance of ERP Entity- and Media cmdlets by reducing unnecessary - $metadatarequests to unavailable Catalog Service-services (powerGateServer and SAP systems).
 An attempt to first find the passed -EntitySet or -EntityType only within previously available services is performed.
Fixed
- Issue with Connect-ERP and IErpClient.ConnectErp which did not fail with WebRequestExceptions on failed connections to Catalog Services (powerGateServer and SAP systems) 
- Follow-up errors after failed or missing Connect-ERP cmdlet calls in all ERP Entity- and Media cmdlets which terminated with the unclear error message “No EntitySet found with the given name: …” 
- Issue with Get-ERPObject and Get-ERPObjects which failed when -Expand and -Select argument were used together on same navgation property 
- Typo in the error message of New-ERPObject when multiple entity types match the passed -EntityType parameter