Explorar o código

update heritage

a.binder %!s(int64=8) %!d(string=hai) anos
pai
achega
db8d02e4f5

+ 15 - 1
SE/schema/ant-object/default_db.CRM_WSKAZNIK/CRM_WSKAZNIK/CRM_WSKAZNIK.xsd

@@ -18,6 +18,18 @@
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_IMAGE.xsd"
       schemaLocation="../../default_db.CRM_IMAGE/CRM_IMAGE/CRM_IMAGE.xsd"/>
    <xs:complexType name="CRM_WSKAZNIK" id="RM_WSKAZNIK___d4e5330-1_CRM_WSKAZN">
+      <xs:annotation>
+         <xs:appinfo>
+            <system_cache__appinfo:heritage>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:CRM_WSKAZNIK" system_cache__appinfo:heritage_acl="true">
+                  <system_cache__appinfo:acl_rule_inherit_to_all_same_name_elements_and_refs/>
+                  <acl_rule_inherit_to_all_refs_by_primary/>
+                  <acl_rule_inherit_to_all_refs_by_local_element system_cache__appinfo:acl_rule_inherit_local_element_name="ID_PROCES"/>
+               </system_cache__appinfo:inherit>
+               <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true" system_cache__appinfo:heritage_sort="true"/>
+            </system_cache__appinfo:heritage>
+         </xs:appinfo>
+      </xs:annotation>
       <xs:sequence id="RM_WSKAZNIK___d4e5331-1">
          <xs:element name="ID" type="xs:int" id="RM_WSKAZNIK___d4e5332-1_ID"/>
          <xs:element name="ID_PROCES" type="xs:int" id="RM_WSKAZNIK___d4e5333-1_ID_PROCES">
@@ -57,7 +69,9 @@
             <xs:annotation>
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
-                     <system_cache__appinfo:source system_cache__appinfo:name="ID_PRZYPADEK" system_cache__appinfo:xpath="default_db__x3A__CRM_PRZYPADEK:CRM_PRZYPADEK/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_PRZYPADEK" 
+                        system_cache__appinfo:ref_engine="view"
+                        system_cache__appinfo:xpath="default_db__x3A__CRM_PRZYPADEK:CRM_PRZYPADEK/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xs:appinfo>
                <xs:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID

+ 12 - 0
SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd

@@ -74,6 +74,18 @@
       </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="IN7_MK_BAZA_DYSTRYBUCJI" id="DYSTRYBUCJI___d4e6505-1_IN7_MK_BAZ">
+      <xs:annotation>
+         <xs:appinfo>
+            <system_cache__appinfo:heritage>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:IN7_MK_BAZA_DYSTRYBUCJI" system_cache__appinfo:heritage_acl="true">
+                  <system_cache__appinfo:acl_rule_inherit_to_all_same_name_elements_and_refs/>
+                  <acl_rule_inherit_to_all_refs_by_primary/>
+                  <acl_rule_inherit_to_all_refs_by_local_element system_cache__appinfo:acl_rule_inherit_local_element_name="P_ID"/>
+               </system_cache__appinfo:inherit>
+               <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true" system_cache__appinfo:heritage_sort="true"/>
+            </system_cache__appinfo:heritage>
+         </xs:appinfo>
+      </xs:annotation>
       <xs:sequence id="DYSTRYBUCJI___d4e6506-1">
          <xs:element name="ID" type="xs:int" id="DYSTRYBUCJI___d4e6507-1_ID"/>
          <xs:element name="P_ID" type="xs:int" id="DYSTRYBUCJI___d4e6508-1_P_ID"/>