2 Replies Latest reply: Dec 19, 2012 1:41 AM by Pankaj RSS

    config.saveNew() is not saving new config hdr id inside CZ_CONFIG_HDRS

    Ashok singam
      Hi,

      I am trying to create a new configuration using CIO something as below.But I see that api is returning new configuration hdr id but i dont see that id in CZ_CONFIG_HDRS table.Here is sample code inside java concurrent program.


      // Create the Configuration object
      Configuration config = cio.startConfiguration(cp, context);
      config.completeBeforeSave();
      config.saveNew();
      ong headerID = config.getConfigHeaderIdLong();
      long revisionID = config.getConfigHeaderRevisionLong();
      cio.closeConfiguration(config);

      Am I missing anything.Why this code is not saving new config hdr id inside the table CZ_CONFIG_HDRS. Please suggest if anything is missing here.

      thanks,
      ashok