Documentation

catalog.document.getFields

Scope: catalog Permissions to execute: for all

catalog.document.getFields()

Method returns list of inventory management fields.

Parameters

No parameters.

Examples

BX24.callMethod(
    'catalog.document.getFields', 
    {}, 
    function(result)
    {
        if(result.error())
            console.error(result.error());
        else
            console.log(result.data());
    }
);

Returned fields

Fields DescriptionTypeNote
commentary Comment.char
contractorId Vendor.integer
createdBy Who created.integerRead only.
currency Currency.charRead only, required field.
dateCreate Date created.datetimeRead only.
dateDocument Item processing date.datetime
dateModify Date updated.datetime
dateStatus Status date.datetimeRead only.
docNumber Item number.string
docType Item type:
  • A – Stock receipt;
  • S – Stock adjustment;
  • M – Stock transfer;
  • R – Return;
  • D – Write off.
charRead only, required field.
id Document ID.integerRead only.
modifiedBy Who updated.integer
responsibleId Responsible.integerRequired field.
siteId Site.char
status Status.char Read only.
statusBy Who set status.integer
title Document title.string
total Product total amount.double

© «Bitrix24», 2001-2024