Skip to content
Snippets Groups Projects
Commit 7a8860e8 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

fix object relation

parent a66e7706
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,8 @@ ObjectRelationUtils.getPossibleRelationTypes = function(pObjectTypes, pFullInfo,
else 'reverse'\n\
end direction,\n\
main.HIERARCHY, \n\
type2.OBJECT_TYPE destObjectType, \n\
( case when type2.AB_OBJECTRELATIONTYPEID is null then main.OBJECT_TYPE " + // if type is 'same' (type2.AB_OBJECTRELATIONTYPEID is null) then use the same object type for dest as for source
" else type2.OBJECT_TYPE end ) destObjectType, \n\
main.OBJECT_TYPE sourceObjectType, \n\
-- typeId of Object2\n\
case when main.SIDE = 1 then main.AB_OBJECTRELATIONTYPEID\n\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment