Documentation

crm.requisite.link.unregister

crm.requisite.link.unregister(entityTypeId, entityId)

Deletes link between requisites and entity.

Parameters

Parameter Description
entityTypeIdEntity type ID (see. method crm.enum.ownertype). Only deal, quote or an invoice can be used as links for requisites.
entityIdEntity ID (deals, quotes or invoices).

Example

var id = prompt("Enter invoice ID");
	BX24.callMethod(
		"crm.requisite.link.unregister", {
			entityTypeId: 5,
			entityId: id
		},
		function(result)
		{
			if(result.error())
				console.error(result.error());
			else
				console.dir(result.data());
		}
	);



© «Bitrix Inc.», 2001-2021, «Bitrix Inc.», 2021