ソースを参照

auto commit z ant f.fix_se_defaultdb_schema git_push_folder for CRM_PROCES.xsd

a.binder 8 年 前
コミット
587864572c

+ 36 - 74
SE/schema/ant-object/default_db.CRM_PROCES/CRM_PROCES/CRM_PROCES.xsd

@@ -101,13 +101,13 @@
                       id="_CRM_PROCES___d4e4704-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
-               <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
+               <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania. Backref powinien chodzic</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
          <xsd:element maxOccurs="unbounded"
@@ -116,7 +116,7 @@
                       id="_CRM_PROCES___d4e4711-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
@@ -131,7 +131,7 @@
                       id="_CRM_PROCES___d4e4718-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -146,7 +146,7 @@
                       id="_CRM_PROCES___d4e4725-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -161,7 +161,7 @@
                       id="_CRM_PROCES___d4e4732-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -184,18 +184,16 @@
                </xsd:appinfo>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
+         <!--<xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:annotation>
                <xsd:appinfo>
                   <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
-                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID"
-                                                   system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
-               <xsd:documentation>Wchodzenie do rodzicow po Backref</xsd:documentation>
+               <xsd:documentation>Wchodzenie do rodzicow po Backref - backref powinien </xsd:documentation>
             </xsd:annotation>
-         </xsd:element>
+         </xsd:element>-->
       </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="CRM_PROCES"
@@ -336,7 +334,7 @@
                             id="_CRM_PROCES___d4e4762-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -351,7 +349,7 @@
                             id="_CRM_PROCES___d4e4790-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -415,7 +413,7 @@
                             id="_CRM_PROCES___d4e4825-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -431,7 +429,7 @@
                             id="_CRM_PROCES___d4e4832-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -447,7 +445,7 @@
                             id="_CRM_PROCES___d4e4839-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -463,7 +461,7 @@
                             id="_CRM_PROCES___d4e4846-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -506,7 +504,7 @@
                             id="_CRM_PROCES___d4e4864-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
@@ -528,7 +526,7 @@
                             id="_CRM_PROCES___d4e4881-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -544,7 +542,7 @@
                             id="_CRM_PROCES___d4e4888-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -560,7 +558,7 @@
                             id="_CRM_PROCES___d4e4895-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -576,7 +574,7 @@
                             id="_CRM_PROCES___d4e4902-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -616,19 +614,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4919-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e4920-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-                   </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e4920-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4927-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4928-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4937-1_OPIS"/>
@@ -641,7 +627,7 @@
                             id="_CRM_PROCES___d4e4930-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -657,7 +643,7 @@
                             id="_CRM_PROCES___d4e4958-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -697,19 +683,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4975-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e4976-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-               </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e4976-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4983-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4984-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4995-1_OPIS"/>
@@ -726,7 +700,7 @@
                             id="_CRM_PROCES___d4e4989-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -742,7 +716,7 @@
                             id="_CRM_PROCES___d4e4996-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -758,7 +732,7 @@
                             id="_CRM_PROCES___d4e5003-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -774,7 +748,7 @@
                             id="_CRM_PROCES___d4e5010-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -790,7 +764,7 @@
                             id="_CRM_PROCES___d4e5017-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -830,19 +804,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e5034-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e5035-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-               </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e5035-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e5042-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e5043-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e5056-1_OPIS"/>
@@ -855,7 +817,7 @@
                             id="_CRM_PROCES___d4e5045-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -870,7 +832,7 @@
                             id="_CRM_PROCES___d4e5052-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
@@ -885,7 +847,7 @@
                             id="_CRM_PROCES___d4e5059-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -900,7 +862,7 @@
                             id="_CRM_PROCES___d4e5066-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -915,7 +877,7 @@
                             id="_CRM_PROCES___d4e5073-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>

+ 36 - 74
SE/schema/ant-object/default_db.CRM_PROCES/PROCES/PROCES.xsd

@@ -101,13 +101,13 @@
                       id="_CRM_PROCES___d4e4704-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
-               <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
+               <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania. Backref powinien chodzic</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
          <xsd:element maxOccurs="unbounded"
@@ -116,7 +116,7 @@
                       id="_CRM_PROCES___d4e4711-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
@@ -131,7 +131,7 @@
                       id="_CRM_PROCES___d4e4718-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -146,7 +146,7 @@
                       id="_CRM_PROCES___d4e4725-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -161,7 +161,7 @@
                       id="_CRM_PROCES___d4e4732-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -184,18 +184,16 @@
                </xsd:appinfo>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
