Example #1
0
 public int UpdateBudgetCode(POMain poMain)
 {
     return(new POSystemDataHandler().UpdateBudgetCode(this.BudgetCodeID, this.DepartmentID, this.OrderClassificationID, this.StationID, this.BudgetCodeDescription, this.CreatedBy, this.Received));
 }
Example #2
0
 public int InsertBudgetCode(POMain poMain)
 {
     return(new POSystemDataHandler().InsertBudgetCode(this.BudgetCode, this.DepartmentID, this.OrderClassificationID, this.StationID, this.BudgetCodeDescription, this.YearOfBudgetCode, this.CreatedBy));
 }
Example #3
0
        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));
        }
Example #4
0
        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));
        }
Example #5
0
        public int DeleteRequester(POMain poMain)
        {
            POSystemDataHandler dataHandler = new POSystemDataHandler();

            return(dataHandler.DeleteRequester(this.RequesterID, this.CreatedBy));
        }
Example #6
0
        public int InsertProject(POMain poMain)
        {
            POSystemDataHandler dataHandler = new POSystemDataHandler();

            return(dataHandler.InsertProject(this.ProjectName, this.CreatedBy));
        }
Example #7
0
        public int InsertRequester(POMain poMain)
        {
            POSystemDataHandler dataHandler = new POSystemDataHandler();

            return(dataHandler.InsertRequester(this.RequesterName, this.Email, this.UserID, this.Role, this.CreatedBy));
        }
Example #8
0
        public int InsertShipTo(POMain poMain)
        {
            POSystemDataHandler dataHandler = new POSystemDataHandler();

            return(dataHandler.InsertShipTo(this.ShipToName, this.VAT, this.ShipToAddress, this.NewAddress, this.CreatedBy));
        }
Example #9
0
        public int UpdateShipToDetails(POMain poMain)
        {
            POSystemDataHandler dataHandler = new POSystemDataHandler();

            return(dataHandler.UpdateShipToDetails(this.ShipToID, this.ShipToName, this.VAT, this.ShipToAddress, this.NewAddress, this.CreatedBy));
        }
Example #10
0
        public int DeleteShipToDetails(POMain poMain)
        {
            POSystemDataHandler dataHandler = new POSystemDataHandler();

            return(dataHandler.DeleteShipToDetails(this.ShipToID, this.CreatedBy));
        }
Example #11
0
        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));
        }