Custom Tariff Line Description

Custom Tariff Line Description

When using a method that adds a Tariff Item to the sales line(s) the default Item Description can be replaced by editing a stored procedure.

The installation creates an empty SQL Stored Procedure in the company database called wspSOPTariffDesc. By default it returns an empty string. This can be modified to return a custom item description for the Tariff line(s) that better fits your business.

If @lLineSeq > 0 the input parameters point to the sales line for which the tariff is being calculated (i.e. one of the ‘per sales line’ methods). If @lLineSeq = 0 it is being called for the ‘total line’ method.

A screenshot of a computer program

AI-generated content may be incorrect.