public int UpdateBudgetCode(POMain poMain) { return(new POSystemDataHandler().UpdateBudgetCode(this.BudgetCodeID, this.DepartmentID, this.OrderClassificationID, this.StationID, this.BudgetCodeDescription, this.CreatedBy, this.Received)); }
public int InsertBudgetCode(POMain poMain) { return(new POSystemDataHandler().InsertBudgetCode(this.BudgetCode, this.DepartmentID, this.OrderClassificationID, this.StationID, this.BudgetCodeDescription, this.YearOfBudgetCode, this.CreatedBy)); }
public int UpdateSupplierDetails(POMain poMain) { POSystemDataHandler dataHandler = new POSystemDataHandler(); return(dataHandler.UpdateSupplierDetails(this.SupplierID, this.MainNo, this.FaxNo, this.ContactPerson, this.PhNo, this.ContactPerson1, this.PhNo1, this.Address1, this.Address2, this.Address3, this.Address4, this.Address5, this.Country, this.Comment, this.Term, this.CreatedBy, this.Received)); }
public int InsertSupplier(POMain poMain) { POSystemDataHandler dataHandler = new POSystemDataHandler(); return(dataHandler.InsertSupplier(this.SupplierName, this.MainNo, this.FaxNo, this.ContactPerson, this.PhNo, this.ContactPerson1, this.PhNo1, this.Address1, this.Address2, this.Address3, this.Address4, this.Address5, this.Country, this.Comment, this.Term, this.CreatedBy)); }
public int DeleteRequester(POMain poMain) { POSystemDataHandler dataHandler = new POSystemDataHandler(); return(dataHandler.DeleteRequester(this.RequesterID, this.CreatedBy)); }
public int InsertProject(POMain poMain) { POSystemDataHandler dataHandler = new POSystemDataHandler(); return(dataHandler.InsertProject(this.ProjectName, this.CreatedBy)); }
public int InsertRequester(POMain poMain) { POSystemDataHandler dataHandler = new POSystemDataHandler(); return(dataHandler.InsertRequester(this.RequesterName, this.Email, this.UserID, this.Role, this.CreatedBy)); }
public int InsertShipTo(POMain poMain) { POSystemDataHandler dataHandler = new POSystemDataHandler(); return(dataHandler.InsertShipTo(this.ShipToName, this.VAT, this.ShipToAddress, this.NewAddress, this.CreatedBy)); }
public int UpdateShipToDetails(POMain poMain) { POSystemDataHandler dataHandler = new POSystemDataHandler(); return(dataHandler.UpdateShipToDetails(this.ShipToID, this.ShipToName, this.VAT, this.ShipToAddress, this.NewAddress, this.CreatedBy)); }
public int DeleteShipToDetails(POMain poMain) { POSystemDataHandler dataHandler = new POSystemDataHandler(); return(dataHandler.DeleteShipToDetails(this.ShipToID, this.CreatedBy)); }
public int InsertPOData(List <POItem> poItems, POMain poMain, ref Int64 poNumber) { POSystemDataHandler dataHandler = new POSystemDataHandler(); return(dataHandler.InsertPOData(GenerateXMLForPOData(poItems), this.PONumber, this.RequesterID, this.OrderClassificationID, this.StationID, this.DepartmentID, this.POType, this.ProjectID, this.ShipToID, this.Comment, this.SupplierID, this.InBudgetID, this.CurrencyID, this.TotalValue, this.TotalValueInUSD, this.CreatedBy, this.NRC, this.MRC, this.Tail, this.CircuitID, this.EstimatedDeliveryTime, this.Supervisor, this.Opportunity, this.BudgetCodeID, ref poNumber)); }