a.binder пре 8 година
родитељ
комит
1986024d5f

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

@@ -162,7 +162,18 @@
          <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
          <xs:element maxOccurs="unbounded"
                      minOccurs="0"
-                     ref="default_db__x3A__SALES_PLAN:SALES_PLAN"/>
+                     ref="default_db__x3A__SALES_PLAN:SALES_PLAN">
+            <xs:annotation>
+               <xs: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__SALES_PLAN:SALES_PLAN/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>podstawowa relacja - od SALES_PLAN jest jako BACKREF</xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <!--<xs:element maxOccurs="unbounded" minOccurs="0"
             ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>-->
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
@@ -645,8 +656,8 @@
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
                      <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:name=""
-                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID"/>
+                                                   system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID_PROJECT"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xs:appinfo>
                <xs:documentation>
@@ -661,8 +672,8 @@
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
                      <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:name=""
-                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID"/>
+                                                   system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID_PROJECT"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xs:appinfo>
                <xs:documentation>
@@ -672,7 +683,20 @@
          </xs:element>
          <xs:element maxOccurs="unbounded"
                      minOccurs="0"
-                     ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE"/>
+                     ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE">
+            <xs:annotation>
+               <xs:documentation>
+                  Podstawowa relacja, jest jeszcze od BADANIA_W_TERENIE jako backref
+               </xs:documentation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
          <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
                      maxOccurs="unbounded"
                      minOccurs="0"/>
@@ -781,7 +805,18 @@
                <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
                <xs:element maxOccurs="unbounded"
                            minOccurs="0"
-                           ref="default_db__x3A__SALES_PLAN:SALES_PLAN"/>
+                           ref="default_db__x3A__SALES_PLAN:SALES_PLAN">
+                  <xs:annotation>
+                     <xs: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__SALES_PLAN:SALES_PLAN/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>podstawowa relacja - od SALES_PLAN jest jako BACKREF</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <!--<xs:element maxOccurs="unbounded" minOccurs="0"
             ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>-->
                <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
@@ -1264,8 +1299,8 @@
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
                            <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:name=""
-                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID"/>
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID_PROJECT"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                      <xs:documentation>
@@ -1280,8 +1315,8 @@
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
                            <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:name=""
-                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID"/>
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID_PROJECT"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                      <xs:documentation>
@@ -1291,7 +1326,20 @@
                </xs:element>
                <xs:element maxOccurs="unbounded"
                            minOccurs="0"
-                           ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE"/>
+                           ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE">
+                  <xs:annotation>
+                     <xs:documentation>
+                        Podstawowa relacja, jest jeszcze od BADANIA_W_TERENIE jako backref
+                     </xs:documentation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
                <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
                            maxOccurs="unbounded"
                            minOccurs="0"/>

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

@@ -162,7 +162,18 @@
          <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
          <xs:element maxOccurs="unbounded"
                      minOccurs="0"
-                     ref="default_db__x3A__SALES_PLAN:SALES_PLAN"/>
+                     ref="default_db__x3A__SALES_PLAN:SALES_PLAN">
+            <xs:annotation>
+               <xs: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__SALES_PLAN:SALES_PLAN/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>podstawowa relacja - od SALES_PLAN jest jako BACKREF</xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <!--<xs:element maxOccurs="unbounded" minOccurs="0"
             ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>-->
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
@@ -645,8 +656,8 @@
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
                      <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:name=""
-                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID"/>
+                                                   system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID_PROJECT"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xs:appinfo>
                <xs:documentation>
@@ -661,8 +672,8 @@
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
                      <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:name=""
-                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID"/>
+                                                   system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID_PROJECT"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xs:appinfo>
                <xs:documentation>
@@ -672,7 +683,20 @@
          </xs:element>
          <xs:element maxOccurs="unbounded"
                      minOccurs="0"
-                     ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE"/>
+                     ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE">
+            <xs:annotation>
+               <xs:documentation>
+                  Podstawowa relacja, jest jeszcze od BADANIA_W_TERENIE jako backref
+               </xs:documentation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
          <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
                      maxOccurs="unbounded"
                      minOccurs="0"/>
@@ -781,7 +805,18 @@
                <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
                <xs:element maxOccurs="unbounded"
                            minOccurs="0"
-                           ref="default_db__x3A__SALES_PLAN:SALES_PLAN"/>
+                           ref="default_db__x3A__SALES_PLAN:SALES_PLAN">
+                  <xs:annotation>
+                     <xs: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__SALES_PLAN:SALES_PLAN/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>podstawowa relacja - od SALES_PLAN jest jako BACKREF</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <!--<xs:element maxOccurs="unbounded" minOccurs="0"
             ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>-->
                <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
@@ -1264,8 +1299,8 @@
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
                            <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:name=""
-                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID"/>
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID_PROJECT"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                      <xs:documentation>
@@ -1280,8 +1315,8 @@
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
                            <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:name=""
-                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID"/>
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID_PROJECT"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                      <xs:documentation>
@@ -1291,7 +1326,20 @@
                </xs:element>
                <xs:element maxOccurs="unbounded"
                            minOccurs="0"
-                           ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE"/>
+                           ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE">
+                  <xs:annotation>
+                     <xs:documentation>
+                        Podstawowa relacja, jest jeszcze od BADANIA_W_TERENIE jako backref
+                     </xs:documentation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
                <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
                            maxOccurs="unbounded"
                            minOccurs="0"/>

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

