<h2>Parent field gets overwritten for a Change Request created from a Demand record and then added as a child change</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Description</h3><section><style type="text/css"><!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internalTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:0; } .sp td{ border-bottom: 1px solid; border-right: 1px solid; border-color:#E0E0E0; background-color: #ffffff; height: 20px; padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; } .sphr td{ border-right: 1px solid; border-bottom: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; height: 20px; } .title { color: #D1232B; font-weight:; font-size:25px; } .hd1{ color: #D1232B; font-weight:; font-size:18px; } .hd2{ color: #646464; font-weight:bold; font-size:16px; } .hd3{ color: #7a7a7a; font-weight:; font-size:16 px; text-decoration:; } .hd4{ color: #000000; font-weight:bold; font-size:14 px; text-decoration:; } --></style> <div class="margin"> <p class="title"><span class="title">Parent field is overwritten for a Change Request created from a Demand record and then added as child change to another change</span></p> <p class="title"> </p> <span class="hd1">Problem</span><hr style="border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc;" />When a change request is created from a demand record, the demand number is stamped on that change request in the Parent field so that the change request can be linked back to the demand it was created from and can be displayed in the Change request related list on the demand record. However, when the change is added as a child to another change, the parent field is overwritten to the new parent change and the link to the demand record is lost.</div> <div class="margin"><span class="hd1">Cause</span><hr style="border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc;" />The demand application and the change application are both using the same parent field and updating that field independent of each other.</div> <div class="margin"><span class="hd1">Resolution</span><hr style="border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc;" />Note that although this behavior is as designed, an enhancement request has been submitted to change this design so that the originating demand record and a parent change can be tracked at the same time.</div> <div class="margin"><span class="hd1">Workaround</span><hr style="border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc;" />Create an additional reference field either on the change_request table or the [dmn_demand] table where the link between the Demand record and the Change Request record is stored. This field can be populated automatically through a business rule or client script that populates the field only when the change request is submitted from the demand record. The value for this field would not be expected to change after initially being populated.</div></section></div></article></div>