Skip to content
Snippets Groups Projects
Commit b4eed930 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Merge branch '1066799_FixObjectRelationsWrongDirectionWhenEditing' into '2021.0.0'

[Projekt: Entwicklung - xRM][TicketNr.: 1066799][Firma - Beziehungen können...

See merge request xrm/basic!601
parents 5c18b293 8a9c6c70
No related branches found
No related tags found
No related merge requests found
......@@ -41,8 +41,8 @@ ObjectRelationUtils.getPossibleRelationTypes = function(pObjectTypes, pFullInfo,
fields = fields.concat([
"main.RELATION_TYPE",
"case when type2.AB_OBJECTRELATIONTYPEID is null then 'same' \n\
when main.SIDE = 1 then 'normal'\n\
else 'reverse'\n\
when main.SIDE = 1 then 'reverse'\n\
else 'normal'\n\
end direction",
"main.HIERARCHY",
"(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
......
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