Пример #1
0
 public virtual bool SameAs(INScanSetup setup)
 {
     return
         (DefaultWarehouse == setup.DefaultWarehouse &&
          PrintInventoryLabelsAutomatically == setup.PrintInventoryLabelsAutomatically &&
          InventoryLabelsReportID == setup.InventoryLabelsReportID);
 }
Пример #2
0
 public virtual INScanUserSetup ApplyValuesFrom(INScanSetup setup)
 {
     DefaultWarehouse = setup.DefaultWarehouse;
     PrintInventoryLabelsAutomatically = setup.PrintInventoryLabelsAutomatically;
     InventoryLabelsReportID           = setup.InventoryLabelsReportID;
     return(this);
 }
Пример #3
0
        protected virtual IEnumerable scanSetup()
        {
            INScanSetup result = PXSelect <INScanSetup, Where <INScanSetup.branchID, Equal <Current <AccessInfo.branchID> > > > .Select(this);

            return(new INScanSetup[] { result ?? ScanSetup.Insert() });
        }