KitchenDraw SDK 2
Show / Hide Table of Contents

Class Appli.Supplier.Catalog.CoefficientLine

Represents a coefficient line for a supplier catalog.

Inheritance
object
Appli.Supplier.Catalog.CoefficientLine
Implements
IEquatable<Appli.Supplier.Catalog.CoefficientLine>
Inherited Members
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: KD.SDK2
Assembly: KD.SDK2.dll
Syntax
public class Appli.Supplier.Catalog.CoefficientLine : IEquatable<Appli.Supplier.Catalog.CoefficientLine>
Remarks

Selling coefficient can defined for a supplier catalog per front model, per family, and/or per article. This class holds all the selling coefficient per single entity (either model, or family, or article), depending on the type of the table it belongs to (see TableType).

Properties

Name Description
Code

Code of the model, the family or reference of the article (depending on the table type) corresponding to the coefficient line.

Name

Name of the model corresponding to the coefficient line. Applicable only to "Per Model" table, otherwise returns empty string.

PointValue

Point value of the coefficient line.

PriceGroup

Model price group of the coefficient line. Applicable to "Per Model" table only, otherwise returns 0.

PurchaseCoefficient

Purchase coefficient of the line.

Rank

Rank of the coefficient line in the coefficient table of a supplier catalog which it belongs to.

SellAdvisedCoefficient

Advised sale coefficient of the line (allows to calculate the initial selling price before rebate).

SellRefCoefficient

Bottom sales coefficient of the line (is used for calculation of the gap).

TableType

Type of the coefficient table which the line belongs to.

Methods

Name Description
Equals(object)

Determines whether passed object has the same type and value as this one.

GetHashCode()

Provides a numeric value that is used to identify an object in hash-based algorithms.

GetInfo(int)

Gets a value from arbitrary datafield specified by the infoType parameter.

GetInfoAsBool(int)

Gets a value from arbitrary datafield specified by the infoType parameter.

GetInfoAsDouble(int)

Gets a value from arbitrary datafield specified by the infoType parameter.

GetInfoAsInt(int)

Gets a value from arbitrary datafield specified by the infoType parameter.

SetInfo(int, bool)

Writes the value to the arbitrary datafield specified by the infoType parameter.

SetInfo(int, double)

Writes the value to the arbitrary datafield specified by the infoType parameter.

SetInfo(int, int)

Writes the value to the arbitrary datafield specified by the infoType parameter.

SetInfo(int, string)

Writes the value to the arbitrary datafield specified by the infoType parameter.

ToString()

Returns a string that represents the current object.

TrySetInfo(int, bool)

Writes the value to the arbitrary datafield specified by the infoType parameter.

TrySetInfo(int, double)

Writes the value to the arbitrary datafield specified by the infoType parameter.

TrySetInfo(int, int)

Writes the value to the arbitrary datafield specified by the infoType parameter.

TrySetInfo(int, string)

Writes the value to the arbitrary datafield specified by the infoType parameter.

Operators

Name Description
operator ==(CoefficientLine, CoefficientLine)

Determines whether two specified instances have the same value.

operator !=(CoefficientLine, CoefficientLine)

Determines whether two specified instances have different values.

In this article
Back to top Generated by DocFX