void IShipmentReceiptMvoState.When(IShipmentReceiptMvoStateMergePatched e) { throw new NotSupportedException(); }
public virtual ShipmentReceiptMvoStateMergePatchedDto ToShipmentReceiptMvoStateMergePatchedDto(IShipmentReceiptMvoStateMergePatched e) { var dto = new ShipmentReceiptMvoStateMergePatchedDto(); dto.ShipmentReceiptMvoEventId = e.ShipmentReceiptMvoEventId; dto.CreatedAt = e.CreatedAt; dto.CreatedBy = e.CreatedBy; dto.CommandId = e.CommandId; dto.ProductId = e.ProductId; dto.AttributeSetInstanceId = e.AttributeSetInstanceId; dto.LocatorId = e.LocatorId; dto.ShipmentItemSeqId = e.ShipmentItemSeqId; dto.ShipmentPackageSeqId = e.ShipmentPackageSeqId; dto.OrderId = e.OrderId; dto.OrderItemSeqId = e.OrderItemSeqId; dto.ReturnId = e.ReturnId; dto.ReturnItemSeqId = e.ReturnItemSeqId; dto.RejectionReasonId = e.RejectionReasonId; dto.DamageStatusId = e.DamageStatusId; dto.DamageReasonId = e.DamageReasonId; dto.ReceivedBy = e.ReceivedBy; dto.DatetimeReceived = e.DatetimeReceived; dto.ItemDescription = e.ItemDescription; dto.AcceptedQuantity = e.AcceptedQuantity; dto.RejectedQuantity = e.RejectedQuantity; dto.DamagedQuantity = e.DamagedQuantity; 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.IsPropertyLocatorIdRemoved = e.IsPropertyLocatorIdRemoved; dto.IsPropertyShipmentItemSeqIdRemoved = e.IsPropertyShipmentItemSeqIdRemoved; dto.IsPropertyShipmentPackageSeqIdRemoved = e.IsPropertyShipmentPackageSeqIdRemoved; dto.IsPropertyOrderIdRemoved = e.IsPropertyOrderIdRemoved; dto.IsPropertyOrderItemSeqIdRemoved = e.IsPropertyOrderItemSeqIdRemoved; dto.IsPropertyReturnIdRemoved = e.IsPropertyReturnIdRemoved; dto.IsPropertyReturnItemSeqIdRemoved = e.IsPropertyReturnItemSeqIdRemoved; dto.IsPropertyRejectionReasonIdRemoved = e.IsPropertyRejectionReasonIdRemoved; dto.IsPropertyDamageStatusIdRemoved = e.IsPropertyDamageStatusIdRemoved; dto.IsPropertyDamageReasonIdRemoved = e.IsPropertyDamageReasonIdRemoved; dto.IsPropertyReceivedByRemoved = e.IsPropertyReceivedByRemoved; dto.IsPropertyDatetimeReceivedRemoved = e.IsPropertyDatetimeReceivedRemoved; dto.IsPropertyItemDescriptionRemoved = e.IsPropertyItemDescriptionRemoved; dto.IsPropertyAcceptedQuantityRemoved = e.IsPropertyAcceptedQuantityRemoved; dto.IsPropertyRejectedQuantityRemoved = e.IsPropertyRejectedQuantityRemoved; dto.IsPropertyDamagedQuantityRemoved = e.IsPropertyDamagedQuantityRemoved; 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); }
public virtual void MergePatch(IMergePatchShipmentReceiptMvo c) { IShipmentReceiptMvoStateMergePatched e = Map(c); Apply(e); }
public virtual void When(IShipmentReceiptMvoStateMergePatched 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.LocatorId == null) { if (e.IsPropertyLocatorIdRemoved) { this.LocatorId = default(string); } } else { this.LocatorId = e.LocatorId; } if (e.ShipmentItemSeqId == null) { if (e.IsPropertyShipmentItemSeqIdRemoved) { this.ShipmentItemSeqId = default(string); } } else { this.ShipmentItemSeqId = e.ShipmentItemSeqId; } if (e.ShipmentPackageSeqId == null) { if (e.IsPropertyShipmentPackageSeqIdRemoved) { this.ShipmentPackageSeqId = default(string); } } else { this.ShipmentPackageSeqId = e.ShipmentPackageSeqId; } if (e.OrderId == null) { if (e.IsPropertyOrderIdRemoved) { this.OrderId = default(string); } } else { this.OrderId = e.OrderId; } if (e.OrderItemSeqId == null) { if (e.IsPropertyOrderItemSeqIdRemoved) { this.OrderItemSeqId = default(string); } } else { this.OrderItemSeqId = e.OrderItemSeqId; } if (e.ReturnId == null) { if (e.IsPropertyReturnIdRemoved) { this.ReturnId = default(string); } } else { this.ReturnId = e.ReturnId; } if (e.ReturnItemSeqId == null) { if (e.IsPropertyReturnItemSeqIdRemoved) { this.ReturnItemSeqId = default(string); } } else { this.ReturnItemSeqId = e.ReturnItemSeqId; } if (e.RejectionReasonId == null) { if (e.IsPropertyRejectionReasonIdRemoved) { this.RejectionReasonId = default(string); } } else { this.RejectionReasonId = e.RejectionReasonId; } if (e.DamageStatusId == null) { if (e.IsPropertyDamageStatusIdRemoved) { this.DamageStatusId = default(string); } } else { this.DamageStatusId = e.DamageStatusId; } if (e.DamageReasonId == null) { if (e.IsPropertyDamageReasonIdRemoved) { this.DamageReasonId = default(string); } } else { this.DamageReasonId = e.DamageReasonId; } if (e.ReceivedBy == null) { if (e.IsPropertyReceivedByRemoved) { this.ReceivedBy = default(string); } } else { this.ReceivedBy = e.ReceivedBy; } if (e.DatetimeReceived == null) { if (e.IsPropertyDatetimeReceivedRemoved) { this.DatetimeReceived = default(DateTime?); } } else { this.DatetimeReceived = e.DatetimeReceived; } if (e.ItemDescription == null) { if (e.IsPropertyItemDescriptionRemoved) { this.ItemDescription = default(string); } } else { this.ItemDescription = e.ItemDescription; } if (e.AcceptedQuantity == null) { if (e.IsPropertyAcceptedQuantityRemoved) { this.AcceptedQuantity = default(decimal?); } } else { this.AcceptedQuantity = e.AcceptedQuantity; } if (e.RejectedQuantity == null) { if (e.IsPropertyRejectedQuantityRemoved) { this.RejectedQuantity = default(decimal?); } } else { this.RejectedQuantity = e.RejectedQuantity; } if (e.DamagedQuantity == null) { if (e.IsPropertyDamagedQuantityRemoved) { this.DamagedQuantity = default(decimal?); } } else { this.DamagedQuantity = e.DamagedQuantity; } 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; }
protected virtual IShipmentReceiptMvoStateMergePatched Map(IMergePatchShipmentReceiptMvo c) { var stateEventId = new ShipmentReceiptMvoEventId(c.ShipmentReceiptId, c.ShipmentVersion); IShipmentReceiptMvoStateMergePatched e = NewShipmentReceiptMvoStateMergePatched(stateEventId); e.ProductId = c.ProductId; e.AttributeSetInstanceId = c.AttributeSetInstanceId; e.LocatorId = c.LocatorId; e.ShipmentItemSeqId = c.ShipmentItemSeqId; e.ShipmentPackageSeqId = c.ShipmentPackageSeqId; e.OrderId = c.OrderId; e.OrderItemSeqId = c.OrderItemSeqId; e.ReturnId = c.ReturnId; e.ReturnItemSeqId = c.ReturnItemSeqId; e.RejectionReasonId = c.RejectionReasonId; e.DamageStatusId = c.DamageStatusId; e.DamageReasonId = c.DamageReasonId; e.ReceivedBy = c.ReceivedBy; e.DatetimeReceived = c.DatetimeReceived; e.ItemDescription = c.ItemDescription; e.AcceptedQuantity = c.AcceptedQuantity; e.RejectedQuantity = c.RejectedQuantity; e.DamagedQuantity = c.DamagedQuantity; 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.IsPropertyLocatorIdRemoved = c.IsPropertyLocatorIdRemoved; e.IsPropertyShipmentItemSeqIdRemoved = c.IsPropertyShipmentItemSeqIdRemoved; e.IsPropertyShipmentPackageSeqIdRemoved = c.IsPropertyShipmentPackageSeqIdRemoved; e.IsPropertyOrderIdRemoved = c.IsPropertyOrderIdRemoved; e.IsPropertyOrderItemSeqIdRemoved = c.IsPropertyOrderItemSeqIdRemoved; e.IsPropertyReturnIdRemoved = c.IsPropertyReturnIdRemoved; e.IsPropertyReturnItemSeqIdRemoved = c.IsPropertyReturnItemSeqIdRemoved; e.IsPropertyRejectionReasonIdRemoved = c.IsPropertyRejectionReasonIdRemoved; e.IsPropertyDamageStatusIdRemoved = c.IsPropertyDamageStatusIdRemoved; e.IsPropertyDamageReasonIdRemoved = c.IsPropertyDamageReasonIdRemoved; e.IsPropertyReceivedByRemoved = c.IsPropertyReceivedByRemoved; e.IsPropertyDatetimeReceivedRemoved = c.IsPropertyDatetimeReceivedRemoved; e.IsPropertyItemDescriptionRemoved = c.IsPropertyItemDescriptionRemoved; e.IsPropertyAcceptedQuantityRemoved = c.IsPropertyAcceptedQuantityRemoved; e.IsPropertyRejectedQuantityRemoved = c.IsPropertyRejectedQuantityRemoved; e.IsPropertyDamagedQuantityRemoved = c.IsPropertyDamagedQuantityRemoved; 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; }