Óscar González Fernández
ddf0dbd85c
Rename sumDurationsForDay to sumAvailabilitiesForDay to reflect better meaning
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:30 +02:00
Óscar González Fernández
7e3fcaf8e5
Migrate CompanyPlanningModel's overload from BigDecimals to EffortDurations
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:30 +02:00
Óscar González Fernández
690d78c140
Migrate CompanyPlanningModel's calendarMaximumAvailability from BigDecimals to EffortDurations
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:30 +02:00
Óscar González Fernández
cc96cbba10
Migrate CompanyPlanningModel's getLoad from BigDecimals to EffortDurations
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:30 +02:00
Óscar González Fernández
2745cf68c5
Add new methods that work with durations instead of hours
...
The old methods are kept to not break existing code and allow a
gradual phase out. They are marked as deprecated.
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:30 +02:00
Óscar González Fernández
75c1110d1d
Expose method that always returns a not null IWorkHours for a resource
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:30 +02:00
Óscar González Fernández
6f7ef1a310
Simplify method
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:29 +02:00
Óscar González Fernández
b7ac478eda
Add method for converting a map of EffortDurations into one of BigDecimals
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:29 +02:00
Óscar González Fernández
29fb596569
Add method to convert an EffortDuration to a BigDecimal
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:29 +02:00
Óscar González Fernández
7137d97953
Refactor createPlofInfo method
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:28 +02:00
Óscar González Fernández
9e411c80d8
Remove unnecessary methods from interface
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:28 +02:00
Óscar González Fernández
f27803e583
Extract multiplication
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:27 +02:00
Óscar González Fernández
95a59d9a19
Refactor. Create mechanisms for operating on maps aligning the values for each key.
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:27 +02:00
Óscar González Fernández
396abb3a58
Extract substraction operation
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:26 +02:00
Óscar González Fernández
0a6d5a9259
Refactor. Extract method for dividing two indicator maps
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:25 +02:00
Óscar González Fernández
5f386128c1
Add method for substracting EffortDurations
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:25 +02:00
Óscar González Fernández
7b939dbd8c
Expose DayAssignment's duration
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:24 +02:00
Óscar González Fernández
e0e8c7eed9
Add divideBy method to EffortDuration
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:24 +02:00
Óscar González Fernández
b1995f3b8e
Use #getCapacityDurationAt for calculating the capacity between two dates
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:23 +02:00
Óscar González Fernández
e887942893
Document method.
...
It's important to warn that it can overflow.
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:23 +02:00
Óscar González Fernández
8334cc2b2e
Add method for summing EffortDurations
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:22 +02:00
Óscar González Fernández
bef951f827
Add new method for retrieving exact capacity duration.
...
The old method working with hours is now deprecated so its use is
discouraged. Eventually it will be phased out. Change calendar test
method to test the new method.
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:18 +02:00
Óscar González Fernández
9263f1ad21
Introduce static import
...
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:18:02 +02:00
Susana Montes Pedreira
0557b68d6f
[Bug #608 ] Include direct access to new resources/criterium allocation in Resource Allocations popup
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-03 14:32:08 +02:00
Susana Montes Pedreira
92581897b5
[Bug #608 ] Create the new component to allocate resources directly.
...
The bandboxMultipleSearch changes to adapt to the behaviour
of the new component.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-03 14:02:21 +02:00
Susana Montes Pedreira
8e4226204f
[Bug #610 ] The bandboxMultipleSearch component does not allow to select the dotted line.
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-03 13:46:01 +02:00
Diego Pino Garcia
a3cded16db
Fix bug detect if there are duplicated codes between the order to be
...
saved and that order already saved in the DB
It's necessary to check if any of the codes in an order that's going
to be saved contain duplicated values comparing also against that very
same order in the DB.
Order codes must be unique. There's a case where it may not be any
duplicated code in an order, neither in other orders, but a unique
constraint violation still may happen.
Imagine the following scenario:
order
|-- order1(1, 'code1')
|-- order2(2, 'code2')
The first time _order_ is persisted, everything goes OK. However if the
value of codes are swapped, that is:
order
|-- order1(1, 'code2')
|-- order2(2, 'code1')
None code is repeated within the order, however as data is persisted one by
one, when _order1_ is going to be saved into DB, the value of
_order2.code_ is still 'code2', resulting into an unique code constraint
violation.
This is a limitation of the backend database and how unique fields work.
The best thing to do is to check there's no other orderelement with the
same code value in the DB (except for the one that's going to be saved).
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-02 17:56:28 +02:00
Diego Pino Garcia
711ef2be11
[Bug #615 ] Order elements with code equals to null are detected as duplicated codes
...
The code of an Order element must be unique. On creating two new Order
elements, being their code null at that time, the process that checks
whether two or more codes are repeated detects there are duplicated
values. Null values should not be consider when detecting duplicated
codes.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-02 15:57:45 +02:00
Lorenzo Tilve
8a63145e3f
Adding onOK listener to resources filtering
...
FEA: ItEr60S16AdaptacionsPantallasNavalPlan
2010-09-02 13:05:36 +02:00
Lorenzo Tilve
c2feb4e703
Adding default date value and tooltiptext for workreportlines
...
FEA: ItEr60S16AdaptacionsPantallasNavalPlan
2010-09-02 13:05:35 +02:00
Lorenzo Tilve
a2fcfdcb21
Improvements on workreport line styles
...
FEA: ItEr60S16AdaptacionsPantallasNavalPlan
2010-09-02 13:04:59 +02:00
Óscar González Fernández
f60363b17c
[Bug #613 ] Fix bug.
...
Avoid edge case, the EffortDuration can be null
FEA: ItEr60S19TimeUnitDataType
2010-09-02 12:35:30 +02:00
Óscar González Fernández
c93d14a300
Don't let overflow the minutes and seconds
...
There was a delay and it was confusing
FEA: ItEr60S19TimeUnitDataType
2010-09-02 12:09:21 +02:00
Óscar González Fernández
8ac4453281
Change name of label so it is more clear
...
FEA: ItEr60S19TimeUnitDataType
2010-09-02 11:45:18 +02:00
Óscar González Fernández
ad4e5c5c09
Set the columns number to two
...
FEA: ItEr60S19TimeUnitDataType
2010-09-02 11:39:50 +02:00
Diego Pino Garcia
4743521a5b
Fix error validation of Order code not being repeated twice was only
...
being checked for the own children of an Order instead of all its
children
* Some code refactoring (use Set instead of List, reuse constraint
validation implemented in Order)
FEA: ItEr60S18CambiosPantallaArbolPedido
2010-09-01 12:23:36 +02:00
Diego Pino Garcia
0fb67777f9
Move order.code constraint must be unique from entity to model
...
There was a constraint in Order that checked the code of an order was
unique in the whole system. This validation was done for each Order,
which slowed the process when saving. This validation is now moved to
OrderModel.save. It does the same funcionality but faster since now it's
no needed to retrieve all order elements for each order.
FEA: ItEr60S18CambiosPantallaArbolPedido
2010-08-31 12:11:48 +02:00
Diego Pino Garcia
fbf391a507
Optimize and refactor showEditOrder()
...
FEA: ItEr60S18CambiosPantallaArbolPedido
2010-08-30 10:48:58 +02:00
Diego Pino Garcia
c8227d5396
Reduce showEditWindow() execution time
...
FEA: ItEr60S18CambiosPantallaArbolPedido
2010-08-30 10:48:44 +02:00
Diego Pino Garcia
52afad6393
Save without validating for synchronizeTaskWithSchedule()
...
FEA: ItEr60S18CambiosPantallaArbolPedido
2010-08-30 10:48:31 +02:00
Diego Pino Garcia
169f726ef4
Rename reloadTask() to reattachTask() and do a reattachment instead of a save
...
FEA: ItEr60S18CambiosPantallaArbolPedido
2010-08-30 10:48:20 +02:00
Diego Pino Garcia
1a332ffc05
Refactor writeSchedulingDataChanges() and calculateAdvancePercentage()
...
FEA: ItEr60S18CambiosPantallaArbolPedido
2010-08-30 10:48:05 +02:00
Diego Pino Garcia
bf5da0ea4a
Avoid reloadBindings twice for tabs of an order after saving it
...
FEA: ItEr60S18CambiosPantallaArbolPedido
2010-08-30 10:47:51 +02:00
Diego Pino Garcia
1e43c1cf6d
initEdit(order) was being executed two times on saving an order
...
* Move code that updates field 'initialStatus' to method updateDisabilitiesOnInterface(), since initialStatus has to be updated always before calling this method
FEA: ItEr60S18CambiosPantallaArbolPedido
2010-08-30 10:47:35 +02:00
Susana Montes Pedreira
c0593e2cec
[Bug #604 ] Review movements of milestones with dependencies.
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-08-27 13:19:56 +02:00
Lorenzo Tilve
c1364d4ccc
Making grid shortable columns case-insensitive
...
FEA: ItEr60S16AdaptacionsPantallasNavalPlan
2010-08-27 09:30:43 +02:00
Óscar González Fernández
090074194c
Change hours input to duration input.
...
Now an exception day can be created with a precise duration instead of
specifying a number of hours.
FEA: ItEr60S19TimeUnitDataType
2010-08-25 20:36:21 +02:00
Óscar González Fernández
5590dd6ff6
Remove references to hours in CalendarException.
...
The signature of the factory methods is changed, now they receive
EffortDuration instead of a Integer. CalendarException#getHours method
removed.
FEA: ItEr60S19TimeUnitDataType
2010-08-25 20:35:13 +02:00
Óscar González Fernández
f76e93815a
Show duration instead of hours below calendar
...
FEA: ItEr60S19TimeUnitDataType
2010-08-25 20:26:37 +02:00
Óscar González Fernández
6a7c6d8689
Show durations instead of hours on exceptions table
...
FEA: ItEr60S19TimeUnitDataType
2010-08-25 20:26:36 +02:00