search cancel

Object ID autonumbering after XOG

book

Article ID: 203712

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

We XOG a object to new environment and autonumbering is reset after XOG. Is it a defect?

I have already fixed autonumbering from object-  attribute - auto numbering.

It is showing ok in list view but not in properties view. it is showing some random number.

How can I fix that?

 

Environment

Release : 15.2

Component : CA PPM STUDIO

Resolution

If the XOG input file includes the reference to auto-numbering as below it will be reset but if it is not in the XOG input file it does not get reset. 
Note that ID (code) is unique where name is not unique so what happens when you XOG object in and your auto numbering gets reset ID will automatically check and increment appropriately where name will not, 
because there is no requirement for name to be unique.

<autonumbering>
                        <attributeAutonumbering autonumbered="true" code="code">
                            <schemes>
                                <scheme isActive="1" maxLength="30" partitionCode="NIKU.ROOT">
                                    <segments>
                                        <segment autoExtended="0" length="2" position="3" textValue="SR" type="TEXT"/>
                                        <segment autoExtended="1" length="8" position="5" startValue="1" type="NUMERIC"/>
                                    </segments>
                                </scheme>
                            </schemes>
                        </attributeAutonumbering>
                        <attributeAutonumbering autonumbered="true" code="name">
                            <schemes>
                                <scheme isActive="1" maxLength="30" partitionCode="NIKU.ROOT">
                                    <segments>
                                        <segment autoExtended="0" length="2" position="3" textValue="SR" type="TEXT"/>
                                        <segment autoExtended="1" length="8" position="5" startValue="1" type="NUMERIC"/>
                                    </segments>
                                </scheme>
                            </schemes>
                        </attributeAutonumbering>
                    </autonumbering>