-
Notifications
You must be signed in to change notification settings - Fork 0
AnA15S05UpdateEndDateToCustomer
TWiki> LibrePlan Web>AnA15S05UpdateEndDateToCustomer (15 Nov 2012, JavierMoran)EditAttach
Story summary | Update end date from subcontractor to customers |
Iteration | AnA15SubcontractorModule |
FEA | AnA15S05UpdateEndDateToCustomer |
Story Lead | |
Next Story | |
Passed acceptance test | No |
This set of tasks is related with adding the support to send the date at which the subcontractor is going to finish a task to the customer. This will allow him to adjust the planning and to know if the subcontractor is going to fulfill the deadline.
The first thing to do is to add to the Order
class a new component that will be a list (sorted) of elements of the class EndDateCommunitationToCustomer
. This class will have two fields:
-
SaveDate
. It is the date at which the end date was saved. -
EndDate
. It is the date at which the subcontractors wants to say that is going to finish the project. -
CommunicationDate
. It is the date at which the enda date has been sent to the customer
To manage these dates it will be needed to modify the General Data tab of the Project details perspective of a project. Specifically, it will be needed to modify the Customer information area.
- Put a title in the talbe of the delivery dates asked by the subcontractor. Title: Delivery dates requested by the customer.
- In the bottom of the area Customer information add a new table to save the end date communications to send to the customer.
- Put a first line to add new
EndDateCommunicationToCustumer
. It will have a label New end date for the customer. Next to it there will be a date component. Finally there will be an Add button. - The columns of the table will be four: Save Date, End Date, Communication Date and an operations column with a Delete button.
- It will be able only to have 1 end date with Communication Date not null.
- It will not be possible to delete an
EndCommunicationDate
already sent to the customer, that is, with communication date not null.
- Put a first line to add new
This task consists of making it possible to send and end date from the subcontractor to the customer.
The first thing to do is to detect that there is a new end date pending to send from a subcontractor to its customer. To do that is needed to modify the screen =Communications -> Send to customers = in the following points:
- When filling the state of the subcontracted projects, include in the checking if each subcontracted project has any
EndCommunicationDate
withCommunicationDate
null. - Include to new status to put in the cell State:
- Pending update for communication date. This is put when it is needed to send only the communication date.
- Pending update of progress and communication date. This is put when it is needed to send both and end date and progress values.
It is needed to modify the message to send to the customer to include the possibility to include an end date. Hints:
- Refactor the class
OrderElementWithAdvanceMeasurementsDTO
to beOrderElementWithAdvanceMeasurementsOrEndDateDTO
. - Include an attribute in
OrderElementWithAdvanceMeasurementsOrEndDateDTO
for the end date. - Implement correctly the sending of an
OrderElementWithAdvanceMeasurementsOrEndDateDTO
. It has to have progress values, or end date or both things. It is not possible that is empty.
After the successful sending of an OrderElementWithAdvanceMeasurementOrEndDateDTO
it is needed to update properly the CommunicationDate
of the EndDateCommunicationDate
sent to the customer.
It is needed to modify the list of incomming communications from the subcontractors to track the new end dates communications.
It will be needed, therefore, to create a new type of SubcontractorCommunication
. Changes:
- Create a new communication type in the enum of the field
CommunicationType
of the classSubcontractorCommunication
. It will be End date update. - Probably is needed to refactor the class
SubcontractorCommunicationValue
to be able to save just date values for the end date.
So, on receiving a web service communication from a subcontractor it will be needed to create a new object of class SubcontractorCommunication
if it comes with an end date inside.
If the
OrderElementWithAdvanceMeasurementOrEndDateDTO
comes with an progress values and an end value, two objects SubcontractorCommunication
are created.
Add a new set in the class SubcontractedTaskData
to store the end dates comming from the customers called endDatesCommunicatedFromCustomers
.
Modify also the reception of a web service incomming message from a customer if it contains a end value communication. If this is the case, it is needed to include the saving of the end date in the endDatesCommunicationFromCustomers
set of the suitable SubcontractedTaskData
.
It is also needed to modify the subcontract pop-up to view the information of the end dates communicated by the customers:
- A new table will be added in the bottom of the table called
Ended date communicated by the customer
. - The table will have the following columns:
- End date
- Communication date
- There will be a third operations column. It will contain a button called Update task end. This button will be enabled only for the last end date communicated end date and also it will enabled if the current end date of thet ask is different from the end date communicated.
User | Spent in XpTracker | Spent in phpReport | Ok? |
---|---|---|---|
SusanaMontes | 40 | 0 | ![]() |
Total | 40 | 0 | ![]() |
Copyright (c) by the contributing authors. All material on this collaboration platform is the property of the contributing authors.