Primavera sdk tables

We are able to do in P6 version 7
- read the project info from the backend database directly eg. the start date of a task from the table 'task'
However,
- the 'task' table does not have fields like SPI, scheduled percentage complete etc.
- the SDK documentation shows many fields including these in the table 'task'
Help requested
- how to read the values like SPI etc directly from an external application
- we would like to do so with or without using SDK
- In any case, how does one use the SDK from say Visual studio
best wishes
tapan sengupta

Things like SPI, scheduled percent complete, etc are calculated fields and thus not stored in the database.
You will need to use an integration tool such as the SDK, API or Web Services to get that information.
As for how to use something like Visual Studio, you need only supply the SDK ODBC connection information in the code to establish the connection to the SDK.
You can find code examples for MS Access, Visual Basic / ADO and Java in the Programmers Guide that is installed with the SDK so I would start there.
The default location on windows is: C:\Program Files\Common Files\Primavera Common\PMSDK\Doc\Programmer's Guide.htm
A small example from the guide on Visual Basic:
‘1) create ADO connection object
Set SDK = New ADODB.Connection
‘2) establish connection
Call SDK.Open(<System Data Source Name>, <username>, <password>)

Similar Messages

  • Primavera SDK - Download

    Hi
    Im looking for Primavera SDK XLS files. Anyone can help with the download link? Where can the SDK XLS files can be downloaded from? Im currently using Primavera Version 8.3. It would be useful if i could get the download link for the appropriate version.
    Thanks & Regards

    Hi
    Yes its the Excel Books. Im looking for it. You can send me those files. It will be very useful.
    Regards

  • Want to connect to Primavera SDK

    Hi,
    In my sceniro i want to connect to PRIMAVERA SDK software.Any one have any idea about the driver to connect to primavera SDK.

    JDBC connects to databases. It does not connect to database utilities.
    The documentation for that SDK makes it quite clear, actually in the first two paragraphs, that one uses ODBC to connect to the database itself.
    So you use the jdbc odbc bridge or you find another ODBC driver for java that does the same thing.

  • Primavera sdk

    I'm using primavera sdk to connect to the pmdb database and select the fields I need. My select statement works but the where condition doesn’t work.
    For example:
    SELECT task_name from TASK WHERE task_id = 31773
    Or any similar command Doesn’t return any result set. But this select commands without 'where' work and return the result. what is the problem?
    Any help is appreciated.
    Edited by: 856195 on May 22, 2011 4:32 AM

    It's release is 6 and no update and insert command works.

  • EPPM P6 8.2 will support primavera SDK?

    I already install EPPM P6 8.2 its working fine now i want to install primavera SDK. is it support EPPM P6 8.2 and if its supporting where i can get the SDK?

    Thank you boss, I installed and configure the database now its fetching the data from the server.

  • Primavera SDK - Filters

    Does anyone know if/how you can import/modify a layout filter with the SDK. Or, where some good documentation on the SDK in general is?

    It's release is 6 and no update and insert command works.

  • Primavera V8.3 SDK xls files

    Hi
    Need help with downloading the Primavera SDK V 8.3 xls files. Is there any place whether i can get it from? Is there any download links for it? Help needed. Greatly appreciated.
    Regards

    On the Oracle Support Site search for the following doc ids:
    How To Import And Export Project Management Activity Data To Excel (Doc ID 903308.1)
    How to Import and Export EPS and Project Data to Excel using Project.xls Utility (Doc ID 894555.1)
    How to Import and Export WBS Structure Data to Excel. (Doc ID 910968.1)
    V/r,
    Gene

  • Primavera 8.3 SDK XLS

    Hi
    I have tried Primavera SDK xls tool recently. One of my laptop is running on SQL Server 05 with 64 Bit OS. While my another laptop is running on Oracle XE DB with 64 bit OS as well.
    The problem i faced is, SDK XLS files worked prefect on my pc which runs on sql server 05 database. But my another Laptop with Oracle XE database faced issues running the SDK XLS files. None of the files responded and Error shown.
    Could any experts suggest what could be the cause of this SDK XLS failure? Is there any system or database pre-requisite for this SDK XLS to establish successful connection with primavera?
    Thanks and Regards

    Hi,
    If you have access to My Oracle Support (MOS) site, I would recommend you to check the following KM notes:
    Master Note For Primavera P6 Software Development Kit (SDK) Installation And Common Technical Or Application Issues (Doc ID 1315425.1)
    The Primavera P6 SDK Data Source Is Not Viewable After Installation On Windows 7 64-bit (Doc ID 1064306.1
    In the master note you will find common technical issues, questions and videos on how to install SDK on your machine.
    Hope this helps,
    Regards,
    P

  • Connecting Microsoft Access with Primavera via VBA

    I'm Primavera expert and Microsoft Access as well
    I want to know where to start to learn how can I establish a connection or session with Primavera from Microsoft Access via VBA.
    Thank you
    Emad

    Hello,
    I'm not familiar with Primavera P6 and Access. May be you should post the question in the
    Oracle Primavera forum.
    The following thread is about similar issue, you can try to use primavera SDK provider or ODBC connection:
    http://www.planningplanet.com/forums/planning-scheduling-programming-discussion/527878/primavera-p6-software-development-kit-sdk
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Table TINM

    Hello Everybody
    I have problem with several clients, the Database ir Growing very quicly. I have run the script for to know the size of all tables in the DataBase (http://andresnaranjo.files.wordpress.com/2011/12/script-to-analyze-table-space-usage-using-the.docx) and I found that exists a tabla named TINM that has a big size (10 GB). What is the objetive of this table?. In the SDK Table Reference I didn't find anything about. Exists a procedure for reduce the database size.
    Thanks a Lot.

    Hi Gordon.
    Look, the information in this table. For the names of the next fileds I think that this fileds are from SAP B1.
    Fields: TransNum,      TransType, CreatedBy,     BASE_REF,     DocLineNum,     DocDate     DocDueDate,     CardCode,     CardName,     Ref1,     Ref2,     Comments,     JrnlMemo,     DocTime,     ItemCode,     Dscription,     InQty,     OutQty,     Price,     Currency,      Rate,     VendorNum,     SerialNum,     Warehouse,     TreeType,     SlpCode,     TaxDate,     DataSource,     PrjCode,     UserSign,      BlockNum,     ImportLog,      UseDocPric,     Location,     CalcPrice,     OpenQty,     Instance,     LastInst,     RevalTotal,     BaseCurr,      ApplObj,     AppObjAbs,     AppObjType,     StockAct,      TrnsfrAct,     PriceDifAc,     VarianceAc,     ReturnAct,     ExcRateAct,     ClearAct,     CostAct,     WipAct,     Balance,     CreateDate,     BaseLine,     TransValue,     PriceDiff,     TransSeq,      InvntAct,     RemMethod,     OpenValue,     SubLineNum,     AppObjLine,     Expenses,     OpenExp,      Allocation, OpenAlloc,     ExpAlloc,     OExpAlloc,     OpenPDiff,     ExchDiff     OpenEDiff     NegInvAdjs,     OpenNegInv     NegStckAct     BTransVal     VarVal     BExpVal     CogsVal     BNegAVal     IOffIncAcc     IOffIncVal     DOffDecAcc     DOffDecVal     DecAcc     DecVal     WipVal     WipVarAcc     WipVarVal     IncAct     IncVal     ExpCAcc     CostMethod     OcrCode     BaseQty     PrevTrans     HTransSeq     OcrCode2     OcrCode3     OcrCode4     OcrCode5
    The Table has 6.045.844 Rows.
    Regards
    Thanks

  • Stored procedures in PV database

    I want to create PL/SQL stored procedures in Primavera database(Oracle 8.1.7) using JDBC ODBC bridge driver which further uses system dsn PrimaveraSDK_PE(Installed by standard Primavera client).
    Whenever i try creating it, i get an error message saying syntax error near word procedure.
    Same error occurs when i try creating a table.
    Following are my connection parameters:
    odbcURL = "jdbc:odbc:PrimaveraSDK_PE"
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              con1 = DriverManager.getConnection(odbcURL, "admin", "admin");
    I can create the procedures using Oracle OCI driver but using that i do not have access to all fields..so errors says..invalid column.
    following are connection parameters:
    String driverName = "oracle.jdbc.driver.OracleDriver";
         Class.forName(driverName);
              con = DriverManager.getConnection("jdbc:oracle:oci8:@sapxi","privuser","privuser");
    Since I cannot see all the fields of database through PL/SQL, I think this approach would not work. To see all the fields of database I must access it using DSN ONLY!!! Even the administrative login is not been able to show me all the fields.This is the way they have designed it....
    So whats wrong in creating the stored procedures in oracle database using JDBC ODBC bridge driver using system DSN????????
    Please help

    Thanks for your reply!!!
    Here is the code!
    import java.sql.*;
    import java.util.*;
    import java.text.*;
    class Try
    static String odbcURL = "jdbc:odbc:PrimaveraSDK_PE";
    static public synchronized Connection getConnection ()
                   throws SQLException, ClassNotFoundException
              Connection con1 = null;
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              con1 = DriverManager.getConnection(odbcURL, "admin", "admin");
              return con1;
    public static void main(String[] args) throws Exception
              try
              Connection con = getConnection();
         String actionQuery = new StringBuffer( "select wbs_id, wbs_concat_name , wbs_short_name , wbs_name from projwbs where wbs_id = 3986").toString();
              ResultSet rs=null;
              PreparedStatement prepStmt = con.prepareStatement(actionQuery);
              rs = prepStmt.executeQuery();
              int wbsID = 0;
              if (rs == null )
                   System.out.println("rs null");
              else
              while(rs.next())
              wbsID = rs.getInt(1);
              System.out.println("rs not null");
              System.out.print(" " + wbsID);
              System.out.print(" " + rs.getString(2));
              System.out.print(" " + rs.getString(3));
              System.out.print(" " + rs.getString(4));
              rs.close();
              prepStmt.close();
    // Creating Stored Procedure....
    Statement stmt = con.createStatement();
    String procedure = "CREATE OR REPLACE PROCEDURE FirstProc AS BEGIN SELECT PROJ_ID FROM PROJECT; END; ";
    stmt.executeUpdate(procedure);
    System.out.println("Proceudre created or updated successfully!");
    stmt.close();
              catch(Exception e)
                   e.printStackTrace();
    and the complete stack trace!!!
    rs not null
    3986 EN EN ABCfghjkl
    java.sql.SQLException: [ATI][OpenRDA ODBC]Syntax error in SQL statement. syntax error line 1 at or after token <OR>.
         at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(Unknown Source)
         at pack1.Try.main(Try.java:134)
    First two lines show the valid output for the select query..which is absolutely correct. But the create procedure statement is throwing above mentioned errors.
    Also one more important thing, I am not been able to view all the columns of table projwbs(its regarding Primavera SDK) through SQL Plus having administrative rights.
    But I can access all the fields using jdbc odbc bridge driver in Java.
    Is there any specific security or access control????
    so that users would able to access specific columns through JDBC only and not through SQL Plus.
    Please help!!!

  • OIM API - Error while retrieving Process form child data

    Hi,
    I need to read all the child data in a process form.I wrote a piece of code and called it from process task adapter.The values are not getting retrieved and i am getting the error
    <tcFormInstanceOperationsBean/isProcessFormChildDataDataUnique: no PRF isKey set up for sdk:203>
    When i tested the same code from a standalone cliet,it is working.
    Any idea what I am doing wrong here?.Thanks

    878153 wrote:
    Hi,
    I need to read all the child data in a process form.I wrote a piece of code and called it from process task adapter.The values are not getting retrieved and i am getting the error
    <tcFormInstanceOperationsBean/isProcessFormChildDataDataUnique: no PRF isKey set up for sdk:203>
    This reads: there is no record in the Reconciliation Mapping table (PRF) for child Form (SDK table, key 203) containing the name of the column in the child form which refers the record in the parent Form.
    The failed SQL query is as follows:
    select prf_columnname from prf where sdk_key=203 and prf_iskey='1'
    Probably you've passed the wrong child form Form?
    Regards,
    Vladimir

  • ScheduleReview using Smartplant

    Dear All,
    Request to let us know the procedure for linking primavera schedules with Intergraph Smartplant Schedule Review.
    Smartplant Review Support informs us that access to Smartplant Review can be established using Primavera SDK. Smartplant Review Support also informed that it accesses files with extension .p3 when launched using the Smartplant Schedule Review.
    Your urgent feedback on the above will be highly appreciated.
    With Warm Regards,
    Uhde India Pvt. Ltd.
    Mumbai

  • Problem importing Resorce Form

    Hi,
    After installing AD Connector in OIM through Deployment Manager.Though the import doesnt displayed any error,I couldnt see the Form in the design console.When I tried to import the XML again,the import fails with the error "com.thortech.xl.ddm.exception.DDMException: Unable to save dataobject for SDC" Any idea,how I can solve this issue?
    (The form does not show in the design console, however it is present within the SDC and SDK tables on the database.)
    now how can i delete this form so that i try importing again
    Thanks..

    I am able to see all the fields of the AD User Form in the database. But it is not displaying this information in the design console. The other forms related to AD such as AD OU and AD Group and AD User group forms are visible in the design console.
    The AD User process form is visible in the admin console but I do not know why it is not showing up in the design console.
    Please help.

  • Import Activity Code Values

    I need to create a long list of activity code values. I'm looking for a work-around to avoid typing them in. There doesn't seem to be an option to import them, but when I import a file, activity codes are created. So maybe I accomplish this by importing codes via excel? Does anyone know how to make that work?

    hi. you need the Primavera SDK component installed and "Dictionary xx" (a macro-enabled MSExcel file specific to your Primavera version schema) to read from/write to the database. best of luck,

Maybe you are looking for

  • App-2

    we are run automatic payment programme so here is possible to maintain 3 mthods means( one for the check, one for the bank transfer, one for the B/E) is the possible. means can we maintain the 3 methods in one automatic payment programme. if the poss

  • Is there anyway to get deleted pictures back

    I by accident deleted a bunch of pictures off my iPad and I been trying to find a way to get them back. I am not technology savvy so if anyone could please help with directions that would be great I really would appreciate it.

  • Can't make in-app purchases even though it's turned on

    My iPad is up to date, and I just downloaded a game. So, I bought something in the game once, worked just fine, the second time it told me to ocntact iTunes support. But what for? And where? And what's going on???? My credit card is totally fine, I c

  • Can I use API Interface in forms6.0.., How???

    Hello friends, Here I want to use a simple API interface in my forms6.0. Like PageMaker6.5 Interface in forms6.0 Is there any way of using the application, Like Internet Explorer can show Word Documents or PDF files directly. In the same way Can I sh

  • 5800 autoanswer with headset.

    Hello ALL Can any one help me with autoanswer. There is a function to autoanswer incoming call while headset is connection. But it is not working.  I can't answer any phone cals while I am driving a bike Thank you in advance