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); }
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); }