コード例 #1
0
        public InventoryTransactionView(InventoryTransaction transaction)
        {
            InitializeComponent();
            this.Name = "TransactionViewNewTransaction";
            isNewTransaction = false;
            displayOrHideForm();
            lockItemFields();
            mTransaction = transaction;
            LoadTransaction();

        }
コード例 #2
0
 public InventoryTransactionView(Lot lot)
 {
     InitializeComponent();
     this.Name = "TransactionViewNewTransaction";
     isNewTransaction = true;
     txtReciever.Text = lot.LotDisplayName();
     displayOrHideForm();
     lockItemFields();
     ClearFields();
     db.BeginTransaction();
     mTransaction = new InventoryTransaction(lot.GetLotID());
     mTransaction.SetClientType(InventoryTransaction.ClientType.Client);
 }
コード例 #3
0
 public InventoryTransactionView(Site site)
 {
     InitializeComponent();
     this.Name = "TransactionViewNewTransaction";
     isNewTransaction = true;
     txtReciever.Text = site.GetSiteName();
     displayOrHideForm();
     lockItemFields();
     ClearFields();
     db.BeginTransaction();
     mTransaction = new InventoryTransaction(site.GetSiteID());
     mTransaction.SetClientType(InventoryTransaction.ClientType.Builder);
 }
コード例 #4
0
 public InventoryTransactionView()
 {
     InitializeComponent();
     this.Name = "TransactionViewNewTransaction";
     isNewTransaction = true;
     displayOrHideForm();
     lockItemFields();
     ClearFields();
     db.BeginTransaction();
     isRestock = true;
     txtReciever.Text = "Inventory";
     mTransaction = new InventoryTransaction("0");
     mTransaction.SetClientType(InventoryTransaction.ClientType.Inventory);
 }