Просмотр исходного кода

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

a.binder 8 лет назад
Родитель
Сommit
ebc23cace0

+ 31 - 5
SE/schema/ant-object/default_db.USERS2_OFFERS/ID_NET/ID_NET.xsd

@@ -35,7 +35,7 @@
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
               schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/USERS2_OFFERS_GROUPS.xsd"
-              schemaLocation="../../default_db.USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUPS.xsd"/>
+              schemaLocation="../../default_db.USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BUILDINGS.xsd"
               schemaLocation="../../default_db.BUILDINGS/BUILDINGS/BUILDINGS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
@@ -57,7 +57,7 @@
          <xs:enumeration value="OFF_HARD"/>
       </xs:restriction>
    </xs:simpleType>
-   <xs:complexType name="USERS2_OFFERS">
+   <xs:complexType name="USERS2_OFFERS" system_cache__appinfo:primaryKey="ID">
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
@@ -84,7 +84,20 @@
          <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
          <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-         <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
          <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>
@@ -225,7 +238,7 @@
          </xs:complexContent>
       </xs:complexType>
    </xs:element>
-   <xs:complexType name="ID_TVCP">
+   <xs:complexType name="ID_TVCP" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__USERS2_OFFERS:USERS2_OFFERS">
             <xs:sequence>
@@ -240,7 +253,20 @@
                <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
                <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-               <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
                <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>

+ 31 - 5
SE/schema/ant-object/default_db.USERS2_OFFERS/ID_OFFERS_OFF/ID_OFFERS_OFF.xsd

@@ -35,7 +35,7 @@
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
               schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/USERS2_OFFERS_GROUPS.xsd"
-              schemaLocation="../../default_db.USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUPS.xsd"/>
+              schemaLocation="../../default_db.USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BUILDINGS.xsd"
               schemaLocation="../../default_db.BUILDINGS/BUILDINGS/BUILDINGS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
@@ -57,7 +57,7 @@
          <xs:enumeration value="OFF_HARD"/>
       </xs:restriction>
    </xs:simpleType>
-   <xs:complexType name="USERS2_OFFERS">
+   <xs:complexType name="USERS2_OFFERS" system_cache__appinfo:primaryKey="ID">
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
@@ -84,7 +84,20 @@
          <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
          <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-         <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
          <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>
@@ -225,7 +238,7 @@
          </xs:complexContent>
       </xs:complexType>
    </xs:element>
-   <xs:complexType name="ID_TVCP">
+   <xs:complexType name="ID_TVCP" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__USERS2_OFFERS:USERS2_OFFERS">
             <xs:sequence>
@@ -240,7 +253,20 @@
                <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
                <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-               <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
                <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>

+ 31 - 5
SE/schema/ant-object/default_db.USERS2_OFFERS/ID_OFFERS_ON/ID_OFFERS_ON.xsd

@@ -35,7 +35,7 @@
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
               schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/USERS2_OFFERS_GROUPS.xsd"
-              schemaLocation="../../default_db.USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUPS.xsd"/>
+              schemaLocation="../../default_db.USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BUILDINGS.xsd"
               schemaLocation="../../default_db.BUILDINGS/BUILDINGS/BUILDINGS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
@@ -57,7 +57,7 @@
          <xs:enumeration value="OFF_HARD"/>
       </xs:restriction>
    </xs:simpleType>
-   <xs:complexType name="USERS2_OFFERS">
+   <xs:complexType name="USERS2_OFFERS" system_cache__appinfo:primaryKey="ID">
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
@@ -84,7 +84,20 @@
          <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
          <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-         <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
          <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>
@@ -225,7 +238,7 @@
          </xs:complexContent>
       </xs:complexType>
    </xs:element>
-   <xs:complexType name="ID_TVCP">
+   <xs:complexType name="ID_TVCP" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__USERS2_OFFERS:USERS2_OFFERS">
             <xs:sequence>
