📚 SAP Business One SDK Help

CashDiscountsService Object Members
See Also  Overview 

Public Methods

Public Method AddCashDiscountAdds a cash discount.
Public Method DeleteCashDiscountDeletes an existing cash discount.

The cash discount is specified by its key (Code), which is contained in the CashDiscountParams object passed to the method.

Public Method GetCashDiscountRetrieves a specific cash discount.

The cash discount is specified by its key (Code), which is contained in the CashDiscountParams object passed to the method.

Public Method GetCashDiscountListRetrieves the keys and names of all the cash discounts.
Public Method GetDataInterfaceCreates an empty data structure for use with the CashDiscountsService.
Public Method GetDataInterfaceFromXMLFileCreates an object from an XML file.
Public Method GetDataInterfaceFromXMLStringCreates an object from XML.
Public Method UpdateCashDiscountUpdates an existing cash discount. 

The data for the cash discount, including the key of the cash discount to be updated, is contained in the CashDiscount passed to the method. To update a cash discount, you must first retrieve it using the GetCashDiscount method.

See Also