When CreateOrUpdateErpMaterial is used to create a new material from a Vault item it fails, because it calls SetEntityProperties wich passes "_Description(Item,CO)" into Update-VaultItemWithErrorHandling.
Update-VaultItemWithErrorHandling uses this in Update-VaultItem -Properties parameter. This is not valid as description is a system property and needs to be updated, using the -Description parameter
Description
When CreateOrUpdateErpMaterial is used to create a new material from a Vault item it fails, because it calls SetEntityProperties wich passes "_Description(Item,CO)" into Update-VaultItemWithErrorHandling. Update-VaultItemWithErrorHandling uses this in Update-VaultItem -Properties parameter. This is not valid as description is a system property and needs to be updated, using the -Description parameter
Changes