KitchenDraw SDK 2
Show / Hide Table of Contents

Method TryGetCoefficientLineFromCodeAndPriceGroup

TryGetCoefficientLineFromCodeAndPriceGroup(TableType, string, int, out CoefficientLine)

Finds a coefficient line of the supplier catalog by given code and price group (applicable to "Per Model" coefficients table only).

Declaration
public bool TryGetCoefficientLineFromCodeAndPriceGroup(Appli.Supplier.Catalog.TableType tableType, string code, int priceGroup, out Appli.Supplier.Catalog.CoefficientLine coeffLine)
Parameters
Type Name Description
Appli.Supplier.Catalog.TableType tableType
string code

The code of a string being searched.

int priceGroup

The price group number for a string being searched. This parameter is ignored for any coefficient table type except of Models.

Appli.Supplier.Catalog.CoefficientLine coeffLine

When the method completes, this parameter holds matching coeffficient line, or null if no line has a match.

Returns
Type Description
bool

true if a matching coefficient line was found, false otherwise.

In this article
Back to top Generated by DocFX