FromXMLFile | Sets the object's properties using data from an XML file.
The XML file can be created using the object's ToXMLFile method. |
FromXMLString | Sets the object's properties using data from an XML string.
The XML string can be created using the object's ToXMLString method. |
GetXMLSchema | Returns the XML schema for the XML generated by the ToXMLFile and ToXMLString methods. |
ToXMLFile | Creates an XML file that represents the object. |
ToXMLString | Creates and returns an XML string that represents the object. |
ByDate | Indicates 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 |
Code | The key for the discount.
Field name: Code |
DiscountLines | A collection of discount lines that define the discounts and when they apply. |
Freight | Indicates whether the discount also applies to the freight. The default is No.
Field name: Freight |
Name | A description for the discount.
Field name: TableDesc |
Tax | Indicates whether the discount also applies to the sales tax. The default is No.
Field name: Tax |