| GetByKeyDiscounts Method | |
| See Also Example |
- ItemCode
The key of the item whose discounts are to be retrieved. This is a foreign key to the Items object.
- PriceListNum
- The key of the price list whose discounts are to be retrieved. This is a foreign key to the PriceLists object.
Retrieves the discounts for a specific item that apply to all business partners.
To retrieve discounts for a specific business partner, use the GetByKey method.
| Visual Basic |
|---|
Public Function GetByKeyDiscounts( _
ByVal ItemCode As String, _
ByVal PriceListNum As Long _
) As Boolean |
- ItemCode
The key of the item whose discounts are to be retrieved. This is a foreign key to the Items object.
- PriceListNum
- The key of the price list whose discounts are to be retrieved. This is a foreign key to the PriceLists object.
| Getting a special price (for all business partners) (Visual Basic) | Copy Code | |
|---|---|---|
| ||