Class Appli.Supplier
Represents a supplier of articles which are listed in one or more KitchenDraw catalogs.
Implements
Inherited Members
Namespace: KD.SDK2
Assembly: KD.SDK2.dll
Syntax
public class Appli.Supplier : IEquatable<Appli.Supplier>
Remarks
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 |
---|---|
AddressLine1 | The first line of the supplier's address. |
AddressLine2 | The second line of the supplier's address. |
AddressLine3 | The third line of the supplier's address. |
Catalogs | Catalogs attached to the supplier. |
City | City from which supplier comes from. |
Code | Code of the supplier. |
Country | Country from which supplier comes from. |
CustomerCode | Customer code which is assigned to you by the supplier. |
DllFilename | The .DLL file which is responsible for the supplier orders generation. |
Email of the supplier used as destination address for the order files. |
|
EmailForCopy | Secondary email of the supplier where a copy of each supplier order is sent. |
Fax | Fax number of the supplier. |
HasPdfFileAttachedToOrder | Indicates whether a PDF file is attached to an order. |
HasSceneFileAttachedToOrder | Indicates whether a scene file is attached to an order for the
supplier. If |
HasWorktopsDxfFileAttachedToOrder | Indicates whether a .DXF file with scene worktops is attached an order for the supplier. |
HasXmlFileAttachedToOrder | Indicates whether an XML file (the same as generated with "File|Export|XML Management data" KitchenDraw menu item) is attached to an order. |
Identifier | An unique identifier of the supplier. |
IsDeliveryDateOmitted | Indicates whether desired delivery date is omitted in an for the supplier (and thus the corresponding dialog box is not shown). |
Name | Name of the supplier (8 characters maximum). |
PaperOrderFormName | Name of the Word document used to generate orders for the supplier. |
Phone | Phone number of the supplier. |
RankInCurrentSite | Rank of the supplier in the list of the suppliers for the site to which the current user belongs. |
ZipCode | Postcode of the supplier. |
Methods
Name | Description |
---|---|
AddCatalog(string) | Adds a catalog at the end of the list of the catalogs attached to the supplier. |
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. |
InsertCatalog(string, Catalog) | Inserts a catalog in the list of the catalogs attached to the supplier. |
RemoveCatalog(Catalog) | Removes the supplier catalog from the list of the catalogs attached to the supplier. |
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 ==(Supplier, Supplier) | Determines whether two specified instances have the same value. |
operator !=(Supplier, Supplier) | Determines whether two specified instances have different values. |