📚 SAP Business One SDK Help

DiscountLine Object Members
See Also  Overview 

Public Methods

Public Method FromXMLFileSets the object's properties using data from an XML file.

The XML file can be created using the object's ToXMLFile method.

Public Method FromXMLStringSets the object's properties using data from an XML string.

The XML string can be created using the object's ToXMLString method.

Public Method GetXMLSchemaReturns the XML schema for the XML generated by the ToXMLFile and ToXMLString methods.
Public Method ToXMLFileCreates an XML file that represents the object.
Public Method ToXMLStringCreates and returns an XML string that represents the object.

Public Properties

Public Property DayThe day of the month on which to apply the discount percentage specified in this line.

Field name: Day

Public Property DiscountThe cash discount to grant if the current line's criteria apply.

Field name: Discount

Public Property DiscountCodeThe key to this line's parent CashDiscount object.

Field name: CdcCode

Public Property LineIdThe line number for this line. Each line within a specific CashDiscount object is assigned a unique line number.

Field name: LineId

Public Property MonthThe month in which to apply the discount percentage specified in this line.

Field name: Month

Public Property NumOfDaysSpecifies the number of days following the document posting date after which this discount no longer applies.

Field name: NumOfDays

See Also