📚 SAP Business One SDK Help

TotalDiscount Property
See Also 

Description

The total discount (from the cash discount settings) in local currency. 

Field name: DcntSum

Property type

Read-write property

Syntax

Visual Basic
Public Property TotalDiscount() As Double

Remarks

If TotalDiscount, DiscountPercent and SumApplied are provided, then DiscountPercent is recalculated.

If DiscountPercent and SumApplied are provided, then TotalDiscount is calculated.

If TotalDiscount and DiscountPercent are provided, then SumApplied is calculated. DiscountPercent is recalculated
beause TotalDiscount has higher priority than DiscountPercent.

See Also