CustomSupplierInfoProvider

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

This class manages the supplier lookup table. It uses the SupplierInfo class.

 

object GetSupplierInfo(int supplierId) – returns the SupplierInfo object with given ID.
object GetSupplierInfo(string supplierName) – returns the SupplierInfo object with given name.
void SetSupplierInfo(object supplier) – updates/inserts the supplier record from the given SupplierInfo object. If SupplierID is set, updates, else inserts a new record.
void DeleteSupplierInfo(int supplierId) – deletes the supplier record.
DataSet GetAllSuppliers(object status) – returns the DataSet of all the suppliers. See database reference for detailed column information.
object GetSupplierInfos(string where, string orderBy)returns the DataSet of all the suppliers filtered by where condition and ordered by orderBy expression, see the database reference for the supplier column definition.
bool CheckDependencies(int supplierId) – returns true if some objects depend on given supplier ID.

 

Page url: http://devnet.kentico.com/docs/ecommerceguide/index.html?customsupplierinfoprovider.htm