Order order) {
List<OrderElementWithAdvanceMeasurementsOrEndDateDTO> orderElementWithAdvanceMeasurementsDTOs = new ArrayList<OrderElementWithAdvanceMeasurementsOrEndDateDTO>();
// create the asked end dates
EndDateCommunicationToCustomerDTO endDateCommunicationToCustomerDTO = null;
if (isAnyEndDateNotReported(order)) {
EndDateCommunication lastEndDateCommunicationToCustomerReported = order
.getLastEndDateCommunicationToCustomer();
lastEndDateCommunicationToCustomerReported.setCommunicationDate(new Date());
endDateCommunicationToCustomerDTO = OrderElementConverter.toDTO(lastEndDateCommunicationToCustomerReported);
}
// create the progress
DirectAdvanceAssignment directAdvanceAssignment = order