Plex error View XXX references entity XXX which does not scope a table

book

Article ID: 128921

calendar_today

Updated On:

Products

CA Plex

Issue/Introduction

When I generate an object I get this error: " View 'Drawer Type.Fetch' references entity 'Drawer Type' which does not scope a table. 
Now this entity is an entity that is part of another library that is attached to the model I am working with. I am working with my Recording model that has my imaging model as a library attached to it in my library list. This work fine in 7.1, but now in 7.21 I get this error. 

Errors: 
View 'Image Index.Update' references entity 'Image Index' which does not scope a table 

View 'Document Type.Update' references entity 'Document Type' which does not scope a table

Environment

Release:
Component: CPLEX

Resolution

We see that the problem is rooted from OBAS400 pattern library that is being shipped as part of the product. This product library has been modified which is not supposed to be, and as part of the changes made - looking at the new added entities (refer details below) does not carry any associated triples, if you do inspect on these entities. 

OBAS400/CAI-AssociationEdit 
OBAS400/CAI-EditDetail 
OBAS400/CAI-EditDetail With Filter 
OBAS400/CAI-ReferredTo 
OBAS400/CAI-RelationalTable 
OBAS400/CAI-RelationalTable With Numerat 


The ultimate resolution was customer changed the Doc type and Index type tables to use our CAIPATTERN lib, and it worked.