+         <!--<xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:annotation>
                <xsd:appinfo>
                   <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
-                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID"
-                                                   system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
-               <xsd:documentation>Wchodzenie do rodzicow po Backref</xsd:documentation>
+               <xsd:documentation>Wchodzenie do rodzicow po Backref - backref powinien </xsd:documentation>
             </xsd:annotation>
-         </xsd:element>
+         </xsd:element>-->
       </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="CRM_PROCES"
@@ -336,7 +334,7 @@
                             id="_CRM_PROCES___d4e4762-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -351,7 +349,7 @@
                             id="_CRM_PROCES___d4e4790-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -415,7 +413,7 @@
                             id="_CRM_PROCES___d4e4825-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -431,7 +429,7 @@
                             id="_CRM_PROCES___d4e4832-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -447,7 +445,7 @@
                             id="_CRM_PROCES___d4e4839-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -463,7 +461,7 @@
                             id="_CRM_PROCES___d4e4846-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -506,7 +504,7 @@
                             id="_CRM_PROCES___d4e4864-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
@@ -528,7 +526,7 @@
                             id="_CRM_PROCES___d4e4881-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -544,7 +542,7 @@
                             id="_CRM_PROCES___d4e4888-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -560,7 +558,7 @@
                             id="_CRM_PROCES___d4e4895-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -576,7 +574,7 @@
                             id="_CRM_PROCES___d4e4902-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -616,19 +614,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4919-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e4920-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-                   </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e4920-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4927-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4928-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4937-1_OPIS"/>
@@ -641,7 +627,7 @@
                             id="_CRM_PROCES___d4e4930-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -657,7 +643,7 @@
                             id="_CRM_PROCES___d4e4958-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -697,19 +683,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4975-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e4976-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-               </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e4976-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4983-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4984-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4995-1_OPIS"/>
@@ -726,7 +700,7 @@
                             id="_CRM_PROCES___d4e4989-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -742,7 +716,7 @@
                             id="_CRM_PROCES___d4e4996-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -758,7 +732,7 @@
                             id="_CRM_PROCES___d4e5003-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -774,7 +748,7 @@
                             id="_CRM_PROCES___d4e5010-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -790,7 +764,7 @@
                             id="_CRM_PROCES___d4e5017-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -830,19 +804,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e5034-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e5035-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-               </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e5035-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e5042-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e5043-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e5056-1_OPIS"/>
@@ -855,7 +817,7 @@
                             id="_CRM_PROCES___d4e5045-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -870,7 +832,7 @@
                             id="_CRM_PROCES___d4e5052-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
@@ -885,7 +847,7 @@
                             id="_CRM_PROCES___d4e5059-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -900,7 +862,7 @@
                             id="_CRM_PROCES___d4e5066-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -915,7 +877,7 @@
                             id="_CRM_PROCES___d4e5073-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>

+ 36 - 74
SE/schema/ant-object/default_db.CRM_PROCES/PROCES_BENEFIT_INFO/PROCES_BENEFIT_INFO.xsd

@@ -101,13 +101,13 @@
                       id="_CRM_PROCES___d4e4704-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
-               <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
+               <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania. Backref powinien chodzic</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
          <xsd:element maxOccurs="unbounded"
@@ -116,7 +116,7 @@
                       id="_CRM_PROCES___d4e4711-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
@@ -131,7 +131,7 @@
                       id="_CRM_PROCES___d4e4718-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -146,7 +146,7 @@
                       id="_CRM_PROCES___d4e4725-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -161,7 +161,7 @@
                       id="_CRM_PROCES___d4e4732-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -184,18 +184,16 @@
                </xsd:appinfo>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
+         <!--<xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:annotation>
                <xsd:appinfo>
                   <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
-                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID"
-                                                   system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
-               <xsd:documentation>Wchodzenie do rodzicow po Backref</xsd:documentation>
+               <xsd:documentation>Wchodzenie do rodzicow po Backref - backref powinien </xsd:documentation>
             </xsd:annotation>
-         </xsd:element>
+         </xsd:element>-->
       </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="CRM_PROCES"
