Esempio n. 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);
 }
Esempio n. 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);
 }