catalog.document.fields
Scope: catalog Permissions to execute: for all
Attention! Starting from version 22.400.0 the method has been deprecated. It's recommended to use the method catalog.document.getFields.
catalog.document.fields()
Method returns list of item fields.
Parameters
No parameters.
Example
BX24.callMethod( 'catalog.document.fields', {}, function(result) { if(result.error()) console.error(result.error()); else console.log(result.data()); } );
$result = CRest::call( 'catalog.document.fields' ); echo '<pre>'; print_r($result); echo '</pre>';
Returned fields
Field | Description | Type | Note |
---|---|---|---|
ID | Identifier | integer | |
docType | Item type | char | |
siteId | Site association | char | |
contractorId | Supplier | integer | |
responsibleId | Responsible | integer | Required |
dateModify | Date modified | datetime | |
dateCreate | Date created | datetime | |
createdBy | Created by | integer | |
modifiedBy | Modified by | integer | |
currency | Currency | char | Required |
status | Status | char | |
dateStatus | Date of set status | datetime | |
dateDocument | Item date | datetime | |
statusBy | Who set status | integer | |
total | Product total amount | double | |
commentary | Comment | char |
© «Bitrix24», 2001-2024