📚 SAP Business One SDK Help

CashDiscount 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 ByDateIndicates whether the discount is valid for specific dates (Yes) or for payments made within a specific number of days after the document posting date (No). The default is No.

Field name: ByDate

Public Property CodeThe key for the discount.

Field name: Code

Public Property DiscountLinesA collection of discount lines that define the discounts and when they apply.
Public Property FreightIndicates whether the discount also applies to the freight. The default is No.

Field name: Freight

Public Property NameA description for the discount.

Field name: TableDesc

Public Property TaxIndicates whether the discount also applies to the sales tax. The default is No.

Field name: Tax

See Also