Documentation

crm.orderentity.deleteByFilter

Scope: catalog Permissions to execute: for all

crm.orderentity.deleteByFilter(fields)

Method deletes order links to entity by filter.

Returns true on success.

Parameters

ParameterType Description
fieldsobject Fields, matching to the available list of fields.

Examples

BX24.callMethod(
    'crm.orderentity.deleteByFilter', 
    {
	  fields: {
		  ownerId: 9,
		  orderId: 329,
		  ownerTypeId: 2		  
		}
	}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});



© «Bitrix24», 2001-2024
Up