crm.requisite.link.get
crm.requisite.link.get(entityTypeId, entityId)
Returns link between requisites and entity.
Parameters
Parameter | Description |
---|---|
entityTypeId | Entity type ID (see. method crm.enum.ownertype). Only a deal, estimate or an invoice can be links for requisites. |
entityId | Entity ID (deals, estimates 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()); } );
© «Bitrix24», 2001-2024