Class Appli.Supplier.Catalog
Holds an information about a KitchenDraw catalog attached to a supplier.
Implements
Inherited Members
Namespace: KD.SDK2
Assembly: KD.SDK2.dll
Syntax
public class Appli.Supplier.Catalog : IEquatable<Appli.Supplier.Catalog>
Remarks
Please do not confuse supplier catalog with a KitchenDraw catalog. While KitchenDraw catalog holds articles, their prices, and their visual representations, a supplier catalog holds only some additional information related to calculation of selling prices and generation of supplier orders.
Some information here depends on setting of the current user. If you use KDS.SDK2.DLL, please use the SetCurrentUser(string, string) method before querying/modifying the information.
Properties
Name | Description |
---|---|
Filename | Filename of the catalog (without path or extension, max 8 characters). |
IsVatIncludedInSaleCoefficients | Indicates whether sale coefficients include VAT. |
PerArticleCoefficientLines | Collection of coefficient lines which belong to "Per Article" coefficients table of the supplier catalog. |
PerFamilyCoefficientLines | Collection of coefficient lines which belong to "Per Family" coefficients table of the supplier catalog. |
PerModelCoefficientLines | Collection of coefficient lines which belong to "Per Model" coefficients table of the supplier catalog. |
Rank | Rank of the catalog in the catalogs list of the supplier which it belongs to. |
Supplier | Supplier which the catalog belongs to. |
Methods
Name | Description |
---|---|
AddCoefficientLine(TableType, string) | Adds a line to the and of a coefficients table of the supplier catalog. |
AddCoefficientLine(TableType, string, int) | Adds a line to the and of a coefficients table of the supplier catalog. |
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. |
InsertCoefficientLine(string, CoefficientLine) | Inserts a line into a coefficients table of the supplier catalog. |
InsertCoefficientLine(string, int, CoefficientLine) | Inserts a line into a coefficients table of the supplier catalog. |
RemoveCoefficientLine(CoefficientLine) | Removes a coefficient line from a table which it belongs to. |
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. |
TryGetCoefficientLineFromCode(TableType, string, out CoefficientLine) | Finds a coefficient line of the supplier catalog by given code. |
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). |
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 ==(Catalog, Catalog) | Determines whether two specified instances have the same value. |
operator !=(Catalog, Catalog) | Determines whether two specified instances have different values. |