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, estimate or an invoice can be used as links for requisites.
entityIdEntity ID (deals, estimates 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());
		}
	);



© «Bitrix24», 2001-2024