private static tbl_Puh CreatePurchaseHeader(IPurchaseHeaderView header)
        {
            tbl_Puh puh = new tbl_Puh();

            puh.PuhNumber     = header.PurchaseHeaderNumber;
            puh.PuhSup_       = header.PurchaseHeaderCustomer;
            puh.PuhCreatedate = header.PurchaseHeaderCreateDate;
            return(puh);
        }
 private static tbl_Puh CreatePurchaseHeader(IPurchaseHeaderView header)
 {
     tbl_Puh puh = new tbl_Puh();
     puh.PuhNumber = header.PurchaseHeaderNumber;
     puh.PuhSup_ = header.PurchaseHeaderCustomer;
     puh.PuhCreatedate = header.PurchaseHeaderCreateDate;
     return puh;
 }
 public static void DeletePurchaseHeader(IPurchaseHeaderView view)
 {
     MerpDatabase().tbl_Puh.DeleteObject(LoadPurchaseHeader(view));
 }
Exemplo n.º 4
0
 public void DeletePurchaseHeader(IPurchaseHeaderView view)
 {
     Service.DeletePurchaseHeader(view);
 }
Exemplo n.º 5
0
 public void AddPurchaseHeader(IPurchaseHeaderView view)
 {
     Service.AddPurchaseHeader(view);
 }
Exemplo n.º 6
0
 public void DeletePurchaseHeader(IPurchaseHeaderView view)
 {
     QuattroDataFactory.DeletePurchaseHeader(view);
 }
 public void DeletePurchaseHeader(IPurchaseHeaderView purchaseHeader)
 {
     Service.DeletePurchaseHeader(purchaseHeader);
 }
 public PurchaseHeaderRepository()
 {
     purchaseHeader  = PurchaseFactory.createNewPurchaseHeader();
     purchaseHeaders = new List <PurchaseHeaderView>();
 }
 public static void AddPurchaseHeader(IPurchaseHeaderView header)
 {
     MerpDatabase().tbl_Puh.AddObject(CreatePurchaseHeader(header));
 }
 public PurchaseHeaderViewModel()
 {
     this.quattroRepository  = new QuattroRepository();
     this.purchaseHeaderView = PurchaseFactory.createNewPurchaseHeader();
 }
Exemplo n.º 11
0
 public void UpdatePurchaseHeader(IPurchaseHeaderView purchaseHeader)
 {
     throw new System.NotImplementedException();
 }
Exemplo n.º 12
0
 public void DeletePurchaseHeader(IPurchaseHeaderView view)
 {
     QuattroDataFactory.DeletePurchaseHeader(view);
 }
Exemplo n.º 13
0
 public void AddPurchaseHeader(IPurchaseHeaderView view)
 {
     QuattroDataFactory.AddPurchaseHeader(view);
 }
Exemplo n.º 14
0
 public void UpdatePurchaseHeader(IPurchaseHeaderView purchaseHeader)
 {
     throw new System.NotImplementedException();
 }
 public static void AddPurchaseHeader(IPurchaseHeaderView header)
 {
     MerpDatabase().tbl_Puh.AddObject(CreatePurchaseHeader(header));
 }
 private static tbl_Puh LoadPurchaseHeader(IPurchaseHeaderView view)
 {
     return (from c in MerpDatabase().tbl_Puh where view.PurchaseHeaderId == c.Puh_ select c).First();
 }
Exemplo n.º 17
0
 public static void DeletePurchaseHeader(IPurchaseHeaderView view)
 {
     MerpDatabase().tbl_Puh.DeleteObject(LoadPurchaseHeader(view));
 }
 public void AddPurchaseHeader(IPurchaseHeaderView purchaseHeader)
 {
     Service.AddPurchaseHeader(purchaseHeader);
 }
Exemplo n.º 19
0
 private static tbl_Puh LoadPurchaseHeader(IPurchaseHeaderView view)
 {
     return((from c in MerpDatabase().tbl_Puh where view.PurchaseHeaderId == c.Puh_ select c).First());
 }
 public void UpdatePurchaseHeader(IPurchaseHeaderView purchaseHeader)
 {
     Service.UpdatePurchaseHeader(purchaseHeader);
 }
Exemplo n.º 21
0
 public void AddPurchaseHeader(IPurchaseHeaderView view)
 {
     QuattroDataFactory.AddPurchaseHeader(view);
 }