API Discount Lines
Discount Lines Collection


A collection of DiscountLine objects.

Object Model

See Also

SAP® B1 DI-API C# definition

public class DiscountLinesClass : IDiscountLines, DiscountLines, IEnumerable { public virtual int Count { get; } public extern DiscountLinesClass(); public virtual extern DiscountLine Add(); public virtual extern IEnumerator GetEnumerator(); public virtual extern string GetXMLSchema(); public virtual extern DiscountLine Item( object vtIndex); public virtual extern void Remove( object vtIndex); public virtual extern void ToXMLFile( string bstrFileName); public virtual extern string ToXMLString(); }

API Discount Lines


A collection of discount lines that define the discounts and when they apply.

Property type

Read-only property


Visual Basic
Public Property DiscountLines() As DiscountLines


A specific CashDiscount object cannot have two lines with the same value for the NumOfDays property, or two lines with the same date specified by the Day and Month properties.

See Also

Related information

Discount Line DiscountLine Object· Table: CDC1
Defines a single criteria for applying a cash discount, as well as the discount percentage. Source table: CDC1 Mandatory properties: Day, Month (if discount is based on the current date) NumOfDays (if discount is based on payment within a...
   Parent: Discount Lines DiscountLines Collection

SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates