Custom Sales Line Tariff

Custom Sales Line Tariff

This is used only with Scope = Global and Calculate On = Sales Inventory Items.

The installation creates an empty SQL Stored Procedure in the company database called wspSalesLineTariff. This can be modified to perform a desired tariff calculation on a per line basis. By default the procedure returns -1, this tells the tariff calculation to use the Default based on the Global Settings. 0 (zero) causes the Calculation to skip the line. Any other value will be used as the Sales Line Tariff Amount.

A screenshot of a computer code

AI-generated content may be incorrect.