Esempio n. 1
0
 protected override void _(Events.RowSelected <Header> e)
 {
     base._(e);
     ReviewAvailability.SetVisible(Base.IsMobile);
     ScanModeItemLookup.SetEnabled(e.Row?.Mode != Modes.Lookup);
     ScanQty.SetVisible(false);
     ScanConfirm.SetVisible(false);
     ScanRemove.SetVisible(false);
     //Base.storages.Cache.Adjust<PXUIFieldAttribute>().For<StoragePlaceStatus.splittedIcon>(a => a.Visible = e.Row.IsCart == false);
 }
        protected override void _(Events.RowSelected <Header> e)
        {
            base._(e);
            ReviewAvailability.SetVisible(Base.IsMobile);
            ScanModeItemLookup.SetEnabled(e.Row?.Mode != Modes.Lookup);

            ScanQty.SetVisible(false);
            ScanConfirm.SetVisible(false);
            ScanRemove.SetVisible(false);
        }
        protected override void _(Events.RowSelected <Header> e)
        {
            base._(e);

            ScanQty.SetVisible(false);
            ScanRemove.SetVisible(false);
            ScanConfirm.SetVisible(false);
            ScanNextPathIndex.SetEnabled(e.Row?.ScanState != ScanStates.NextIndex);
            Review.SetVisible(Base.IsMobile);

            Logs.AllowInsert          = Logs.AllowDelete = Logs.AllowUpdate = false;
            Base.location.AllowInsert = Base.location.AllowDelete = Base.location.AllowUpdate = false;
        }
Esempio n. 4
0
 public void FromCustomObject(SqlConnection con, IntPtr pUdt)
 {
     SqlUdt.SetValue(con, pUdt, "ID", ID.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "CheckID", CheckID.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "WarehouseNo", WarehouseNo.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "HouseNo", HouseNo.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "AreaNo", AreaNo.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "MaterialNo", MaterialNo.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "MaterialDesc", MaterialDesc.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "AccountQty", AccountQty.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "ScanQty", ScanQty.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "Status", Status.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "StockTime", StockTime.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "Operator", Operator.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "OperationTime", OperationTime.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "ProfitLoss", ProfitLoss.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "DifferenceQty", DifferenceQty.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "IsDel", IsDel.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "Creater", Creater.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "CreateTime", CreateTime.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "Modifyer", Modifyer.ToSqlValue());
     SqlUdt.SetValue(con, pUdt, "ModifyTime", ModifyTime.ToSqlValue());
 }