Wednesday, February 19, 2020

Inventory module parameters cannot be deleted while dependent Price history exist. Delete dependent Price history and try again.



Error: I was getting the below error while trying to delete a product master.

Inventory module parameters cannot be deleted while dependent Price history exist. Delete dependent Price history and try again.

Solution: 

Delete Product from the MCRPriceHistory table from AOT. After that delete it from the Released product and All Product and Product master.


delete MCRPriceHistory where MCRPriceHistory.ITEMRELATION = 'Product_Number'

@Rahul

1 comment:

  1. Great explanation on resolving the dependent Price history issue when deleting product masters in D365 F&O. Removing entries from the MCRPriceHistory table first is a solid approach to avoid the deletion error. On a side note, for those setting up development or test environments, having reliable networking gear like the asus wireless ac1750 router can help ensure smooth connectivity during long deployment sessions.

    ReplyDelete

What is the primary purpose of using a Solution in Microsoft Power Platform & ALM?

As organizations embrace low-code development with Microsoft Power Platform , it becomes essential to manage and govern apps, flows, and dat...