Documentation

catalog.documentcontractor.getFields

Scope: catalog Permissions to execute: for all

catalog.documentcontractor.getFields()

Method returns an array with fields containing CRM vendor bindings to inventory objects/documents.

Parameters

No parameters.

Examples

BX.rest.callMethod(
    'catalog.documentcontractor.getFields', 
    {}, 
    function(result) {
        if (result.error()) 
            console.error(result.answer.error_description);
        else 
            console.log(result.data());
});

Returned values

Field DescriptionTypeNote
documentId Object/document ID, with associated vendor. integer Required field.
entityTypeId Type ID for CRM entity (Contact or Company). integer Required field.
entityId CRM entity ID. integer Required field.
id Entity to document binding ID. integer Read only.

© «Bitrix24», 2001-2024