revertproductchanges

Note: This object is only available with the Adapter for Dynamics 365 and CRM.

Use the revertproductchanges adapter object to restore the properties of a Dynamics 365 product, product family, or bundle to an earlier, active state. If you modify an active but do not publish the changes, that product remains in the under revision state, then reverting the project returns the properties to the values that were last published.

For example, if you define a product family, Widgets, and publish the Widgets product family, it is in the active state. Then, if you modify Widgets to add a property, Weight, but do not publish that version of Widgets, the product family is in the under revision state. If you then execute revertproductchanges on Widgets, you revert to the version of Widgets that does not contain the property, Weight.

To use this adapter object, add a revertproductchanges Execute step to your DTS file. The revertproductchanges entity, which is only available as an Execute step, has the following required field:

See also

Using The Adapter Objects