public virtual bool SameAs(INScanSetup setup) { return (DefaultWarehouse == setup.DefaultWarehouse && PrintInventoryLabelsAutomatically == setup.PrintInventoryLabelsAutomatically && InventoryLabelsReportID == setup.InventoryLabelsReportID); }
public virtual INScanUserSetup ApplyValuesFrom(INScanSetup setup) { DefaultWarehouse = setup.DefaultWarehouse; PrintInventoryLabelsAutomatically = setup.PrintInventoryLabelsAutomatically; InventoryLabelsReportID = setup.InventoryLabelsReportID; return(this); }
protected virtual IEnumerable scanSetup() { INScanSetup result = PXSelect <INScanSetup, Where <INScanSetup.branchID, Equal <Current <AccessInfo.branchID> > > > .Select(this); return(new INScanSetup[] { result ?? ScanSetup.Insert() }); }