Esempio n. 1
0
 void IShipmentItemMvoState.When(IShipmentItemMvoStateMergePatched e)
 {
     throw new NotSupportedException();
 }
Esempio n. 2
0
        public virtual void When(IShipmentItemMvoStateMergePatched e)
        {
            ThrowOnWrongEvent(e);

            if (e.ProductId == null)
            {
                if (e.IsPropertyProductIdRemoved)
                {
                    this.ProductId = default(string);
                }
            }
            else
            {
                this.ProductId = e.ProductId;
            }

            if (e.AttributeSetInstanceId == null)
            {
                if (e.IsPropertyAttributeSetInstanceIdRemoved)
                {
                    this.AttributeSetInstanceId = default(string);
                }
            }
            else
            {
                this.AttributeSetInstanceId = e.AttributeSetInstanceId;
            }

            if (e.Quantity == null)
            {
                if (e.IsPropertyQuantityRemoved)
                {
                    this.Quantity = default(decimal?);
                }
            }
            else
            {
                this.Quantity = e.Quantity;
            }

            if (e.ShipmentContentDescription == null)
            {
                if (e.IsPropertyShipmentContentDescriptionRemoved)
                {
                    this.ShipmentContentDescription = default(string);
                }
            }
            else
            {
                this.ShipmentContentDescription = e.ShipmentContentDescription;
            }

            if (e.Version == null)
            {
                if (e.IsPropertyVersionRemoved)
                {
                    this.Version = default(long);
                }
            }
            else
            {
                this.Version = (e.Version != null && e.Version.HasValue) ? e.Version.Value : default(long);
            }

            if (e.Active == null)
            {
                if (e.IsPropertyActiveRemoved)
                {
                    this.Active = default(bool);
                }
            }
            else
            {
                this.Active = (e.Active != null && e.Active.HasValue) ? e.Active.Value : default(bool);
            }

            if (e.ShipmentShipmentTypeId == null)
            {
                if (e.IsPropertyShipmentShipmentTypeIdRemoved)
                {
                    this.ShipmentShipmentTypeId = default(string);
                }
            }
            else
            {
                this.ShipmentShipmentTypeId = e.ShipmentShipmentTypeId;
            }

            if (e.ShipmentStatusId == null)
            {
                if (e.IsPropertyShipmentStatusIdRemoved)
                {
                    this.ShipmentStatusId = default(string);
                }
            }
            else
            {
                this.ShipmentStatusId = e.ShipmentStatusId;
            }

            if (e.ShipmentPrimaryOrderId == null)
            {
                if (e.IsPropertyShipmentPrimaryOrderIdRemoved)
                {
                    this.ShipmentPrimaryOrderId = default(string);
                }
            }
            else
            {
                this.ShipmentPrimaryOrderId = e.ShipmentPrimaryOrderId;
            }

            if (e.ShipmentPrimaryReturnId == null)
            {
                if (e.IsPropertyShipmentPrimaryReturnIdRemoved)
                {
                    this.ShipmentPrimaryReturnId = default(string);
                }
            }
            else
            {
                this.ShipmentPrimaryReturnId = e.ShipmentPrimaryReturnId;
            }

            if (e.ShipmentPrimaryShipGroupSeqId == null)
            {
                if (e.IsPropertyShipmentPrimaryShipGroupSeqIdRemoved)
                {
                    this.ShipmentPrimaryShipGroupSeqId = default(long?);
                }
            }
            else
            {
                this.ShipmentPrimaryShipGroupSeqId = e.ShipmentPrimaryShipGroupSeqId;
            }

            if (e.ShipmentPicklistBinId == null)
            {
                if (e.IsPropertyShipmentPicklistBinIdRemoved)
                {
                    this.ShipmentPicklistBinId = default(string);
                }
            }
            else
            {
                this.ShipmentPicklistBinId = e.ShipmentPicklistBinId;
            }

            if (e.ShipmentEstimatedReadyDate == null)
            {
                if (e.IsPropertyShipmentEstimatedReadyDateRemoved)
                {
                    this.ShipmentEstimatedReadyDate = default(DateTime?);
                }
            }
            else
            {
                this.ShipmentEstimatedReadyDate = e.ShipmentEstimatedReadyDate;
            }

            if (e.ShipmentEstimatedShipDate == null)
            {
                if (e.IsPropertyShipmentEstimatedShipDateRemoved)
                {
                    this.ShipmentEstimatedShipDate = default(DateTime?);
                }
            }
            else
            {
                this.ShipmentEstimatedShipDate = e.ShipmentEstimatedShipDate;
            }

            if (e.ShipmentEstimatedShipWorkEffId == null)
            {
                if (e.IsPropertyShipmentEstimatedShipWorkEffIdRemoved)
                {
                    this.ShipmentEstimatedShipWorkEffId = default(string);
                }
            }
            else
            {
                this.ShipmentEstimatedShipWorkEffId = e.ShipmentEstimatedShipWorkEffId;
            }

            if (e.ShipmentEstimatedArrivalDate == null)
            {
                if (e.IsPropertyShipmentEstimatedArrivalDateRemoved)
                {
                    this.ShipmentEstimatedArrivalDate = default(DateTime?);
                }
            }
            else
            {
                this.ShipmentEstimatedArrivalDate = e.ShipmentEstimatedArrivalDate;
            }

            if (e.ShipmentEstimatedArrivalWorkEffId == null)
            {
                if (e.IsPropertyShipmentEstimatedArrivalWorkEffIdRemoved)
                {
                    this.ShipmentEstimatedArrivalWorkEffId = default(string);
                }
            }
            else
            {
                this.ShipmentEstimatedArrivalWorkEffId = e.ShipmentEstimatedArrivalWorkEffId;
            }

            if (e.ShipmentLatestCancelDate == null)
            {
                if (e.IsPropertyShipmentLatestCancelDateRemoved)
                {
                    this.ShipmentLatestCancelDate = default(DateTime?);
                }
            }
            else
            {
                this.ShipmentLatestCancelDate = e.ShipmentLatestCancelDate;
            }

            if (e.ShipmentEstimatedShipCost == null)
            {
                if (e.IsPropertyShipmentEstimatedShipCostRemoved)
                {
                    this.ShipmentEstimatedShipCost = default(decimal?);
                }
            }
            else
            {
                this.ShipmentEstimatedShipCost = e.ShipmentEstimatedShipCost;
            }

            if (e.ShipmentCurrencyUomId == null)
            {
                if (e.IsPropertyShipmentCurrencyUomIdRemoved)
                {
                    this.ShipmentCurrencyUomId = default(string);
                }
            }
            else
            {
                this.ShipmentCurrencyUomId = e.ShipmentCurrencyUomId;
            }

            if (e.ShipmentHandlingInstructions == null)
            {
                if (e.IsPropertyShipmentHandlingInstructionsRemoved)
                {
                    this.ShipmentHandlingInstructions = default(string);
                }
            }
            else
            {
                this.ShipmentHandlingInstructions = e.ShipmentHandlingInstructions;
            }

            if (e.ShipmentOriginFacilityId == null)
            {
                if (e.IsPropertyShipmentOriginFacilityIdRemoved)
                {
                    this.ShipmentOriginFacilityId = default(string);
                }
            }
            else
            {
                this.ShipmentOriginFacilityId = e.ShipmentOriginFacilityId;
            }

            if (e.ShipmentDestinationFacilityId == null)
            {
                if (e.IsPropertyShipmentDestinationFacilityIdRemoved)
                {
                    this.ShipmentDestinationFacilityId = default(string);
                }
            }
            else
            {
                this.ShipmentDestinationFacilityId = e.ShipmentDestinationFacilityId;
            }

            if (e.ShipmentOriginContactMechId == null)
            {
                if (e.IsPropertyShipmentOriginContactMechIdRemoved)
                {
                    this.ShipmentOriginContactMechId = default(string);
                }
            }
            else
            {
                this.ShipmentOriginContactMechId = e.ShipmentOriginContactMechId;
            }

            if (e.ShipmentOriginTelecomNumberId == null)
            {
                if (e.IsPropertyShipmentOriginTelecomNumberIdRemoved)
                {
                    this.ShipmentOriginTelecomNumberId = default(string);
                }
            }
            else
            {
                this.ShipmentOriginTelecomNumberId = e.ShipmentOriginTelecomNumberId;
            }

            if (e.ShipmentDestinationContactMechId == null)
            {
                if (e.IsPropertyShipmentDestinationContactMechIdRemoved)
                {
                    this.ShipmentDestinationContactMechId = default(string);
                }
            }
            else
            {
                this.ShipmentDestinationContactMechId = e.ShipmentDestinationContactMechId;
            }

            if (e.ShipmentDestinationTelecomNumberId == null)
            {
                if (e.IsPropertyShipmentDestinationTelecomNumberIdRemoved)
                {
                    this.ShipmentDestinationTelecomNumberId = default(string);
                }
            }
            else
            {
                this.ShipmentDestinationTelecomNumberId = e.ShipmentDestinationTelecomNumberId;
            }

            if (e.ShipmentPartyIdTo == null)
            {
                if (e.IsPropertyShipmentPartyIdToRemoved)
                {
                    this.ShipmentPartyIdTo = default(string);
                }
            }
            else
            {
                this.ShipmentPartyIdTo = e.ShipmentPartyIdTo;
            }

            if (e.ShipmentPartyIdFrom == null)
            {
                if (e.IsPropertyShipmentPartyIdFromRemoved)
                {
                    this.ShipmentPartyIdFrom = default(string);
                }
            }
            else
            {
                this.ShipmentPartyIdFrom = e.ShipmentPartyIdFrom;
            }

            if (e.ShipmentAdditionalShippingCharge == null)
            {
                if (e.IsPropertyShipmentAdditionalShippingChargeRemoved)
                {
                    this.ShipmentAdditionalShippingCharge = default(decimal?);
                }
            }
            else
            {
                this.ShipmentAdditionalShippingCharge = e.ShipmentAdditionalShippingCharge;
            }

            if (e.ShipmentAddtlShippingChargeDesc == null)
            {
                if (e.IsPropertyShipmentAddtlShippingChargeDescRemoved)
                {
                    this.ShipmentAddtlShippingChargeDesc = default(string);
                }
            }
            else
            {
                this.ShipmentAddtlShippingChargeDesc = e.ShipmentAddtlShippingChargeDesc;
            }

            if (e.ShipmentCreatedBy == null)
            {
                if (e.IsPropertyShipmentCreatedByRemoved)
                {
                    this.ShipmentCreatedBy = default(string);
                }
            }
            else
            {
                this.ShipmentCreatedBy = e.ShipmentCreatedBy;
            }

            if (e.ShipmentCreatedAt == null)
            {
                if (e.IsPropertyShipmentCreatedAtRemoved)
                {
                    this.ShipmentCreatedAt = default(DateTime);
                }
            }
            else
            {
                this.ShipmentCreatedAt = (e.ShipmentCreatedAt != null && e.ShipmentCreatedAt.HasValue) ? e.ShipmentCreatedAt.Value : default(DateTime);
            }

            if (e.ShipmentUpdatedBy == null)
            {
                if (e.IsPropertyShipmentUpdatedByRemoved)
                {
                    this.ShipmentUpdatedBy = default(string);
                }
            }
            else
            {
                this.ShipmentUpdatedBy = e.ShipmentUpdatedBy;
            }

            if (e.ShipmentUpdatedAt == null)
            {
                if (e.IsPropertyShipmentUpdatedAtRemoved)
                {
                    this.ShipmentUpdatedAt = default(DateTime);
                }
            }
            else
            {
                this.ShipmentUpdatedAt = (e.ShipmentUpdatedAt != null && e.ShipmentUpdatedAt.HasValue) ? e.ShipmentUpdatedAt.Value : default(DateTime);
            }

            if (e.ShipmentActive == null)
            {
                if (e.IsPropertyShipmentActiveRemoved)
                {
                    this.ShipmentActive = default(bool);
                }
            }
            else
            {
                this.ShipmentActive = (e.ShipmentActive != null && e.ShipmentActive.HasValue) ? e.ShipmentActive.Value : default(bool);
            }


            this.UpdatedBy = e.CreatedBy;
            this.UpdatedAt = e.CreatedAt;
        }
