Problems importing with V.5.
In the Open Standard
MS
Marcio SampaioMember for 20 years 11 months
- Created
- 26
- 14
0
26 replies
Oldest first- 0AAAmar Aghana ·Friends,
By Default, the number of hours per day in Version 5.0 and 3.1 is 8 Hours.
I have 10 Hours per day as per our company norms and the same is set in Version 5.0
I have to import a file from Version 3.1 and provide links to a project in Version 5.0
When links are given from file imported to Version 5.0 (Project 1) and the file created in Ver 5.0 (Project 2) , the links are not seem to be realstic.
For Eg:
Imported File: Project 1
Activity ID 10 : Finish on : Jan 01
Created File: Project 2
Activity ID 101 : FS with Activity ID 10
Duration 1 day
Now after scheduling
Activity ID 101 Starts on Jan 01 and ends on Jan 02.
This is because, for Project 2, still 2 hours left on Jan 01 and the activity completed 2 hours before the closing hours on Jan 02.
Practically, I wish the activity 101 to start on Jan 02.
How to set this? ( Giving lag is one option but laborious)
Cheers, Amar.
- 0DKDinesh Kumar Damavarapu ·Hi there,
"This can happen for a variety of reasons. For example, if multiple users are in a project and user 1 runs a global change or fill down for a user defined field and user 2 is deleting an activity at the same time. The global change will run, however when you export the XER file and try to import it, the program will check and not find the activity the UDF is pointing to".
Do an new export of the same file and import it again and it will work.
Regards
Dinesh - 0RWRonald Winter ·External Early Start and External Late Finish are two data fields that were just added with Version 5.0. In the data base documentation, they call it "Early Start/Late Finish dates for sharing schedules with Primavera Contractor."
More than this, I do not know at present time. Let me know if you come up with further information. - 0MSMarcio Sampaio ·Hello all P5 users;
I found a solution for this event code - and it works!!
1- Delete all UDFs
2- Export this project (without UDFs) and import to a NEW data-base
3- Rewrite the UDFs
That is the only way.
But remember ... this event code is happening only if Service Pack was not installed.
Regards
Marcio Eduardo
Rio de Janeiro B- razil
Marcio Eduardo. - 0MSMarcio Sampaio ·Are u sure is that a solution for same event code??
The event code of my thread is about udfs ... all the solutions indicated for Primavera were about udfs. I do not believe that it is so simple ... I just tried your solution and it did not worked ...
So ... if it worked for u ... congratulations.
Remember: my solution is for who did not use SP1.
Regards. - 0ALAleks L ·Unfortunately this problem occurs also after SP1 is installed. And the reason is that Custom Fields for deleted activities are stored in the *.xer file.
So I have only one solution:
Generate XLS files with Acivity list and all user fields and link them to MS Access database. After that you will be able to write a query showing all user field records that are useless and should be delited.
Otherwise you will have to delete all UFs if they are not so important for you.
The same solution for WBS user fields.
Regards! - 0CHChris Hibberd ·I too have been plagued by this error. We are running three machines with standalone versions of P5 and have generated this error whilst checking out and checking in between the different PCs.
I have found the easiest work around was to use Primavera’s XER file Parser excel sheet to solve prevent the error.
http://knowledgebase.primavera.com/attachment/PATTLNK_632006_536-xerFileParser&Builder.xls
You can load the XER file into the spreadsheet and using the diagnostics, identify the orphaned UDF values.
In Diagnostic window, select "Cross check FK"
Then Table "Task" & Field "Task_id"
Then Secondary Table "UDF Value" Field "FK_id"
This will identify all orphaned values
I have written a quick macro then to delete all the orphaned records which I can try to post up if it’s of use to anyone.
You then have to use the build XER function and re-import.
This works well for us, but is still simply a work around for a problem that we still cannot really identify. We cannot have two people working on a schedule at the same time as we are running standalone, which rules out primavera’s documented cause.
Regards
Chris - 0NBNimbu B ·Another solution that worked for me is this:
Download the SP2 from Primavera Knowledgebase and update the database (ConfigAsst.exe file in the SP2 database update folder).
Run database queries/scripts on the source database (the database where the XER was exported from). See steps below.
Run the appropriate script below on the database that the XER was exported from
- For Microsoft SQL Server, run the script as PRIVUSER
- For Oracle , run the script as ADMUSER
- For MSDE Primavera 5.0 Standalone installation, save the appropriate script to the root of the C:\ drive and run the following from a DOS command prompt:
(Start > Run > type ’cmd’ and click OK): osql -U sa -P prima -S localhost\primavera -d pmdb$primavera -i c:\delete_orphaned_UDFVALUE_##.sql
Note: RUN THIS SCRIPT ON A BACKUP OF THE DATABASE FIRST!
- 0VSValentin Sendula ·Hi Chris,
I tried using your spreadsheet and got some 13 orphaned records, which I then manually deleted from the UDF_value and used the build xer function. After importing in Primavera though, I am missing most of the budgeted labor units and Units % complete.
Any idea why?
Regards,
Valentin
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?