📚 SAP Business One SDK Help

SpecialPricesDataAreas 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 AutoUpdateSets or returns a valid value of BoYesNoEnum type that specifies whether or not the price is updated automatically when the discount or price list number are modified.

Field name: AutoUpdt.

Public Property BPCodeReturns the identification code of the business partner for whom the special price applies. The BPCode returns from the CardCode property of the SpecialPrices object.

Field name: CardCode.

Length: 15 characters.

This is a foreign key to the SpecialPrices object.

Public Property CountReturns the total rows in the table, that is the total number of records in the object.
Public Property DateFromSets or returns the start date of the special price.

Field name: FromDate.

Public Property DatetoSets or returns the end date of the special price.

Field name: ToDate.

Public Property DiscountSets or returns the discount percentage for an item for the specified period.

Field name: Discount.

Public Property ItemNoReturns the item code in the inventory for which the special price applies. The ItemNo returns from the ItemCode property of the SpecialPrices object.

Field name: ItemCode.

This is a foreign key to the SpecialPrices object.

Length: 20 characters.

Public Property PriceCurrencySets or returns the currency of the special price. The currency must match to the currency in the specified price list.

Field name: Currency.

Length: 3 characters.

Public Property PriceListNoSets or returns the price list number.

Field name: ListNum.

This is a foreign key to the PriceLists object.

Public Property RowNumberReturns the current available row number (0-based).

Field name: LINENUM.

Public Property SpecialPriceSets or returns the special price after discount.

Field name: Price.

Public Property SpecialPricesQuantityAreasReturns the SpecialPricesQuantityAreas child object.
Public Property UserFieldsReturns the UserFields object.

See Also