;WBS.031/17;Extended Systems Monitoring;Car Configurator;Ben Bigboss;Approved;Default;400.000 ;Build an extended version of current system's monitoring;
ns_write "<li><font color=red>Error: We have found an empty 'Budget_Item Name' in line $cnt.<br>
Please correct the CSV file. Every budget_items needs to have a unique Budget_Item Name.</font>\n"
}
continue
}
# budget_item_nr needs to be there
if {"" eq $budget_item_nr}{
set budget_item_nr [regsub{[^a-z0-9_]}[string trim [string tolower $budget_item_name]]"_"]
}
if {"" eq $budget_item_nr}{
if {$ns_write_p}{
ns_write "<li><font color=red>Error: We have found an empty 'Budget_Item Nr' in line $cnt.<br>
Please correct the CSV file. Every budget_item needs to have a unique Budget_Item Nr.</font>\n"
}
continue
}
# Status is a required field
set budget_item_status_id [im_id_from_category $budget_item_status "Intranet Budget Item Status"]
if {"" == $budget_item_status_id}{
if {$ns_write_p}{ ns_write "<li><font color=brown>Warning: Didn't find budget_item status '$budget_item_status', using default status 'Open'</font>\n"}
set budget_item_status_id [im_budget_item_status_active]
}
# Type is a required field
set budget_item_type_id [im_id_from_category [list$budget_item_type]"Intranet Budget Item Type"]
if {"" == $budget_item_type_id}{
if {$ns_write_p}{ ns_write "<li><font color=brown>Warning: Didn't find budget_item type '$budget_item_type', using default type 'Other'</font>\n"}
set budget_item_type_id [im_budget_item_type_software]
<td><!--Alternatively you can use the old facilities for <a href="<%= [export_vars -base "/intranet/users/upload-contacts" {return_url}] %>">importing users from MS-Outlook exports</a>.--></td>
Please note that this import requires exact naming of column headers.<br>
Budget Item <ahref="/intranet-dynfield/object-type?object_type=im_budget_item">DynFields</a> are also recognized by their "pretty name" or "column name".</p>
Please note that this import requires exact naming of column headers.<br>
Conf Item <ahref="/intranet-dynfield/object-type?object_type=im_conf_item">DynFields</a> are also recognized by their "pretty name" or "column name".</p>
<td><!--Alternatively you can use the old facilities for <a href="<%= [export_vars -base "/intranet/users/upload-contacts" {return_url}] %>">importing users from MS-Outlook exports</a>.--></td>
Please note that this import requires exact naming of column headers.<br>
Conf Item <ahref="/intranet-dynfield/object-type?object_type=im_conf_item">DynFields</a> are also recognized by their "pretty name" or "column name".</p>
Absence import is under active development at the moment.<br>Please <ahref="http://www.project-open.com/en/contact">contact us</a> for the current status or updates.
Absence import is under active development at the moment.<br>Please <ahref="http://www.project-open.com/en/contact">contact us</a> for the current status or updates.
</td>
</tr>
<!--
<tr>
<td><%= [im_gif [db_string gif "select object_type_gif from acs_object_types where object_type = 'im_cost'"]] %></td>