You are on page 1of 14

public class FreightBL

{
FreightDA freDA = new FreightDA();

public FreightBL()
{
//
// TODO: Add constructor logic here
//
}
//Created by - Nidhi(25-08-09)
//Check User- validate user
public DataSet A_isUserExists(string userName, string password)
{
return freDA.A_isUserExists(userName, password);
}
//Created by - Nidhi(25-08-09)
//Add values in AuditLog Table
public void A_addInAuditLog(double timeStamp, string userName, string
operation, string tableName, string pkFieldName, string pkValue, string newValue,
string oldValue, string ipAddress, string otherInfo, int companyId)
{
freDA.A_addInAuditLog(timeStamp, userName, operation, tableName,
pkFieldName, pkValue, newValue, oldValue, ipAddress, otherInfo, companyId);
}
////Created by - Nidhi(25-08-09)
////Add values in ErrorLog Table
//public void A_AddErrorLog(string userName,double errTime)
//{
//
// freDA.A_AddErrorLog(userName, errTime);
//}
//Created by - Nidhi(26-08-09)
//Get details from errorlog table by fromdate and todate
public DataSet A_getErrorLogByDate(string fromDate, string toDate)
{
return freDA.A_getErrorLogByDate(fromDate, toDate);
}
//Created by - Nidhi(26-08-09)
//Get distinct module and errormsg from errorlog table
public DataSet A_getDistinctModuleAndMsg(string strString)
{
return freDA.A_getDistinctModuleAndMsg(strString);
}
//Created by - Nidhi(26-08-09)
//Get details from errorlog table by module or errormsg
public DataSet A_getDetailsByModuleNoAndErrrorMsg(string fieldName,string
fieldValue)
{
return freDA.A_getDetailsByModuleNoAndErrrorMsg(fieldName, fieldValue);
}
//Created by - Nidhi(26-08-09)
//Get details from auditlog table by fromdate and todate
public DataSet A_getAuditLogByDate(string fromDate, string toDate)
{
return freDA.A_getAuditLogByDate(fromDate, toDate);
}
//Created by - Nidhi(26-08-09)
//Get details from auditlog table by operation and tablename
public DataSet A_getDetailsByOperationAndTableName(string fieldName,
string fieldValue)
{
return freDA.A_getDetailsByOperationAndTableName(fieldName,
fieldValue);
}
//Created by - Nidhi(26-08-09)
//Get distinct module and errormsg from errorlog table
public DataSet A_getDistinctOperationAndTableName(string strString)
{
return freDA.A_getDistinctOperationAndTableName(strString);
}
//Created by - Nidhi(28-08-09)
//add users in user table
public int B_addInUsers(string userName, string pass, string fName, string
lName, string contactno, string address, string email, int companyId, int
approvalLimit, double lastLogin, int defaultSite, double creationDate, string
userCreated)
{
return freDA.B_addInUsers(userName, pass, fName, lName, contactno,
address, email, companyId, approvalLimit, lastLogin, defaultSite, creationDate,
userCreated);
}
//Created by - Nidhi(28-08-09)
//Get roles by companyid
public DataSet B_getRolesByCompanyId(int companyId)
{
return freDA.B_getRolesByCompanyId(companyId);
}
//Created by - Nidhi(28-08-09)
//Get site names by companyid
public DataSet B_getSiteNameByCompanyId(int companyId)
{
return freDA.B_getSiteNameByCompanyId(companyId);
}
//Created by - Nidhi(28-08-09)
//Get active site names by companyid
public DataSet B_getActiveSiteNameByCompanyId(int companyId)
{
return freDA.B_getActiveSiteNameByCompanyId(companyId);
}
//Created by - Nidhi(28-08-09)
//Get menus in Menu master
public DataSet B_getMenus()
{
return freDA.B_getMenus();
}
//Created by - Nidhi(29-08-09)
//add role in role master
public int B_addRoleInRoleMaster(string roleName, int companyId, string
userName, double creationTime)
{
return freDA.B_addRoleInRoleMaster(roleName
,companyId,userName,creationTime);
}
//Created by - Nidhi(29-08-09)
//add role id in role access
public void B_addRoleIdInRoleAccess(int roleId,int menuId,string access)
{
freDA.B_addRoleIdInRoleAccess(roleId, menuId, access);
}
//Created by - Nidhi(31-08-09)
//add freight fee code
public int B_addInFreightFeeCode(string ffCode, string ffName, string
classification, string type, double creationDate, string userCreated)
{
return freDA.B_addInFreightFeeCode(ffCode, ffName, classification,
type, creationDate, userCreated);
}
//Created by - Nidhi(02-09-09)
//select mode of shipment
public DataSet B_getModeOfShipment(string tableName,string colName,string
value)
{
return freDA.B_getModeOfShipment(tableName, colName, value);
}
//Created by - Nidhi(03-09-09)
//add in contract master
public int B_addInContactMaster(string contractCode, string contractDesc,
double contractDate, string supplierId, string mode, string contractCopy, string
agreeCopy, string remarks, string terms, int siteId, int revision, double
validityDate, double curDate)
{
return freDA.B_addInContactMaster(contractCode, contractDesc,
contractDate, supplierId, mode, contractCopy, agreeCopy, remarks, terms, siteId,
revision, validityDate, curDate);
}
//Created by - Nidhi(03-09-09)
//update in contract master
public int B_updateContactMaster(int conId, string contractCode, string
contractDesc, double contractDate, string supplierId, string mode, string
contractCopy, string agreeCopy, string remarks, string terms, int siteId, int
revision, double validityDate)
{
return freDA.B_updateContactMaster(conId,contractCode, contractDesc,
contractDate, supplierId, mode, contractCopy, agreeCopy, remarks, terms, siteId,
revision, validityDate);
}
//Created by - Nidhi(07-09-09)
//get all freight fee code
public DataSet B_getFreightFeeCode()
{
return freDA.B_getFreightFeeCode();
}
//get all freight fee code
public DataSet B_getAllFreightFeeCode()
{
return freDA.B_getAllFreightFeeCode();
}
//Created by - Nidhi(07-09-09)
//delete Freight Fee Code
public void B_deleteFreightFeeCode(int feeId)
{
freDA.B_deleteFreightFeeCode(feeId);
}
//Created by - Nidhi(07-09-09)
//update Freight Fee Master
public void B_UpdateInFeeCode(int feeId, string feeName, double
updatedDate, string userUpdated)
{
freDA.B_UpdateInFeeCode(feeId, feeName, updatedDate, userUpdated);
}
//Created by - Nidhi(07-09-09)
//get weight slab by company id
public DataSet B_getWeightSlabByCompanyId(int compId)
{
return freDA.B_getWeightSlabByCompanyId(compId);
}
//Created by - Nidhi(07-09-09)
//get weight slab by site id
public DataSet B_getWeightSlabBySiteId(int siteId)
{
return freDA.B_getWeightSlabBySiteId(siteId);
}
//Created by - Nidhi(07-09-09)
//get weight slab by site id
public DataSet B_getDistinctWeightSlabBySiteId(int siteId)
{
return freDA.B_getDistinctWeightSlabBySiteId(siteId);
}
//Created by - Manish(08-09-09)
//add company master
public int B_addInCompanyMaster(string compCode, string compName, string
compSmallLogo, string compLargeLogo, string reportHeader, Boolean chkStatus,
double creationDate, string userCreated)
{
return freDA.B_addInCompanyMaster(compCode, compName, compSmallLogo,
compLargeLogo, reportHeader, chkStatus,creationDate,userCreated);
}
//Created by - Nidhi(08-09-09)
//add weight slab
public int B_addInWeightMaster(string slabName, string slabHeader, string
uom, double minValue, double maxValue, int siteId, double creationDate)
{
return freDA.B_addInWeightMaster(slabName, slabHeader, uom, minValue,
maxValue, siteId,creationDate);
}
//Created by - Nidhi(09-09-09)
//get all company deatils
public DataSet B_getAllCompanyDetails()
{
return freDA.B_getAllCompanyDetails();
}
//Created by - Nidhi(09-09-09)
//get all active company
public DataSet B_getAllActiveCompany()
{
return freDA.B_getAllActiveCompany();
}
//Created by - Nidhi(09-09-09)
//delete record from Company By id
public void B_deleteCompanyById(int compId)
{
freDA.B_deleteCompanyById(compId);
}
// Created by - Nidhi(09-09-09)
// update company master
public void B_UpdateInCompanyMaster(int companyId, string compName,
string compSmallLogo, string compLargeLogo, string reportHeader, Boolean
chkStatus, double updateDate, string changeUser)
{
freDA.B_UpdateInCompanyMaster(companyId, compName, compSmallLogo,
compLargeLogo, reportHeader, chkStatus, updateDate, changeUser);
}

//Created by - Manish(09-09-09)
//add Supplier Master
public int B_addInSupplierMaster(string supCode, string supName, string
countryId, string supAddress, string supPinCode, string supPhone, string supEmail,
int siteId, string supLegCode, string supRegCode, double creationTime)
{
return freDA.B_addInSupplierMaster(supCode, supName, countryId,
supAddress, supPinCode, supPhone, supEmail, siteId, supLegCode, supRegCode,
creationTime);
}

//Created by - Nidhi(09-09-09)
//get all Supplier by site id
public DataSet B_getAllSupplierBySiteId(int siteId)
{
return freDA.B_getAllSupplierBySiteId(siteId);
}
//Created by - Nidhi(09-09-09)
//get all Supplier by site id
public DataSet B_getSupplierCodeAndNameBySiteId(int siteId)
{
return freDA.B_getSupplierCodeAndNameBySiteId(siteId);
}
//Created by - Nidhi(09-09-09)
//delete supplier
public void B_deleteSupplierBySupplierCode(string supplierCode)
{
freDA.B_deleteSupplierBySupplierCode(supplierCode);
}

// Created by - Nidhi(08-09-09)
// update Supplier master
public void B_updateInSupplierMaster(string supCode, string supName,
string countryId, string supAddress, string supPinCode, string supPhone, string
supEmail, string supLegCode, string supRegCode)
{
freDA.B_updateInSupplierMaster(supCode, supName, countryId, supAddress,
supPinCode, supPhone, supEmail, supLegCode, supRegCode);
}

// Created by - Nidhi(11-09-09)
// get slab header by slab id
public DataSet B_getSlabHeaderBySlabName(string slabName)
{
return freDA.B_getSlabHeaderBySlabName(slabName);
}
// Created by - Nidhi(11-09-09)
// add values in contract sub
public void B_addInContractSub(int contractId, int feeId, int origin, int
destination, int slabId, string currency, string classification, string shipType,
string priority, double minValue, double fixedValue, int leadTime, string type,
double rate, double percentage, string percenFeeCode, double from, double to,
double serviceTax)
{
freDA.B_addInContractSub(contractId, feeId, origin, destination,
slabId, currency, classification,shipType, priority, minValue, fixedValue,
leadTime, type, rate, percentage, percenFeeCode, from, to, serviceTax);
}
// Created by - Nidhi(11-09-09)
// add values in contract sub temp table
public void B_addInContractSubTemp(int contractId, int feeId, int origin,
int destination, int slabId, string currency, string classification, string
shipType, string priority, double minValue, double fixedValue, int leadTime,
string type, double rate, double percentage, string percenFeeCode, double from,
double to, double serviceTax)
{
freDA.B_addInContractSubTemp(contractId, feeId, origin, destination,
slabId, currency, classification, shipType, priority, minValue, fixedValue,
leadTime, type, rate, percentage, percenFeeCode, from, to, serviceTax);
}
//Created by - Manish(09-09-09)
//add City Master
public int B_addInCityMaster(string cityCode, string cityName, int
cityUni, string cityZone, int cityRegionCode, string citySubRegion, string
countryId, string countryIso, double creationTime, int companyId)
{
return freDA.B_addInCityMaster(cityCode, cityName, cityUni, cityZone,
cityRegionCode, citySubRegion, countryId, countryIso, creationTime, companyId);
}
//Created by - Manish(11-09-09)
//Delete City
public void B_deleteCityByCityCode(string cCode)
{
freDA.B_deleteCityByCityCode(cCode);
}

// Created by - Manish(11-09-09)
// Update City Master
public void B_updateInCityMaster(string cityCode, string cityName, int
cityUni, string cityZone, int cityRegionCode, string citySubRegion, string
countryId, string countryIso)
{
freDA.B_updateInCityMaster(cityCode, cityName, cityUni, cityZone,
cityRegionCode, citySubRegion, countryId, countryIso);
}
//Created by - Manish(11-09-09)
//get all City by City Id
public DataSet B_getAllCity()
{
return freDA.B_getAllCity();
}

//Created by - Manish(11-09-09)
//delete record from Site By id
public void B_deleteSiteById(int sId)
{
freDA.B_deleteSiteById(sId);
}
//Created by - Manish(11-09-09)
//get all Site deatils
public DataSet B_getAllSite()
{
return freDA.B_getAllSite();
}
// Created by - Manish(11-09-09)
// update Site Master details
public void B_UpdateInSiteMaster(int siteId, string siteName, string
legacyCode, int compId, string address, string phone, string email, Boolean
chkStatus, string nativeLanguage, string siteLogo, double updateDate, string
changeUser)
{
freDA.B_UpdateInSiteMaster(siteId, siteName, legacyCode,compId
,address, phone, email, chkStatus, nativeLanguage, siteLogo, updateDate,
changeUser);
}
//Created by - Manish(09-09-09)
//add Site Master
public int B_addInSiteMaster(string siteName, string legacyCode, string
compId, string address, string phone, string email, Boolean chkstatus, string
nativeLanguage, string siteLogo, double creationDate, string userCreated)
{
return freDA.B_addInSiteMaster(siteName, legacyCode,compId, address,
phone, email, chkstatus, nativeLanguage, siteLogo, creationDate, userCreated);
}

////////////////////////////////////////
//Created by - Nidhi(12-09-09)
//get FeeId By Code
public int B_getFeeIdByCode(string code)
{
return freDA.B_getFeeIdByCode(code);
}
//Created by - Nidhi(12-09-09)
//get FeeName By Code
public string B_getFeeNameByCode(string code)
{
return freDA.B_getFeeNameByCode(code);
}
//Created by - Nidhi(12-09-09)
//get slabId By name
public int B_getSlabIdByName(string name)
{
return freDA.B_getSlabIdByName(name);
}
//Created by - Nidhi(12-09-09)
//get City Id By City Zone
public int B_getCityIdByCityZone(string cityZone, string fsCode)
{
return freDA.B_getCityIdByCityZone(cityZone, fsCode);
}
//Created by - Nidhi(12-09-09)
//get Supplier Zone
public DataSet B_getSupplierZone(string supplierCode)
{
return freDA.B_getSupplierZone(supplierCode);
}
//Created by - Manish(15-09-09)
//Change Password
public int B_UpdatePassword(string oldPass, string newPass, string uName)
{
return freDA.B_UpdatePassword(oldPass,newPass, uName);
}
//Created by - Nidhi(16-09-09)
//sites By User
public DataSet B_getSitesByUser(string sitesId)
{
return freDA.B_getSitesByUser(sitesId);
}
//Created by - Manish(16-09-09)
//get all Weight Slab deatils
public DataSet B_getAllWeightSlabDetails()
{
return freDA.B_getAllWeightSlabDetails();
}
//Created by - Manish(16-09-09)
//delete from Weight Slab By id
public void B_deleteWeightSlabById(int slabId)
{
freDA.B_deleteWeightSlabById(slabId);
}
// Created by - Manish(16-09-09)
// update Weight Slab master
public int B_UpdateInWeightSlab(int slabId, string name, string
slabHeader, string uom, double min, double max, int siteId, double updatedDate)
{
return freDA.B_UpdateInWeightSlab(slabId,name, slabHeader, uom, min,
max, siteId, updatedDate);
}
// Created by - Nidhi(17-09-09)
// mail user password
public DataSet B_getEmailIdByUserName(string userName)
{
return freDA.B_getEmailIdByUserName(userName);
}
//Created by - Nidhi(17-09-09)
//add in users sites
public void B_addInUserSites(int userId,int siteId)
{
freDA.B_addInUserSites(userId, siteId);
}
//Created by - Nidhi(17-09-09)
//add in users roles
public void B_addInUserRoles(int userId, int roleId)
{
freDA.B_addInUserRoles(userId, roleId);
}
//Created by - Nidhi(17-09-09)
//get sites by userid
public DataSet B_getSitesByUserId(int userId)
{
return freDA.B_getSitesByUserId(userId);
}
//Created by - Manish(16-09-09)
//get all Users by siteId
public DataSet B_getallUsers(int siteId)
{
return freDA.B_getallUsers(siteId);
}
//Created by - Nidhi(17-09-09)
//delete user from users table
public void B_deleteUserById(int userId)
{
freDA.B_deleteUserById(userId);
}
//Created by - Nidhi(17-09-09)
//get user details from users table
public DataSet B_getUserDetailsById(int userId)
{
return freDA.B_getUserDetailsById(userId);
}
//Created by - Nidhi(17-09-09)
//get roles by userId
public DataSet B_getRolesByUserId(int userId)
{
return freDA.B_getRolesByUserId(userId);
}
//Created by - Nidhi(17-09-09)
//update users in user table
public void B_updateUsersDetailsById(int userId, string pass, string
fName, string lName, string contactno, string address, double lastLogin, int
defaultSite, string emailId, double updatedDate, string userUpdated)
{
freDA.B_updateUsersDetailsById(userId, pass, fName, lName, contactno,
address, lastLogin, defaultSite, emailId, updatedDate, userUpdated);
}
//Created by - Nidhi(17-09-09)
//delete User From Site And Roles Sub
public void B_deleteUserFromSiteAndRolesSub(int userId)
{
freDA.B_deleteUserFromSiteAndRolesSub(userId);
}
//Created by - Manish(16-09-09)
//Get Supplier Names by siteid
public DataSet B_getSupplierBySiteId(int id)
{
return freDA.B_getSupplierBySiteId(id);
}
public DataSet B_getallPorts()
{
return freDA.B_getallPorts();
}
//Created by - Manish(18-09-09)
//add Supplier Zone
public int B_addInSupplierZone(string supCode, int siteId, string zone,
int cityUni, string group)
{
return freDA.B_addInSupplierZone(supCode, siteId, zone, cityUni,
group);
}

//Created by - Manish(18-09-09)
//add in City Zones
public void B_addInCityZones(int zoneId, int cityId)
{
freDA.B_addInCityZones(zoneId, cityId);
}
//Created by - Nidhi(19-09-09)
//get all contract by site
public DataSet B_getAllContractBySite(int siteId)
{
return freDA.B_getAllContractBySite(siteId);
}
//Created by - Nidhi(19-09-09)
//delete Contract
public void B_deleteContractById(int contractId)
{
freDA.B_deleteContractById(contractId);
}
//Created by - Nidhi(19-09-09)
//get contract details by id from contract table
public DataSet B_getContractDetailsById(int contractId)
{
return freDA.B_getContractDetailsById(contractId);
}
//Created by - Nidhi(19-09-09)
//get contract details from contract sub table
public DataSet B_getContractSubDetailsById(int contractId)
{
return freDA.B_getContractSubDetailsById(contractId);
}
//Created by - Nidhi(19-09-09)
//get contract details from contract sub table temp
public DataSet B_getContractSubTempDetailsById(int contractId)
{
return freDA.B_getContractSubTempDetailsById(contractId);
}
//Created by - Nidhi(19-09-09)
//get contract details from contract sub temp table
public DataSet B_getContractSubTempDetailsSubId(int contractId)
{
return freDA.B_getContractSubTempDetailsSubId(contractId);
}
//Created by - Nidhi(19-09-09)
//get zone name
public string B_getZoneByZoneId(int zoneId)
{
return freDA.B_getZoneByZoneId(zoneId);
}
//Created by - Nidhi(19-09-09)
//get sub contract by sub id
public DataSet B_getContractSubDetailsBySubId(int subId)
{
return freDA.B_getContractSubDetailsBySubId(subId);
}
// Created by - Nidhi(19-09-09)
// update values in contract sub
public void B_updateContractSub(int subId, int feeId, int origin, int
destination, int slabId, string currency, string classification, string shipType,
string priority, double minValue, double fixedValue, int leadTime, string type,
double rate, double percentage, string percenFeeCode, double from, double to,
double serviceTax)
{
freDA.B_updateContractSub(subId, feeId, origin, destination, slabId,
currency, classification, shipType, priority, minValue, fixedValue, leadTime,
type, rate, percentage, percenFeeCode, from, to, serviceTax);
}
// Created by - Nidhi(19-09-09)
// update values in contract sub
public void B_updateContractSubTemp(int subId, int feeId, int origin, int
destination, int slabId, string currency, string classification, string shipType,
string priority, double minValue, double fixedValue, int leadTime, string type,
double rate, double percentage, string percenFeeCode, double from, double to,
double serviceTax)
{
freDA.B_updateContractSubTemp(subId, feeId, origin, destination,
slabId, currency, classification, shipType, priority, minValue, fixedValue,
leadTime, type, rate, percentage, percenFeeCode, from, to, serviceTax);
}
//Created by - Nidhi(21-09-09)
//get contract id
public int B_isRevisionNoExists(string conCode)
{
return freDA.B_isRevisionNoExists(conCode);
}
//Created by - Nidhi(21-09-09)
//update contract validity
public void B_updateValidityDate(int contractId, double validity)
{
freDA.B_updateValidityDate(contractId,validity);
}
//////////////////////////(22-09-09)

//Created by - Manish(21-09-09)
//Delete Zones
public void B_deleteZones(int zoneId)
{
freDA.B_deleteZones(zoneId);
}

//Created by - Manish(21-09-09)
//get all Zones
public DataSet B_getAllZones()
{
return freDA.B_getAllZones();
}
// Created by - Manish(21-09-09)
// Update Zones
public int B_updateInZones(int zoneId, string sCode, string zone, int
cityUni, string group)
{
return freDA.B_updateInZones(zoneId, sCode, zone, cityUni, group);
}
// Created by - Manish(21-09-09)
// Update Zones
public void B_updateInCityZones(int zoneId, int cityId)
{
freDA.B_updateInCityZones(zoneId, cityId);
}

public DataSet B_getZoneDetailsById(int zoneId)
{
return freDA.B_getZoneDetailsById(zoneId);
}

public DataSet B_getCityByZoneId(int zoneId)
{
return freDA.B_getCityByZoneId(zoneId);
}
//Created by - Manish(21-09-09)
//Delete City Zones
public void B_deleteInCityZone(int zoneId)
{
freDA.B_deleteInCityZone(zoneId);
}
//Created by - Manish(24-09-09)
//get company details
public DataSet B_getCompanyDetailsByCompanyId(int companyId)
{
return freDA.B_getCompanyDetailsByCompanyId(companyId);
}
//Created by - Nidhi(25-09-09)
//get site details
public DataSet B_getSiteDetailsBySiteId(int siteId)
{
return freDA.B_getSiteDetailsBySiteId(siteId);
}
//Created by - Manish(25-09-09)
//get Supplier details
public DataSet B_getSupplierDetailsBySupplierCode(string supplierCode)
{
return freDA.B_getSupplierDetailsBySupplierCode(supplierCode);
}
//Created by - Manish(25-09-09)
//get City details
public DataSet B_getCityDetailsByCityCode(string cityCode)
{
return freDA.B_getCityDetailsByCityCode(cityCode);
}

//Created by - Manish(25-09-09)
//get Fee details
public DataSet B_getFeeDetailsByFeeId(int feeId)
{
return freDA.B_getFeeDetailsByFeeId(feeId);
}
//Created by - Manish(25-09-09)
//get Weight Slab details
public DataSet B_getSlabDetailsBySlabId(int slabId)
{
return freDA.B_getSlabDetailsBySlabId(slabId);
}
// Created by - Manish(29-09-09)
// Get Countries
public DataSet B_getallCountries()
{
return freDA.B_getallCountries();
}

//Created by - Manish(26-09-09)
//get Zone details
public DataSet B_getZoneDetails(int zoneId)
{
return freDA.B_getZoneDetails(zoneId);
}
//Created by - Manish(30-09-09)
//Get all City Code
public DataSet B_getallCityCode()
{
return freDA.B_getallCityCode();
}

// Created by - Manish(30-09-09)
// get City Code by Country
public DataSet B_getCityCodeByCountry(int country)
{
return freDA.B_getCityCodeByCountry(country);
}

//Created by - Manish(18-09-09)
//add Supplier Zone
public int B_addInSupplierZone(string supCode, int siteId, string zone,
int cityUni, string group, string countryId)
{
return freDA.B_addInSupplierZone(supCode, siteId, zone, cityUni, group,
countryId);
}

// Created by - Manish(21-09-09)
// Update Zones
public int B_updateInZones(int zoneId, string sCode, string zone, int
cityUni, string group, string countryId)
{
return freDA.B_updateInZones(zoneId, sCode, zone, cityUni, group,
countryId);
}
//Created by - Manish(03-10-09)
//delete from contract id from contract sub
public void B_deleteFromContractSubByContractId(int contractId)
{
freDA.B_deleteFromContractSubByContractId(contractId);
}
//Created by - Manish(03-10-09)
//delete from contract id from contract sub
public void B_deleteFromContractSubTempById(int contractId)
{
freDA.B_deleteFromContractSubTempById(contractId);
}
//Created by - Nidhi(07-10-09)
//add in notification
public void B_addInNotification(string userName, string owner, string
header, string supplierCode, string msg, double creationTime)
{
freDA.B_addInNotification(userName, owner, header, supplierCode, msg,
creationTime);
}
//Created by - Nidhi(08-10-09)
//moving data from notification to notification history
public void A_copyFromNotification(string createdDate)
{
freDA.A_copyFromNotification(createdDate);
}
// Created by - Manish(07-10-09)
// get City Code by Supplier Code
public DataSet B_getCityCodeBySupplierCode(string supplierCode)
{
return freDA.B_getCityCodeBySupplierCode(supplierCode);
}
// Created by - Nidhi(10-10-09)
// update user last login date
public void B_updateUserLastLogin(double loginDate, int userId)
{
freDA.B_updateUserLastLogin(loginDate, userId);
}
}
}