Accounting Project - Badi DPR_EVENTS

Hi Gurus,
when the project is posted in 'RELEASE' status i have to associate to the project, in accounting dynpro, an internal order just created.
I found Badi DPR_EVENTS use with filter ON_PPO_RELEASED but i don't understand how can be use.
There's someone with code sample for help me?
Thank's in advance.
Best Regards.
Daniele Monti

Hi Thorsten,
this can become a bit tricky. The description is language dependant and is therefore treated a bit different from the other attributes.
But I found a method call with which you can get the description from the database. This you could to test against the current description as found on the UI:
  rv_description = cl_dpr_common_services=>get_description_by_cgpl(
                            ir_common  = me
                            iv_langu   = iv_langu ).
Maybe this helps.
Best regards,
Thomas

Similar Messages

  • Badi DPR_EVENTS

    hi,
    I am using the badi DPR_EVENTS (and implemented it in a class) to get the changes of the project definition (dpo) in cprojects.
    it workes fine for the on_change event but how can I find out which field of the project description has changed (e. g. Project description or project number)?
    my aim is to handle only the case when the project description has changed...

    Hi Thorsten,
    this can become a bit tricky. The description is language dependant and is therefore treated a bit different from the other attributes.
    But I found a method call with which you can get the description from the database. This you could to test against the current description as found on the UI:
      rv_description = cl_dpr_common_services=>get_description_by_cgpl(
                                ir_common  = me
                                iv_langu   = iv_langu ).
    Maybe this helps.
    Best regards,
    Thomas

  • CProjects 4.0: BAdI: DPR_EVENTS

    Hi all,
    I am using the BAdI DPR_EVENTS with the filter ON_IF_DPR_COMMON_CHANGED.
    In the ON_EVENT method, I am checking the object type of the sender using METHOD ir_sender->get_object_type and if object type is TTO (task), I am using
    METHOD ir_sender->get_guid to get the GUID of the task. Then I am making an entry in a z-database table.
    Now the problem is that when the BAdI is activated, I cannot created Tasks and Sub-Tasks in cProjects where as when it is inactivated, Creating of tasks and sub-tasks works properly.
    Any solution to this.
    Regards,
    Reema.

    Hi Reema.
    Without a look in the exact codes in the BaDi method, it is very difficult to find the  cause of problem. If you have ABAP experience, you can set break point of the codes and check the flow logic. It is more easy to find the cause in this way .
    tips: put some if statement to deactive the actions, so that you can locate the exact codes, which cause the problem.
    Kind regards,
    Zhenbo

  • BAdi DPR_EVENTS for user statuses

    Hi,
    Anyone having ideas on how to use the BAdi DPR_EVENTS when user defined statuses are triggered?
    Regards,
    Vivek?

    Hi Vivek,
    It's not possible to use this BADI for user defined statuses.
    We had a similar need a few months ago. We solved it by implementing an enhancement (pre/post exit) in dynpro DPR_STATUS_THRESHOLDS, view VI_STATUS, method ONACTIONCHANGE_STATUS. We can detect here which status (user or system) has been selected.
    Matthias

  • Bank Account Project

    Help!!! There are alot of things that we need to do in order to finish our project for tomorrow. We didn't start last minute so dont criticize us. We are not java programmers and we try to comprehend as much as we can but we are stuck. If anyone can help us on our project, it would be greatly appreciated.
    Here is our code, comments are on the top of the code.
    Right now the code works but we need to get the main menu correct. We need to stop looping so that the next menu can come up if selected from the previous menu.
    * Bank_Main_Menu.java
    * Created on April 8, 2004, 8:58 PM
    /* The save routine (a hack)
    * Bank public String toFileString() {
    * return getName() + "|" +
    * getAddress1() + "|" +
    * getAddress2() + "|" +
    /* Menu Structure
    * MAIN MENU
    * Exit (Leave Program)
    * Load from File
    * Load from Database**
    * Save to File // Do not SAVE if nothing has been loaded!!!
    * Save To Database
    * (Go to the Bank Menu) // Make sure you create an EMPTY BANK OBJECT!
    * Bank Menu // All menus should be in a while (true) and exit on 0!!
    * 0) Exit (to Main Menu)
    * Edit Bank Info // bank.edit();
    * View Bank Info // bank.view();
    * Edit Account
    * View Account
    * Delete Account
    * Create Account
    * ACCOUNTS MENUS (Sort of shared except Create!)
    * 0) Exit
    * X) Display Account for EACH item in the bank.vAccounts Vector
    * Given user input idx > 0
    * - Edit : ( (GenericAccount) bank.vAccounts.elementAt( idx-1 ) ).edit();
    * - View : ( (GenericAccount) bank.vAccounts.elementAt( idx-1 ) ).view();
    * - Delete : bank.deleteAccount( idx-1 );
    * Adding A Checking Account:
    * bank.addAccount( new CheckingAccount().edit() ); // edit() must return this;
    * Adding A Saving Account:
    * bank.addAccount( new SavingsAccount().edit() ); // edit() must return this;
    * public void edit() // For the Bank
    * { System.out.println("Thank you for editing the bank info "); }
    import java.sql.*;
    import java.util.Vector;
    import java.io.*;
    * @author cbolanos
    public class Bank_Main_Menu {
    final static int MAX_COL_WIDTH = 40;
    final static String NULL_COL_VALUE = " ";
    final static String driverClass = "sun.jdbc.odbc.JdbcOdbcDriver";
    final static String connectionURL = // Uncommment one below to work for you
    "jdbc:odbc:MS Access Database;DBQ=C:\\Program Files\\Microsoft Office\\Office11\\Samples\\Northwind.mdb";
    //"jdbc:odbc:MS Access Database;DBQ=C:\\Program Files\\Microsoft Office\\Office\\Samples\\Northwind.mdb";
    //"jdbc:odbc:MS Access Database;DBQ=D:\\NorthWind.MDB";
    //"jdbc:odbc:Northwind"; // Comment this out if you use another
    final static String userID = "sa";
    final static String userPassword = "";
    private Connection con = null; // We assume 1 connection/object
    public Bank_Main_Menu() {
    public void openConnection() throws ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException {
    System.out.print(" Loading JDBC Driver -> " + driverClass + "\n");
    Class.forName(driverClass).newInstance();
    System.out.print(" Connecting to -> " + connectionURL + "\n");
    this.con = DriverManager.getConnection(connectionURL, userID, userPassword);
    System.out.print(" Connected as -> " + userID + "\n\n");
    public void closeConnection() {
    try {
    System.out.print(" Closing Connection...\n");
    con.close();
    catch (SQLException e) {
    e.printStackTrace();
    public ResultSet executeQuery(String sSQL) throws SQLException {
    ResultSet rs = null;
    try {
    Statement statement = con.createStatement();
    rs = statement.executeQuery(sSQL);
    catch (SQLException e){
    System.out.println("SQLException was thrown in executeQuery: " + e.getMessage());
    throw e;
    return rs;
    public static String padString(String str, int size){
    if (str == null) return NULL_COL_VALUE; // Null strings
    StringBuffer result = new StringBuffer(str);
    while (result.length() < size)
    result.append(" ");
    if (result.length() > size)
    result.substring(0,size);
    return result.toString();
    public void displayRows(ResultSet rs, Vector vSizes) throws SQLException {
    try {
    int cnt = rs.getMetaData().getColumnCount();
    while(rs.next()) {
    for (int x=1; x<=cnt; x++){
    int z = ((Integer) vSizes.elementAt(x-1)).intValue();
    System.out.print(padString( rs.getString(x), z) );
    System.out.println();
    catch (SQLException e){
    System.out.println("SQLException was thrown in displayRows: " + e.getMessage());
    throw e;
    public void displayHeaders(ResultSet rs, Vector vSizes) throws SQLException {
    try {
    ResultSetMetaData md = rs.getMetaData();
    for (int x=1; x<=md.getColumnCount(); x++){
    int z = Math.max(MAX_COL_WIDTH, md.getColumnDisplaySize(x));
    vSizes.add( new Integer( z ));
    System.out.print( padString(md.getColumnLabel(x), z) );
    System.out.println();
    catch (SQLException e) {
    System.out.println("SQLException was thrown in displayHeaders: " + e.getMessage());
    throw e;
    System.out.println("");
    public Vector resultToVector(ResultSet rs, Vector vNames) throws SQLException {
    try {
    String name;
    while(rs.next()) {
    name = rs.getString(1) + " " + rs.getString(2);
    vNames.add(name);
    catch (SQLException e){
    System.out.println("SQLException was thrown in displayRows: " + e.getMessage());
    throw e;
    return vNames;
    public String getFileName(ResultSet rs) throws SQLException {
    try {
    String columnLabels = "";
    ResultSetMetaData md = rs.getMetaData();
    for (int x=1; x<=md.getColumnCount(); x++){
    columnLabels = columnLabels + md.getColumnLabel(x);
    if(x==md.getColumnCount()){
    //last column should not add '_'
    else{
    columnLabels = columnLabels + "_";
    return columnLabels;
    catch (SQLException e){
    System.out.println("SQLException was thrown in displayHeaders: " + e.getMessage());
    throw e;
    /* public String getFileHeader(ResultSet rs) throws SQLException {
    try {
    String columnLabelspayInterest = "";
    ResultSetMetaData md = rs.getMetaData();
    for (int x=1; x<=md.getColumnCount(); x++){
    columnLabels = columnLabels + md.getColumnLabel(x) + "[" + md.getColumnDisplaySize(x) + "]";
    if(x==md.getColumnCount()){
    //last column should not add '_'
    else{
    columnLabels = columnLabels + "_";
    return columnLabels;
    catch (SQLException e){
    System.out.println("SQLException was thrown in displayHeaders: " + e.getMessage());
    throw e;
    private static void writeFile(String sFileName, Vector vData){
    try{
    String str;
    String FilePath = "c:/LEC-12/" + sFileName;
    PrintWriter pw = new PrintWriter(new FileWriter(FilePath)); //reading file into the buffer
    for(int i = 0; i < vData.size(); i++){
    str = (String)vData.elementAt(i).toString();
    pw.println(str); //print name in good.txt, bad.txt, average.txt
    //System.out.println(str);
    pw.close();
    catch(Exception e){
    public void WritingToFile() throws IOException {
    public void writeToFile(Vector vData){
    try{
    String str;
    String FilePath="c:\\java\\save.txt";
    PrintWriter pw = new PrintWriter(new FileWriter(FilePath));
    for (int i=0; i < vData.size(); i++) {
    str=(String)vData.elementAt(i).toString();
    pw.println(str);
    pw.close();
    catch(Exception e)
    public static Vector stringToVector(String sLine, String sDelim) {
    Vector v = new Vector();
    String s = new String(sLine);
    int x = sLine.indexOf(sDelim);
    while (x >= 0) {
    String sPiece = s.substring(0, x);
    v.add(sPiece);
    s = s.substring(x + 1).trim();
    x = s.indexOf(sDelim);
    v.add(s);
    return v;
    public static void writeVectorToFile(Vector v, String sFileName)
    throws FileNotFoundException, IOException {
    BufferedWriter fileOut = new BufferedWriter(new FileWriter(sFileName));
    for (int x = 0; x < v.size(); x++) {
    fileOut.write(v.elementAt(x).toString());
    if (x != v.size()-1) fileOut.write("\n");
    fileOut.close();
    public static void writeVectorToFile(Vector v, String sFileName)
    throws FileNotFoundException, IOException {
    BufferedWriter fileOut = new BufferedWriter(new FileWriter(sFileName));
    for (int x = 0; x < v.size(); x++) {
    fileOut.write(v.elementAt(x).toString());
    if (x != v.size()-1) fileOut.write("\n");
    fileOut.close();
    /** Creates a new instance of Bank_Main_Menu */
    BankSystem(DataManager dataManager) throws java.io.IOException
    this.dataManager=dataManager;
    reader=new BufferedReader(new InputStreamReader(System.in));
    writer=new BufferedWriter(new OutputStreamWriter(System.out));
    //////////////////////////////////////MAIN MENU/////////////////////////////////
    public void LoadfromFile() {
    String fileName = "c:/java/names.txt" ;
    String line;
    try {
    BufferedReader in = new BufferedReader(
    new FileReader( fileName ) );
    line = in.readLine();
    while ( line != null ) // continue until end of file
    System.out.println( line );
    line = in.readLine();
    in.close();
    catch ( IOException iox ) {
    System.out.println("Problem reading " + fileName );
    //private BufferedReader reader;
    // System.out.println(" Loading from file");
    //System.out.println(" ");
    public void LoadfromDatabase() {
    Vector vSizes = new Vector();
    Bank_Main_Menu mainPrg = new Bank_Main_Menu();
    try {
    mainPrg.openConnection();
    try {
    ResultSet rs = mainPrg.executeQuery("SELECT Title,LastName,FirstName,City,Region FROM Employees order by Title,lastname");
    mainPrg.displayHeaders(rs, vSizes);
    mainPrg.displayRows(rs, vSizes);
    catch (Exception e) { e.printStackTrace(); }
    finally {     mainPrg.closeConnection(); }
    catch (ClassNotFoundException e) { e.printStackTrace(); }
    catch (InstantiationException e) { e.printStackTrace(); }
    catch (IllegalAccessException e) { e.printStackTrace(); }
    catch (SQLException e) { e.printStackTrace(); }
    catch (Exception e) {
    System.out.println("Exception was thrown in main(): " + e.getMessage());
    e.printStackTrace();
    //private BufferedReader reader;
    System.out.println(" Loading from Database");
    System.out.println(" ");
    public void WriteToFile(){
    Vector vSizes=new Vector();
    Vector vNames=new Vector();
    vNames.add("Sheila");
    WritingToFile wf = new WritingToFile();
    String FileName;
    wf.writeToFile(vNames);
    System.out.println(" Saving to file");
    //System.out.println(" ");
    public void SavetoDatabase(){
    System.out.println(" Saving to Database");
    System.out.println(" ");
    //////////////////////////////////////BANK MENU////////////////////////////////
    public void GotoBankMenu(){
    System.out.println("Welcome to the bank Menu");
    System.out.println(" Bank Menu ");
    System.out.println(" 0. Exit");
    System.out.println(" 1. Edit Bank Information");
    System.out.println(" 2. View Bank Information");
    System.out.println(" 3. Edit Account");
    System.out.println(" 4. View Account ");
    System.out.println(" 5. Delete Account ");
    System.out.println(" 5. Create Account ");
    public void bankDetails() {
    public void listAccounts(){
    System.out.println("These are the accounts");
    public void accountOptions(){
    System.out.println("These are the account options");
    public void add_Account(){
    System.out.println("This is how you add an account");
    /* public void deleteAcc() throws IOException {
    int i = selectAnAccount();
    if (i >= 0) {
    vBankAccounts.remove(i);//vBankAccounts is the vector object and remove() is a method
    System.out.println("Account deleted.");
    public void payInterest() throws IOException {
    int count = 0;
    for (int x = 0; x < vBankAccounts.size(); x++) {
    if (vBankAccounts.get(x) instanceof SavingsAccount) {
    ((SavingsAccount)vBankAccounts.get(x)).addInterestTransaction();
    count++;
    // public void addAcc(GenericAccount a) {
    // vBankAccounts.add(a);
    public void payInterest(){
    System.out.println("This is how you pay interest");
    public void print_statementofAccount(){
    System.out.println("This is how you print a statement");
    public void loadAccountsFromFile(){
    System.out.println("This is how you load an account from file");
    public void loadAccountsfromDatabase(){
    System.out.println("This is how you load an account from a database");
    public void StoreAccounts(){
    System.out.println("This is how you store an account");
    public static int menu() {
    System.out.println("Welcome to the main menu. Please choose from the following options:");
    System.out.println(" MAIN MENU ");
    System.out.println(" 0. Exit");
    System.out.println(" 1. Load from File");
    System.out.println(" 2. Load from Database");
    System.out.println(" 3. Save to file");
    System.out.println(" 4. Save to Database");
    System.out.println(" 5. Go to Bank the Bank Menu");//need to create an instance of bank class that contains the elements of bank menu.
    System.out.println(" 6. Print Statement of Account");
    System.out.println(" 7. Pay Interest");
    System.out.println(" 8. Load Accounts from file");
    System.out.println(" 9. Load Accounts from Database");
    System.out.println("10. Store Accounts");
    System.out.println(" MAIN MENU ");
    System.out.println(" 0. Exit");
    System.out.println(" 1. Edit Bank Information");
    System.out.println(" 2. List Accounts");
    System.out.println(" 3. Account Options");
    System.out.println(" 4. Add an Account ");
    System.out.println(" 5. Delete Account ");
    System.out.println(" 6. Print Statement of Account");
    System.out.println(" 7. Pay Interest");
    System.out.println(" 8. Load Accounts from file");
    System.out.println(" 9. Load Accounts from Database");
    System.out.println("10. Store Accounts");
    MAIN MENU
    * Exit (Leave Program)
    * Load from File
    * Load from Database**
    * Save to File // Do not SAVE if nothing has been loaded!!!
    * Save To Database
    * (Go to the Bank Menu)
    int OptionChosen;
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    try {
    OptionChosen = Integer.parseInt(in.readLine());
    catch (Exception e) {
    OptionChosen = 0;
    return OptionChosen;
    * @param args the command line arguments
    public static void main(String[] args) {
    Bank_Main_Menu bBank = new Bank_Main_Menu(); //Creating an object of the class
    while ( true ) {
    int userInput = menu();
    if (userInput==0) {
    System.out.println(" Good Bye ");
    return;
    System.out.println("You chose " + userInput);
    switch(userInput){
    case 1:
    bBank.LoadfromFile();//Calling a method
    break;
    case 2:
    bBank.LoadfromDatabase();//Calling a method
    break;
    case 3:
    bBank.WriteToFile();//Calling a method
    break;
    case 4:
    bBank.SavetoDatabase();//Calling a method
    break;
    case 5:
    bBank.GotoBankMenu();//Calling a method
    break;
    case 6:
    bBank.print_statementofAccount();//Calling a method
    break;
    case 7:
    bBank.payInterest();//Calling a method
    break;
    case 8:
    bBank.loadAccountsFromFile();//Calling a method
    break;
    case 9:
    bBank.loadAccountsfromDatabase();//Calling a method
    break;
    case 10:
    bBank.StoreAccounts();//Calling a method
    break;
    while ( true ) {
    int userInput = menu();
    if (userInput==0) {
    System.out.println(" Good Bye ");
    return;
    System.out.println("You chose " + userInput);
    switch(userInput){
    case 1:
    bBank.bankDetails();//Calling a method
    break;
    case 2:
    bBank.listAccounts();//Calling a method
    break;
    case 3:
    bBank.accountOptions();//Calling a method
    break;
    case 4:
    bBank.add_Account();//Calling a method
    break;
    case 5:
    bBank.delete_Account();//Calling a method
    break;
    case 6:
    bBank.print_statementofAccount();//Calling a method
    break;
    case 7:
    bBank.payInterest();//Calling a method
    break;
    case 8:
    bBank.loadAccountsFromFile();//Calling a method
    break;
    case 9:
    bBank.loadAccountsfromDatabase();//Calling a method
    break;
    case 10:
    bBank.StoreAccounts();//Calling a method
    break;

    change this:
    while ( true ) {
    int userInput = menu();
    to
    int userInput = menu();
    while ( userInput != 0 ) {
    if (userInput != 5)
    userInput = menu();
    don't have time to explain too well....

  • I've created two seperate itunes account (my bad) and I want to share the music between the two. My iphone has one list and my computer and cloud have the other.

    How do I go about sharing between them?

    Make sure both computers are set up to share their library on the local network.
         iTune>Preferences>Sharing>Share my library on my local network.
    Then, using the computer that you want to have the media on for yourself, go to the other computer's library, it should appear under Shared on the left, select everything you want to import and click "Import".
    When it's done you can delete it all from the other computer, then you can just sign out of iTunes.
    If you didn't do so previously, you'll want to authorize the computer that now has all the media on it with the older iTunes account.
         Store>Authorize this computer.

  • Account Creation - Badi for Default values for BP Role and Sales Area

    Hi all,
    my requirement regards the possibility to create a new prospect (a link should be available in the navigation bar or create section).
    Logically, a bp role as "Prospect" and particoular sales area should be created automatically.
    I created an implementation for the BADI definition "BADI_CRM_BP_UIU_DEFAULTS". But don't know how to create the default values for BP role and Sales area:
    In my code
    assign cr_me->('VIEW') to <lv_view_name>.
      if sy-subrc ne 0.
        exit.
      endif.
      lv_viewname = <lv_view_name>.
      case lv_viewname.
        when 'AccountDetails.htm'.
    I obtain the viewname "AccountDetails" , the related context "Header". After I don't know how to proceed to obtain the related entities through the relationship BuilRolesRel and BuilSalesArrangementRel.
    Am I following the right way? Is there another solution to prepare the output for default values?
    Any kind of suggestion will be appreciated.
    Regards, Roberto

    go to spro>cross-application components>sap busines partner>business partner> basic settings>field groupings>Configure Field Attributes per BP Role
    Double click the business role which you want to customaze (e.g. 'A') and change the proper settings.
    Regards.

  • Automatic Use of Card to credit account is bad bus...

    I am getting tired of always having to uncheck the button for the automatic charging of plastic money card whenever I go to update the credit.
    I, the customer, should be able to decide that choice only once, not every time I go to the Skype account.
    I feel that Skype has deteriorated security-wise and customer-wise with the purchase by Microsoft.

    I think you may need to contact customer service for further assistance, as the regular way to cancelling subscriptions is not working in your case.  You can also request for refunds in desired/applicable in your case.
    https://support.skype.com/en/faq/FA1170/how-can-i-​contact-skype-customer-service
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES

  • Wrong Database Access Account (Project Server 2013)

    Hi,
    After “Connect to a server farm – Create a new server farm”...
    In the Specify Configuration Database Setting page of the
    SharePoint Products Configuration Wizard, in the Specify Database Access Account section, I entered a wrong
    User Name.
    How and where can I correct it?
    Thanks for your help

    Hello,
    The Database access account is basically the "Farm Admin account" of your farm. It's possible to change it, however it's not a good idea doing that and it's not pretty, If this is a
    very new farm then I'll recommend re-creating a farm using correct account. Below are the steps.
    1) Run the SharePoint Config wizard and disconnect the servers from the farm.
    2) Run the SharePoint Config wizard and create new farm >> give correct user name for Database Access Account.
    However if you decide to change it, here is the instructions, they are provided without any guarantee!
    Go to Central Administration -> Security, click the Configure Service Accounts link under General Security head. Then select Farm Account from the doprdown list. Make sure the account you use have all the permissions. You need those permissions.
    Hope this helps!
    Thank you,
    Kiran K.

  • Network User Account gone bad

    I noticed our server suddenly had the AppleFileServer using 150% cpu and fluctuating wildly, and managed to track it down to one network user, everytime he logs in the server goes into meltdown!
    The only symptom on his mac is that Quark Xpress refuses to open, though everything is fine if he logs into a different account on that Mac.
    So any ideas what could be causing this account to play up - I've trashed quark prefs, but the server starts to use high cpu as soon as the user logs in not just when opening quark

    In the log when I open Quark I get this repeating message:
    30/11/2009 11:34:16 QuarkXPress[1625] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.

  • Grant Accounting Project Funding

    Hi,
    Can any one provide a sample code for funding a project under an award using API ?
    Has anyone used GMS_AWARD_PVT.ADD_FUNDING API?
    Does the budgetary controls for the project need to be setup manually or does it have any API?
    Thanks

    create or replace procedure XX_PA_BUD(errbuf OUT VARCHAR2,
    retcode OUT VARCHAR2,
    x_project_id NUMBER,
    x_budget_version_name VARCHAR2,
    x_resource_list_id NUMBER,
    x_filename VARCHAR2) as
    v_api_version_number NUMBER; --:= PA_INTERFACE_UTILS_PUB.G_PA_MISS_NUM;
    v_commit VARCHAR2(1); --:= FND_API.G_FALSE;
    v_init_msg_list VARCHAR2(1); --:= FND_API.G_FALSE;
    v_pm_product_code pa_budget_versions.pm_product_code%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_pm_finplan_reference pa_budget_versions.pm_budget_reference%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_pm_project_reference VARCHAR2(10); --pa_projects_all. PM_PROJECT_REFERENCE%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_pa_project_id NUMBER; --pa_budget_versions.project_id%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_NUM;
    v_fin_plan_type_id NUMBER; --pa_budget_versions.fin_plan_type_id%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_NUM;
    v_fin_plan_type_name pa_fin_plan_types_vl.name%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_version_type pa_budget_versions.version_type%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_time_phased_code pa_proj_fp_options.cost_time_phased_code%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_resource_list_name pa_resource_lists.name%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_resource_list_id NUMBER; --pa_budget_versions.resource_list_id%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_NUM;
    v_fin_plan_level_code pa_proj_fp_options.cost_fin_plan_level_code%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_PLAN_IN_MULTI_CURR_FLAG pa_proj_fp_options.plan_in_multi_curr_flag%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_budget_version_name pa_budget_versions.version_name%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_description pa_budget_versions.description%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_change_reason_code pa_budget_versions.change_reason_code%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_raw_cost_flag pa_fin_plan_amount_sets.raw_cost_flag%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_burdened_cost_flag pa_fin_plan_amount_sets.burdened_cost_flag%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_revenue_flag pa_fin_plan_amount_sets.revenue_flag%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_cost_qty_flag pa_fin_plan_amount_sets.cost_qty_flag%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_revenue_qty_flag pa_fin_plan_amount_sets.revenue_qty_flag%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_all_qty_flag pa_fin_plan_amount_sets.all_qty_flag%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_create_new_curr_working_flag VARCHAR2(1);
    v_replace_current_working_flag VARCHAR2(1); -- := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_using_resource_lists_flag VARCHAR2(1); -- DEFAULT 'N';
    v_finplan_trans_tab_in pa_budget_pub.FinPlan_Trans_Tab;
    v_finplan_trans_in_rec pa_budget_pub.FinPlan_Trans_Rec;
    v_finplan_trans_out pa_budget_pub.FinPlan_Trans_Tab;
    v_attribute_category pa_budget_versions.attribute_category%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_attribute1 pa_budget_versions.attribute1%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_attribute2 pa_budget_versions.attribute2%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_attribute3 pa_budget_versions.attribute3%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_attribute4 pa_budget_versions.attribute4%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_attribute5 pa_budget_versions.attribute5%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_attribute6 pa_budget_versions.attribute6%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_attribute7 pa_budget_versions.attribute7%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_attribute8 pa_budget_versions.attribute8%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_attribute9 pa_budget_versions.attribute9%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_attribute10 pa_budget_versions.attribute10%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_attribute11 pa_budget_versions.attribute11%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_attribute12 pa_budget_versions.attribute12%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_attribute13 pa_budget_versions.attribute13%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_attribute14 pa_budget_versions.attribute14%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_attribute15 pa_budget_versions.attribute15%TYPE := PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR;
    v_finplan_version_id NUMBER;
    v_return_status VARCHAR2(1);
    v_msg_count NUMBER;
    v_msg_data VARCHAR2(2000);
    v_data VARCHAR2(2000);
    v_msg_index_out NUMBER;
    API_ERROR EXCEPTION;
    v_resp_id NUMBER;
    v_user_id NUMBER;
    v_resp_appl_id NUMBER;
    vout_msg_count NUMBER;
    vout_msg_data VARCHAR2(200);
    vout_data VARCHAR2(2000);
    vout_return_status VARCHAR2(1);
    vout_msg_index_out NUMBER;
    v_operating_unit NUMBER;
    g NUMBER;
    a NUMBER;
    o NUMBER;
    f NUMBER;
    i NUMBER;
    v_task_id NUMBER;
    v_pm_task_ref VARCHAR2(25);
    v_resource_alias VARCHAR2(80);
    v_curr_code VARCHAR2(10);
    v_uom VARCHAR2(10);
    v_start_date VARCHAR2(11);
    v_end_date VARCHAR2(11);
    v_quantity NUMBER;
    v_rate NUMBER;
    v_burdened_cost NUMBER;
    v_resource_list_member_id NUMBER;
    v_top_task_name VARCHAR2(240);
    v_alias_name VARCHAR2(50);
    v_err_list_member_id NUMBER;
    v_err_cost NUMBER;
    v_err_qty NUMBER;
    v_err_rec NUMBER;
    v_err_uom VARCHAR2(10);
    total_records NUMBER;
    cursor v_top_task_cur is
    select distinct top_task
    from xx_pa_bid_calc
    where file_name = x_filename
    and top_task = 'Mobilization (Activity)';
    cursor v_plan_details_cur(v_top_task varchar2) is
    select sum(quantity) quantity,
    sum(total_amount) total_amount,
    uom,
    planning_value,
    top_task
    from xx_pa_bid_calc
    where top_task = v_top_task
    and file_name = x_filename
    and top_task = 'Mobilization (Activity)'
    and substr(upload, 1, 1) = 'Y'
    group by uom, planning_value, top_task;
    begin
    g := 0;
    a := 0;
    o := 0;
    f := 0;
    total_records := 0;
    v_resp_id := fnd_profile.value('resp_id');
    v_user_id := fnd_profile.value('user_id');
    fnd_file.put_line(fnd_file.log, 'Testing the global values:');
    fnd_file.put_line(fnd_file.log, 'Resp id:' || v_resp_id);
    fnd_file.put_line(fnd_file.log, 'User Id:' || v_user_id);
    fnd_file.put_line(fnd_file.log, 'Project_Id:' || x_project_id);
    -- Setting the global variables
    fnd_msg_pub.initialize;
    Pa_Interface_Utils_Pub.SET_GLOBAL_INFO(p_api_version_number => 1.0,
    p_responsibility_id => v_resp_id,
    p_user_id => v_user_id,
    p_msg_count => VOUT_MSG_COUNT,
    p_msg_data => VOUT_MSG_DATA,
    p_return_status => VOUT_RETURN_STATUS);
    fnd_file.put_line(fnd_file.log,
    'Set Global Info Return Status :' || VOUT_RETURN_STATUS);
    fnd_file.put_line(fnd_file.log,
    'Set Global Info MSG Count :' || VOUT_MSG_COUNT);
    fnd_file.put_line(fnd_file.log,
    'Starting the Create draft Plan Process:');
    fnd_file.put_line(fnd_file.log,
    PA_BUDGET_PUB.INIT_BUDGET;
    v_api_version_number := 1;
    v_commit := 'F';
    v_init_msg_list := 'F';
    v_fin_plan_type_name := 'Acquisition Bid';
    v_pm_product_code := 'MSPROJECT'; --'GOK';
    v_pm_finplan_reference := 10024;
    v_pm_project_reference := x_project_id;
    v_pa_project_id := x_project_id;
    v_fin_plan_type_id := 10024;
    v_version_type := 'COST';
    v_time_phased_code := 'G';
    --v_resource_list_name   :='Planning Resource List 02';
    v_resource_list_id := x_resource_list_id;
    v_fin_plan_level_code := 'L';
    v_PLAN_IN_MULTI_CURR_FLAG := 'N'; --'Y';
    v_budget_version_name := x_budget_version_name;
    v_description := x_budget_version_name;
    v_change_reason_code := NULL;
    v_raw_cost_flag := 'Y';
    v_burdened_cost_flag := 'Y';
    v_revenue_flag := 'Y';
    v_cost_qty_flag := 'Y'; --N
    v_revenue_qty_flag := 'N'; --'Y';
    v_all_qty_flag := 'Y';
    v_create_new_curr_working_flag := 'Y';
    v_replace_current_working_flag := 'N';
    v_using_resource_lists_flag := 'Y';
    v_attribute_category := NULL;
    v_attribute1 := NULL;
    v_attribute2 := NULL;
    v_attribute3 := NULL;
    v_attribute4 := NULL;
    v_attribute5 := NULL;
    v_attribute6 := NULL;
    v_attribute7 := NULL;
    v_attribute8 := NULL;
    v_attribute9 := NULL;
    v_attribute10 := NULL;
    v_attribute11 := NULL;
    v_attribute12 := NULL;
    v_attribute13 := NULL;
    v_attribute14 := NULL;
    v_attribute15 := NULL;
    v_finplan_trans_tab_in.delete;
    --setting the variables for finplan_trans_rec
    for v_top_task_rec in v_top_task_cur loop
    fnd_file.put_line(fnd_file.output,
    rpad('Project', 15, ' ') || ' ' ||
    rpad('UOM', 15, ' ') || ' ' ||
    rpad('Burd Cost', 25, ' ') || ' ' ||
    rpad('Resource', 25, ' ') || ' ' ||
    rpad('Task Name', 30, ' '));
    fnd_file.put_line(fnd_file.output,
    rpad('--------------', 15, ' ') || ' ' ||
    rpad('-------------', 15, ' ') || ' ' ||
    rpad('--------------------------', 25, ' ') || ' ' ||
    rpad('-------------------------', 25, ' ') || ' ' ||
    rpad('-------------------------------', 30, ' '));
    v_err_qty := 0;
    v_err_rec := 0;
    v_err_cost := 0;
    v_err_list_member_id := NULL;
    v_task_id := NULL;
    v_top_task_name := NULL;
    --Getting the task id
    Begin
    select task_id
    into v_task_id
    from pa_tasks
    where long_task_name = v_top_task_rec.top_task
    and project_id = x_project_id;
    exception
    when no_data_found then
    select task_id
    into v_task_id
    from pa_tasks
    where task_number = 'ERROR'
    and project_id = x_project_id;
    v_top_task_name := 'ERROR';
    when others then
    select task_id
    into v_task_id
    from pa_tasks
    where task_number = 'ERROR'
    and project_id = x_project_id;
    v_top_task_name := 'ERROR';
    END;
    select min(start_date), max(end_date)
    into v_start_date, v_end_date
    from xx_pa_bid_calc
    where top_task = v_top_task_rec.top_task
    and file_name = x_filename;
    v_pm_task_ref := v_task_id;
    v_top_task_name := v_top_task_rec.top_task;
    fnd_file.put_line(fnd_file.output, 'Task Id: ' || v_task_id);
    fnd_file.put_line(fnd_file.output, 'Task Name: ' || v_top_task_name);
    fnd_file.put_line(fnd_file.output, 'Start Date: ' || v_start_date);
    fnd_file.put_line(fnd_file.output, 'End Date: ' || v_end_date);
    for v_plan_details_rec in v_plan_details_cur(v_top_task_name) LOOP
    total_records := total_records + 1;
    v_alias_name := v_plan_details_rec.planning_value;
    v_resource_list_member_id := NULL;
    v_err_list_member_id := NULL;
    -- Getting the Resource Assignment.
    Begin
    select resource_list_member_id
    into v_resource_list_member_id
    from pa_resource_list_members
    where resource_list_id = v_resource_list_id
    and alias = v_plan_details_rec.planning_value
    --and object_id = x_project_id
    exception
    when no_data_found then
    select resource_list_member_id
    into v_resource_list_member_id
    from pa_resource_list_members
    where resource_list_id = v_resource_list_id
    and alias = 'Financial Elements'
    --and object_id = x_project_id
    v_alias_name := 'Financial Elements';
    when others then
    select resource_list_member_id
    into v_resource_list_member_id
    from pa_resource_list_members
    where resource_list_id = v_resource_list_id
    and alias = 'Financial Elements'
    --and object_id = x_project_id
    v_alias_name := 'Financial Elements';
    END;
    fnd_file.put_line(fnd_file.output,
    rpad(x_project_id, 15, ' ') || ' ' ||
    rpad(v_plan_details_rec.UOM, 15, ' ') || ' ' ||
    rpad(v_plan_details_rec.total_amount, 25, ' ') || ' ' ||
    rpad(v_alias_name, 25, ' ') || ' ' ||
    rpad(v_plan_details_rec.top_task, 30, ' '));
    if v_alias_name != 'Financial Elements' then
    f := f + 1;
    v_finplan_trans_tab_in(f).pm_product_code := 'MSPROJECT';
    v_finplan_trans_tab_in(f).task_id := v_task_id;
    v_finplan_trans_tab_in(f).pm_task_reference := v_task_id;
    v_finplan_trans_tab_in(f).pm_res_asgmt_reference := NULL;
    v_finplan_trans_tab_in(f).resource_alias := v_alias_name;
    v_finplan_trans_tab_in(f).currency_code := 'USD';
    v_finplan_trans_tab_in(f).unit_of_measure_code := v_plan_details_rec.UOM;
    v_finplan_trans_tab_in(f).start_date := to_date('20-NOV-2008',
    'DD-MON-YYYY'); --to_date(v_plan_details_rec.start_date,'MM/DD/YY');
    v_finplan_trans_tab_in(f).end_date := to_date('30-NOV-2008',
    'DD-MON-YYYY'); --to_date(v_plan_details_rec.end_date,'MM/DD/YY');
    v_finplan_trans_tab_in(f).quantity := v_plan_details_rec.quantity;
    v_finplan_trans_tab_in(f).raw_cost := v_plan_details_rec.total_amount;
    v_finplan_trans_tab_in(f).burdened_cost := v_plan_details_rec.total_amount;
    ---v_finplan_trans_tab_in(f).revenue:=NULL;
    v_finplan_trans_tab_in(f).resource_list_member_id := v_resource_list_member_id;
    v_finplan_trans_tab_in(f).attribute_category := NULL;
    v_finplan_trans_tab_in(f).attribute1 := NULL;
    v_finplan_trans_tab_in(f).attribute1 := NULL;
    v_finplan_trans_tab_in(f).attribute2 := NULL;
    v_finplan_trans_tab_in(f).attribute3 := NULL;
    v_finplan_trans_tab_in(f).attribute4 := NULL;
    v_finplan_trans_tab_in(f).attribute5 := NULL;
    v_finplan_trans_tab_in(f).attribute6 := NULL;
    v_finplan_trans_tab_in(f).attribute7 := NULL;
    v_finplan_trans_tab_in(f).attribute8 := NULL;
    v_finplan_trans_tab_in(f).attribute9 := NULL;
    v_finplan_trans_tab_in(f).attribute10 := NULL;
    v_finplan_trans_tab_in(f).attribute11 := NULL;
    v_finplan_trans_tab_in(f).attribute12 := NULL;
    v_finplan_trans_tab_in(f).attribute13 := NULL;
    v_finplan_trans_tab_in(f).attribute14 := NULL;
    v_finplan_trans_tab_in(f).attribute15 := NULL;
    v_finplan_trans_tab_in(f).attribute16 := NULL;
    v_finplan_trans_tab_in(f).attribute17 := NULL;
    v_finplan_trans_tab_in(f).attribute18 := NULL;
    v_finplan_trans_tab_in(f).attribute19 := NULL;
    v_finplan_trans_tab_in(f).attribute20 := NULL;
    v_finplan_trans_tab_in(f).attribute21 := NULL;
    v_finplan_trans_tab_in(f).attribute22 := NULL;
    v_finplan_trans_tab_in(f).attribute23 := NULL;
    v_finplan_trans_tab_in(f).attribute24 := NULL;
    v_finplan_trans_tab_in(f).attribute25 := NULL;
    v_finplan_trans_tab_in(f).attribute26 := NULL;
    v_finplan_trans_tab_in(f).attribute27 := NULL;
    v_finplan_trans_tab_in(f).attribute28 := NULL;
    v_finplan_trans_tab_in(f).attribute29 := NULL;
    v_finplan_trans_tab_in(f).attribute30 := NULL;
    else
    v_err_cost := v_err_cost +
    v_plan_details_rec.total_amount;
    v_err_qty := v_err_qty + v_plan_details_rec.quantity;
    v_err_list_member_id := v_resource_list_member_id;
    v_err_rec := v_err_rec + 1;
    v_alias_name := 'Financial Elements';
    v_err_uom := v_plan_details_rec.UOM;
    end if;
    END LOOP;
    if v_err_rec > 0 then
    f := f + 1;
    select resource_list_member_id
    into v_resource_list_member_id
    from pa_resource_list_members
    where resource_list_id = v_resource_list_id
    and alias = 'Financial Elements';
    v_finplan_trans_tab_in(f).pm_product_code := 'MSPROJECT';
    v_finplan_trans_tab_in(f).task_id := v_task_id;
    v_finplan_trans_tab_in(f).pm_task_reference := v_task_id;
    v_finplan_trans_tab_in(f).pm_res_asgmt_reference := NULL;
    v_finplan_trans_tab_in(f).resource_alias := v_alias_name;
    v_finplan_trans_tab_in(f).currency_code := 'USD';
    v_finplan_trans_tab_in(f).unit_of_measure_code := v_err_uom;
    v_finplan_trans_tab_in(f).start_date := to_date('20-NOV-2008',
    'DD-MON-YYYY'); --to_date(v_plan_details_rec.start_date,'MM/DD/YY');
    v_finplan_trans_tab_in(f).end_date := to_date('27-NOV-2008',
    'DD-MON-YYYY'); --to_date(v_plan_details_rec.end_date,'MM/DD/YY');
    v_finplan_trans_tab_in(f).quantity := v_err_qty; --v_plan_details_rec.quantity;
    v_finplan_trans_tab_in(f).raw_cost := v_err_cost; --v_plan_details_rec.total_amount;
    v_finplan_trans_tab_in(f).burdened_cost := v_err_cost; --v_plan_details_rec.total_amount;
    ---v_finplan_trans_tab_in(f).revenue:=NULL;
    v_finplan_trans_tab_in(f).resource_list_member_id := v_resource_list_member_id;
    v_finplan_trans_tab_in(f).attribute_category := NULL;
    v_finplan_trans_tab_in(f).attribute1 := NULL;
    v_finplan_trans_tab_in(f).attribute1 := NULL;
    v_finplan_trans_tab_in(f).attribute2 := NULL;
    v_finplan_trans_tab_in(f).attribute3 := NULL;
    v_finplan_trans_tab_in(f).attribute4 := NULL;
    v_finplan_trans_tab_in(f).attribute5 := NULL;
    v_finplan_trans_tab_in(f).attribute6 := NULL;
    v_finplan_trans_tab_in(f).attribute7 := NULL;
    v_finplan_trans_tab_in(f).attribute8 := NULL;
    v_finplan_trans_tab_in(f).attribute9 := NULL;
    v_finplan_trans_tab_in(f).attribute10 := NULL;
    v_finplan_trans_tab_in(f).attribute11 := NULL;
    v_finplan_trans_tab_in(f).attribute12 := NULL;
    v_finplan_trans_tab_in(f).attribute13 := NULL;
    v_finplan_trans_tab_in(f).attribute14 := NULL;
    v_finplan_trans_tab_in(f).attribute15 := NULL;
    v_finplan_trans_tab_in(f).attribute16 := NULL;
    v_finplan_trans_tab_in(f).attribute17 := NULL;
    v_finplan_trans_tab_in(f).attribute18 := NULL;
    v_finplan_trans_tab_in(f).attribute19 := NULL;
    v_finplan_trans_tab_in(f).attribute20 := NULL;
    v_finplan_trans_tab_in(f).attribute21 := NULL;
    v_finplan_trans_tab_in(f).attribute22 := NULL;
    v_finplan_trans_tab_in(f).attribute23 := NULL;
    v_finplan_trans_tab_in(f).attribute24 := NULL;
    v_finplan_trans_tab_in(f).attribute25 := NULL;
    v_finplan_trans_tab_in(f).attribute26 := NULL;
    v_finplan_trans_tab_in(f).attribute27 := NULL;
    v_finplan_trans_tab_in(f).attribute28 := NULL;
    v_finplan_trans_tab_in(f).attribute29 := NULL;
    v_finplan_trans_tab_in(f).attribute30 := NULL;
    end if;
    END LOOP;
    --fnd_file.put_line(fnd_file.log, 'task_id:'||v_finplan_trans_tab_in(1).task_id);
    pa_budget_pub.create_draft_finplan(p_api_version_number => 1.0 --v_api_version_number
    p_commit => v_commit,
    p_init_msg_list => v_init_msg_list,
    p_pm_product_code => v_pm_product_code,
    p_pm_finplan_reference => v_pm_finplan_reference,
    p_pm_project_reference => v_pm_project_reference,
    p_pa_project_id => v_pa_project_id,
    p_fin_plan_type_id => v_fin_plan_type_id,
    p_fin_plan_type_name => v_fin_plan_type_name,
    p_version_type => v_version_type,
    p_time_phased_code => v_time_phased_code,
    p_resource_list_name => v_resource_list_name,
    p_resource_list_id => v_resource_list_id,
    p_fin_plan_level_code => v_fin_plan_level_code,
    p_PLAN_IN_MULTI_CURR_FLAG => v_plan_in_multi_curr_flag,
    p_budget_version_name => v_budget_version_name,
    p_description => v_description,
    p_change_reason_code => v_change_reason_code,
    p_raw_cost_flag => v_raw_cost_flag,
    p_burdened_cost_flag => v_burdened_cost_flag,
    p_revenue_flag => v_revenue_flag,
    p_cost_qty_flag => v_cost_qty_flag,
    p_revenue_qty_flag => v_revenue_qty_flag,
    p_all_qty_flag => v_all_qty_flag,
    p_create_new_curr_working_flag => v_create_new_curr_working_flag,
    p_replace_current_working_flag => v_replace_current_working_flag,
    p_using_resource_lists_flag => v_using_resource_lists_flag,
    p_finplan_trans_tab => v_finplan_trans_tab_in,
    p_attribute_category => v_attribute_category,
    p_attribute1 => v_attribute1,
    p_attribute2 => v_attribute2,
    p_attribute3 => v_attribute3,
    p_attribute4 => v_attribute4,
    p_attribute5 => v_attribute5,
    p_attribute6 => v_attribute6,
    p_attribute7 => v_attribute7,
    p_attribute8 => v_attribute8,
    p_attribute9 => v_attribute9,
    p_attribute10 => v_attribute10,
    p_attribute11 => v_attribute11,
    p_attribute12 => v_attribute12,
    p_attribute13 => v_attribute13,
    p_attribute14 => v_attribute14,
    p_attribute15 => v_attribute15,
    x_finplan_version_id => v_finplan_version_id,
    x_return_status => v_return_status,
    x_msg_count => v_msg_count,
    x_msg_data => v_msg_data);
    fnd_file.put_line(fnd_file.log, 'Error Message:' || v_return_status);
    fnd_file.put_line(fnd_file.log, 'Message Count:' || v_msg_count);
    IF v_return_status = 'S' THEN
    commit;
    end if;
    IF v_return_status != 'S' THEN
    RAISE API_ERROR;
    END IF;
    EXCEPTION
    WHEN API_ERROR THEN
    FOR a IN 1 .. v_msg_count LOOP
    pa_interface_utils_pub.get_messages(p_msg_data => v_msg_data,
    p_data => v_data,
    p_msg_index => a,
    p_msg_count => v_msg_count,
    p_msg_index_out => v_msg_index_out);
    fnd_file.put_line(fnd_file.log,
    'API Error Message DATA:' || ' ' ||
    substr(v_data, 1, 500));
    fnd_file.put_line(fnd_file.log,
    'API Error Message MSG DATA:' || ' ' ||
    substr(v_msg_data, 1, 200));
    end loop;
    WHEN OTHERS THEN
    --fnd_msg_pub.initialize;
    FOR a IN 1 .. v_msg_count LOOP
    pa_interface_utils_pub.get_messages(p_encoded => 'F',
    p_msg_data => v_msg_data,
    p_data => v_data,
    p_msg_count => v_msg_count,
    p_msg_index_out => v_msg_index_out);
    fnd_file.put_line(fnd_file.log, 'v data:' || substr(v_data, 1, 200));
    fnd_file.put_line(fnd_file.log,
    'vout msg data:' || substr(v_msg_data, 1, 80));
    --o:=o+1;
    end loop;
    end;

  • BADI while changing the checklist item

    Hi,
    We have a requirement to update the 'Result' in the additional data tab of a checklist item based on the status of the checklist item.
    Which BADI can be used so that the result field can be updated while a user saves the project after making changes to the checklist status.
    I had a look at badi's like DPR_ATTRIBUTES, DPR_EVE_DASHBOARD.... I am not sure which one would serve this purpose.
    Regards,
    Simmi

    Hi Simmi,
    I think BAdI DPR_EVENTS is the one you are looking for. With this one you can react on status changes for a given object.
    Best regards,
    Thomas

  • Release all phases and tasks if project definition is released

    Hello,
    I have several phases and tasks in a project and when I release the project only the first phase is also released. I am not working with approvals.
    Is the a possible to release all phases when the project is released?
    Thank you and have a nice weekend,
      Vanessa

    Hi Vanessa,
    You can create an implementation of BADI dpr_events, with filter dpr_tv_badi_method = ON_DPO_RELEASED.
    ir_sender instance will be the project in that case, so you can easily retrieve the phases object and release them at this moment.
    Matthias

  • Errors TF30162 and TF250025 when creating a New Team Project in TFS2012 with Sharepoint Site on Visual Studio

    Im having the following errors when creating a New Team Project by Visual Studio on TFS2012 with a Sharepoint Site... 
    This problem not occurs when i don't select to create a sharepoint site...
    My Sharepoint is 2010 with SP2...
    Here is the errors log:
    2013-12-05T10:06:10 | Module: Internal | Team Foundation Server proxy retrieved | Completion time: 0 seconds
    2013-12-05T10:06:10 | Module: Wizard | Retrieved IAuthorizationService proxy | Completion time: 0 seconds
    2013-12-05T10:06:10 | Module: Wizard | Project creation permissions retrieved | Completion time: 0.016 seconds
    2013-12-05T10:06:10 | Module: Internal | The template information for Team Foundation Server "srv-tfs2012\TJMTCollection" was retrieved from the Team Foundation Server. | Completion time: 0.047 seconds
    2013-12-05T10:06:15 | Module: Engine | Thread: 50 | New project will be created with the "Microsoft Visual Studio Scrum 2.2" methodology
    2013-12-05T10:06:15 | Module: Engine | Retrieved IAuthorizationService proxy | Completion time: 0 seconds
    2013-12-05T10:06:15 | Module: Engine | Project creation permissions retrieved | Completion time: 0.007 seconds
    2013-12-05T10:06:15 | Module: Internal | Team Foundation Server proxy retrieved | Completion time: 0 seconds
    2013-12-05T10:06:15 | Module: Internal | The template information for Team Foundation Server "srv-tfs2012\TJMTCollection" was retrieved from the Team Foundation Server. | Completion time: 0.005 seconds
    2013-12-05T10:06:15 | Module: Exporter | Wrote compressed process template file | Completion time: 0 seconds
    2013-12-05T10:06:16 | Module: Exporter | Extracted process template file | Completion time: 0.448 seconds
    2013-12-05T10:06:16 | Module: Engine | Thread: 50 | Starting Project Creation for project "Teste" in domain "srv-tfs2012\TJMTCollection"
    2013-12-05T10:06:16 | Module: Engine | The user identity information was retrieved from the Group Security Service | Completion time: 0 seconds
    2013-12-05T10:06:16 | Module: Initializer | Thread: 50 | The New Team Project Wizard is starting to initialize the plug-ins.
    2013-12-05T10:06:16 | Module: Initializer | Thread: 50 | The New Team Project Wizard successfully Initialized the plug-in Ms.Internal.LinksCreator.
    2013-12-05T10:06:16 | Module: Initializer | Thread: 50 | The New Team Project Wizard successfully Initialized the plug-in Ms.Internal.Groups.
    2013-12-05T10:06:16 | Module: CssStructureUploader | Thread: 50 | Entering Initialize in CssStructureUploader
    2013-12-05T10:06:16 | Module: CssStructureUploader | Thread: 50 | Initialize for CssStructureUploader complete
    2013-12-05T10:06:16 | Module: Initializer | Thread: 50 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Classification.
    2013-12-05T10:06:16 | Module: Rosetta | Thread: 50 | Entering Initialize in RosettaReportUploader
    2013-12-05T10:06:16 | Module: Rosetta | Thread: 50 | Exiting Initialize for RosettaReportUploader
    2013-12-05T10:06:16 | Module: Initializer | Thread: 50 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Reporting.
    2013-12-05T10:06:16 | Module: WSS | Thread: 50 | Entering Initialize in WssSiteCreator
    2013-12-05T10:06:16 | Module: WSS | Thread: 50 | Site information: Title = "Teste"  Description = ""
    2013-12-05T10:06:16 | Module: WSS | Thread: 50 | Base site url: http://srv-tfs2012/sites/TJMTCollection/Teste
    2013-12-05T10:06:16 | Module: WSS | Thread: 50 | Admin site url: http://srv-tfs2012:17012/
    2013-12-05T10:06:16 | Module: WSS | Thread: 50 | Exiting Initialize for WssSiteCreator
    2013-12-05T10:06:16 | Module: Initializer | Thread: 50 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Portal.
    2013-12-05T10:06:16 | Module: Groups and Permissions | Thread: 50 | Entering Initialize in GssStructureCreator
    2013-12-05T10:06:16 | Module: Groups and Permissions | Thread: 50 | Exiting Initialize for GssStructureCreator
    2013-12-05T10:06:16 | Module: Initializer | Thread: 50 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Groups.
    2013-12-05T10:06:16 | Module: Work Item Tracking | Thread: 50 | About to begin the creation of project Teste on server srv-tfs2012\TJMTCollection
    2013-12-05T10:06:16 | Module: Initializer | Thread: 50 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.WorkItemTracking.
    2013-12-05T10:06:16 | Module: Initializer | Thread: 50 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.VersionControl.
    2013-12-05T10:06:16 | Module: Test Management | Thread: 50 | Initialization of Test Management Plugin for Project Creation Wizard succeeded. 
    2013-12-05T10:06:16 | Module: Initializer | Thread: 50 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.TestManagement.
    2013-12-05T10:06:16 | Module: Initializer | Thread: 50 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Build.
    2013-12-05T10:06:16 | Module: Initializer | Thread: 50 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Lab.
    2013-12-05T10:06:16 | Module: Initializer | Thread: 50 | The New Team Project Wizard successfully initialized the plug-ins.
    2013-12-05T10:06:16 | Module: Engine | Thread: 50 | Process template XML loaded
    2013-12-05T10:06:16 | Module: Engine | Thread: 50 | Starting Project Creation Engine execution
    2013-12-05T10:06:16 | Module: Engine | Thread: 53 | Running Task "UploadStructure" from Group "Classification"
    2013-12-05T10:06:16 | Module: CssStructureUploader | Thread: 53 | Getting CSS proxy
    2013-12-05T10:06:16 | Module: CssStructureUploader | Thread: 53 | CSS proxy retrieved
    2013-12-05T10:06:16 | Module: CssStructureUploader | Thread: 53 | The uploading of the Classification Service has started
    2013-12-05T10:06:16 | Module: CssStructureUploader | Thread: 53 | Uploading CSS structure: "<Nodes><Node StructureType="ProjectLifecycle" Name="Iteration" xmlns=""><Children><Node StructureType="ProjectLifecycle"
    Name="Release 1"><Children><Node StructureType="ProjectLifecycle" Name="Sprint 1" /><Node StructureType="ProjectLifecycle" Name="Sprint 2" /><Node StructureType="ProjectLifecycle"
    Name="Sprint 3" /><Node StructureType="ProjectLifecycle" Name="Sprint 4" /><Node StructureType="ProjectLifecycle" Name="Sprint 5" /><Node StructureType="ProjectLifecycle" Name="Sprint
    6" /></Children></Node><Node StructureType="ProjectLifecycle" Name="Release 2" /><Node StructureType="ProjectLifecycle" Name="Release 3" /><Node StructureType="ProjectLifecycle"
    Name="Release 4" /></Children></Node><Node StructureType="ProjectModelHierarchy" Name="Area" xmlns="" /></Nodes>"
    2013-12-05T10:06:16 | Module: CssStructureUploader | Thread: 53 | Creating Project : Teste
    2013-12-05T10:06:17 | Module: CssStructureUploader | Thread: 53 | Created Project Administrators group S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-0-0-0-0-1 successfully.
    2013-12-05T10:06:17 | Module: CssStructureUploader | Thread: 53 | CSS structure upload finished
    2013-12-05T10:06:17 | Module: CssStructureUploader | Thread: 53 | Updating project properties for :vstfs:///Classification/TeamProject/169e471b-5e7c-4168-9c13-ddd37d64b1dc
    2013-12-05T10:06:17 | Module: CssStructureUploader | Thread: 53 | Updating catalog settings for :vstfs:///Classification/TeamProject/169e471b-5e7c-4168-9c13-ddd37d64b1dc
    2013-12-05T10:06:17 | Module: CssStructureUploader | Thread: 53 | Received 'Teste' team project entity object for :vstfs:///Classification/TeamProject/169e471b-5e7c-4168-9c13-ddd37d64b1dc
    2013-12-05T10:06:17 | Module: CssStructureUploader | Thread: 53 | Updated team project description: ""
    2013-12-05T10:06:17 | Module: Engine | Task "UploadStructure" from Group "Classification" completed with success | Completion time: 0.676 seconds
    2013-12-05T10:06:17 | Module: Engine | Thread: 56 | Running Task "" from Group ""
    2013-12-05T10:06:17 | Module: Engine | Thread: 49 | Running Task "GroupCreation1" from Group "Groups"
    2013-12-05T10:06:17 | Module: Groups and Permissions | Thread: 49 | Entering Execute in GssStructureCreator
    2013-12-05T10:06:17 | Module: Groups and Permissions | Thread: 49 | Getting list of structures for: vstfs:///Classification/TeamProject/169e471b-5e7c-4168-9c13-ddd37d64b1dc
    2013-12-05T10:06:17 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "GENERIC_READ" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-2757176466-3218051407-2887278433-795240796" deny: "True"
    2013-12-05T10:06:17 | Module: Groups and Permissions | Thread: 49 | Replacing macros: @creator.
    2013-12-05T10:06:17 | Module: Groups and Permissions | Thread: 49 | Macros replaced: [Teste]\@creator.
    2013-12-05T10:06:17 | Module: Groups and Permissions | Thread: 49 | Adding the following identity to a group: [Teste]\@creator.  Group name: Teste Team.
    2013-12-05T10:06:17 | Module: Groups and Permissions | Thread: 49 | Creating application group for "Readers" URI "vstfs:///Classification/TeamProject/169e471b-5e7c-4168-9c13-ddd37d64b1dc"
    2013-12-05T10:06:17 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "GENERIC_READ" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-903229747-404692801-3102686175-2727812972" deny: "True"
    2013-12-05T10:06:17 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "VIEW_TEST_RESULTS" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-903229747-404692801-3102686175-2727812972" deny:
    "True"
    2013-12-05T10:06:17 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "GENERIC_READ" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-903229747-404692801-3102686175-2727812972" deny: "True"
    2013-12-05T10:06:17 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "WORK_ITEM_READ" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-903229747-404692801-3102686175-2727812972" deny: "True"
    2013-12-05T10:06:17 | Module: Groups and Permissions | Thread: 49 | Creating application group for "Contributors" URI "vstfs:///Classification/TeamProject/169e471b-5e7c-4168-9c13-ddd37d64b1dc"
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "GENERIC_READ" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-4264286424-1586018371-2454857484-902542325" deny: "True"
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "DELETE_TEST_RESULTS" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-4264286424-1586018371-2454857484-902542325" deny:
    "True"
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "PUBLISH_TEST_RESULTS" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-4264286424-1586018371-2454857484-902542325" deny:
    "True"
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "VIEW_TEST_RESULTS" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-4264286424-1586018371-2454857484-902542325" deny:
    "True"
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "GENERIC_READ" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-4264286424-1586018371-2454857484-902542325" deny: "True"
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "WORK_ITEM_READ" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-4264286424-1586018371-2454857484-902542325" deny: "True"
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "WORK_ITEM_WRITE" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-4264286424-1586018371-2454857484-902542325" deny:
    "True"
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "MANAGE_TEST_PLANS" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-4264286424-1586018371-2454857484-902542325" deny:
    "True"
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "MANAGE_TEST_ENVIRONMENTS" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-4264286424-1586018371-2454857484-902542325"
    deny: "True"
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "MANAGE_TEST_CONFIGURATIONS" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-4264286424-1586018371-2454857484-902542325"
    deny: "True"
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Replacing macros: @defaultTeam.
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Macros replaced: [Teste]\@defaultTeam.
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Adding the following identity to a group: [Teste]\@defaultTeam.  Group name: Contributors.
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Creating application group for "Build Administrators" URI "vstfs:///Classification/TeamProject/169e471b-5e7c-4168-9c13-ddd37d64b1dc"
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "GENERIC_READ" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-1182136727-3720210756-2911721059-2444575003" deny: "True"
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "DELETE_TEST_RESULTS" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-1182136727-3720210756-2911721059-2444575003" deny:
    "True"
    2013-12-05T10:06:18 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "PUBLISH_TEST_RESULTS" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-1182136727-3720210756-2911721059-2444575003"
    deny: "True"
    2013-12-05T10:06:19 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "VIEW_TEST_RESULTS" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-1182136727-3720210756-2911721059-2444575003" deny:
    "True"
    2013-12-05T10:06:19 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "GENERIC_READ" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-1182136727-3720210756-2911721059-2444575003" deny: "True"
    2013-12-05T10:06:19 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "WORK_ITEM_READ" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-1182136727-3720210756-2911721059-2444575003" deny:
    "True"
    2013-12-05T10:06:19 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "WORK_ITEM_WRITE" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-1182136727-3720210756-2911721059-2444575003" deny:
    "True"
    2013-12-05T10:06:19 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "MANAGE_TEST_PLANS" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-1182136727-3720210756-2911721059-2444575003" deny:
    "True"
    2013-12-05T10:06:19 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "MANAGE_TEST_ENVIRONMENTS" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-1182136727-3720210756-2911721059-2444575003"
    deny: "True"
    2013-12-05T10:06:19 | Module: Groups and Permissions | Thread: 49 | Adding access entry - actionName "MANAGE_TEST_CONFIGURATIONS" sid: "S-1-9-1551374245-1609553727-2111082564-2151496797-660325100-1-1182136727-3720210756-2911721059-2444575003"
    deny: "True"
    2013-12-05T10:06:19 | Module: Groups and Permissions | Thread: 49 | Exiting Execute for GssStructureCreator
    2013-12-05T10:06:19 | Module: Engine | Task "GroupCreation1" from Group "Groups" completed with success | Completion time: 1.822 seconds
    2013-12-05T10:06:19 | Module: Engine | Thread: 53 | Running Task "" from Group ""
    2013-12-05T10:06:19 | Module: Engine | Thread: 56 | Running Task "LinkTypes" from Group "WorkItemTracking"
    2013-12-05T10:06:19 | Module: Work Item Tracking | Thread: 56 | Synchronizing users and groups.
    2013-12-05T10:06:20 | Module: Work Item Tracking | Thread: 56 | Synchronizing CSS structures.
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 56 | LinkType definition file found: C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\LinkTypes\SharedStep.xml
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 56 | LinkType definition file found: C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\LinkTypes\TestedBy.xml
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 56 | Uploading link types from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\LinkTypes\SharedStep.xml'...
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 56 | Uploaded LinkType definitions from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\LinkTypes\SharedStep.xml
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 56 | Uploading link types from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\LinkTypes\TestedBy.xml'...
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 56 | Uploaded LinkType definitions from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\LinkTypes\TestedBy.xml
    2013-12-05T10:06:21 | Module: Engine | Task "LinkTypes" from Group "WorkItemTracking" completed with success | Completion time: 1.717 seconds
    2013-12-05T10:06:21 | Module: Engine | Thread: 53 | Running Task "WITs" from Group "WorkItemTracking"
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | WorkItemType definition file found: C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\Task.xml
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | WorkItemType definition file found: C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\Bug.xml
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | WorkItemType definition file found: C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\CodeReviewRequest.xml
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | WorkItemType definition file found: C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\CodeReviewResponse.xml
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | WorkItemType definition file found: C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\FeedbackRequest.xml
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | WorkItemType definition file found: C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\FeedbackResponse.xml
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | WorkItemType definition file found: C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\Impediment.xml
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | WorkItemType definition file found: C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\ProductBacklogItem.xml
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | WorkItemType definition file found: C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\SharedStep.xml
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | WorkItemType definition file found: C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\TestCase.xml
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | Uploading work item type from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\Task.xml'...
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | Uploaded WorkItemType definition from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\Task.xml.
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | Uploading work item type from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\Bug.xml'...
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | Uploaded WorkItemType definition from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\Bug.xml.
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | Uploading work item type from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\CodeReviewRequest.xml'...
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | Uploaded WorkItemType definition from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\CodeReviewRequest.xml.
    2013-12-05T10:06:21 | Module: Work Item Tracking | Thread: 53 | Uploading work item type from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\CodeReviewResponse.xml'...
    2013-12-05T10:06:22 | Module: Work Item Tracking | Thread: 53 | Uploaded WorkItemType definition from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\CodeReviewResponse.xml.
    2013-12-05T10:06:22 | Module: Work Item Tracking | Thread: 53 | Uploading work item type from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\FeedbackRequest.xml'...
    2013-12-05T10:06:22 | Module: Work Item Tracking | Thread: 53 | Uploaded WorkItemType definition from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\FeedbackRequest.xml.
    2013-12-05T10:06:22 | Module: Work Item Tracking | Thread: 53 | Uploading work item type from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\FeedbackResponse.xml'...
    2013-12-05T10:06:22 | Module: Work Item Tracking | Thread: 53 | Uploaded WorkItemType definition from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\FeedbackResponse.xml.
    2013-12-05T10:06:22 | Module: Work Item Tracking | Thread: 53 | Uploading work item type from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\Impediment.xml'...
    2013-12-05T10:06:22 | Module: Work Item Tracking | Thread: 53 | Uploaded WorkItemType definition from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\Impediment.xml.
    2013-12-05T10:06:22 | Module: Work Item Tracking | Thread: 53 | Uploading work item type from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\ProductBacklogItem.xml'...
    2013-12-05T10:06:23 | Module: Work Item Tracking | Thread: 53 | Uploaded WorkItemType definition from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\ProductBacklogItem.xml.
    2013-12-05T10:06:23 | Module: Work Item Tracking | Thread: 53 | Uploading work item type from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\SharedStep.xml'...
    2013-12-05T10:06:23 | Module: Work Item Tracking | Thread: 53 | Uploaded WorkItemType definition from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\SharedStep.xml.
    2013-12-05T10:06:23 | Module: Work Item Tracking | Thread: 53 | Uploading work item type from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\TestCase.xml'...
    2013-12-05T10:06:23 | Module: Work Item Tracking | Thread: 53 | Uploaded WorkItemType definition from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\TypeDefinitions\TestCase.xml.
    2013-12-05T10:06:23 | Module: Engine | Task "WITs" from Group "WorkItemTracking" completed with success | Completion time: 2.825 seconds
    2013-12-05T10:06:23 | Module: Engine | Thread: 34 | Running Task "Categories" from Group "WorkItemTracking"
    2013-12-05T10:06:23 | Module: Engine | Thread: 56 | Running Task "Queries" from Group "WorkItemTracking"
    2013-12-05T10:06:23 | Module: Work Item Tracking | Thread: 34 | Uploading categories from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Categories.xml'...
    2013-12-05T10:06:23 | Module: Work Item Tracking | Thread: 56 | Group [SERVER]\Project Collection Administrators was granted the following permissions: Read, Contribute, Delete, ManagePermissions, FullControl
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | Group [vstfs:///Classification/TeamProject/169e471b-5e7c-4168-9c13-ddd37d64b1dc]\Project Administrators was granted the following permissions: Read, Contribute, Delete, ManagePermissions, FullControl
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | Group [vstfs:///Classification/TeamProject/169e471b-5e7c-4168-9c13-ddd37d64b1dc]\Readers was granted the following permissions: Read
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | Group [vstfs:///Classification/TeamProject/169e471b-5e7c-4168-9c13-ddd37d64b1dc]\Contributors was granted the following permissions: Read
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | Group [vstfs:///Classification/TeamProject/169e471b-5e7c-4168-9c13-ddd37d64b1dc]\Build Administrators was granted the following permissions: Read
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query was found in C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\ProductBacklog.wiq: Product Backlog
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query has been imported from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\ProductBacklog.wiq: Product Backlog
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query was found in C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\Feedback.wiq: Feedback
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query has been imported from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\Feedback.wiq: Feedback
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query folder was found: Current Sprint
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query folder has been created: Current Sprint
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query was found in C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\OpenImpediments.wiq: Current Sprint/Open Impediments
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query has been imported from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\OpenImpediments.wiq: Current Sprint/Open Impediments
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query was found in C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\BlockedTasks.wiq: Current Sprint/Blocked Tasks
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query has been imported from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\BlockedTasks.wiq: Current Sprint/Blocked Tasks
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query was found in C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\WorkInProgress.wiq: Current Sprint/Work in Progress
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query has been imported from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\WorkInProgress.wiq: Current Sprint/Work in Progress
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query was found in C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\UnfinishedWork.wiq: Current Sprint/Unfinished Work
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query has been imported from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\UnfinishedWork.wiq: Current Sprint/Unfinished Work
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query was found in C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\SprintBacklog.wiq: Current Sprint/Sprint Backlog
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query has been imported from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\SprintBacklog.wiq: Current Sprint/Sprint Backlog
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query was found in C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\TestCases.wiq: Current Sprint/Test Cases
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 56 | The following query has been imported from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Queries\TestCases.wiq: Current Sprint/Test Cases
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 34 | Uploaded work item types categories from C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\WorkItem Tracking\Categories.xml.
    2013-12-05T10:06:24 | Module: Engine | Task "Categories" from Group "WorkItemTracking" completed with success | Completion time: 0.182 seconds
    2013-12-05T10:06:24 | Module: Engine | Thread: 53 | Running Task "ProcessConfiguration" from Group "WorkItemTracking"
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 53 | Processing element CommonConfiguration.
    2013-12-05T10:06:24 | Module: Engine | Task "Queries" from Group "WorkItemTracking" completed with success | Completion time: 0.431 seconds
    2013-12-05T10:06:24 | Module: Work Item Tracking | Thread: 53 | Processing element AgileConfiguration.
    2013-12-05T10:06:24 | Module: Engine | Task "ProcessConfiguration" from Group "WorkItemTracking" completed with success | Completion time: 0.589 seconds
    2013-12-05T10:06:24 | Module: Engine | Thread: 49 | Running Task "" from Group ""
    2013-12-05T10:06:24 | Module: Engine | Thread: 34 | Running Task "TestVariable" from Group "TestManagement"
    2013-12-05T10:06:24 | Module: Engine | Thread: 44 | Running Task "TestResolutionState" from Group "TestManagement"
    2013-12-05T10:06:24 | Module: Engine | Thread: 39 | Running Task "TestSettings" from Group "TestManagement"
    2013-12-05T10:06:24 | Module: Engine | Thread: 37 | Running Task "VersionControlTask" from Group "VersionControl"
    2013-12-05T10:06:24 | Module: SccTask | Thread: 37 | <permission allow="Read, PendChange, Checkin, Label, Lock, ReviseOther, UnlockOther, UndoOther, LabelOther, AdminProjectRights, CheckinOther, Merge, ManageBranch" identity="[$$PROJECTNAME$$]\$$PROJECTADMINGROUP$$"
    />
    2013-12-05T10:06:24 | Module: SccTask | Thread: 37 | Allowing permission(s) Read, PendChange, Checkin, Label, Lock, ReviseOther, UnlockOther, UndoOther, LabelOther, AdminProjectRights, CheckinOther, Merge, ManageBranch to group [vstfs:///Classification/TeamProject/169e471b-5e7c-4168-9c13-ddd37d64b1dc]\Project
    Administrators
    2013-12-05T10:06:24 | Module: SccTask | Thread: 37 | <permission allow="Read, PendChange, Checkin, Label, Lock, Merge" identity="[$$PROJECTNAME$$]\Contributors" />
    2013-12-05T10:06:24 | Module: SccTask | Thread: 37 | Allowing permission(s) Read, PendChange, Checkin, Label, Lock, Merge to group [vstfs:///Classification/TeamProject/169e471b-5e7c-4168-9c13-ddd37d64b1dc]\Contributors
    2013-12-05T10:06:24 | Module: SccTask | Thread: 37 | <permission allow="Read, PendChange, Checkin, Label, Lock, Merge" identity="[$$PROJECTNAME$$]\Build Administrators" />
    2013-12-05T10:06:24 | Module: SccTask | Thread: 37 | Allowing permission(s) Read, PendChange, Checkin, Label, Lock, Merge to group [vstfs:///Classification/TeamProject/169e471b-5e7c-4168-9c13-ddd37d64b1dc]\Build Administrators
    2013-12-05T10:06:24 | Module: SccTask | Thread: 37 | <permission allow="Read" identity="[$$PROJECTNAME$$]\Readers" />
    2013-12-05T10:06:24 | Module: SccTask | Thread: 37 | Allowing permission(s) Read to group [vstfs:///Classification/TeamProject/169e471b-5e7c-4168-9c13-ddd37d64b1dc]\Readers
    2013-12-05T10:06:24 | Module: SccTask | Thread: 37 | Changing project setting ExclusiveCheckout to "False"
    2013-12-05T10:06:24 | Module: SccTask | Thread: 37 | Changing project setting GetLatestOnCheckout to "False"
    2013-12-05T10:06:24 | Module: SccTask | Thread: 37 | User chose to create new empty folder $/Teste
    2013-12-05T10:06:24 | Module: SccTask | Thread: 37 | No xml nodes of type "checkin_note" were found in the task xml
    2013-12-05T10:06:24 | Module: Test Management | Thread: 34 | Proper team project 'Teste' permissions are added to group 'S-1-9-1551374245-1204400969-2402986413-2179408616-0-0-0-4-1'.
    2013-12-05T10:06:24 | Module: Test Management | Thread: 34 | Uploading TestVariable from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\Test Management\TestVariable.xml'...
    2013-12-05T10:06:24 | Module: Test Management | Thread: 39 | Uploading TestSettings from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\Test Management\TestSettings.xml'...
    2013-12-05T10:06:24 | Module: Test Management | Thread: 44 | Uploading TestResolutionState from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\Test Management\TestResolutionState.xml'...
    2013-12-05T10:06:24 | Module: Test Management | Thread: 39 | Uploaded TestSettings from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\Test Management\TestSettings.xml'.
    2013-12-05T10:06:24 | Module: Engine | Task "TestSettings" from Group "TestManagement" completed with success | Completion time: 0.161 seconds
    2013-12-05T10:06:24 | Module: Test Management | Thread: 34 | Uploaded TestVariable from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\Test Management\TestVariable.xml'.
    2013-12-05T10:06:24 | Module: Engine | Task "TestVariable" from Group "TestManagement" completed with success | Completion time: 0.174 seconds
    2013-12-05T10:06:24 | Module: Engine | Thread: 49 | Running Task "TestConfiguration" from Group "TestManagement"
    2013-12-05T10:06:24 | Module: Test Management | Thread: 49 | Uploading TestConfiguration from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\Test Management\TestConfiguration.xml'...
    2013-12-05T10:06:24 | Module: Test Management | Thread: 44 | Uploaded TestResolutionState from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\Test Management\TestResolutionState.xml'.
    2013-12-05T10:06:24 | Module: Engine | Task "TestResolutionState" from Group "TestManagement" completed with success | Completion time: 0.183 seconds
    2013-12-05T10:06:24 | Module: Test Management | Thread: 49 | Uploaded TestConfiguration from file 'C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp\Test Management\TestConfiguration.xml'.
    2013-12-05T10:06:24 | Module: Engine | Task "TestConfiguration" from Group "TestManagement" completed with success | Completion time: 0.012 seconds
    2013-12-05T10:06:24 | Module: Engine | Thread: 56 | Running Task "" from Group ""
    2013-12-05T10:06:24 | Module: Engine | Task "VersionControlTask" from Group "VersionControl" completed with success | Completion time: 0.189 seconds
    2013-12-05T10:06:24 | Module: Engine | Thread: 39 | Running Task "" from Group ""
    2013-12-05T10:06:24 | Module: Engine | Thread: 53 | Running Task "BuildTask" from Group "Build"
    2013-12-05T10:06:24 | Module: Engine | Thread: 34 | Running Task "Site" from Group "Reporting"
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | <ProcessTemplate Type="Default" Filename="Build\Templates\DefaultTemplate.11.1.xaml" Description="This is the default build process template for this
    Team Project." ServerPath="$/$$PROJECTNAME$$/BuildProcessTemplates" />
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | <ProcessTemplate Type="Upgrade" Filename="Build\Templates\UpgradeTemplate.xaml" Description="This is the upgrade build process template for this Team
    Project." ServerPath="$/$$PROJECTNAME$$/BuildProcessTemplates" />
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | <ProcessTemplate Type="Custom" Filename="Build\Templates\AzureContinuousDeployment.11.xaml" Description="This is the build process template for continuous
    delivery in this Team Project." ServerPath="$/$$PROJECTNAME$$/BuildProcessTemplates" />
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | <Permission allow="ViewBuilds, ViewBuildDefinition" identity="[$$PROJECTNAME$$]\Readers" />
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | Allowing permission(s) ViewBuilds, ViewBuildDefinition to account [Teste]\Readers.
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | <Permission allow="EditBuildQuality, ViewBuilds, QueueBuilds, ViewBuildDefinition" identity="[$$PROJECTNAME$$]\Contributors" />
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | Allowing permission(s) EditBuildQuality, ViewBuilds, QueueBuilds, ViewBuildDefinition to account [Teste]\Contributors.
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | <Permission allow="DeleteBuilds, DestroyBuilds, EditBuildQuality, ManageBuildQualities, RetainIndefinitely, ViewBuilds, ManageBuildQueue, QueueBuilds, StopBuilds, DeleteBuildDefinition,
    EditBuildDefinition, ViewBuildDefinition, AdministerBuildPermissions" identity="[$$PROJECTNAME$$]\Build Administrators" />
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | Allowing permission(s) DeleteBuilds, DestroyBuilds, EditBuildQuality, ManageBuildQualities, RetainIndefinitely, ViewBuilds, ManageBuildQueue, QueueBuilds, StopBuilds, DeleteBuildDefinition,
    EditBuildDefinition, ViewBuildDefinition, AdministerBuildPermissions to account [Teste]\Build Administrators.
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | <Permission allow="DeleteBuilds, DestroyBuilds, EditBuildQuality, ManageBuildQualities, RetainIndefinitely, ViewBuilds, ManageBuildQueue, QueueBuilds, StopBuilds, DeleteBuildDefinition,
    EditBuildDefinition, ViewBuildDefinition, AdministerBuildPermissions" identity="[$$PROJECTNAME$$]\$$PROJECTADMINGROUP$$" />
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | Allowing permission(s) DeleteBuilds, DestroyBuilds, EditBuildQuality, ManageBuildQualities, RetainIndefinitely, ViewBuilds, ManageBuildQueue, QueueBuilds, StopBuilds, DeleteBuildDefinition,
    EditBuildDefinition, ViewBuildDefinition, AdministerBuildPermissions to account [Teste]\Project Administrators.
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | <Permission allow="EditBuildQuality, ManageBuildQueue, OverrideBuildCheckInValidation, QueueBuilds, UpdateBuildInformation, ViewBuildDefinition, ViewBuilds" identity="$$PROJECTCOLLECTIONBUILDSERVICESGROUP$$"
    />
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | Allowing permission(s) EditBuildQuality, ManageBuildQueue, OverrideBuildCheckInValidation, QueueBuilds, UpdateBuildInformation, ViewBuildDefinition, ViewBuilds to account Project
    Collection Build Service Accounts.
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | <Permission allow="ViewBuildDefinition, EditBuildDefinition, DeleteBuildDefinition, QueueBuilds, ManageBuildQueue, StopBuilds, ViewBuilds, EditBuildQuality, RetainIndefinitely,
    DeleteBuilds, ManageBuildQualities, DestroyBuilds, AdministerBuildPermissions" identity="$$PROJECTCOLLECTIONBUILDADMINSGROUP$$" />
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | Allowing permission(s) ViewBuildDefinition, EditBuildDefinition, DeleteBuildDefinition, QueueBuilds, ManageBuildQueue, StopBuilds, ViewBuilds, EditBuildQuality, RetainIndefinitely,
    DeleteBuilds, ManageBuildQualities, DestroyBuilds, AdministerBuildPermissions to account Project Collection Build Administrators.
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | <Permission allow="DeleteBuilds, DestroyBuilds, EditBuildQuality, ManageBuildQualities, RetainIndefinitely, ViewBuilds, ManageBuildQueue, QueueBuilds, StopBuilds, DeleteBuildDefinition,
    EditBuildDefinition, ViewBuildDefinition, AdministerBuildPermissions, OverrideBuildCheckInValidation" identity="$$PROJECTCOLLECTIONADMINGROUP$$" />
    2013-12-05T10:06:24 | Module: Microsoft.ProjectCreationWizard.Build | Thread: 53 | Allowing permission(s) DeleteBuilds, DestroyBuilds, EditBuildQuality, ManageBuildQualities, RetainIndefinitely, ViewBuilds, ManageBuildQueue, QueueBuilds, StopBuilds, DeleteBuildDefinition,
    EditBuildDefinition, ViewBuildDefinition, AdministerBuildPermissions, OverrideBuildCheckInValidation to account Project Collection Administrators.
    2013-12-05T10:06:24 | Module: Rosetta | Thread: 34 | Creating site: /TfsReports/TJMTCollection/Teste
    2013-12-05T10:06:25 | Module: Engine | Task "Site" from Group "Reporting" completed with success | Completion time: 0.253 seconds
    2013-12-05T10:06:25 | Module: Engine | Thread: 25 | Running Task "Populate Reports" from Group "Reporting"
    2013-12-05T10:06:25 | Module: Rosetta | Thread: 25 | Creating folder: /TfsReports/TJMTCollection/Teste/Builds
    2013-12-05T10:06:25 | Module: Rosetta | Thread: 25 | Creating folder: /TfsReports/TJMTCollection/Teste/Tests
    2013-12-05T10:06:25 | Module: Rosetta | Thread: 25 | Creating report: /TfsReports/TJMTCollection/Teste/Backlog Overview
    2013-12-05T10:06:25 | Module: Engine | Task "BuildTask" from Group "Build" completed with success | Completion time: 0.591 seconds
    2013-12-05T10:06:25 | Module: Engine | Thread: 37 | Running Task "" from Group ""
    2013-12-05T10:06:25 | Module: Engine | Thread: 39 | Running Task "LabTask" from Group "Lab"
    2013-12-05T10:06:25 | Module: LabTask | Thread: 39 | <permission allow="Read, Create, Write, Edit, Delete, Start, Stop, Pause, ManageSnapshots, ManageLocation, DeleteLocation, ManagePermissions, ManageChildPermissions, ManageTestMachines" identity="$$PROJECTCOLLECTIONADMINGROUP$$"
    />
    2013-12-05T10:06:25 | Module: LabTask | Thread: 39 | <permission allow="Read, Create, Write, Edit, Delete, Start, Stop, Pause, ManageSnapshots, ManageLocation, DeleteLocation, ManageChildPermissions, ManageTestMachines" identity="[$$PROJECTNAME$$]\$$PROJECTADMINGROUP$$"
    />
    2013-12-05T10:06:25 | Module: LabTask | Thread: 39 | <permission allow="Read, Create, Write, Edit, Start, Stop, Pause, ManageSnapshots" identity="[$$PROJECTNAME$$]\Contributors" />
    2013-12-05T10:06:25 | Module: LabTask | Thread: 39 | <permission allow="Read" identity="[$$PROJECTNAME$$]\Readers" />
    2013-12-05T10:06:25 | Module: LabTask | Thread: 39 | <permission allow="Read, Write, Edit, Start, Stop, Pause, ManageSnapshots" identity="$$BUILDSERVICEGROUP$$" />
    2013-12-05T10:06:25 | Module: Rosetta | Thread: 25 | Setting data sources for report: /TfsReports/TJMTCollection/Teste/Backlog Overview
    2013-12-05T10:06:25 | Module: Rosetta | Thread: 25 | Creating report: /TfsReports/TJMTCollection/Teste/Builds/Build Summary
    2013-12-05T10:06:25 | Module: Microsoft.ProjectCreationWizard.Lab | Thread: 39 | <ProcessTemplate Type="Custom" Filename="Lab\Templates\LabDefaultTemplate.11.xaml" Description="This is the default Lab process template for this Team
    Project." ServerPath="$/$$PROJECTNAME$$/BuildProcessTemplates" />
    2013-12-05T10:06:25 | Module: Engine | Task "LabTask" from Group "Lab" completed with success | Completion time: 0.559 seconds
    2013-12-05T10:06:25 | Module: Engine | Thread: 49 | Running Task "" from Group ""
    2013-12-05T10:06:26 | Module: Rosetta | Thread: 25 | Setting data sources for report: /TfsReports/TJMTCollection/Teste/Builds/Build Summary
    2013-12-05T10:06:26 | Module: Rosetta | Thread: 25 | Creating report: /TfsReports/TJMTCollection/Teste/Builds/Build Success Over Time
    2013-12-05T10:06:26 | Module: Rosetta | Thread: 25 | Setting data sources for report: /TfsReports/TJMTCollection/Teste/Builds/Build Success Over Time
    2013-12-05T10:06:26 | Module: Rosetta | Thread: 25 | Creating report: /TfsReports/TJMTCollection/Teste/Sprint Burndown
    2013-12-05T10:06:26 | Module: Rosetta | Thread: 25 | Setting data sources for report: /TfsReports/TJMTCollection/Teste/Sprint Burndown
    2013-12-05T10:06:26 | Module: Rosetta | Thread: 25 | Creating report: /TfsReports/TJMTCollection/Teste/Release Burndown
    2013-12-05T10:06:27 | Module: Rosetta | Thread: 25 | Setting data sources for report: /TfsReports/TJMTCollection/Teste/Release Burndown
    2013-12-05T10:06:27 | Module: Rosetta | Thread: 25 | Creating report: /TfsReports/TJMTCollection/Teste/Tests/Test Case Readiness
    2013-12-05T10:06:27 | Module: Rosetta | Thread: 25 | Setting data sources for report: /TfsReports/TJMTCollection/Teste/Tests/Test Case Readiness
    2013-12-05T10:06:27 | Module: Rosetta | Thread: 25 | Creating report: /TfsReports/TJMTCollection/Teste/Tests/Test Plan Progress
    2013-12-05T10:06:27 | Module: Rosetta | Thread: 25 | Setting data sources for report: /TfsReports/TJMTCollection/Teste/Tests/Test Plan Progress
    2013-12-05T10:06:27 | Module: Rosetta | Thread: 25 | Creating report: /TfsReports/TJMTCollection/Teste/Velocity
    2013-12-05T10:06:28 | Module: Rosetta | Thread: 25 | Setting data sources for report: /TfsReports/TJMTCollection/Teste/Velocity
    2013-12-05T10:06:28 | Module: Engine | Task "Populate Reports" from Group "Reporting" completed with success | Completion time: 3.176 seconds
    2013-12-05T10:06:28 | Module: Engine | Thread: 44 | Running Task "" from Group ""
    2013-12-05T10:06:28 | Module: Engine | Thread: 49 | Running Task "SharePointPortal" from Group "Portal"
    2013-12-05T10:06:28 | Module: WSS | Thread: 49 | Language id: 1033
    2013-12-05T10:06:28 | Module: WSS | Thread: 49 | Creating site with the following parameters
    2013-12-05T10:06:28 | Module: WSS | Thread: 49 | Site Url: http://srv-tfs2012/sites/TJMTCollection/Teste
    2013-12-05T10:06:28 | Module: WSS | Thread: 49 | Site Title: Teste
    2013-12-05T10:06:28 | Module: WSS | Thread: 49 | Site Description: 
    2013-12-05T10:06:28 | Module: WSS | Thread: 49 | Locale: 1033
    2013-12-05T10:06:28 | Module: WSS | Thread: 49 | Template: Team Foundation Server Project Portal
    2013-12-05T10:06:28 | Module: WSS | Thread: 49 | Owner Login: PJMT\23571
    2013-12-05T10:06:28 | Module: WSS | Thread: 49 | Owner Name: João Vitor Paes de Barros do Carmo
    2013-12-05T10:06:28 | Module: WSS | Thread: 49 | Owner Email: 
    ---begin Exception entry---
    Time: 2013-12-05T10:06:28
    Module: WSS
    Exception Message: Server was unable to process request. ---> Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) (type SoapException)SoapException Details: <soap:Detail xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
    />
    Exception Stack Trace:    at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs)
       at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
       at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.CreateSite(String webApplicationUrl, String absolutePath, String title, String description, UInt32 localeId, String template, Boolean templateIsTitle, String
    ownerLogin, String ownerName, String ownerEmail, Guid applicationInstanceId, Guid projectCollectionId)
       at Microsoft.TeamFoundation.Client.SharePoint.WssUtilities.CreateSite(ICredentials credentials, Uri adminUrl, WssSiteData siteCreationData, Guid configurationServerId, Guid projectCollectionId)
       at Microsoft.TeamFoundation.Client.SharePoint.WssUtilities.CreateSite(WssSiteData siteCreationData, TfsConnection tfs, Uri adminUrl)
       at Microsoft.VisualStudio.TeamFoundation.PCW.WssSiteCreator.CreateSite(WssSiteData siteCreationData, TfsTeamProjectCollection tfs, Uri adminUrl)
       at Microsoft.VisualStudio.TeamFoundation.PCW.WssSiteCreator.HandleSiteCreation(WssCreationContextWrapper contextWrapper, XmlNode taskNode)
    --- end Exception entry ---
    ---begin Exception entry---
    Time: 2013-12-05T10:06:28
    Module: WSS
    Exception Message: TF250025: The following URL does not point to a valid SharePoint site: http://srv-tfs2012/sites/TJMTCollection/Teste. Verify that you have the correct URL and that it points to a SharePoint site. (type TeamFoundationServerException)
    Exception Stack Trace:    at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs)
       at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
       at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.GetWebIdentifier(String absolutePath)
       at Microsoft.TeamFoundation.Client.SharePoint.WssUtilities.GetWebIdentifier(ICredentials credentials, Uri url)
       at Microsoft.VisualStudio.TeamFoundation.PCW.WssSiteCreator.HandleSiteCreation(WssCreationContextWrapper contextWrapper, XmlNode taskNode)
    Inner Exception Details:
    Exception Message: TF250025: The following URL does not point to a valid SharePoint site: http://srv-tfs2012/sites/TJMTCollection/Teste. Verify that you have the correct URL and that it points to a SharePoint site. (type SoapException)SoapException Details:
    <detail exceptionType="TeamFoundationServerException" />
    Exception Stack Trace: 
    --- end Exception entry ---
    2013-12-05T10:06:28 | Module: WSS | Thread: 49 | TF30267: Exception: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
       at Microsoft.VisualStudio.TeamFoundation.PCW.WssSiteCreator.HandleSiteCreation(WssCreationContextWrapper contextWrapper, XmlNode taskNode)
       at Microsoft.VisualStudio.TeamFoundation.PCW.WssSiteCreator.Execute(ProjectCreationContext context, XmlNode taskXml)
    ---begin Exception entry---
    Time: 2013-12-05T10:06:28
    Module: Engine
    Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed
    Exception Type: Microsoft.TeamFoundation.Client.PcwException
    Exception Message: An error occurred in the New Team Project Wizard while attempting to create a site on the following SharePoint Web application: srv-tfs2012.
    Exception Details: The Project Creation Wizard encountered a problem while uploading documents to the following server running SharePoint Products: srv-tfs2012. The reason for the failure cannot be determined at this time. Because the operation failed, the
    wizard was not able to finish creating the team project.
    Stack Trace:
       at Microsoft.VisualStudio.TeamFoundation.PCW.WssSiteCreator.Execute(ProjectCreationContext context, XmlNode taskXml)
       at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
       at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.RunTask(Object taskObj)
    --   Inner Exception   --
    Exception Message: Server was unable to process request. ---> Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) (type SoapException)SoapException Details: <soap:Detail xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
    />
    Exception Stack Trace:    at Microsoft.VisualStudio.TeamFoundation.PCW.WssSiteCreator.HandleSiteCreation(WssCreationContextWrapper contextWrapper, XmlNode taskNode)
       at Microsoft.VisualStudio.TeamFoundation.PCW.WssSiteCreator.Execute(ProjectCreationContext context, XmlNode taskXml)
    --- end Exception entry ---
    2013-12-05T10:06:28 | Module: Engine | Thread: 49 | TF30202: Task "" from Group "" will not be run because a prior task failed.
    2013-12-05T10:06:28 | Module: Engine | Thread: 50 | Deleting from Build ...
    2013-12-05T10:06:28 | Module: Engine | Thread: 50 | Done
    2013-12-05T10:06:28 | Module: Engine | Thread: 50 | Deleting from Version Control ...
    2013-12-05T10:06:28 | Module: Engine | Thread: 50 | Done
    2013-12-05T10:06:28 | Module: Engine | Thread: 50 | Deleting from Work Item Tracking ...
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Done
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Deleting from TestManagement ...
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Done
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Deleting from Git ...
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Done
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Deleting from ProcessManagement ...
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Done
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Deleting from LabManagement ...
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Done
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Deleting from ProjectServer ...
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Done
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Deleting Report Server files ...
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Done
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Warning. Did not find SharePoint site service.
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Deleting from Team Foundation Core ...
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Done
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | The project Teste was deleted successfully.
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | Attempting to delete folder "C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp"
    2013-12-05T10:06:29 | Module: Engine | Thread: 50 | The folder C:\Users\23571\AppData\Local\Temp\TPW_tmpA31.tmp was removed.

    Hi,
    According to your post, my understanding is that you had Errors TF30162 and TF250025 when creating a New Team Project in TFS2012 with Sharepoint Site on Visual Studio.
    The Errors TF30162 seemed that the reports for TFS could not be uploaded due a permission problem. The fix was really easy.
    Go to your team foundation server 
    Open the administration console. 
    Click on Reporting
    Click on Edit
    Click on Reports Tab
    Enter the credential for the Reports
    Save
    Click on Start Jobs
    In addtion, the problem may be due to the caching done by Team Explorer in Visual Studio. Exiting the copy of VS on the client and reloading it will fix the problem as the updated team process settings will cached locally.
    To resolve the Errors TF250025, you will need to register a new internal URL for the SharePoint site using Alternate Access Mappings.
    Here are two great blogs for you to take a look at:
    http://blogbaris.blogspot.in/2012_08_01_archive.html
    http://petersullivan.com.au/2009/11/23/tf250025-and-tf262600-errors-on-team-foundation-server-tfs-2010-project-portal-dashboard/
    If still no help, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Visual Studio Team Foundation Server forums.
    Team Foundation Server – General:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=tfsgeneral
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Error when opening a AE project

    hey peepz
    i get the following error
    AfterEffect warning : Unable to import file c:\Users\Gebruikers\Destkop\Vices-Silverstein animatie.aep as project  ( bad format or not readable)
    this error popped up on the same day i made it
    so dont know what went wrong,
    i hope anyone can help me

    well unless they had a update today... i saved + opened it a couple times today ... it just stopped working when i got home..
    the project isnt really that big of a deal.. its just a random coloured back ground with a nice song.. and lyrics wich come flying from everywhere..
    and i tried open another project i made a month ago.. and that still works.. so its the file itself

Maybe you are looking for

  • Is it possible to print from Windows 8.1 to a printer connected to the USB port on an Airport Express?

    Is it possible to print from Windows 8.1 to a printer connected to the USB port on an Airport Express? a) HP printer with USB port only (no ethernet port) connected to Airport Express b) No issue printing from Macs Tests 1) Installed Bonjour 2 - does

  • How do I convert color to black & white or grayscale in InDesign CS3?

    I'm working with a number of publications which require some advertisements to be in grayscale or black and white. Short of changing all of my pictures to grayscale before I import, is there a way to manipulate the color within InDesign? And some of

  • Really messed up my wireless network

    I was trying to secure my wireless network and I made the SSID hidden so that it doesn't show up on the list of available wireless networks and now I cant figure out how to connect to it.  Any advice?

  • Material specific value contract

    Hi SAP Gurus, I have a problem while creating material specific value contract WK2. After creating the value contract for INR 50000 and doing the neccessary settings in item category WKN, i created a relaease order with value as INR 500. I can see th

  • Photos are automatically rated with one star upon import

    Hi. I've noticed recently that everytime I connect my camera and import my photos into LR that all of the photos are automatically rated with one star. Even when I go to select all, set rating to zero, nothing changes. What am I missing here and how