public virtual void When(IItemIssuanceMvoStateMergePatched e) { ThrowOnWrongEvent(e); 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.ShipGroupSeqId == null) { if (e.IsPropertyShipGroupSeqIdRemoved) { this.ShipGroupSeqId = default(long?); } } else { this.ShipGroupSeqId = e.ShipGroupSeqId; } if (e.ProductId == null) { if (e.IsPropertyProductIdRemoved) { this.ProductId = default(string); } } else { this.ProductId = e.ProductId; } if (e.LocatorId == null) { if (e.IsPropertyLocatorIdRemoved) { this.LocatorId = default(string); } } else { this.LocatorId = e.LocatorId; } if (e.AttributeSetInstanceId == null) { if (e.IsPropertyAttributeSetInstanceIdRemoved) { this.AttributeSetInstanceId = default(string); } } else { this.AttributeSetInstanceId = e.AttributeSetInstanceId; } if (e.ShipmentItemSeqId == null) { if (e.IsPropertyShipmentItemSeqIdRemoved) { this.ShipmentItemSeqId = default(string); } } else { this.ShipmentItemSeqId = e.ShipmentItemSeqId; } if (e.FixedAssetId == null) { if (e.IsPropertyFixedAssetIdRemoved) { this.FixedAssetId = default(string); } } else { this.FixedAssetId = e.FixedAssetId; } if (e.MaintHistSeqId == null) { if (e.IsPropertyMaintHistSeqIdRemoved) { this.MaintHistSeqId = default(string); } } else { this.MaintHistSeqId = e.MaintHistSeqId; } if (e.IssuedDateTime == null) { if (e.IsPropertyIssuedDateTimeRemoved) { this.IssuedDateTime = default(DateTime?); } } else { this.IssuedDateTime = e.IssuedDateTime; } if (e.IssuedByUserLoginId == null) { if (e.IsPropertyIssuedByUserLoginIdRemoved) { this.IssuedByUserLoginId = default(string); } } else { this.IssuedByUserLoginId = e.IssuedByUserLoginId; } if (e.Quantity == null) { if (e.IsPropertyQuantityRemoved) { this.Quantity = default(decimal?); } } else { this.Quantity = e.Quantity; } if (e.CancelQuantity == null) { if (e.IsPropertyCancelQuantityRemoved) { this.CancelQuantity = default(decimal?); } } else { this.CancelQuantity = e.CancelQuantity; } 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; }
public virtual ItemIssuanceMvoStateMergePatchedDto ToItemIssuanceMvoStateMergePatchedDto(IItemIssuanceMvoStateMergePatched e) { var dto = new ItemIssuanceMvoStateMergePatchedDto(); dto.ItemIssuanceMvoEventId = e.ItemIssuanceMvoEventId; dto.CreatedAt = e.CreatedAt; dto.CreatedBy = e.CreatedBy; dto.CommandId = e.CommandId; dto.OrderId = e.OrderId; dto.OrderItemSeqId = e.OrderItemSeqId; dto.ShipGroupSeqId = e.ShipGroupSeqId; dto.ProductId = e.ProductId; dto.LocatorId = e.LocatorId; dto.AttributeSetInstanceId = e.AttributeSetInstanceId; dto.ShipmentItemSeqId = e.ShipmentItemSeqId; dto.FixedAssetId = e.FixedAssetId; dto.MaintHistSeqId = e.MaintHistSeqId; dto.IssuedDateTime = e.IssuedDateTime; dto.IssuedByUserLoginId = e.IssuedByUserLoginId; dto.Quantity = e.Quantity; dto.CancelQuantity = e.CancelQuantity; 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.IsPropertyOrderIdRemoved = e.IsPropertyOrderIdRemoved; dto.IsPropertyOrderItemSeqIdRemoved = e.IsPropertyOrderItemSeqIdRemoved; dto.IsPropertyShipGroupSeqIdRemoved = e.IsPropertyShipGroupSeqIdRemoved; dto.IsPropertyProductIdRemoved = e.IsPropertyProductIdRemoved; dto.IsPropertyLocatorIdRemoved = e.IsPropertyLocatorIdRemoved; dto.IsPropertyAttributeSetInstanceIdRemoved = e.IsPropertyAttributeSetInstanceIdRemoved; dto.IsPropertyShipmentItemSeqIdRemoved = e.IsPropertyShipmentItemSeqIdRemoved; dto.IsPropertyFixedAssetIdRemoved = e.IsPropertyFixedAssetIdRemoved; dto.IsPropertyMaintHistSeqIdRemoved = e.IsPropertyMaintHistSeqIdRemoved; dto.IsPropertyIssuedDateTimeRemoved = e.IsPropertyIssuedDateTimeRemoved; dto.IsPropertyIssuedByUserLoginIdRemoved = e.IsPropertyIssuedByUserLoginIdRemoved; dto.IsPropertyQuantityRemoved = e.IsPropertyQuantityRemoved; dto.IsPropertyCancelQuantityRemoved = e.IsPropertyCancelQuantityRemoved; 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); }
protected virtual IItemIssuanceMvoStateMergePatched Map(IMergePatchItemIssuanceMvo c) { var stateEventId = new ItemIssuanceMvoEventId(c.ShipmentItemIssuanceId, c.ShipmentVersion); IItemIssuanceMvoStateMergePatched e = NewItemIssuanceMvoStateMergePatched(stateEventId); e.OrderId = c.OrderId; e.OrderItemSeqId = c.OrderItemSeqId; e.ShipGroupSeqId = c.ShipGroupSeqId; e.ProductId = c.ProductId; e.LocatorId = c.LocatorId; e.AttributeSetInstanceId = c.AttributeSetInstanceId; e.ShipmentItemSeqId = c.ShipmentItemSeqId; e.FixedAssetId = c.FixedAssetId; e.MaintHistSeqId = c.MaintHistSeqId; e.IssuedDateTime = c.IssuedDateTime; e.IssuedByUserLoginId = c.IssuedByUserLoginId; e.Quantity = c.Quantity; e.CancelQuantity = c.CancelQuantity; 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.IsPropertyOrderIdRemoved = c.IsPropertyOrderIdRemoved; e.IsPropertyOrderItemSeqIdRemoved = c.IsPropertyOrderItemSeqIdRemoved; e.IsPropertyShipGroupSeqIdRemoved = c.IsPropertyShipGroupSeqIdRemoved; e.IsPropertyProductIdRemoved = c.IsPropertyProductIdRemoved; e.IsPropertyLocatorIdRemoved = c.IsPropertyLocatorIdRemoved; e.IsPropertyAttributeSetInstanceIdRemoved = c.IsPropertyAttributeSetInstanceIdRemoved; e.IsPropertyShipmentItemSeqIdRemoved = c.IsPropertyShipmentItemSeqIdRemoved; e.IsPropertyFixedAssetIdRemoved = c.IsPropertyFixedAssetIdRemoved; e.IsPropertyMaintHistSeqIdRemoved = c.IsPropertyMaintHistSeqIdRemoved; e.IsPropertyIssuedDateTimeRemoved = c.IsPropertyIssuedDateTimeRemoved; e.IsPropertyIssuedByUserLoginIdRemoved = c.IsPropertyIssuedByUserLoginIdRemoved; e.IsPropertyQuantityRemoved = c.IsPropertyQuantityRemoved; e.IsPropertyCancelQuantityRemoved = c.IsPropertyCancelQuantityRemoved; 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); }
public virtual void MergePatch(IMergePatchItemIssuanceMvo c) { IItemIssuanceMvoStateMergePatched e = Map(c); Apply(e); }
void IItemIssuanceMvoState.When(IItemIssuanceMvoStateMergePatched e) { throw new NotSupportedException(); }