@@ -336,7 +334,7 @@
                             id="_CRM_PROCES___d4e4762-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -351,7 +349,7 @@
                             id="_CRM_PROCES___d4e4790-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -415,7 +413,7 @@
                             id="_CRM_PROCES___d4e4825-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -431,7 +429,7 @@
                             id="_CRM_PROCES___d4e4832-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -447,7 +445,7 @@
                             id="_CRM_PROCES___d4e4839-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -463,7 +461,7 @@
                             id="_CRM_PROCES___d4e4846-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -506,7 +504,7 @@
                             id="_CRM_PROCES___d4e4864-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
@@ -528,7 +526,7 @@
                             id="_CRM_PROCES___d4e4881-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -544,7 +542,7 @@
                             id="_CRM_PROCES___d4e4888-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -560,7 +558,7 @@
                             id="_CRM_PROCES___d4e4895-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -576,7 +574,7 @@
                             id="_CRM_PROCES___d4e4902-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -616,19 +614,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4919-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e4920-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-                   </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e4920-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4927-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4928-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4937-1_OPIS"/>
@@ -641,7 +627,7 @@
                             id="_CRM_PROCES___d4e4930-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -657,7 +643,7 @@
                             id="_CRM_PROCES___d4e4958-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -697,19 +683,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4975-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e4976-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-               </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e4976-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4983-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4984-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4995-1_OPIS"/>
@@ -726,7 +700,7 @@
                             id="_CRM_PROCES___d4e4989-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -742,7 +716,7 @@
                             id="_CRM_PROCES___d4e4996-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -758,7 +732,7 @@
                             id="_CRM_PROCES___d4e5003-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -774,7 +748,7 @@
                             id="_CRM_PROCES___d4e5010-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -790,7 +764,7 @@
                             id="_CRM_PROCES___d4e5017-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -830,19 +804,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e5034-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e5035-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-               </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e5035-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e5042-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e5043-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e5056-1_OPIS"/>
@@ -855,7 +817,7 @@
                             id="_CRM_PROCES___d4e5045-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -870,7 +832,7 @@
                             id="_CRM_PROCES___d4e5052-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
@@ -885,7 +847,7 @@
                             id="_CRM_PROCES___d4e5059-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -900,7 +862,7 @@
                             id="_CRM_PROCES___d4e5066-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -915,7 +877,7 @@
                             id="_CRM_PROCES___d4e5073-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>

+ 36 - 74
SE/schema/ant-object/default_db.CRM_PROCES/PROCES_GROUP_1/PROCES_GROUP_1.xsd

@@ -101,13 +101,13 @@
                       id="_CRM_PROCES___d4e4704-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
-               <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
+               <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania. Backref powinien chodzic</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
          <xsd:element maxOccurs="unbounded"
@@ -116,7 +116,7 @@
                       id="_CRM_PROCES___d4e4711-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
@@ -131,7 +131,7 @@
                       id="_CRM_PROCES___d4e4718-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -146,7 +146,7 @@
                       id="_CRM_PROCES___d4e4725-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -161,7 +161,7 @@
                       id="_CRM_PROCES___d4e4732-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -184,18 +184,16 @@
                </xsd:appinfo>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
+         <!--<xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:annotation>
                <xsd:appinfo>
                   <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
-                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID"
-                                                   system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
-               <xsd:documentation>Wchodzenie do rodzicow po Backref</xsd:documentation>
+               <xsd:documentation>Wchodzenie do rodzicow po Backref - backref powinien </xsd:documentation>
             </xsd:annotation>
-         </xsd:element>
+         </xsd:element>-->
       </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="CRM_PROCES"
@@ -336,7 +334,7 @@
                             id="_CRM_PROCES___d4e4762-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -351,7 +349,7 @@
                             id="_CRM_PROCES___d4e4790-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -415,7 +413,7 @@
                             id="_CRM_PROCES___d4e4825-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -431,7 +429,7 @@
                             id="_CRM_PROCES___d4e4832-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -447,7 +445,7 @@
                             id="_CRM_PROCES___d4e4839-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -463,7 +461,7 @@
                             id="_CRM_PROCES___d4e4846-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -506,7 +504,7 @@
                             id="_CRM_PROCES___d4e4864-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
@@ -528,7 +526,7 @@
                             id="_CRM_PROCES___d4e4881-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -544,7 +542,7 @@
                             id="_CRM_PROCES___d4e4888-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -560,7 +558,7 @@
                             id="_CRM_PROCES___d4e4895-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -576,7 +574,7 @@
                             id="_CRM_PROCES___d4e4902-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -616,19 +614,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4919-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e4920-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-                   </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e4920-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4927-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4928-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4937-1_OPIS"/>
