Table 58 - Discount for order value
- This article presents the fields of the discount integration layout. To better understand the concept behind order value, see our article on Order Value Discount Concept.
| Order | Field Description | Format and Size | Required | Version | Note |
| 1 | Table Identifier (IDENTIFICADOR) | FIXO=58 (2) | Yes | 2.48 | Table used for stock detailing Seller/product/order type (parallel use with the stock reported in table 15 - Product). Only validation and a note pointed out to the seller, does not block the sale |
| 2 | Code (code) | Integer (10) | Yes | 2.48 | uniqueID of the record |
| 3 | Value Order Initial (valorInicialPedido) | Decimal (15.2) | Yes | 2.48 | Based on the registered value, the Demander allows the discount informed in the field below |
| 4 | Percentage of Allowed Discount (percDescontoPermitido) | Decimal (15.2) | Yes | 2.48 | Percentage of discount that can be applied, when the order activates the value configured in the field above. |
| 5 | Active (active) | Integer (10) | Yes | 2.48 | Informs whether the configuration is active (send 1 for active and 0 for inactive) |
Registration Example:
58|1|5000|5|1|