/// <summary>
        ///     Creates a new <see cref="PriceListRecord" /> object instance that is a shallow-copy of the current object instance.
        /// </summary>
        /// <returns>
        ///     The shallow-copy of the current <see cref="PriceListRecord" /> object instance.
        /// </returns>
        public PriceListRecord Clone()
        {
            PriceListRecord record = new PriceListRecord();

            record.Id                = this.Id;
            record.Lock              = this.Lock;
            record.AddDate           = this.AddDate;
            record.AddBy             = this.AddBy;
            record.ModDate           = this.ModDate;
            record.ModBy             = this.ModBy;
            record.RcvDate           = this.RcvDate;
            record.RcvFrom           = this.RcvFrom;
            record.Currency          = this.Currency;
            record.Name              = this.Name;
            record.ValidFrom         = this.ValidFrom;
            record.ValidUntil        = this.ValidUntil;
            record.BusinessUnit      = this.BusinessUnit;
            record.Ticket            = this.Ticket;
            record.ProdFamily        = this.ProdFamily;
            record.BktId             = this.BktId;
            record.OrgOnly           = this.OrgOnly;
            record.Status            = this.Status;
            record.PrepayAccountOnly = this.PrepayAccountOnly;
            record.PshId             = this.PshId;
            record.Default           = this.Default;
            record.VatCode           = this.VatCode;
            return(record);
        }
        /// <summary>
        ///     Indicates whether the current <see cref="PriceListRecord" /> instance is equal to another <see cref="PriceListRecord" /> instance.
        /// </summary>
        /// <param name="that">
        ///     The <see cref="PriceListRecord" /> instance to be compared against this instance.
        /// </param>
        /// <returns>
        ///     True if both instances are considered equal; otherwise, false.
        /// </returns>
        public Boolean Equals(PriceListRecord that)
        {
            Boolean result = true;

            result = result && (this.Id.TrimOrNullify() == that.Id.TrimOrNullify());
            result = result && (this.Lock.TrimOrNullify() == that.Lock.TrimOrNullify());
            result = result && (this.Currency.TrimOrNullify() == that.Currency.TrimOrNullify());
            result = result && (this.Name.TrimOrNullify() == that.Name.TrimOrNullify());
            result = result && (this.ValidFrom == that.ValidFrom);
            result = result && (this.ValidUntil == that.ValidUntil);
            result = result && (this.BusinessUnit.TrimOrNullify() == that.BusinessUnit.TrimOrNullify());
            result = result && (this.Ticket == that.Ticket);
            result = result && (this.ProdFamily.TrimOrNullify() == that.ProdFamily.TrimOrNullify());
            result = result && (this.BktId.TrimOrNullify() == that.BktId.TrimOrNullify());
            result = result && (this.OrgOnly == that.OrgOnly);
            result = result && (this.Status == that.Status);
            result = result && (this.PrepayAccountOnly == that.PrepayAccountOnly);
            result = result && (this.PshId == that.PshId);
            result = result && (this.Default == that.Default);
            result = result && (this.VatCode.TrimOrNullify() == that.VatCode.TrimOrNullify());
            return(result);
        }