@@ -641,7 +627,7 @@
                             id="_CRM_PROCES___d4e4930-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -657,7 +643,7 @@
                             id="_CRM_PROCES___d4e4958-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -697,19 +683,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4975-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e4976-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-               </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e4976-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4983-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4984-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4995-1_OPIS"/>
@@ -726,7 +700,7 @@
                             id="_CRM_PROCES___d4e4989-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -742,7 +716,7 @@
                             id="_CRM_PROCES___d4e4996-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -758,7 +732,7 @@
                             id="_CRM_PROCES___d4e5003-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -774,7 +748,7 @@
                             id="_CRM_PROCES___d4e5010-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -790,7 +764,7 @@
                             id="_CRM_PROCES___d4e5017-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -830,19 +804,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e5034-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e5035-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-               </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e5035-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e5042-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e5043-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e5056-1_OPIS"/>
@@ -855,7 +817,7 @@
                             id="_CRM_PROCES___d4e5045-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -870,7 +832,7 @@
                             id="_CRM_PROCES___d4e5052-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
@@ -885,7 +847,7 @@
                             id="_CRM_PROCES___d4e5059-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -900,7 +862,7 @@
                             id="_CRM_PROCES___d4e5066-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -915,7 +877,7 @@
                             id="_CRM_PROCES___d4e5073-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>

+ 36 - 74
SE/schema/ant-object/default_db.CRM_PROCES/PROCES_GROUP_2/PROCES_GROUP_2.xsd

@@ -101,13 +101,13 @@
                       id="_CRM_PROCES___d4e4704-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
-               <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
+               <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania. Backref powinien chodzic</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
          <xsd:element maxOccurs="unbounded"
@@ -116,7 +116,7 @@
                       id="_CRM_PROCES___d4e4711-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
@@ -131,7 +131,7 @@
                       id="_CRM_PROCES___d4e4718-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -146,7 +146,7 @@
                       id="_CRM_PROCES___d4e4725-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -161,7 +161,7 @@
                       id="_CRM_PROCES___d4e4732-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -184,18 +184,16 @@
                </xsd:appinfo>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
+         <!--<xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:annotation>
                <xsd:appinfo>
                   <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
-                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID"
-                                                   system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
-               <xsd:documentation>Wchodzenie do rodzicow po Backref</xsd:documentation>
+               <xsd:documentation>Wchodzenie do rodzicow po Backref - backref powinien </xsd:documentation>
             </xsd:annotation>
-         </xsd:element>
+         </xsd:element>-->
       </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="CRM_PROCES"
@@ -336,7 +334,7 @@
                             id="_CRM_PROCES___d4e4762-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -351,7 +349,7 @@
                             id="_CRM_PROCES___d4e4790-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -415,7 +413,7 @@
                             id="_CRM_PROCES___d4e4825-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -431,7 +429,7 @@
                             id="_CRM_PROCES___d4e4832-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -447,7 +445,7 @@
                             id="_CRM_PROCES___d4e4839-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -463,7 +461,7 @@
                             id="_CRM_PROCES___d4e4846-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -506,7 +504,7 @@
                             id="_CRM_PROCES___d4e4864-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
@@ -528,7 +526,7 @@
                             id="_CRM_PROCES___d4e4881-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -544,7 +542,7 @@
                             id="_CRM_PROCES___d4e4888-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -560,7 +558,7 @@
                             id="_CRM_PROCES___d4e4895-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -576,7 +574,7 @@
                             id="_CRM_PROCES___d4e4902-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -616,19 +614,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4919-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e4920-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-                   </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e4920-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4927-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4928-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4937-1_OPIS"/>
@@ -641,7 +627,7 @@
                             id="_CRM_PROCES___d4e4930-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -657,7 +643,7 @@
                             id="_CRM_PROCES___d4e4958-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -697,19 +683,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4975-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e4976-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-               </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e4976-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4983-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4984-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4995-1_OPIS"/>
