Ejemplo n.º 1
0
        private void BindFormContents()
        {
            var pl = new PalletLocation();

            lkPalletLocations.DataSource = PalletLocation.GetAll();
            gridReceives.DataSource      = pl.GetReceivesForGRVPrinting(CurrentContext.UserId, 2);
        }
Ejemplo n.º 2
0
        private void BindFormContents()
        {
            if (!BLL.Settings.IsCenter)
            {
                lkAccount.SetupActivityEditor().SetDefaultActivity();
            }
            else
            {
                colLocation.Visible      = false;
                layoutAccount.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
            }
            //Warehouse
            lkWarehouse.Properties.DataSource = BLL.Warehouse.GetWarehouseWithCluster(CurrentContext.UserId);

            PalletLocation pl = new PalletLocation();

            lkPalletLocations.DataSource = PalletLocation.GetAll();

            if (currentMode == Modes.QuantityConfirmation)
            {
                gridReceives.DataSource = pl.GetReceivesForQtyConfirmation(CurrentContext.UserId);
                if (CurrentContext.LoggedInUser.UserType == UserType.Constants.STORE)
                {
                    btnConfirm.Enabled = false;
                }
            }
        }
Ejemplo n.º 3
0
        private void BindFormContents()
        {
            PalletLocation pl = new PalletLocation();

            lkPalletLocations.DataSource = PalletLocation.GetAll();

            if (currentMode == Modes.GRVPrinting)
            {
                gridReceives.DataSource = pl.GetReceivesForGRVPrinting(CurrentContext.UserId, 1);
            }
        }
        private void BindFormContents()
        {
            PalletLocation pl = new PalletLocation();

            lkPalletLocations.DataSource = PalletLocation.GetAll();

            if (currentMode == Modes.DeliveryNotePrinting)
            {
                gridReceives.DataSource = pl.GetReceivesForGRVPrinting(CurrentContext.UserId, 3);
                colLocation.Visible     = false;
                colInsurance.Visible    = false;
                colMargin.Visible       = false;
            }
        }
Ejemplo n.º 5
0
        private void BindFormContents()
        {
            var pl = new PalletLocation();

            lkPalletLocations.DataSource = PalletLocation.GetAll();
            if (currentMode == Modes.GRVConfirmation)
            {
                gridReceives.DataSource  = pl.GetReceivesForGRVConfirmation(CurrentContext.UserId);
                colLocation.Visible      = false;
                colInsurance.Visible     = false;
                colMargin.Visible        = false;
                lcReprint.Visibility     = LayoutVisibility.Always;
                lcRequestVoid.Visibility = LayoutVisibility.Always;
                lcVoid.Visibility        = LayoutVisibility.Always;
            }
        }