API Discount Line


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 specific number of days after the document posting date)

See Also

SAP® B1 DI-API C# definition

public class DiscountLineClass : IDiscountLine, DiscountLine { public virtual int Day { get; set; } public virtual double Discount { get; set; } public virtual string DiscountCode { get; } public virtual int LineId { get; } public virtual int Month { get; set; } public virtual int NumOfDays { get; set; } public extern DiscountLineClass(); public virtual extern void FromXMLFile( string bstrFileName); public virtual extern void FromXMLString( string bstrXML); public virtual extern string GetXMLSchema(); public virtual extern void ToXMLFile( string bstrFileName); public virtual extern string ToXMLString(); }

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