Пример #1
0
 public virtual POReceivePutAwayUserSetup ApplyValuesFrom(POReceivePutAwaySetup setup)
 {
     SingleLocation                    = setup.SingleLocation;
     DefaultLotSerialNumber            = setup.DefaultLotSerialNumber;
     DefaultExpireDate                 = setup.DefaultExpireDate;
     PrintPurchaseReceiptAutomatically = setup.PrintPurchaseReceiptAutomatically;
     PrintInventoryLabelsAutomatically = setup.PrintInventoryLabelsAutomatically;
     InventoryLabelsReportID           = setup.InventoryLabelsReportID;
     return(this);
 }
Пример #2
0
 public virtual bool SameAs(POReceivePutAwaySetup setup)
 {
     return
         (SingleLocation == setup.SingleLocation &&
          DefaultLotSerialNumber == setup.DefaultLotSerialNumber &&
          DefaultExpireDate == setup.DefaultExpireDate &&
          PrintPurchaseReceiptAutomatically == setup.PrintPurchaseReceiptAutomatically &&
          PrintInventoryLabelsAutomatically == setup.PrintInventoryLabelsAutomatically &&
          InventoryLabelsReportID == setup.InventoryLabelsReportID);
 }