a.binder 8 yıl önce
ebeveyn
işleme
bd7c81d23d

+ 49 - 5
SE/schema/ant-object/default_db.DEALS_TABLE/DEALS_TABLE/DEALS_TABLE.xsd

@@ -81,7 +81,15 @@
          <xs:element name="A_STATUS_INFO" type="xs:string" id="DEALS_TABLE___d4e6196-1_A_STATUS_I"/>
          <xs:element name="L_APPOITMENT_USER" type="xs:string"
             id="DEALS_TABLE___d4e6197-1_L_APPOITME"/>
-         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
+         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="L_APPOITMENT_USER" system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="A_CLASSIFIED" type="xs:string" id="DEALS_TABLE___d4e6199-1_A_CLASSIFI"/>
          <xs:element name="A_ADM_COMPANY" type="xs:string" id="DEALS_TABLE___d4e6201-1_A_ADM_COMP"/>
          <xs:element name="ID_BILLING_USERS" type="xs:integer"
@@ -142,11 +150,38 @@
          <xs:element name="P_ACCOUNT" type="xs:string" id="DEALS_TABLE___d4e6236-1_P_ACCOUNT"/>
          <xs:element name="ID_OFFERS_GROUP" type="xs:integer"
             id="DEALS_TABLE___d4e6237-1_ID_OFFERS_"/>
-         <xs:element ref="default_db__x3A__USERS2_OFFERS_GROUPS:USERS2_OFFERS_GROUPS"/>
+         <xs:element ref="default_db__x3A__USERS2_OFFERS_GROUPS:USERS2_OFFERS_GROUPS">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache > 
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="ID_OFFERS_GROUP" system_cache__appinfo:xpath="default_db__x3A__USERS2_OFFERS_GROUPS:USERS2_OFFERS_GROUPS/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>@2018-03 todo powinna byc od drugiej strony relacja raczej?</xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="ID_OFFERS_ON" type="xs:string" id="DEALS_TABLE___d4e6238-1_ID_OFFERS_"/>
-         <xs:element ref="default_db__x3A__USERS2_OFFERS:ID_OFFERS_ON"/>
+         <xs:element ref="default_db__x3A__USERS2_OFFERS:ID_OFFERS_ON">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache > 
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="ID_OFFERS_ON" system_cache__appinfo:xpath="default_db__x3A__USERS2_OFFERS:ID_OFFERS_ON/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>@2018-03 todo powinna byc od drugiej strony relacja raczej?</xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="ID_OFFERS_OFF" type="xs:string" id="DEALS_TABLE___d4e6239-1_ID_OFFERS_"/>
-         <xs:element ref="default_db__x3A__USERS2_OFFERS:ID_OFFERS_OFF"/>
+         <xs:element ref="default_db__x3A__USERS2_OFFERS:ID_OFFERS_OFF">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache > 
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="ID_OFFERS_OFF" system_cache__appinfo:xpath="default_db__x3A__USERS2_OFFERS:ID_OFFERS_OFF/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>@2018-03 todo powinna byc od drugiej strony relacja raczej?</xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="NEW_L2_HANGUP_FROM" type="xs:token"
             id="DEALS_TABLE___d4e6240-1_NEW_L2_HAN"/>
          <xs:element name="S_ADDRESS_STREET" type="xs:string"
@@ -160,7 +195,16 @@
          <xs:element name="ROZLICZ_MONTH" type="xs:token" id="DEALS_TABLE___d4e6247-1_ROZLICZ_MO"/>
          <xs:element name="ROZLICZ_ZYSK" type="xs:double" id="DEALS_TABLE___d4e6248-1_ROZLICZ_ZY"/>
          <xs:element name="M_REWIR" type="xs:string" id="DEALS_TABLE___d4e6249-1_M_REWIR"/>
-         <xs:element ref="default_db__x3A__MK_Rewiry:MK_Rewiry"/>
+         <xs:element ref="default_db__x3A__MK_Rewiry:MK_Rewiry">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true"> 
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="M_REWIR" system_cache__appinfo:xpath="default_db__x3A__MK_Rewiry:MK_Rewiry/NAZWA_REWI"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>@2018-03 todo mamy podwojne dojscie - przez rewir i przez projekt - lepiej od rewiru analizowac sprzedaz. Relacja jako backref</xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="P_OSIEDLE" type="xs:string" id="DEALS_TABLE___d4e6250-1_P_OSIEDLE"/>
          <xs:element name="OFFERS_PRICES_INFO" type="xs:string"
             id="DEALS_TABLE___d4e6251-1_OFFERS_PRI"/>