Table 22 - Order Status Update
- This article introduces the order status update integration layout fields. To better understand the concept behind statuses, see our article on **Order Status Concept.
- To carry out this integration, you must send the information along with **Table 16 - Order.
| Order | Field Description | Format and Size | Required | Version | Remarks |
| 1 | Table identifier (IDENTIFICADOR) | FIXO=22 (2) | Yes | 1.10 | |
| 2 | Order code (codPedido) | Integer (10) | Yes | 1.10 | |
| 3 | Status code (codStatus) | Integer (10) | Yes | 1.10 | Allows the ERP to return the current order status, contact more information. |
| 4 | Seller code (codVendedor) | Integer (10) | No | 3.4 | Attention:This field must only be sent if the company does not use it with order number ranges, that is, when the same order number can be used by more than one seller. When this field is filled in, it is used as a composite key together with the codPedido field. This means that: if you change the seller of the order, it will not be possible to update the order. |
| 5 | Order identifier (idPedido) | Integer (10) | No | 3.6 | This is idPedido of Demander, send only if you store our ID in your ERP at the time of importing the order issued by Demander. |
Registration Example:
22|874|6|2|500|