CustomSupplierInfoProvider

Top  Previous  Next

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.