IService.BusinessRulesDelete(BusinessRulesDeleteRequest) Method

Definition

Delete a business rule or components of rules.

public:
 Microsoft::MasterDataServices::Services::MessageContracts::MessageResponse ^ BusinessRulesDelete(Microsoft::MasterDataServices::Services::MessageContracts::BusinessRulesDeleteRequest ^ request);
[System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.SkuNotSupportedMessage))]
[System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.EditionExpiredMessage))]
[System.ServiceModel.OperationContract]
public Microsoft.MasterDataServices.Services.MessageContracts.MessageResponse BusinessRulesDelete (Microsoft.MasterDataServices.Services.MessageContracts.BusinessRulesDeleteRequest request);
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.SkuNotSupportedMessage))>]
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.EditionExpiredMessage))>]
[<System.ServiceModel.OperationContract>]
abstract member BusinessRulesDelete : Microsoft.MasterDataServices.Services.MessageContracts.BusinessRulesDeleteRequest -> Microsoft.MasterDataServices.Services.MessageContracts.MessageResponse
Public Function BusinessRulesDelete (request As BusinessRulesDeleteRequest) As MessageResponse

Parameters

Returns

Attributes

Remarks

The BusinessRulesDelete(BusinessRulesDeleteRequest) operation deletes one or more business rules or deletes conditions or actions from business rules. This operation issues individual Delete transactions for each item. An error is reported for each item that is not found.

The failure or inability to delete one item does not affect the attempt to delete or the successful deletion of other items. Multiple granular calls for individual items can be implemented if alternative error handling is required.

With the input from BRDeleteCriteria, one of the following sets of GUIDs is specified:

  • The GUIDs of one or more business rules.
  • The GUIDs of the conditions, actions, or condition tree nodes (ANDs, ORs) of the business rules.

Delete transactions cascade to dependent objects. For example, when a business rule is deleted, all components that are attached to that business rule are deleted.

This operation returns a standard MessageResponse message.

Applies to