public virtual PhysicalInventoryLineStateMergePatchedDto NewPhysicalInventoryLineStateMergePatched(InventoryItemId inventoryItemId) { var e = new PhysicalInventoryLineStateMergePatchedDto(); var eId = NewPhysicalInventoryLineEventId(inventoryItemId); e.PhysicalInventoryLineEventId = eId; return(e); }
public virtual PhysicalInventoryLineStateMergePatchedDto ToPhysicalInventoryLineStateMergePatchedDto(IPhysicalInventoryLineStateMergePatched e) { var dto = new PhysicalInventoryLineStateMergePatchedDto(); dto.PhysicalInventoryLineEventId = e.PhysicalInventoryLineEventId; dto.CreatedAt = e.CreatedAt; dto.CreatedBy = e.CreatedBy; dto.Version = e.Version; dto.CommandId = e.CommandId; dto.BookQuantity = e.BookQuantity; dto.CountedQuantity = e.CountedQuantity; dto.Processed = e.Processed; dto.LineNumber = e.LineNumber; dto.ReversalLineNumber = e.ReversalLineNumber; dto.Description = e.Description; dto.IsPropertyBookQuantityRemoved = e.IsPropertyBookQuantityRemoved; dto.IsPropertyCountedQuantityRemoved = e.IsPropertyCountedQuantityRemoved; dto.IsPropertyProcessedRemoved = e.IsPropertyProcessedRemoved; dto.IsPropertyLineNumberRemoved = e.IsPropertyLineNumberRemoved; dto.IsPropertyReversalLineNumberRemoved = e.IsPropertyReversalLineNumberRemoved; dto.IsPropertyDescriptionRemoved = e.IsPropertyDescriptionRemoved; return(dto); }