Esempio n. 3
0
        protected virtual IShipmentItemMvoStateMergePatched Map(IMergePatchShipmentItemMvo c)
        {
            var stateEventId = new ShipmentItemMvoEventId(c.ShipmentItemId, c.ShipmentVersion);
            IShipmentItemMvoStateMergePatched e = NewShipmentItemMvoStateMergePatched(stateEventId);

            e.ProductId = c.ProductId;
            e.AttributeSetInstanceId = c.AttributeSetInstanceId;
            e.Quantity = c.Quantity;
            e.ShipmentContentDescription = c.ShipmentContentDescription;
            e.Version = c.Version;
            e.Active  = c.Active;
            e.ShipmentShipmentTypeId             = c.ShipmentShipmentTypeId;
            e.ShipmentStatusId                   = c.ShipmentStatusId;
            e.ShipmentPrimaryOrderId             = c.ShipmentPrimaryOrderId;
            e.ShipmentPrimaryReturnId            = c.ShipmentPrimaryReturnId;
            e.ShipmentPrimaryShipGroupSeqId      = c.ShipmentPrimaryShipGroupSeqId;
            e.ShipmentPicklistBinId              = c.ShipmentPicklistBinId;
            e.ShipmentEstimatedReadyDate         = c.ShipmentEstimatedReadyDate;
            e.ShipmentEstimatedShipDate          = c.ShipmentEstimatedShipDate;
            e.ShipmentEstimatedShipWorkEffId     = c.ShipmentEstimatedShipWorkEffId;
            e.ShipmentEstimatedArrivalDate       = c.ShipmentEstimatedArrivalDate;
            e.ShipmentEstimatedArrivalWorkEffId  = c.ShipmentEstimatedArrivalWorkEffId;
            e.ShipmentLatestCancelDate           = c.ShipmentLatestCancelDate;
            e.ShipmentEstimatedShipCost          = c.ShipmentEstimatedShipCost;
            e.ShipmentCurrencyUomId              = c.ShipmentCurrencyUomId;
            e.ShipmentHandlingInstructions       = c.ShipmentHandlingInstructions;
            e.ShipmentOriginFacilityId           = c.ShipmentOriginFacilityId;
            e.ShipmentDestinationFacilityId      = c.ShipmentDestinationFacilityId;
            e.ShipmentOriginContactMechId        = c.ShipmentOriginContactMechId;
            e.ShipmentOriginTelecomNumberId      = c.ShipmentOriginTelecomNumberId;
            e.ShipmentDestinationContactMechId   = c.ShipmentDestinationContactMechId;
            e.ShipmentDestinationTelecomNumberId = c.ShipmentDestinationTelecomNumberId;
            e.ShipmentPartyIdTo                  = c.ShipmentPartyIdTo;
            e.ShipmentPartyIdFrom                = c.ShipmentPartyIdFrom;
            e.ShipmentAdditionalShippingCharge   = c.ShipmentAdditionalShippingCharge;
            e.ShipmentAddtlShippingChargeDesc    = c.ShipmentAddtlShippingChargeDesc;
            e.ShipmentCreatedBy                  = c.ShipmentCreatedBy;
            e.ShipmentCreatedAt                  = c.ShipmentCreatedAt;
            e.ShipmentUpdatedBy                  = c.ShipmentUpdatedBy;
            e.ShipmentUpdatedAt                  = c.ShipmentUpdatedAt;
            e.ShipmentActive             = c.ShipmentActive;
            e.IsPropertyProductIdRemoved = c.IsPropertyProductIdRemoved;
            e.IsPropertyAttributeSetInstanceIdRemoved = c.IsPropertyAttributeSetInstanceIdRemoved;
            e.IsPropertyQuantityRemoved = c.IsPropertyQuantityRemoved;
            e.IsPropertyShipmentContentDescriptionRemoved = c.IsPropertyShipmentContentDescriptionRemoved;
            e.IsPropertyVersionRemoved = c.IsPropertyVersionRemoved;
            e.IsPropertyActiveRemoved  = c.IsPropertyActiveRemoved;
            e.IsPropertyShipmentShipmentTypeIdRemoved             = c.IsPropertyShipmentShipmentTypeIdRemoved;
            e.IsPropertyShipmentStatusIdRemoved                   = c.IsPropertyShipmentStatusIdRemoved;
            e.IsPropertyShipmentPrimaryOrderIdRemoved             = c.IsPropertyShipmentPrimaryOrderIdRemoved;
            e.IsPropertyShipmentPrimaryReturnIdRemoved            = c.IsPropertyShipmentPrimaryReturnIdRemoved;
            e.IsPropertyShipmentPrimaryShipGroupSeqIdRemoved      = c.IsPropertyShipmentPrimaryShipGroupSeqIdRemoved;
            e.IsPropertyShipmentPicklistBinIdRemoved              = c.IsPropertyShipmentPicklistBinIdRemoved;
            e.IsPropertyShipmentEstimatedReadyDateRemoved         = c.IsPropertyShipmentEstimatedReadyDateRemoved;
            e.IsPropertyShipmentEstimatedShipDateRemoved          = c.IsPropertyShipmentEstimatedShipDateRemoved;
            e.IsPropertyShipmentEstimatedShipWorkEffIdRemoved     = c.IsPropertyShipmentEstimatedShipWorkEffIdRemoved;
            e.IsPropertyShipmentEstimatedArrivalDateRemoved       = c.IsPropertyShipmentEstimatedArrivalDateRemoved;
            e.IsPropertyShipmentEstimatedArrivalWorkEffIdRemoved  = c.IsPropertyShipmentEstimatedArrivalWorkEffIdRemoved;
            e.IsPropertyShipmentLatestCancelDateRemoved           = c.IsPropertyShipmentLatestCancelDateRemoved;
            e.IsPropertyShipmentEstimatedShipCostRemoved          = c.IsPropertyShipmentEstimatedShipCostRemoved;
            e.IsPropertyShipmentCurrencyUomIdRemoved              = c.IsPropertyShipmentCurrencyUomIdRemoved;
            e.IsPropertyShipmentHandlingInstructionsRemoved       = c.IsPropertyShipmentHandlingInstructionsRemoved;
            e.IsPropertyShipmentOriginFacilityIdRemoved           = c.IsPropertyShipmentOriginFacilityIdRemoved;
            e.IsPropertyShipmentDestinationFacilityIdRemoved      = c.IsPropertyShipmentDestinationFacilityIdRemoved;
            e.IsPropertyShipmentOriginContactMechIdRemoved        = c.IsPropertyShipmentOriginContactMechIdRemoved;
            e.IsPropertyShipmentOriginTelecomNumberIdRemoved      = c.IsPropertyShipmentOriginTelecomNumberIdRemoved;
            e.IsPropertyShipmentDestinationContactMechIdRemoved   = c.IsPropertyShipmentDestinationContactMechIdRemoved;
            e.IsPropertyShipmentDestinationTelecomNumberIdRemoved = c.IsPropertyShipmentDestinationTelecomNumberIdRemoved;
            e.IsPropertyShipmentPartyIdToRemoved                  = c.IsPropertyShipmentPartyIdToRemoved;
            e.IsPropertyShipmentPartyIdFromRemoved                = c.IsPropertyShipmentPartyIdFromRemoved;
            e.IsPropertyShipmentAdditionalShippingChargeRemoved   = c.IsPropertyShipmentAdditionalShippingChargeRemoved;
            e.IsPropertyShipmentAddtlShippingChargeDescRemoved    = c.IsPropertyShipmentAddtlShippingChargeDescRemoved;
            e.IsPropertyShipmentCreatedByRemoved                  = c.IsPropertyShipmentCreatedByRemoved;
            e.IsPropertyShipmentCreatedAtRemoved                  = c.IsPropertyShipmentCreatedAtRemoved;
            e.IsPropertyShipmentUpdatedByRemoved                  = c.IsPropertyShipmentUpdatedByRemoved;
            e.IsPropertyShipmentUpdatedAtRemoved                  = c.IsPropertyShipmentUpdatedAtRemoved;
            e.IsPropertyShipmentActiveRemoved = c.IsPropertyShipmentActiveRemoved;

            e.CommandId = c.CommandId;


            e.CreatedBy = (string)c.RequesterId;
            e.CreatedAt = ApplicationContext.Current.TimestampService.Now <DateTime>();

            var shipmentVersion = c.ShipmentVersion;


            return(e);
        }