@@ -726,7 +700,7 @@
                             id="_CRM_PROCES___d4e4989-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -742,7 +716,7 @@
                             id="_CRM_PROCES___d4e4996-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -758,7 +732,7 @@
                             id="_CRM_PROCES___d4e5003-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -774,7 +748,7 @@
                             id="_CRM_PROCES___d4e5010-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -790,7 +764,7 @@
                             id="_CRM_PROCES___d4e5017-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -830,19 +804,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e5034-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e5035-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-               </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e5035-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e5042-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e5043-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e5056-1_OPIS"/>
@@ -855,7 +817,7 @@
                             id="_CRM_PROCES___d4e5045-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -870,7 +832,7 @@
                             id="_CRM_PROCES___d4e5052-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
@@ -885,7 +847,7 @@
                             id="_CRM_PROCES___d4e5059-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -900,7 +862,7 @@
                             id="_CRM_PROCES___d4e5066-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -915,7 +877,7 @@
                             id="_CRM_PROCES___d4e5073-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>

+ 36 - 74
SE/schema/ant-object/default_db.CRM_PROCES/PROCES_INIT/PROCES_INIT.xsd

@@ -101,13 +101,13 @@
                       id="_CRM_PROCES___d4e4704-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
-               <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
+               <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania. Backref powinien chodzic</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
          <xsd:element maxOccurs="unbounded"
@@ -116,7 +116,7 @@
                       id="_CRM_PROCES___d4e4711-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
@@ -131,7 +131,7 @@
                       id="_CRM_PROCES___d4e4718-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -146,7 +146,7 @@
                       id="_CRM_PROCES___d4e4725-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -161,7 +161,7 @@
                       id="_CRM_PROCES___d4e4732-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -184,18 +184,16 @@
                </xsd:appinfo>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
+         <!--<xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:annotation>
                <xsd:appinfo>
                   <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
-                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID"
-                                                   system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
-               <xsd:documentation>Wchodzenie do rodzicow po Backref</xsd:documentation>
+               <xsd:documentation>Wchodzenie do rodzicow po Backref - backref powinien </xsd:documentation>
             </xsd:annotation>
-         </xsd:element>
+         </xsd:element>-->
       </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="CRM_PROCES"
@@ -336,7 +334,7 @@
                             id="_CRM_PROCES___d4e4762-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -351,7 +349,7 @@
                             id="_CRM_PROCES___d4e4790-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -415,7 +413,7 @@
                             id="_CRM_PROCES___d4e4825-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -431,7 +429,7 @@
                             id="_CRM_PROCES___d4e4832-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -447,7 +445,7 @@
                             id="_CRM_PROCES___d4e4839-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -463,7 +461,7 @@
                             id="_CRM_PROCES___d4e4846-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -506,7 +504,7 @@
                             id="_CRM_PROCES___d4e4864-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
@@ -528,7 +526,7 @@
                             id="_CRM_PROCES___d4e4881-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -544,7 +542,7 @@
                             id="_CRM_PROCES___d4e4888-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -560,7 +558,7 @@
                             id="_CRM_PROCES___d4e4895-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -576,7 +574,7 @@
                             id="_CRM_PROCES___d4e4902-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -616,19 +614,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4919-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e4920-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-                   </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e4920-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4927-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4928-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4937-1_OPIS"/>
@@ -641,7 +627,7 @@
                             id="_CRM_PROCES___d4e4930-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -657,7 +643,7 @@
                             id="_CRM_PROCES___d4e4958-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -697,19 +683,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4975-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e4976-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-               </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e4976-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4983-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4984-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4995-1_OPIS"/>
@@ -726,7 +700,7 @@
                             id="_CRM_PROCES___d4e4989-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -742,7 +716,7 @@
                             id="_CRM_PROCES___d4e4996-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -758,7 +732,7 @@
                             id="_CRM_PROCES___d4e5003-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -774,7 +748,7 @@
                             id="_CRM_PROCES___d4e5010-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -790,7 +764,7 @@
                             id="_CRM_PROCES___d4e5017-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -830,19 +804,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e5034-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e5035-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-               </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e5035-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e5042-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e5043-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e5056-1_OPIS"/>
@@ -855,7 +817,7 @@
                             id="_CRM_PROCES___d4e5045-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -870,7 +832,7 @@
                             id="_CRM_PROCES___d4e5052-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
@@ -885,7 +847,7 @@
                             id="_CRM_PROCES___d4e5059-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -900,7 +862,7 @@
                             id="_CRM_PROCES___d4e5066-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -915,7 +877,7 @@
                             id="_CRM_PROCES___d4e5073-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>

