Documentation

crm.requisite.link.get

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

Returns link between requisites and entity.

Parameters

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

Example

var id = prompt("Enter invoice ID");
	BX24.callMethod(
		"crm.requisite.link.get", {
			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