sale.order.getFields
sale.order.getFields()
The method returns order fields.
Returned fields:
Field | Description |
---|---|
id | Order ID. |
lid | Site ID. |
dateInsert | Date when order is created. |
dateUpdate | Date when order is updated. |
personTypeId | Payer type ID . |
statusId | Status ID. |
dateStatus | Date when status modified. |
empStatusId | User ID who changed status. |
marked | Order marking. |
dateMarked | Date when order is marked. |
empMarkedId | User ID who marked the order. |
reasonMarked | Reason to mark an order. |
price | Price. |
discountValue | Discount value. |
taxValue | Order tax value. |
userDescription | User description. |
additionalInfo | Additional information. |
comments | Comments. |
companyId | Company ID, binded to order. |
responsibleId | Responsible party ID. |
datePayBefore | Date of previous purchase. |
dateBill | Date of invoice. |
recurringId | Recurring subscription code (if any). |
lockedBy | Who blocked the order. |
dateLock | Date when blocked. |
recountFlag | Recount flag (Y/N). |
affiliateId | Affiliate identifier. |
deliveryDocNum | Number of shipment document. |
deliveryDocDate | Date when shipment document is created. |
updated1c | Update via 1С. |
orderTopic | Order topic. |
xmlId | External ID. |
id1c | ID in 1С. |
version | Document version. |
version1c | Version in 1С. |
externalOrder | Flag Y/N: order via external system. |
canceled | Cancellation status. |
empCanceledId | Date when cancelled. |
reasonCanceled | Reason for cancelling. |
userId | Client ID. |
currency | Currency. |
Parameters
No parameters.
Examples
BX24.callMethod( 'sale.order.getFields', {}, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «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.