+ 36 - 74
SE/schema/ant-object/default_db.CRM_PROCES/PROCES_TREE/PROCES_TREE.xsd

@@ -101,13 +101,13 @@
                       id="_CRM_PROCES___d4e4704-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
-               <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
+               <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania. Backref powinien chodzic</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
          <xsd:element maxOccurs="unbounded"
@@ -116,7 +116,7 @@
                       id="_CRM_PROCES___d4e4711-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
@@ -131,7 +131,7 @@
                       id="_CRM_PROCES___d4e4718-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -146,7 +146,7 @@
                       id="_CRM_PROCES___d4e4725-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -161,7 +161,7 @@
                       id="_CRM_PROCES___d4e4732-1">
             <xsd:annotation>
                <xsd:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                      <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                    system_cache__appinfo:ref_engine="view"
                                                    system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -184,18 +184,16 @@
                </xsd:appinfo>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
+         <!--<xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:annotation>
                <xsd:appinfo>
                   <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
-                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID"
-                                                   system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
-               <xsd:documentation>Wchodzenie do rodzicow po Backref</xsd:documentation>
+               <xsd:documentation>Wchodzenie do rodzicow po Backref - backref powinien </xsd:documentation>
             </xsd:annotation>
-         </xsd:element>
+         </xsd:element>-->
       </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="CRM_PROCES"
@@ -336,7 +334,7 @@
                             id="_CRM_PROCES___d4e4762-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -351,7 +349,7 @@
                             id="_CRM_PROCES___d4e4790-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -415,7 +413,7 @@
                             id="_CRM_PROCES___d4e4825-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -431,7 +429,7 @@
                             id="_CRM_PROCES___d4e4832-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -447,7 +445,7 @@
                             id="_CRM_PROCES___d4e4839-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -463,7 +461,7 @@
                             id="_CRM_PROCES___d4e4846-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -506,7 +504,7 @@
                             id="_CRM_PROCES___d4e4864-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
@@ -528,7 +526,7 @@
                             id="_CRM_PROCES___d4e4881-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -544,7 +542,7 @@
                             id="_CRM_PROCES___d4e4888-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -560,7 +558,7 @@
                             id="_CRM_PROCES___d4e4895-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -576,7 +574,7 @@
                             id="_CRM_PROCES___d4e4902-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -616,19 +614,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4919-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e4920-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-                   </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e4920-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4927-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4928-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4937-1_OPIS"/>
@@ -641,7 +627,7 @@
                             id="_CRM_PROCES___d4e4930-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -657,7 +643,7 @@
                             id="_CRM_PROCES___d4e4958-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -697,19 +683,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4975-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e4976-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-               </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e4976-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4983-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4984-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4995-1_OPIS"/>
@@ -726,7 +700,7 @@
                             id="_CRM_PROCES___d4e4989-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -742,7 +716,7 @@
                             id="_CRM_PROCES___d4e4996-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
@@ -758,7 +732,7 @@
                             id="_CRM_PROCES___d4e5003-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -774,7 +748,7 @@
                             id="_CRM_PROCES___d4e5010-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -790,7 +764,7 @@
                             id="_CRM_PROCES___d4e5017-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
@@ -830,19 +804,7 @@
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e5034-1_ID"/>
                <xsd:element name="PARENT_ID"
                             type="xsd:int"
-                            id="_CRM_PROCES___d4e5035-1_PARENT_ID">
-                  <xsd:annotation>
-                     <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
-                                                         system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xsd:appinfo>
-                     <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
-               </xsd:documentation>
-                  </xsd:annotation>
-               </xsd:element>
+                            id="_CRM_PROCES___d4e5035-1_PARENT_ID"/>
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e5042-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e5043-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e5056-1_OPIS"/>
@@ -855,7 +817,7 @@
                             id="_CRM_PROCES___d4e5045-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
@@ -870,7 +832,7 @@
                             id="_CRM_PROCES___d4e5052-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
@@ -885,7 +847,7 @@
                             id="_CRM_PROCES___d4e5059-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
@@ -900,7 +862,7 @@
                             id="_CRM_PROCES___d4e5066-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
@@ -915,7 +877,7 @@
                             id="_CRM_PROCES___d4e5073-1">
                   <xsd:annotation>
                      <xsd:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
                            <system_cache__appinfo:source system_cache__appinfo:name="ID"
                                                          system_cache__appinfo:ref_engine="view"
                                                          system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>