Skip to content

Delayed Data using Primavera SDK

Voltaire TaguinodMember for 23 years 3 months
Created
2
4
0
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

2 replies

Oldest first
  1. 0
    Kevin Button ·
    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
  2. 0
    Bernard Ertl ·
    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

Log in or join to reply

ProjectControls.com is free to join. Members can post questions, reply, vote and follow discussions.

Existing members: your original username and password still work. Forgot password?