Guild of Project Controls: Compendium | Roles | Assessment | Certifications | Membership

Tips on using this forum..

(1) Explain your problem, don't simply post "This isn't working". What were you doing when you faced the problem? What have you tried to resolve - did you look for a solution using "Search" ? Has it happened just once or several times?

(2) It's also good to get feedback when a solution is found, return to the original post to explain how it was resolved so that more people can also use the results.

Delayed Data using Primavera SDK

2 replies [Last post]
Voltaire Taguinod
User offline. Last seen 19 years 25 weeks ago. Offline
Joined: 8 Jul 2003
Posts: 4
Groups: None
Hi,

I am trying to add activities to P3e using VBA via SDK. However, after having done "insert into task (wbs_id) values (xxx)", it takes exactly 30 secs for the new activity to be reflected in P3e client (by doing F5-Refresh).

How do I decrease this delay?

I have tried setting "DelayedLoadMode=off" in PMSDK.ini, but this doesnt do the trick.

Any ideas?

Gaultz

Replies

Bernard Ertl
User offline. Last seen 9 years 15 weeks ago. Offline
Joined: 20 Nov 2002
Posts: 757
Gaultz,

Its possible that you are not supplying enough parameters.

I use the following without any timing problems:

INSERT INTO TASK(task_id, wbs_id, task_name, target_drtn_hr_cnt, duration_type) VALUES ...

Bernard Ertl
InterPlan Systems Inc. - Project Management Software, Project Planning Software
Kevin Button
User offline. Last seen 2 years 14 weeks ago. Offline
Joined: 16 Jul 2003
Posts: 112
Groups: None
Gaultz,

The SDK contains a number of stored procedures, one of which is commit_changes. Try executing this procedure after inserting a task and see if it makes any difference. I dont know if this will work but it may be worth a try.

Kevin