@@ -162,7 +162,18 @@
          <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
          <xs:element maxOccurs="unbounded"
                      minOccurs="0"
-                     ref="default_db__x3A__SALES_PLAN:SALES_PLAN"/>
+                     ref="default_db__x3A__SALES_PLAN:SALES_PLAN">
+            <xs:annotation>
+               <xs: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__SALES_PLAN:SALES_PLAN/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>podstawowa relacja - od SALES_PLAN jest jako BACKREF</xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <!--<xs:element maxOccurs="unbounded" minOccurs="0"
             ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>-->
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
@@ -645,8 +656,8 @@
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
                      <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:name=""
-                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID"/>
+                                                   system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID_PROJECT"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xs:appinfo>
                <xs:documentation>
@@ -661,8 +672,8 @@
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
                      <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:name=""
-                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID"/>
+                                                   system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID_PROJECT"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xs:appinfo>
                <xs:documentation>
@@ -672,7 +683,20 @@
          </xs:element>
          <xs:element maxOccurs="unbounded"
                      minOccurs="0"
-                     ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE"/>
+                     ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE">
+            <xs:annotation>
+               <xs:documentation>
+                  Podstawowa relacja, jest jeszcze od BADANIA_W_TERENIE jako backref
+               </xs:documentation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
          <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
                      maxOccurs="unbounded"
                      minOccurs="0"/>
@@ -781,7 +805,18 @@
                <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
                <xs:element maxOccurs="unbounded"
                            minOccurs="0"
-                           ref="default_db__x3A__SALES_PLAN:SALES_PLAN"/>
+                           ref="default_db__x3A__SALES_PLAN:SALES_PLAN">
+                  <xs:annotation>
+                     <xs: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__SALES_PLAN:SALES_PLAN/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>podstawowa relacja - od SALES_PLAN jest jako BACKREF</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <!--<xs:element maxOccurs="unbounded" minOccurs="0"
             ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>-->
                <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
@@ -1264,8 +1299,8 @@
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
                            <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:name=""
-                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID"/>
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID_PROJECT"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                      <xs:documentation>
@@ -1280,8 +1315,8 @@
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
                            <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:name=""
-                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID"/>
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID_PROJECT"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                      <xs:documentation>
@@ -1291,7 +1326,20 @@
                </xs:element>
                <xs:element maxOccurs="unbounded"
                            minOccurs="0"
-                           ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE"/>
+                           ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE">
+                  <xs:annotation>
+                     <xs:documentation>
+                        Podstawowa relacja, jest jeszcze od BADANIA_W_TERENIE jako backref
+                     </xs:documentation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
                <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
                            maxOccurs="unbounded"
                            minOccurs="0"/>

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

@@ -162,7 +162,18 @@
          <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
          <xs:element maxOccurs="unbounded"
                      minOccurs="0"
-                     ref="default_db__x3A__SALES_PLAN:SALES_PLAN"/>
+                     ref="default_db__x3A__SALES_PLAN:SALES_PLAN">
+            <xs:annotation>
+               <xs: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__SALES_PLAN:SALES_PLAN/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>podstawowa relacja - od SALES_PLAN jest jako BACKREF</xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <!--<xs:element maxOccurs="unbounded" minOccurs="0"
             ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>-->
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
@@ -645,8 +656,8 @@
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
                      <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:name=""
-                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID"/>
+                                                   system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID_PROJECT"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xs:appinfo>
                <xs:documentation>
@@ -661,8 +672,8 @@
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
                      <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:name=""
-                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID"/>
+                                                   system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID_PROJECT"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xs:appinfo>
                <xs:documentation>
@@ -672,7 +683,20 @@
          </xs:element>
          <xs:element maxOccurs="unbounded"
                      minOccurs="0"
-                     ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE"/>
+                     ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE">
+            <xs:annotation>
+               <xs:documentation>
+                  Podstawowa relacja, jest jeszcze od BADANIA_W_TERENIE jako backref
+               </xs:documentation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
          <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
                      maxOccurs="unbounded"
                      minOccurs="0"/>
@@ -781,7 +805,18 @@
                <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
                <xs:element maxOccurs="unbounded"
                            minOccurs="0"
-                           ref="default_db__x3A__SALES_PLAN:SALES_PLAN"/>
+                           ref="default_db__x3A__SALES_PLAN:SALES_PLAN">
+                  <xs:annotation>
+                     <xs: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__SALES_PLAN:SALES_PLAN/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>podstawowa relacja - od SALES_PLAN jest jako BACKREF</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <!--<xs:element maxOccurs="unbounded" minOccurs="0"
             ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>-->
                <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
@@ -1264,8 +1299,8 @@
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
                            <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:name=""
-                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID"/>
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID_PROJECT"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                      <xs:documentation>
@@ -1280,8 +1315,8 @@
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
                            <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:name=""
-                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID"/>
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID_PROJECT"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                      <xs:documentation>
@@ -1291,7 +1326,20 @@
                </xs:element>
                <xs:element maxOccurs="unbounded"
                            minOccurs="0"
-                           ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE"/>
+                           ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE">
+                  <xs:annotation>
+                     <xs:documentation>
+                        Podstawowa relacja, jest jeszcze od BADANIA_W_TERENIE jako backref
+                     </xs:documentation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
                <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
                            maxOccurs="unbounded"
                            minOccurs="0"/>