📚 SAP Business One SDK Help

DiscountGroups Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a new data line to the object.
Public Method DeleteDeletes the current line.

Returns a result value that indicates success or failure.

Public Method SetCurrentLineSets the active row to a specified row number.

Public Properties

Public Property BaseObjectTypeThe value of the DiscountBaseObject property for the current object's parent business partner.
Public Property BPCodeThe key to the current object's parent business partner.
Public Property CountReturns the total number of records in the table.
Public Property DiscountPercentageThe discount for a matching item, in percent.

Field name: Discount

Public Property ObjectEntryThe key to an item group, property, or manufacturer. Any item assigned to the group, property, or manufacturer is assigned the discount in the DiscountPercentage property.

The key represents either an item group, property, or manufacturer depending on the DiscountBaseObject property of the current BusinessPartners object.

Field name: ObjKey

See Also