Esempio n. 4
0
        public virtual void MergePatch(IMergePatchShipmentItemMvo c)
        {
            IShipmentItemMvoStateMergePatched e = Map(c);

            Apply(e);
        }
        public virtual ShipmentItemMvoStateMergePatchedDto ToShipmentItemMvoStateMergePatchedDto(IShipmentItemMvoStateMergePatched e)
        {
            var dto = new ShipmentItemMvoStateMergePatchedDto();

            dto.ShipmentItemMvoEventId = e.ShipmentItemMvoEventId;
            dto.CreatedAt = e.CreatedAt;
            dto.CreatedBy = e.CreatedBy;
            dto.CommandId = e.CommandId;
            dto.ProductId = e.ProductId;
            dto.AttributeSetInstanceId = e.AttributeSetInstanceId;
            dto.Quantity = e.Quantity;
            dto.ShipmentContentDescription = e.ShipmentContentDescription;
            dto.Version = e.Version;
            dto.Active  = e.Active;
            dto.ShipmentShipmentTypeId             = e.ShipmentShipmentTypeId;
            dto.ShipmentStatusId                   = e.ShipmentStatusId;
            dto.ShipmentPrimaryOrderId             = e.ShipmentPrimaryOrderId;
            dto.ShipmentPrimaryReturnId            = e.ShipmentPrimaryReturnId;
            dto.ShipmentPrimaryShipGroupSeqId      = e.ShipmentPrimaryShipGroupSeqId;
            dto.ShipmentPicklistBinId              = e.ShipmentPicklistBinId;
            dto.ShipmentEstimatedReadyDate         = e.ShipmentEstimatedReadyDate;
            dto.ShipmentEstimatedShipDate          = e.ShipmentEstimatedShipDate;
            dto.ShipmentEstimatedShipWorkEffId     = e.ShipmentEstimatedShipWorkEffId;
            dto.ShipmentEstimatedArrivalDate       = e.ShipmentEstimatedArrivalDate;
            dto.ShipmentEstimatedArrivalWorkEffId  = e.ShipmentEstimatedArrivalWorkEffId;
            dto.ShipmentLatestCancelDate           = e.ShipmentLatestCancelDate;
            dto.ShipmentEstimatedShipCost          = e.ShipmentEstimatedShipCost;
            dto.ShipmentCurrencyUomId              = e.ShipmentCurrencyUomId;
            dto.ShipmentHandlingInstructions       = e.ShipmentHandlingInstructions;
            dto.ShipmentOriginFacilityId           = e.ShipmentOriginFacilityId;
            dto.ShipmentDestinationFacilityId      = e.ShipmentDestinationFacilityId;
            dto.ShipmentOriginContactMechId        = e.ShipmentOriginContactMechId;
            dto.ShipmentOriginTelecomNumberId      = e.ShipmentOriginTelecomNumberId;
            dto.ShipmentDestinationContactMechId   = e.ShipmentDestinationContactMechId;
            dto.ShipmentDestinationTelecomNumberId = e.ShipmentDestinationTelecomNumberId;
            dto.ShipmentPartyIdTo                  = e.ShipmentPartyIdTo;
            dto.ShipmentPartyIdFrom                = e.ShipmentPartyIdFrom;
            dto.ShipmentAdditionalShippingCharge   = e.ShipmentAdditionalShippingCharge;
            dto.ShipmentAddtlShippingChargeDesc    = e.ShipmentAddtlShippingChargeDesc;
            dto.ShipmentCreatedBy                  = e.ShipmentCreatedBy;
            dto.ShipmentCreatedAt                  = e.ShipmentCreatedAt;
            dto.ShipmentUpdatedBy                  = e.ShipmentUpdatedBy;
            dto.ShipmentUpdatedAt                  = e.ShipmentUpdatedAt;
            dto.ShipmentActive             = e.ShipmentActive;
            dto.IsPropertyProductIdRemoved = e.IsPropertyProductIdRemoved;
            dto.IsPropertyAttributeSetInstanceIdRemoved = e.IsPropertyAttributeSetInstanceIdRemoved;
            dto.IsPropertyQuantityRemoved = e.IsPropertyQuantityRemoved;
            dto.IsPropertyShipmentContentDescriptionRemoved = e.IsPropertyShipmentContentDescriptionRemoved;
            dto.IsPropertyVersionRemoved = e.IsPropertyVersionRemoved;
            dto.IsPropertyActiveRemoved  = e.IsPropertyActiveRemoved;
            dto.IsPropertyShipmentShipmentTypeIdRemoved             = e.IsPropertyShipmentShipmentTypeIdRemoved;
            dto.IsPropertyShipmentStatusIdRemoved                   = e.IsPropertyShipmentStatusIdRemoved;
            dto.IsPropertyShipmentPrimaryOrderIdRemoved             = e.IsPropertyShipmentPrimaryOrderIdRemoved;
            dto.IsPropertyShipmentPrimaryReturnIdRemoved            = e.IsPropertyShipmentPrimaryReturnIdRemoved;
            dto.IsPropertyShipmentPrimaryShipGroupSeqIdRemoved      = e.IsPropertyShipmentPrimaryShipGroupSeqIdRemoved;
            dto.IsPropertyShipmentPicklistBinIdRemoved              = e.IsPropertyShipmentPicklistBinIdRemoved;
            dto.IsPropertyShipmentEstimatedReadyDateRemoved         = e.IsPropertyShipmentEstimatedReadyDateRemoved;
            dto.IsPropertyShipmentEstimatedShipDateRemoved          = e.IsPropertyShipmentEstimatedShipDateRemoved;
            dto.IsPropertyShipmentEstimatedShipWorkEffIdRemoved     = e.IsPropertyShipmentEstimatedShipWorkEffIdRemoved;
            dto.IsPropertyShipmentEstimatedArrivalDateRemoved       = e.IsPropertyShipmentEstimatedArrivalDateRemoved;
            dto.IsPropertyShipmentEstimatedArrivalWorkEffIdRemoved  = e.IsPropertyShipmentEstimatedArrivalWorkEffIdRemoved;
            dto.IsPropertyShipmentLatestCancelDateRemoved           = e.IsPropertyShipmentLatestCancelDateRemoved;
            dto.IsPropertyShipmentEstimatedShipCostRemoved          = e.IsPropertyShipmentEstimatedShipCostRemoved;
            dto.IsPropertyShipmentCurrencyUomIdRemoved              = e.IsPropertyShipmentCurrencyUomIdRemoved;
            dto.IsPropertyShipmentHandlingInstructionsRemoved       = e.IsPropertyShipmentHandlingInstructionsRemoved;
            dto.IsPropertyShipmentOriginFacilityIdRemoved           = e.IsPropertyShipmentOriginFacilityIdRemoved;
            dto.IsPropertyShipmentDestinationFacilityIdRemoved      = e.IsPropertyShipmentDestinationFacilityIdRemoved;
            dto.IsPropertyShipmentOriginContactMechIdRemoved        = e.IsPropertyShipmentOriginContactMechIdRemoved;
            dto.IsPropertyShipmentOriginTelecomNumberIdRemoved      = e.IsPropertyShipmentOriginTelecomNumberIdRemoved;
            dto.IsPropertyShipmentDestinationContactMechIdRemoved   = e.IsPropertyShipmentDestinationContactMechIdRemoved;
            dto.IsPropertyShipmentDestinationTelecomNumberIdRemoved = e.IsPropertyShipmentDestinationTelecomNumberIdRemoved;
            dto.IsPropertyShipmentPartyIdToRemoved                  = e.IsPropertyShipmentPartyIdToRemoved;
            dto.IsPropertyShipmentPartyIdFromRemoved                = e.IsPropertyShipmentPartyIdFromRemoved;
            dto.IsPropertyShipmentAdditionalShippingChargeRemoved   = e.IsPropertyShipmentAdditionalShippingChargeRemoved;
            dto.IsPropertyShipmentAddtlShippingChargeDescRemoved    = e.IsPropertyShipmentAddtlShippingChargeDescRemoved;
            dto.IsPropertyShipmentCreatedByRemoved                  = e.IsPropertyShipmentCreatedByRemoved;
            dto.IsPropertyShipmentCreatedAtRemoved                  = e.IsPropertyShipmentCreatedAtRemoved;
            dto.IsPropertyShipmentUpdatedByRemoved                  = e.IsPropertyShipmentUpdatedByRemoved;
            dto.IsPropertyShipmentUpdatedAtRemoved                  = e.IsPropertyShipmentUpdatedAtRemoved;
            dto.IsPropertyShipmentActiveRemoved = e.IsPropertyShipmentActiveRemoved;

            return(dto);
        }