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)Yes5.25Fixed technical identifier of PoliticaCamposPedido.
2Code (code)Text (30)Yes5.25Code of the policy in the context of the client.
3Description (description)TextYes5.25Description of the policy.
4Active (active)Integer (1)Yes5.250 = inactive, 1 = active.
5Priority (priority)Integer (10)Yes5.25Lower value indicates higher priority.
6Seller Code (codVendedor)Integer (10)No5.25Context filter by seller.
7Customer Code (codCliente)Integer (10)No5.25Context filter by customer.
8Price List Code (codListaPreco)Text (30)No5.25Context filter by price list.
9Order Type Code (codTipoPedido)Integer (10)No5.25Context filter by order type.
10Payment Method Code (codFormaPagamento)Text (30)No5.25Context filter by payment method.
11Payment Condition Code (codCondicaoPagamento)Text (30)No5.25Context filter by payment condition.
12Shipping Type Code (codTipoFrete)Text (30)No5.25Context filter by type of shipping.
13Discount Type Code (codTipoDesconto)Text (30)No5.25Context filter by type of discount.
14Segment Code (codSegmento)Text (30)No5.25Context filter by segment.
15Branch Code (codFilial)Text (30)No5.25Context filter by branch.
16Transporter Code (codTransportadora)Text (30)No5.25Context filter by carrier.
17Redespacho Code (codRedespacho)Text (30)No5.25Context filter by redispatch.
18Code of the Sales Division (codDivisaoVendas)Text (30)No5.25Context filter by sales division.
19Rule JSON (jsonRegras)TextYes5.25JSON with dynamic rules for order fields.Consult Documentation
20Load Capacity Code (codCapacidadeCarga)Text (30)No5.27Context filter by load capacity.

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"}}}||