@@ -240,7 +253,20 @@
                <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
                <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-               <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
                <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>

+ 31 - 5
SE/schema/ant-object/default_db.USERS2_OFFERS/ID_TEL/ID_TEL.xsd

@@ -35,7 +35,7 @@
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
               schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/USERS2_OFFERS_GROUPS.xsd"
-              schemaLocation="../../default_db.USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUPS.xsd"/>
+              schemaLocation="../../default_db.USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BUILDINGS.xsd"
               schemaLocation="../../default_db.BUILDINGS/BUILDINGS/BUILDINGS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
@@ -57,7 +57,7 @@
          <xs:enumeration value="OFF_HARD"/>
       </xs:restriction>
    </xs:simpleType>
-   <xs:complexType name="USERS2_OFFERS">
+   <xs:complexType name="USERS2_OFFERS" system_cache__appinfo:primaryKey="ID">
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
@@ -84,7 +84,20 @@
          <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
          <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-         <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
          <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>
@@ -225,7 +238,7 @@
          </xs:complexContent>
       </xs:complexType>
    </xs:element>
-   <xs:complexType name="ID_TVCP">
+   <xs:complexType name="ID_TVCP" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__USERS2_OFFERS:USERS2_OFFERS">
             <xs:sequence>
@@ -240,7 +253,20 @@
                <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
                <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-               <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
                <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>

+ 31 - 5
SE/schema/ant-object/default_db.USERS2_OFFERS/ID_TV/ID_TV.xsd

@@ -35,7 +35,7 @@
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
               schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/USERS2_OFFERS_GROUPS.xsd"
-              schemaLocation="../../default_db.USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUPS.xsd"/>
+              schemaLocation="../../default_db.USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BUILDINGS.xsd"
               schemaLocation="../../default_db.BUILDINGS/BUILDINGS/BUILDINGS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
@@ -57,7 +57,7 @@
          <xs:enumeration value="OFF_HARD"/>
       </xs:restriction>
    </xs:simpleType>
-   <xs:complexType name="USERS2_OFFERS">
+   <xs:complexType name="USERS2_OFFERS" system_cache__appinfo:primaryKey="ID">
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
@@ -84,7 +84,20 @@
          <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
          <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-         <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
          <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>
@@ -225,7 +238,7 @@
          </xs:complexContent>
       </xs:complexType>
    </xs:element>
-   <xs:complexType name="ID_TVCP">
+   <xs:complexType name="ID_TVCP" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__USERS2_OFFERS:USERS2_OFFERS">
             <xs:sequence>
@@ -240,7 +253,20 @@
                <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
                <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-               <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
                <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>

+ 31 - 5
SE/schema/ant-object/default_db.USERS2_OFFERS/ID_TVC/ID_TVC.xsd

@@ -35,7 +35,7 @@
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
               schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/USERS2_OFFERS_GROUPS.xsd"
-              schemaLocation="../../default_db.USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUPS.xsd"/>
+              schemaLocation="../../default_db.USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BUILDINGS.xsd"
               schemaLocation="../../default_db.BUILDINGS/BUILDINGS/BUILDINGS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
@@ -57,7 +57,7 @@
          <xs:enumeration value="OFF_HARD"/>
       </xs:restriction>
    </xs:simpleType>
-   <xs:complexType name="USERS2_OFFERS">
+   <xs:complexType name="USERS2_OFFERS" system_cache__appinfo:primaryKey="ID">
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
@@ -84,7 +84,20 @@
          <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
          <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-         <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
          <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>
@@ -225,7 +238,7 @@
          </xs:complexContent>
       </xs:complexType>
    </xs:element>
-   <xs:complexType name="ID_TVCP">
+   <xs:complexType name="ID_TVCP" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__USERS2_OFFERS:USERS2_OFFERS">
             <xs:sequence>
@@ -240,7 +253,20 @@
                <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
                <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-               <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
                <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>

