<summary>Provides the "Estimate to Complete" (ETC) project management tool</summary>
<vendorurl="http://www.project-open.com/">]project-open[ Business Solutions, S.L.</vendor>
<descriptionformat="text/plain">Estimate to Complete (ETC) allows users to enter an estimation of the remaining work in a task conveniently in a timesheet screen. It serves as an early warning tool for project managers.</description>
PL/pgSQL function acs_object_type__create_type(character varying,character varying,character varying,character varying,character varying,character varying,character varying,boolean,character varying,character varying) line 40 at SQL statement
psql:intranet-estimate-to-complete-create.sql:29: ERROR: insert or update on table "acs_object_type_tables" violates foreign key constraint "acs_obj_type_tbls_obj_type_fk"
DETAIL: Key (object_type)=(im_estimate_to_complete) is not present in table "acs_object_types".
INSERT 4520686 1
INSERT 4520687 1
UPDATE 0
psql:intranet-estimate-to-complete-create.sql:82: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "im_estimate_to_complete_id_pk" for table "im_estimate_to_completes"
CREATE TABLE
CREATE INDEX
CREATE FUNCTION
psql:intranet-estimate-to-complete-create.sql:163: ERROR: syntax error at or near "v_etc_planned_hours_audit"
LINE 40: v_etc_planned_hours_audit, v_etc_logged_hours_audit, v_etc...
lappend result [list"Start"$start_date_pretty "Scheduled start of task"]
lappend result [list"End"$end_date_pretty "Scheduled end of task"]
lappend result [list"Time Passed"[expr($today_epoch - $start_date_epoch) / (24 * 2600)]"Days since task start.<br>Negative values indicatate that the task will start in the future."]
if {0 == $duration_epoch}{ set duration_epoch [24 * 3600]}
set today_perc [expr 100.0 * ($today_epoch - $start_date_epoch) / $duration_epoch]
lappend result [list"Time Passed %"$today_perc "Progress of the task as a percentage between start- and end date.<br>Values < 0 indicate that the task will start in the future.<br>Values > 100 indicate that end date of the task has passed."]
lappend result [list"Hour Based Planning"]
lappend result [list"Planned Hours"$planned_units "Estimation of the work needed to complete the task.<br>Typically imported from MS-Project or entered manually."]
lappend result [list"Billable Hours"$billable_units "Normally same as planned units, but used for invoicing customers."]
lappend result [list"Logged Hours"$reported_hours_cache "Hours logged by employees in the timesheet."]
set reported_hours_perc [expr 100.0 * $reported_hours_cache / $planned_units]
lappend result [list"Logged Hours %"$reported_hours_perc "Logged hours as a percentage of planned hours.<br>This corresponds to the resources consumed<br>(ignoring resources other than logged hours)."]
lappend result [list"Percent Completed"$percent_completed "How much of the task has been finished (percent)?<br>Entered manually by the PM normally.<br>Should be greater or equal to logged hours %, otherwise the task is late."]
lappend result [list"Resources Assigned"$assigned_percentage "How many resources have been assigned to the task (percent)?<br>One resource counts as 100%."]
set etc_planned [expr$planned_units * (100.0 - $percent_completed) / 100.0]
lappend result [list"Estimate to Complete<br>(Planned)"$etc_planned "Based on the number of hours left to work, according to planned hours and percent completed."]
set etc_eva $planned_units
if {$percent_completed > 0.0}{
set etc_eva [expr(100.0 - $percent_completed) * $reported_hours_cache / $percent_completed]
}
lappend result [list"Estimate to Complete<br>(Earned Value)"$etc_eva "Based on the logged hours that it took to achieve the current percent completed."]
lappend result [list"Estimate to Complete<br>(Manually Entered)"$etc_entered "Based on manually entered ETC values (during timesheet entry), taking planned ETC as a default if no estimates are available.<br>Watch out for outdated ETC estimates!"]
lappend result [list"Estimate at Completion<br>(Planned)"$planned_units "= Planned Hours."]
set eac_eva [expr$reported_hours_cache + $etc_eva]
lappend result [list"Estimate at Completion<br>(Earned Value)"$eac_eva "Based on the logged hours that it took to achieve the current percent completed."]
set eac_entered [expr$reported_hours_cache + $etc_entered]
lappend result [list"Estimate at Completion<br>(Manually Entered)"$eac_entered "Based on manually entered ETC values (during timesheet entry), taking planned ETC as a default if no estimates are available.<br>Watch out for outdated ETC estimates!"]
set html ""
foreach tuple $result{
set key [lindex$tuple 0]
regsub -all {}$key"_" key_underscored
set key_l10n [lang::message::lookup "" intranet-timesheet2-tasks.$key_underscored $key]
if {[llength$tuple] eq 1}{
append html "<tr valign=top><td colspan=3 align=center><b>$key_l10n</b></td></tr>\n"
continue
}
set value [lindex$tuple 1]
if {[string is double $value]}{
set value [expr round($value * 10.0) / 10.0]
}
append html "<tr valign=top><td><nobr>$key_l10n</nobr></td><td align=right><nobr>$value</nobr></td><td>[lindex$tuple 2]</tr>\n"