Skip to content

ItEr62S04NavalPlanEntities

Jeroen Baten edited this page Mar 9, 2018 · 1 revision

TWiki> LibrePlan Web>ItEr62S04NavalPlanEntities (20 Aug 2012, ManuelRego)EditAttach

Story summary Code generation for LibrePlan entities
Iteration ItEr62week41To43
FEA ItEr62S04NavalPlanEntities
Story Lead  
Next Story  
Passed acceptance test No

Acceptance Criteria

Additional Specification Comments

Implementation Notes

It was performed the followings tasks:

It was added the default separator to generate the code sequences of the child entities.

It was added a new functionality to EntitySequenceDAO to skip repeated code sequences.If code sequence is added by importation services , this functionality lets skip repeated codes and update the last value of the entity code sequence.

It was added the Spanish and Galician translations for the labels on the configuration interface.

It was replaced the generated code by the code sequence for each of the following entities.

  • Type of work hours.
  • Material category.
  • Base calendars.
  • Work Report and its work report lines.
  • Resource calendars.
  • Calendar Exception
  • Calendar Data
  • Calendar Availability.

It was changed the configuration interface. It was deleted the border of each grid of the sequences code. It was added a ToolTipText on the code sequence row.This message informing that it can not be modified if the code sequence is being used. Also it was added a message informing on deleting sequences. If the sequence is the last one then it is shown a message informing that it can not be deleted because at least one sequence is necessary

It was added the IntegrationEntityModel to auto-generated code management.This class generalizes the methods for managing the auto-generated codes and so reuse them on each model.

Replacing the generated code by the code sequence for each of the following entities .

  • WorkReportType
  • Material
  • HoursGroup
  • CalendarExceptionType
  • CostCategory
  • HourCost

The code of the following entities always is generated:

  • ResourcesCostCategoryAssignment
  • CriterionSatisfaction
  • ResourceCalendar

Changing the service of the resources to check if the resource calendar, the criterion satisfactions or the assignment of resource cost category have not code, so this one is generated. Including of the Spanish and Galician translations for the labels on the modified models and the controllers . It has not deleted the method generateCode of the IntegrationEntity class.

-- SusanaMontes - 20 Oct 2010

 

Delay Causes

Final or Pending Considerations

It should be adding the Work report type service.

-- SusanaMontes - 28 Oct 2010

It should be reload the configuration before saving , because it can throw a version error.

-- SusanaMontes - 28 Oct 2010

 

Entregables de código

%RPSHOWGITCOMMITS%

Tasks in this story

Tasks Est Spent To do Risk Reviewer Developer Task Name Start Date Est End Date End Date
Task 10 48 0 Low JavierMoran SusanaMontes LibrePlan configuration for generated entity codes      

Total Hours in this Story

User Spent in XpTracker Spent in phpReport Ok?
SusanaMontes 48 0 ALERT!
Total 48 0 ALERT!

Copyright (c) by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Clone this wiki locally