Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-ganttproject
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-ganttproject
Commits
bf510ddc
Commit
bf510ddc
authored
Jan 25, 2019
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Now importing WBS from MS-Project
parent
2309f6e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
intranet-ganttproject-procs.tcl
tcl/intranet-ganttproject-procs.tcl
+4
-1
No files found.
tcl/intranet-ganttproject-procs.tcl
View file @
bf510ddc
...
...
@@ -1111,6 +1111,7 @@ ad_proc -public im_gp_save_tasks2 {
set scheduling_constraint_id
""
set scheduling_constraint_date
""
set outline_number
""
set wbs
""
set remaining_duration
""
set gantt_field_update
{}
...
...
@@ -1139,6 +1140,7 @@ ad_proc -public im_gp_save_tasks2 {
"priority"
{
set priority
$node
Text
}
"notes"
{
set note
$node
Text
}
"outlinenumber"
{
set outline_number
$node
Text
}
"wbs"
{
set wbs
$node
Text
}
"percentcomplete"
{
set percent_completed
$node
Text
}
"constrainttype"
{
if
{
""
!=
$node
Text
}
{
...
...
@@ -1353,7 +1355,7 @@ ad_proc -public im_gp_save_tasks2 {
# GanttProject: The super_project_id is determined by the recursive structure of tasks within task elements
set parent_id
$super
_project_id
# Microsoft Project: The
WBS
field contains the hierarchy. We have to cut off the last element, though
# Microsoft Project: The
OutlineNumber
field contains the hierarchy. We have to cut off the last element, though
set outline_list
[
split
$outline
_number
"
\.
"
]
if
{[
llength
$outline
_list
]
>= 2
}
{
# Cut off the last element of the list and joint together again
...
...
@@ -1559,6 +1561,7 @@ ad_proc -public im_gp_save_tasks2 {
project_name = trim(:task_name),
project_nr = trim(:task_nr),
project_path = trim(:task_nr),
project_wbs = :wbs,
parent_id = :parent_id,
start_date = :start_date,
end_date = :end_date,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment