Exemplo 01:
Venda de um produto de R$ 115.00 com quantidade igual a 2 e Frete no Valor de R$ 23.94
SL1 - Cabeçalho da Venda
| Tag | Campo Protheus | Valor |
|---|---|---|
| TotalPrice | L1_VLRTOT | R$ 230.00 |
| NetPrice | L1_VLRLIQ | R$ 253.94 |
| GrossPrice | L1_VALBRUT | R$ 253.94 |
| CommodityPrice | L1_VALMERC | R$ 230.00 |
| DiscountValue | L1_DESCONT | R$ 0 |
| FreightValue | L1_FRETE | R$ 23.94 |
| IncreaseValue | L1_DESPESA | R$ 0 |
SL2 - Itens da Venda
| Tag | Campo Protheus | Valor |
|---|---|---|
| ItemOrder | L2_ITEM | 1 |
| Quantity | L2_QUANT | 2 |
| ItemTablePrice | L2_PRCTAB | R$ 115.00 |
| UnitPrice | L2_VRUNIT | R$ 115.00 |
| ItemPrice | L2_VLRITEM | R$ 230.00 |
| FreightValueProrated | L2_VALFRE | R$ 23.94 |
| DiscountAmount | L2_VALDESC | R$ 0 |
| DiscountTotalProrated | L2_DESCPRO | R$ 0 |
| IncreaseValueProrated | L2_DESPESA | R$ 0 |