У меня есть соединение, которое соединяется с двумя объектами "workorder" и "object" с именем роли [record2roleid].
Как я могу проверить соединение между двумя объектами, если они находятся только под атрибутом [record2roleid]?
Попробуй таким образом
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"> <entity name="connection"> <attribute name="record2id" /> <attribute name="record2roleid" /> <attribute name="connectionid" /> <attribute name="record2objecttypecode" /> <attribute name="record1objecttypecode" /> <attribute name="record1roleid" /> <attribute name="name" /> <attribute name="record1id" /> <link-entity name="connectionrole" from="connectionroleid" to="record2roleid" link-type="inner" alias="ad"> <filter type="and"> <condition attribute="name" operator="like" value="%Part%" /> </filter> </link-entity> </entity> </fetch