예제 #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() });
        }