KitchenDraw SDK 2
Show / Hide Table of Contents

Method InsertCoefficientLine

InsertCoefficientLine(string, CoefficientLine)

Inserts a line into a coefficients table of the supplier catalog.

Declaration
public Appli.Supplier.Catalog.CoefficientLine InsertCoefficientLine(string code, Appli.Supplier.Catalog.CoefficientLine beforeLine)
Parameters
Type Name Description
string code

An unique code that characterizes the new coefficient line.

Appli.Supplier.Catalog.CoefficientLine beforeLine

The new line will be inserted just before this one, into the same table.

Returns
Type Description
Appli.Supplier.Catalog.CoefficientLine

The new coefficient line.

Exceptions
Type Condition
Sdk2Exception

If code is empty or corresponds to a coefficient line already registered.

InsertCoefficientLine(string, int, CoefficientLine)

Inserts a line into a coefficients table of the supplier catalog.

Declaration
public Appli.Supplier.Catalog.CoefficientLine InsertCoefficientLine(string code, int priceGroup, Appli.Supplier.Catalog.CoefficientLine beforeLine)
Parameters
Type Name Description
string code

An unique code that characterizes the new coefficient line.

int priceGroup

A number of the price group for the per-model coefficients table. For all the other coefficient tables this value is ignored.

Appli.Supplier.Catalog.CoefficientLine beforeLine

The new line will be inserted just before this one, into the same table.

Returns
Type Description
Appli.Supplier.Catalog.CoefficientLine

The new coefficient line.

Exceptions
Type Condition
Sdk2Exception

If code is empty or corresponds to a coefficient line already registered.

In this article
Back to top Generated by DocFX