Skip to content
Light
English

Table 280 - Order Fields Policy

This article presents the fields of the Order Fields Policy integration layout. To better understand the concept behind the Order Fields Policy, see our article on Order Fields Policy.

OrderField DescriptionFormat and SizeRequiredVersionNote
1Table Identifier (IDENTIFICADOR)FIXO=280 (3)Yes4.25
Fixed technical identifier of PoliticaCamposPedido.
2Code (code)Text (30)Yes4.25​
Code of the policy in the context of the client.
3Description (description)TextYes4.25​
Description of the policy.
4Active (active)Integer (1)Yes4.25​
0 = inactive, 1 = active.
5Priority (priority)Integer (10)Yes4.25​
Lower value indicates higher priority.
6Seller Code (codVendedor)Integer (10)No4.25​
Context filter by seller.
7Customer Code (codCliente)Integer (10)No4.25​
Context filter by customer.
8Price List Code (codListaPreco)Text (30)No4.25​
Context filter by price list.
9Order Type Code (codTipoPedido)Integer (10)No4.25​
Context filter by order type.
10Payment Method Code (codFormaPagamento)Text (30)No4.25​
Context filter by payment method.
11Payment Condition Code (codCondicaoPagamento)Text (30)No4.25​
Context filter by payment condition.
12Shipping Type Code (codTipoFrete)Text (30)No4.25​
Context filter by type of shipping.
13Discount Type Code (codTipoDesconto)Text (30)No4.25​
Context filter by type of discount.
14Segment Code (codSegmento)Text (30)No​4.25Context filter by segment.
15Branch Code (codFilial)Text (30)No4.25​
Context filter by branch.
16Transporter Code (codTransportadora)Text (30)No4.25​
Context filter by carrier.
17Redespacho Code (codRedespacho)Text (30)No4.25​
Context filter by redispatch.
18Code of the Sales Division (codDivisaoVendas)Text (30)No4.25​
Context filter by sales division.
19Rule JSON (jsonRegras)TextYes4.25​
JSON with dynamic rules for order fields.Consult Documentation

Registration Example: 280|POLITICA_PADRAO|Politica para divisao de vendas|1|1|45|1234|||||||||||{“campos”:{“divisaoVendas”:{“obrigatoriedade”:“VISIVEL”,“filtro”:{“tipo”:“PERMITIR”,“valores”:[“1”,“2”,“3”]},“selecionado”:“2”}}}|