Beispiel #1
0
        public String askUOM_N()
        {
            String UOM;

            podao = new DAO.PurchaseOrderDAO();
            podao.katsUOM(stock_code, supplier_code);
            UOM = podao.katsUOM_N(stock_name, supplier_code);
            return(UOM);
        }
Beispiel #2
0
        public Double askStockPriceStockName()
        {
            Double price;

            podao = new DAO.PurchaseOrderDAO();
            podao.katsStockPrice(stock_code, supplier_code);
            price = podao.katsStockPriceN(stock_name, supplier_code);
            return(price);
        }
Beispiel #3
0
        public String askStockName()
        {
            String stock_name;

            podao = new DAO.PurchaseOrderDAO();
            podao.katsStockName(stock_code, supplier_code);
            stock_name = podao.katsStockName(stock_code, supplier_code);
            return(stock_name);
        }
Beispiel #4
0
        public String askSupplierCode()
        {
            String supplier_code;

            podao = new DAO.PurchaseOrderDAO();
            podao.katsSupplierCode(supplier_name);
            supplier_code = podao.katsSupplierCode(supplier_name);
            return(supplier_code);
        }
Beispiel #5
0
        public Int32 askPOno()
        {
            Int32 POno;

            podao = new DAO.PurchaseOrderDAO();
            podao.postPONumber();
            POno = podao.postPONumber();
            return(POno + 1);
        }
Beispiel #6
0
 public void ReversePrint()
 {
     podao = new DAO.PurchaseOrderDAO();
     podao.UndoPrint(po_no, po_date);
 }
Beispiel #7
0
 public void TogglePrint()
 {
     podao = new DAO.PurchaseOrderDAO();
     podao.TriggerPrint(po_no, po_date);
 }
Beispiel #8
0
 public void updateTotalAmountMain()
 {
     podao = new DAO.PurchaseOrderDAO();
     podao.UpdateAmountToMainTable(po_no, supplier_code, po_total_amt);
 }
Beispiel #9
0
 public void RemoveOrderItemsInPO()
 {
     podao = new DAO.PurchaseOrderDAO();
     podao.DeleteOrderPO(po_no, stock_code);
 }
Beispiel #10
0
 public void UpdateOrderItemsToPO()
 {
     podao = new DAO.PurchaseOrderDAO();
     podao.UpdateOrderPO(po_no, order_quantity, order_uom, stock_code, old_stock_code, stock_name, order_unitcost, order_amount);
 }
Beispiel #11
0
 public void PO_Delete()
 {
     podao = new DAO.PurchaseOrderDAO();
     podao.DeletePO(po_no, supplier_code);
 }
Beispiel #12
0
 public void PO_Update()
 {
     podao = new DAO.PurchaseOrderDAO();
     podao.UpdatePO(po_no, supplier_code, po_warehouse, po_carrier, po_remarks, user_name);
 }
Beispiel #13
0
 public void PO_Issue()
 {
     podao = new DAO.PurchaseOrderDAO();
     podao.IssuePO(po_no, po_date, po_time, supplier_code, po_remarks, user_name);
 }