Skip to content

KVSTRDItemSuggRetailPriceMgt#

Procedures#

FindSuggestedRetailPrice(Code[20], Code[10], Code[10], Code[10], Date, Code[10]) : Decimal#

Summary: Finds the suggested retail price based on the provided parameters. If no price is found, it returns 0.

procedure FindSuggestedRetailPrice(ItemNo: Code[20]; VariantCode: Code[10]; CurrencyCode: Code[10]; UnitOfMeasureCode: Code[10]; StartingDate: Date; CountryRegionCode: Code[10]): Decimal

Parameters:

  • ItemNo: Item number for which the suggested retail price is to be found.
  • VariantCode: Variant code for the item.
  • CurrencyCode: Currency code for the price.
  • UnitOfMeasureCode: Unit of measure code for the item.
  • StartingDate: Starting date for the price validity. If StartingDate is 0D, the current work date is used.
  • CountryRegionCode: Country/Region code for the price.

Returns: Returns the suggested retail price as a Decimal value. If no price is found, returns 0.

FindSuggestedRetailPrice(Code[20], Code[10], Code[10], Code[10], Date) : Decimal#

Obsolete

This Element will be removed or changed with a future Version of the App.

Summary: Finds the suggested retail price based on the provided parameters. If no price is found, it returns 0.

[Obsolete('Obsolete due to changes to the table KVSTRDItemSuggestedRetailPrice (internal ticket: TRD-702): Use procedure "FindSuggestedRetailPrice" with Country/Region parameter instead.', '26.3')]
procedure FindSuggestedRetailPrice(ItemNo: Code[20]; VariantCode: Code[10]; CurrencyCode: Code[10]; UnitOfMeasureCode: Code[10]; StartingDate: Date): Decimal

Parameters:

  • ItemNo: Item number for which the suggested retail price is to be found.
  • VariantCode: Variant code for the item.
  • CurrencyCode: Currency code for the price.
  • UnitOfMeasureCode: Unit of measure code for the item.
  • StartingDate: Starting date for the price validity. If StartingDate is 0D, the current work date is used.

Returns: Returns the suggested retail price as a Decimal value. If no price is found, returns 0.