crm.requisite.link.list
crm.requisite.link.list(order, filter)
Returns list of requisite links. These links determine, which requites are selected for a deal, quote or an invoice. At the same time, such requisites must be part of selected company or a contact. This way, if a company is selected as a buyer in the invoice, the requisites of the buyer must belong to this company. Only a company from "Your company requisites" selection list can be selected as a seller. Each link record contains the following IDs:
- "REQUISITE_ID" - client details ID (company or a contact);
- "BANK_DETAIL_ID" - client bank details ID;
- "MC_REQUISITE_ID" - company-seller details ID;
- "MC_BANK_DETAIL_ID" - company-seller bank details ID.
If the ID equals to 0, then the corresponding requisite was not selected for a deal, quote or an invoice.
Parameters
Parameter | Description |
---|---|
order | Sorting fields. |
filter | Filter fields. |
Example
BX24.callMethod( "crm.requisite.link.list", { order: {"ENTITY_ID": "ASC"}, filter: {"ENTITY_TYPE_ID": 5} // Invoice }, function (result) { if (result.error()) { console.error(result.error()); } else { console.dir(result.data()); if (result.more()) result.next(); } } );
© «Bitrix Inc.»,
2001-2021,
«Bitrix Inc.», 2021
User Comments
User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.