PurchPriceTolerance::find Method

Finds the price tolerance for the specified item ID and account number.

Syntax

client server public static PriceTolerancePercentage find(ItemId _itemId, InventCustVendRel _accountNum)

Run On

Called

Parameters

Return Value

Type: PriceTolerancePercentage Extended Data Type
The first price tolerance found at the closest level to the item and account.

Remarks

The hierarchy of the search is as follows by using the specified item and vendor: 1) The item for the vendor 2) The item for the vendor's price tolerance group 3) The item for all vendors 4) The item price tolerance group for the vendor 5) The item price tolerance group for the vendor price tolerance group 6) The item price tolerance group for all vendors 7) All items for the vendor 8) All items for the vendor price tolerance group 9) All items for all vendors 10) A default of 0 price tolerance percentage.

See Also

Reference

PurchPriceTolerance Table