Where is the dID in Revisions table generated?

Hello everyone. When we check-in a document in UCM, it inserts a row in Revisions table (and also in docMeta and Documents tables) in the database. The primary key for revisions table is dID. Can anyone tell me where is this dID generated. Let's take an example:
I insert a row in revisions table, docMeta and Documents tables manually with dID = X (say). from the front-end i can find the file and everything works fine. However when i check-in a document now it throws an error because it is again trying to insert into the revisions table with dID = X. I tried to find if there is a sequence but apparently it is not using any sequence or at least i couldn't find one.
So how is this dID generated? I would highly appreciate some pointers.
Regards,
Sadik Bhimani

All incrementing identifiers are stores in the Counters database table. UCM read that table for the next ID, then increments the counter. I believe the counter for dID is the dRevClassId counter... although it should be obvious by inspection.
Note: this is not the best way to design an automatically incrementing counter... however the original Stellent product was designed to support databases that do not support automatically incrementing counters.

Similar Messages

  • Where are the video tutorials I saw generated from the PhotoShop CS.5 Installation Disc?

    Where are the video tutorials I saw generated from the PhotoShop CS.5 Installation Disc? How to work on a face, New to CS5, How to strip in a background? etc. Very helpful. Want to get started here.

    Thank you Curt Y. You're right. They're there. The tutorials are so smart. Don't know why they didn't download. With video tutorials "Live time" experts fumble themselves giving a perfect means for the user to absorb the "logic" of how the PhotoShop function thinks. There's no other way. Only a robot can, wants to, is motivated by boring line by line written description.  I rather eat gravel than try and follow "line by line."  line-by-line = ZZZZZZZZZZZZ.  Have a great holiday season, whereever you are, whatever you celebrate. Trexlorx.

  • Where is the output of analyze table name validate structure cascade

    Hi,
    database version:8.1.7.0.0
    os :solaris 5.9
    since i used to get ORA-00600: INTERNAL ERROR CODE, ARGUMENTS: [25012], [7], [39] and i need to validate the table and this table is very huge(200 gb) where will be the output generated if any error is there in table including indexes.
    sql>analyze table event_t validate structure cascade;
    Regards
    Prakash

    Hello Helios
    sorry ,
    I am using 10.2 and reviewing
    http://docs.oracle.com/cd/B14117_01/server.101/b10759/statements_4005.htm#sthref4205
    my quote is from this document. My question of an ideal case, when there is no block corruption
    regards ,
    Pavel
    Edited by: Pavel on Oct 17, 2012 3:55 AM

  • Where are the xml files for code generator of MSAHH5?

    I'm generating source files for MSAHH5 and in the source code I can find xml files for generating all entities and DAL for those entities but I can't find anywhere files for MSATableConstants.xsl and MSAPersistanceManager.xsl and if I leave them alone they don't generate any class. I tried all xml in the code-generator folder without luck. What files should I use?
    Thanks in advance.

    Hi,
        I will answer your question in 2 parts.
    1. Which files are used to generate what?????????
    For entities:            Entity.xslt+ Entity.xml
    For MSATablesContants:   MSATableConstants.xslt+       
                             Entity.xml
    For MSAPackageManager:   MSAPackageManager.xslt+
                             Entity.xml
    For DAL Generation:      DAL.xslt+DAL.xml
    2. Where these will be generated?????????
    It depends on the path of the project that you are giving. If in the code generator tool when u make a new project give the path as the path of your project in eclipse.
    Otherwise if you give path as ./ means the current folder from where you r running classgenerator.jar
    you have to manually create folders like
    C:\classgenerator\com\sap\crm\handheld\db\dataaccess for DAL classes and similarly for entities etc.
    Hope this is clear
    anubhav

  • Where is the Bill of Materials table?

    Which table is the Bill of Materials?  I found this page that lists the SAP B1 tables:
    http://wiki.sdn.sap.com/wiki/display/B1/SAPBusinessOne+Tables
    But Bill of Materials isn't mentioned.  Which table is it?
    Thanks!

    Hi,
    The BOM tables are
    ProductTrees_Lines Product tree - child ITT1
    ProductTrees Product tree OITT
    Regards,
    Rakesh N

  • Where is the SOAP Method in XI generated WSDL?

    Hi Experts,
    I have generated a WSDL from XI for the outbound interface. The web application developer is using this WSDL to send a SOAP request from the web application, but he is not finding a SOAPMethod in the WSDL. Could someone please tell how the XI generated WSDL is to be used from a web application?
    Thanks,
    Shobhit

    Thanks Prateek, but could you send me some document / link on how to send a SOAP request to an XI generated webservice. Is it in any ways different to a regular webservice deployed on a http server.
    We are trying to send a SOAP request using a .Net based application. Any clues / leads on how to send the request using the XI generated WSDL.
    Appreciate your help.
    Thanks,
    Shobhit
    p.s. i have the following in my WSDL:
         <wsdl:binding name="OB_NP_WorkOrderDetails_MIBinding" type="p1:OB_NP_WorkOrderDetails_MI"
                      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"
                                      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
              <wsdl:operation name="OB_NP_WorkOrderDetails_MI">
                   <soap:operation soapAction="http://sap.com/xi/WebService/soap1.1"
                                                        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
                   <wsdl:input>
                        <soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
                   </wsdl:input>
                   <wsdl:output>
                        <soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
    Edited by: Shobhit Swarup Mathur on Aug 4, 2008 10:51 AM

  • How to look at sid tables generated for an ods?

    Hi all,
    There  is atrns code : listschema which enables to have a look of the sid tables generated for infocubes.
    Is there any trsn code where we can see the list of sid tables generated for ods. if not let me know the procedure how to look at the sid tables generated for ods.
    regds
    hari

    hi,
    i think u will try like this:
    go to transaction code SE11
    TYEP UR NAME LIKE THIS:
    EX: /BIC/AODS_CUS00XXXX
    BI: MEANS business defined
    C: customer
    0 : SAP defined
    A: Active data table of ods
    TYPE LIKE THIS : /BIC/ODS NAME * (STAR)
    YOU MAY GET VALUES:
    THANKS, KR

  • Where in the icx tables are price break and price break quantities stored?

    I am trying to build a query from the icx tables that will show me all the BPA line price breaks and quantities.
    I cannot seem to find any documentation on what is specifically is extracted from the BPA lines when an internal catalog build is performed. I am able to validate that in iP, the price breaks are being taken into consideration when I create Requisitions with various quantities, but I do not know where iP is storing this information. Perhaps the data isn't stored and is taken from the core app po_line_locations_all table at the time the requisition is being created?
    I have a BPA, line 27, that has multiple price break lines.
    select rt_item_id, price_type, contract_num, contract_line_num, allow_price_override_flag, not_to_exceed_price, value_basis
    from apps.icx_cat_item_prices
    where contract_num = 'xxxxxx' and contract_line_num = '27'
    and price_type = 'BLANKET';
    All I could find when running this query was the price break information for the first price break line, none of the other price break lines.
    If anybody knows where the documentation is that tells me exactly what is extracted from the core application BPA to the icx tables, I would be greatly appreciative. Even better, if someone already knows the answer to either 1) price break and quantity are not stored in icx tables or 2) they are stored and you have SQL that shows me how to find it, I would be so very appreciative to have this information.
    Edited by: user6287397 on Jan 24, 2009 6:40 AM

    I got the answer. :-)
    Price breaks details are not stored in any icx tables. iP retrieves the information based on the need by date entered on the requisition.
    Oracle support referred me to the Oracle® Purchasing Release 11i10 Open Interfaces and APIs.
    The java code - SourceDocHelper.java - is responsible to get the price information by calling the procedure po_price_break_grp.get_price_break (POXPRBKB.pls DefaultPricing ) For a given a Source Document (Quotation/Catalog), Quantity and Unit of Measure, this procedure derives the best price for the calling routine.
    The SQL used to get the price information that was sent to me is attached. Note that this SQL uses the need by date to get the right price in case of price break used at the distribution level.
    SELECT poll.price_override
    , round(poll.price_override * v_conversion_rate,
    l_base_curr_ext_precision )
    , poh.rate_date
    , poh.rate
    , poh.currency_code
    , poh.rate_type
    , poll.price_discount
    , poll.price_override
    , decode( poll.line_location_id,
    null, pol.unit_meas_lookup_code,
    poll.unit_meas_lookup_code)
    , poll.line_location_id -- SERVICES FPJ
    FROM po_headers_all poh -- FPI GA
    , po_lines_all pol -- FPI GA
    , po_line_locations_all poll -- FPI GA
    WHERE poh.po_header_id = p_source_document_header_id
    and poh.po_header_id = pol.po_header_id
    and pol.line_num = p_source_document_line_num
    and pol.po_line_id = poll.po_line_id
    and ( p_required_currency is null
    or poh.currency_code = p_required_currency )
    and ( p_required_rate_type is null
    or poh.rate_type = p_required_rate_type )
    and nvl(poll.unit_meas_lookup_code, nvl(p_unit_of_measure,
    pol.unit_meas_lookup_code))
    = nvl(p_unit_of_measure, pol.unit_meas_lookup_code)
    Change sysdate to l_pricing_date in order to use the Need By
    Date
    to determine the price.
    and (trunc(nvl(l_pricing_date, trunc(sysdate))) >= trunc(poll.
    start_date) -- FPJ Custom Price
    OR
    poll.start_date is null)
    and (trunc(nvl(l_pricing_date, trunc(sysdate))) <= trunc(poll.
    end_date) -- FPJ Custom Price
    OR
    poll.end_date is null)
    --Bug #2693408: added nvl clause to quantity check
    and nvl(poll.quantity, 0) <= nvl(p_in_quantity, 0)
    Determining the price based on ship-to-location and
    destination organization
    and ((poll.ship_to_location_id = v_ship_to_location_id OR poll.
    ship_to_location_id is null)
    AND
    (poll.ship_to_organization_id = p_destination_org_id OR poll.
    ship_to_organization_id is null))
    and poll.shipment_type in ('PRICE BREAK', 'QUOTATION')
    -- <2721775 START>: Make sure Quotation Price Breaks are Approved.
    AND ( -- ( poll.shipment_type IS NULL )
    ( poll.shipment_type = 'PRICE BREAK' )
    OR ( ( poll.shipment_type = 'QUOTATION' )
    AND ( ( poh.approval_required_flag <> 'Y' )
    OR ( EXISTS ( SELECT ('Price Break is Approved')
    FROM po_quotation_approvals pqa
    WHERE pqa.line_location_id = poll.line_location_id
    AND pqa.approval_type IN ('ALL
    ORDERS', 'REQUISITIONS')
    AND trunc(nvl(l_pricing_date,
    sysdate)) -- FPJ Custom Price
    BETWEEN
    trunc(nvl(start_date_active, sysdate-1))
    AND trunc(nvl(end_date
    _active, sysdate+1)))))))
    -- <2721775 END>
    order by poll.ship_to_organization_id ASC, poll.ship_to_location_id ASC,
    NVL(poll.quantity, 0) DESC,
    trunc(poll.creation_date) DESC, poll.price_override ASC; /*
    */

  • When target DB is down in which table is the data from source is stored, also where are the error messages stored in ODI

    When target DB is down in which table is the data from source is stored, also where are the error messages stored in ODI( I am not getting any error message in E$_TARGET_ANI_TEST).
    When i am running the interface i am getting the below error against the errored step
    "ORA-01045: user ABC lacks CREATE SESSION privilege; logon denied."
    Only E$_TARGET_ANI_TEST  is created with no data. No such tables like C$_0TARGET_ANI_TEST, I$_TARGET_ANI_TEST are created and also data is not inserted in the target table TARGET_ANI_TEST.

    Hi,
    I have checked that only E$ table is created. C$ and I$ table are not created ( I have selected my target schema as the part for the staging table).
    All the parameters for dropping the tables are selected as "<default>:false".
    I am importing the following KMs with the following parameters:
    1) CKM Oracle
    DROP_ERROR_TABLE
    :false
    DROP_CHECK_TABLE
    :false
    CREATE_ERROR_INDEX
    :true
    COMPATIBLE
    :9
    VALIDATE
    :false
    ENABLE_EDITION_SUPPORT
    :false
    UPGRADE_ERROR_TABLE
    :false
    2) LKM SQL to SQL
    DELETE_TEMPORARY_OBJECTS
    :true
    3) IKM SQL Incremental Update
    INSERT
    :true
    UPDATE
    :true
    COMMIT
    :true
    SYNC_JRN_DELETE
    :true
    FLOW_CONTROL
    :true
    RECYCLE_ERRORS
    :false
    STATIC_CONTROL
    :false
    TRUNCATE
    :false
    DELETE_ALL
    :false
    CREATE_TARG_TABLE
    :false
    DELETE_TEMPORARY_OBJECTS
    :true 

  • Where's the metadata for STORE IN clause of a table with partition?

    Hi Experts,
    I created a table with a range-interval partition with STORE IN clause. It's definition:
    CREATE TABLE interval_part (
    person_id NUMBER(5) NOT NULL,
    first_name VARCHAR2(30),
    last_name VARCHAR2(30))
    PARTITION BY RANGE (person_id)
    INTERVAL (100) STORE IN (TSP_1, TSP_2, TSP_3) (
    PARTITION p1 VALUES LESS THAN (101))
    TABLESPACE TSP_1;
    I can not find the metadata for STORE IN clause in ALL_TAB_PARTITIONS, ALL_TABLES. Where is the metadata for the STORE IN clause? How can I find the tablespace list (TSP_1, TSP_2, TSP_3)?
    Thanks,
    David

    DBMS_METADATA.GET_DDL returns the definition of the table. But I just need the value of the tablespace list, for example, TSP_1, TSP_2, TSP_3. Is there any view which stored the value?
    Thanks,
    David

  • ı wanna delete my purcahe but it did hide and where is the hidding ı wanna delete my purchase please because I am not looking a few purchase (dowloaded at the apple store) help me and send message to my email thank you have good work.

    ı wanna delete my purchase but it did hide and where is the hidding ı wanna delete my purchase please because I am not looking a few purchase (dowloaded at the apple store) help me and send message to my email thank you have good work.

    what?

  • RoboHelp 10:Did Adobe change how RoboHelp 10 handles CSS stylesheets in the .htm files that are generated?

    I work on Java application that utilitzes the .chm and .jar file (which include the .htm files) to display our applications help documentation. We recently upgraded from RoboHelp 8 to RoboHelp 10. The .htm files that were generated with RoboHelp 8 display fine. However, the new .htm files generated by RoboHelp 10 seem to ignore the CSS stylesheets used. I compared one of the .htm files from RoboHelp 8 to the same .htm file in RoboHelp10. I did notice differences within the files. Can you tell me what the differences are, regarding the usage of CSS stylesheets, between RoboHelp 8 & RoboHelp 10?
    Thank you.

    You need to post a bug report to get Adobe's attention. This is a user to user forum. Please follow this link.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    Not sure but I believe it may be a bug in the Microsoft Help Compiler over which Adobe have no control. Microsoft last updated in 2004. Good luck!
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Where are the tables?

    I have looked everywhere so I assume tables are not an option in iWeb. That seems like such an obvious tool to include and would provide such nice integration with spreadsheets from Numbers and tables from Pages. ...or am I missing something.

    I'm in the same boat. I think it's ridiculous to have to open another program to add tables. I'm experimenting with creating a row of text boxes, for example, if there are 5 columns, then I'd have 5 text boxes in a row, tight to each other, then I'd just duplicate the row. This works fine. However, on my site, midwestbikerides.com, the entire row needs to be highlighted.
    Using the above method seems to leave a spot between each text box, without any background coloring.
    I'm still working on it. If I figure it out, I'll post some info.
    In the mean time, do a Google search for "iWeb tables". There is a table generator there that we can use with html snippets. I'm not to happy with that one though.

  • Table name where all the SAP Script names are stored

    Hi Gurus,
                   Can i know the table name where all the SAP Script names are stored in SAP Database.
                   Thanks in advance,
                    Shyam.

    Yes TNAPR is the table which contains sapscipts name and print program names.
    Step:1: Goto to the Table TNAPR using SE11
    Step:2: Get the Contents of the Table(CNTRLSHIFTF10)
    Step:3: On the Table Content Selection Screen, Type the driver program name in the field PGNAM and execute(F8).
    Step:4: FONAM field of the result display contains the SAPScript Name for our driver program.
    Regards,
    Lalit Mohan Gupta.

  • ODBC - where are the tables

    Newbie installation of Oracle XE on Windows.
    Created tables A,B and view C as user SYSTEM.
    Created user readonly and granted select to readonly for A,B,C.
    Created ODBC link for user readonly.
    When I try to link to these table in MS Access,
    I get a list of about 1000 tables to choose from,
    none of which is SYSTEM.A, SYSTEM.B, or SYSTEM.C.
    Similar thing happens with ODBC link for user SYSTEM,
    except that there are even more tables accessible from Access
    (still, not A,B, or C).
    Where are the tables?
    Thanks,
    Peter Kopke
    [email protected]

    1) You should never, ever create tables owned by SYSTEM or SYS. Those schemas should be used only for Oracle-owned objects.
    2) If you create an APP_OWNER schema and create tables there, are you able to see them through ODBC?
    3) Which ODBC driver are you using?
    Justin

Maybe you are looking for