Quantcast
Channel: OpenPlant | AutoPLANT
Viewing all articles
Browse latest Browse all 16985

Forum Post: RE: OP Modelserver Administrator. Free components

$
0
0
Hello Jojje, About how many components are we talking about? If not that many, I believe easiest way would be to fix it manually once in the DB. Generally, to make component free for a check out again, you just need to replace the value in EC_INSTLOCKBY column from 1 to 0. When it is set to 0, component is free for a checkout again. Values in other colums, like OPMS_CHECKOUT_STATUS or OPMS_OPERATION_ID can be used to identify which components you need to fix. In your case, you should filter for components which have OPMS Operation ID of that checkout which you can not free. In OP Admin, Locked Component Viewer tab there is CLASS_LIST column. Here you can see which component classes are affected by this check-out operation, and these are the only tables you need to check in DB. It will list here both, referenced out and checked out components by this operation. In the ACTIVE_COMPONENT_COUNT column you should see a number of components which are actually checked-out. So, to make them all free, you should go through all tables in DB listed in here (in the image it is SERVICE, UNIT, PIPING_NETWORKS_SYSTEM, etc.), filter the components with OPMS_OPERATION_ID containing ID of that checkout and update it's EC_INSTLOCKBY value to 0. After all of the components are free, you can change the ACTIVE_COMPOENT_COUNT of that OPMS Checkout operation in CHECKOUT_HISTORY table to move this checkout operation to the history, and not have it in the active checkout tab. Of course, I would advise you to be very careful when accessing SQL DB directly, not through the OpenPlant Administrator or other tools.. This should only be used as final step if other ways do fail. Also, having a DB backup before any access to DB is always good practice :) Hope this helps, Justinas

Viewing all articles
Browse latest Browse all 16985

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>