+ 31 - 5
SE/schema/ant-object/default_db.USERS2_OFFERS/ID_TVCP/ID_TVCP.xsd

@@ -35,7 +35,7 @@
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
               schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/USERS2_OFFERS_GROUPS.xsd"
-              schemaLocation="../../default_db.USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUPS.xsd"/>
+              schemaLocation="../../default_db.USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BUILDINGS.xsd"
               schemaLocation="../../default_db.BUILDINGS/BUILDINGS/BUILDINGS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
@@ -57,7 +57,7 @@
          <xs:enumeration value="OFF_HARD"/>
       </xs:restriction>
    </xs:simpleType>
-   <xs:complexType name="USERS2_OFFERS">
+   <xs:complexType name="USERS2_OFFERS" system_cache__appinfo:primaryKey="ID">
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
@@ -84,7 +84,20 @@
          <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
          <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-         <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
          <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>
@@ -225,7 +238,7 @@
          </xs:complexContent>
       </xs:complexType>
    </xs:element>
-   <xs:complexType name="ID_TVCP">
+   <xs:complexType name="ID_TVCP" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__USERS2_OFFERS:USERS2_OFFERS">
             <xs:sequence>
@@ -240,7 +253,20 @@
                <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
                <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-               <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
                <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>

+ 31 - 5
SE/schema/ant-object/default_db.USERS2_OFFERS/ID_TVCP_1/ID_TVCP_1.xsd

@@ -35,7 +35,7 @@
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
               schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/USERS2_OFFERS_GROUPS.xsd"
-              schemaLocation="../../default_db.USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUPS.xsd"/>
+              schemaLocation="../../default_db.USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BUILDINGS.xsd"
               schemaLocation="../../default_db.BUILDINGS/BUILDINGS/BUILDINGS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
@@ -57,7 +57,7 @@
          <xs:enumeration value="OFF_HARD"/>
       </xs:restriction>
    </xs:simpleType>
-   <xs:complexType name="USERS2_OFFERS">
+   <xs:complexType name="USERS2_OFFERS" system_cache__appinfo:primaryKey="ID">
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
@@ -84,7 +84,20 @@
          <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
          <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-         <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
          <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>
@@ -225,7 +238,7 @@
          </xs:complexContent>
       </xs:complexType>
    </xs:element>
-   <xs:complexType name="ID_TVCP">
+   <xs:complexType name="ID_TVCP" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__USERS2_OFFERS:USERS2_OFFERS">
             <xs:sequence>
@@ -240,7 +253,20 @@
                <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
                <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-               <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
                <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>

+ 31 - 5
SE/schema/ant-object/default_db.USERS2_OFFERS/ID_TVCP_2/ID_TVCP_2.xsd

@@ -35,7 +35,7 @@
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
               schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/USERS2_OFFERS_GROUPS.xsd"
-              schemaLocation="../../default_db.USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUPS.xsd"/>
+              schemaLocation="../../default_db.USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BUILDINGS.xsd"
               schemaLocation="../../default_db.BUILDINGS/BUILDINGS/BUILDINGS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
@@ -57,7 +57,7 @@
          <xs:enumeration value="OFF_HARD"/>
       </xs:restriction>
    </xs:simpleType>
-   <xs:complexType name="USERS2_OFFERS">
+   <xs:complexType name="USERS2_OFFERS" system_cache__appinfo:primaryKey="ID">
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
@@ -84,7 +84,20 @@
          <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
          <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-         <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
          <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>
@@ -225,7 +238,7 @@
          </xs:complexContent>
       </xs:complexType>
    </xs:element>
-   <xs:complexType name="ID_TVCP">
+   <xs:complexType name="ID_TVCP" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__USERS2_OFFERS:USERS2_OFFERS">
             <xs:sequence>
@@ -240,7 +253,20 @@
                <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
                <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-               <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
                <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>

