Sets or returns the discount percentage you specify for a customer, or the discount percentage a supplier specifies for you.
Field name: Discount.
Sets or returns the discount percentage you specify for a customer, or the discount percentage a supplier specifies for you.
Field name: Discount.
| Visual Basic |
|---|
Public Property DiscountPercent() As Double |
SAP Business One automatically completes the value for this property from PaymentTermsTypes object (OCTG table) according to the selected payment terms (PayTermsGrpCode property).
For business partners defined as type 'Other' (neither a customer nor a supplier) you do not have to set this property.
(For 5% discount set the value 5, not 0.05.)