+ 31 - 5
SE/schema/ant-object/default_db.USERS2_OFFERS/ID_TVCP_3/ID_TVCP_3.xsd

@@ -35,7 +35,7 @@
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
               schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/USERS2_OFFERS_GROUPS.xsd"
-              schemaLocation="../../default_db.USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUPS.xsd"/>
+              schemaLocation="../../default_db.USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BUILDINGS.xsd"
               schemaLocation="../../default_db.BUILDINGS/BUILDINGS/BUILDINGS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
@@ -57,7 +57,7 @@
          <xs:enumeration value="OFF_HARD"/>
       </xs:restriction>
    </xs:simpleType>
-   <xs:complexType name="USERS2_OFFERS">
+   <xs:complexType name="USERS2_OFFERS" system_cache__appinfo:primaryKey="ID">
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
@@ -84,7 +84,20 @@
          <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
          <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-         <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
          <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>
@@ -225,7 +238,7 @@
          </xs:complexContent>
       </xs:complexType>
    </xs:element>
-   <xs:complexType name="ID_TVCP">
+   <xs:complexType name="ID_TVCP" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__USERS2_OFFERS:USERS2_OFFERS">
             <xs:sequence>
@@ -240,7 +253,20 @@
                <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
                <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-               <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
                <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>

+ 31 - 5
SE/schema/ant-object/default_db.USERS2_OFFERS/ID_TVCP_4/ID_TVCP_4.xsd

@@ -35,7 +35,7 @@
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
               schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/USERS2_OFFERS_GROUPS.xsd"
-              schemaLocation="../../default_db.USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUP/USERS2_OFFERS_GROUPS.xsd"/>
+              schemaLocation="../../default_db.USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS/USERS2_OFFERS_GROUPS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BUILDINGS.xsd"
               schemaLocation="../../default_db.BUILDINGS/BUILDINGS/BUILDINGS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
@@ -57,7 +57,7 @@
          <xs:enumeration value="OFF_HARD"/>
       </xs:restriction>
    </xs:simpleType>
-   <xs:complexType name="USERS2_OFFERS">
+   <xs:complexType name="USERS2_OFFERS" system_cache__appinfo:primaryKey="ID">
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
@@ -84,7 +84,20 @@
          <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
          <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-         <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
          <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>
@@ -225,7 +238,7 @@
          </xs:complexContent>
       </xs:complexType>
    </xs:element>
-   <xs:complexType name="ID_TVCP">
+   <xs:complexType name="ID_TVCP" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__USERS2_OFFERS:USERS2_OFFERS">
             <xs:sequence>
@@ -240,7 +253,20 @@
                <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
                <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-               <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
                <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>

+ 30 - 4
SE/schema/ant-object/default_db.USERS2_OFFERS/USERS2_OFFERS/USERS2_OFFERS.xsd

@@ -57,7 +57,7 @@
          <xs:enumeration value="OFF_HARD"/>
       </xs:restriction>
    </xs:simpleType>
-   <xs:complexType name="USERS2_OFFERS">
+   <xs:complexType name="USERS2_OFFERS" system_cache__appinfo:primaryKey="ID">
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
@@ -84,7 +84,20 @@
          <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
          <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-         <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
          <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
          <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>
@@ -225,7 +238,7 @@
          </xs:complexContent>
       </xs:complexType>
    </xs:element>
-   <xs:complexType name="ID_TVCP">
+   <xs:complexType name="ID_TVCP" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__USERS2_OFFERS:USERS2_OFFERS">
             <xs:sequence>
@@ -240,7 +253,20 @@
                <xs:element name="TAB_UPDATE_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_DATE" type="xs:string"/>
                <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
-               <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:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #180200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xs:element name="L_APPOITMENT_PERIOD" type="xs:string"/>
                <xs:element name="L_APPOITMENT_INFO" type="xs:string"/>
                <xs:element name="L_APPOITMENT_TYPE" type="xs:string"/>