Explorar el Código

backref to rozdzielcza*

a.binder hace 8 años
padre
commit
e6e59f7b9a
Se han modificado 18 ficheros con 10531 adiciones y 982 borrados
  1. 954 100
      SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/ID_PROJECT/ID_PROJECT.xsd
  2. 954 100
      SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd
  3. 954 100
      SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/INWESTYCJA_BUDOWA_SIECI/INWESTYCJA_BUDOWA_SIECI.xsd
  4. 954 100
      SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/INWESTYCJA_BUDOWA_SIECI_UZG/INWESTYCJA_BUDOWA_SIECI_UZG.xsd
  5. 954 100
      SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/TRANSFER_OPPOSITE_ID_PROJECT/TRANSFER_OPPOSITE_ID_PROJECT.xsd
  6. 954 100
      SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/UMOWA/UMOWA.xsd
  7. 363 382
      SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84.xsd
  8. 404 0
      SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_DO_REALIZ/Rozdzielcza_rurociag_wsg84_DO_REALIZ.xsd
  9. 404 0
      SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_DO_UZG/Rozdzielcza_rurociag_wsg84_DO_UZG.xsd
  10. 404 0
      SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_DO_UZG_ZUD/Rozdzielcza_rurociag_wsg84_DO_UZG_ZUD.xsd
  11. 404 0
      SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_DRAFT/Rozdzielcza_rurociag_wsg84_DRAFT.xsd
  12. 404 0
      SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_OFFER/Rozdzielcza_rurociag_wsg84_OFFER.xsd
  13. 404 0
      SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_POM_GEOD/Rozdzielcza_rurociag_wsg84_POM_GEOD.xsd
  14. 404 0
      SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_PROJEKT/Rozdzielcza_rurociag_wsg84_PROJEKT.xsd
  15. 404 0
      SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_UZG/Rozdzielcza_rurociag_wsg84_UZG.xsd
  16. 404 0
      SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_UZG_ZUD/Rozdzielcza_rurociag_wsg84_UZG_ZUD.xsd
  17. 404 0
      SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_ZGL_ODB/Rozdzielcza_rurociag_wsg84_ZGL_ODB.xsd
  18. 404 0
      SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_ZLECENIE/Rozdzielcza_rurociag_wsg84_ZLECENIE.xsd

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 954 - 100
SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/ID_PROJECT/ID_PROJECT.xsd


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 954 - 100
SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 954 - 100
SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/INWESTYCJA_BUDOWA_SIECI/INWESTYCJA_BUDOWA_SIECI.xsd


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 954 - 100
SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/INWESTYCJA_BUDOWA_SIECI_UZG/INWESTYCJA_BUDOWA_SIECI_UZG.xsd


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 954 - 100
SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/TRANSFER_OPPOSITE_ID_PROJECT/TRANSFER_OPPOSITE_ID_PROJECT.xsd


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 954 - 100
SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/UMOWA/UMOWA.xsd


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 363 - 382
SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84.xsd


+ 404 - 0
SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_DO_REALIZ/Rozdzielcza_rurociag_wsg84_DO_REALIZ.xsd

@@ -8,8 +8,18 @@
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+            xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             vc:minVersion="1.1">
             vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
@@ -18,6 +28,10 @@
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
+   <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+               schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
+   <xsd: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"/>
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
       <xsd:restriction base="xsd:int"/>
       <xsd:restriction base="xsd:int"/>
    </xsd:simpleType>
    </xsd:simpleType>
@@ -85,6 +99,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="L_APPOITMENT_USER"
          <xsd:element name="L_APPOITMENT_USER"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     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 #166
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="A_CLASSIFIED"
          <xsd:element name="A_CLASSIFIED"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
@@ -94,6 +123,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="ID_PROJECT"
          <xsd:element name="ID_PROJECT"
                       type="xsd:int"
                       type="xsd:int"
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+            <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_PROJECT"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="ID_KORESP_PROJEKT"
          <xsd:element name="ID_KORESP_PROJEKT"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
@@ -337,6 +381,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
@@ -346,6 +405,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
@@ -594,6 +668,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
@@ -603,6 +692,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
@@ -851,6 +955,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
@@ -860,6 +979,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
@@ -1105,6 +1239,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
@@ -1114,6 +1263,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
@@ -1357,6 +1521,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
@@ -1366,6 +1545,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
@@ -1615,6 +1809,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
@@ -1624,6 +1833,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
@@ -1866,6 +2090,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
@@ -1875,6 +2114,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
@@ -2117,6 +2371,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
@@ -2126,6 +2395,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
@@ -2371,6 +2655,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
@@ -2380,6 +2679,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
@@ -2624,6 +2938,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
@@ -2633,6 +2962,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
@@ -2875,6 +3219,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
@@ -2884,6 +3243,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
@@ -3128,6 +3502,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
@@ -3137,6 +3526,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>

+ 404 - 0
SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_DO_UZG/Rozdzielcza_rurociag_wsg84_DO_UZG.xsd

@@ -8,8 +8,18 @@
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+            xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             vc:minVersion="1.1">
             vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
@@ -18,6 +28,10 @@
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
+   <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+               schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
+   <xsd: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"/>
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
       <xsd:restriction base="xsd:int"/>
       <xsd:restriction base="xsd:int"/>
    </xsd:simpleType>
    </xsd:simpleType>
@@ -85,6 +99,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="L_APPOITMENT_USER"
          <xsd:element name="L_APPOITMENT_USER"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     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 #166
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="A_CLASSIFIED"
          <xsd:element name="A_CLASSIFIED"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
@@ -94,6 +123,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="ID_PROJECT"
          <xsd:element name="ID_PROJECT"
                       type="xsd:int"
                       type="xsd:int"
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+            <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_PROJECT"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="ID_KORESP_PROJEKT"
          <xsd:element name="ID_KORESP_PROJEKT"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
@@ -337,6 +381,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
@@ -346,6 +405,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
@@ -594,6 +668,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
@@ -603,6 +692,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
@@ -851,6 +955,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
@@ -860,6 +979,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
@@ -1105,6 +1239,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
@@ -1114,6 +1263,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
@@ -1357,6 +1521,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
@@ -1366,6 +1545,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
@@ -1615,6 +1809,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
@@ -1624,6 +1833,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
@@ -1866,6 +2090,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
@@ -1875,6 +2114,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
@@ -2117,6 +2371,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
@@ -2126,6 +2395,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
@@ -2371,6 +2655,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
@@ -2380,6 +2679,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
@@ -2624,6 +2938,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
@@ -2633,6 +2962,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
@@ -2875,6 +3219,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
@@ -2884,6 +3243,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
@@ -3128,6 +3502,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
@@ -3137,6 +3526,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>

+ 404 - 0
SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_DO_UZG_ZUD/Rozdzielcza_rurociag_wsg84_DO_UZG_ZUD.xsd

@@ -8,8 +8,18 @@
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+            xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             vc:minVersion="1.1">
             vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
@@ -18,6 +28,10 @@
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
+   <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+               schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
+   <xsd: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"/>
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
       <xsd:restriction base="xsd:int"/>
       <xsd:restriction base="xsd:int"/>
    </xsd:simpleType>
    </xsd:simpleType>
@@ -85,6 +99,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="L_APPOITMENT_USER"
          <xsd:element name="L_APPOITMENT_USER"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     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 #166
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="A_CLASSIFIED"
          <xsd:element name="A_CLASSIFIED"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
@@ -94,6 +123,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="ID_PROJECT"
          <xsd:element name="ID_PROJECT"
                       type="xsd:int"
                       type="xsd:int"
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+            <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_PROJECT"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="ID_KORESP_PROJEKT"
          <xsd:element name="ID_KORESP_PROJEKT"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
@@ -337,6 +381,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
@@ -346,6 +405,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
@@ -594,6 +668,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
@@ -603,6 +692,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
@@ -851,6 +955,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
@@ -860,6 +979,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
@@ -1105,6 +1239,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
@@ -1114,6 +1263,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
@@ -1357,6 +1521,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
@@ -1366,6 +1545,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
@@ -1615,6 +1809,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
@@ -1624,6 +1833,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
@@ -1866,6 +2090,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
@@ -1875,6 +2114,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
@@ -2117,6 +2371,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
@@ -2126,6 +2395,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
@@ -2371,6 +2655,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
@@ -2380,6 +2679,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
@@ -2624,6 +2938,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
@@ -2633,6 +2962,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
@@ -2875,6 +3219,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
@@ -2884,6 +3243,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
@@ -3128,6 +3502,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
@@ -3137,6 +3526,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>

+ 404 - 0
SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_DRAFT/Rozdzielcza_rurociag_wsg84_DRAFT.xsd

@@ -8,8 +8,18 @@
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+            xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             vc:minVersion="1.1">
             vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
@@ -18,6 +28,10 @@
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
+   <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+               schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
+   <xsd: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"/>
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
       <xsd:restriction base="xsd:int"/>
       <xsd:restriction base="xsd:int"/>
    </xsd:simpleType>
    </xsd:simpleType>
@@ -85,6 +99,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="L_APPOITMENT_USER"
          <xsd:element name="L_APPOITMENT_USER"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     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 #166
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="A_CLASSIFIED"
          <xsd:element name="A_CLASSIFIED"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
@@ -94,6 +123,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="ID_PROJECT"
          <xsd:element name="ID_PROJECT"
                       type="xsd:int"
                       type="xsd:int"
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+            <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_PROJECT"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="ID_KORESP_PROJEKT"
          <xsd:element name="ID_KORESP_PROJEKT"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
@@ -337,6 +381,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
@@ -346,6 +405,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
@@ -594,6 +668,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
@@ -603,6 +692,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
@@ -851,6 +955,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
@@ -860,6 +979,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
@@ -1105,6 +1239,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
@@ -1114,6 +1263,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
@@ -1357,6 +1521,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
@@ -1366,6 +1545,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
@@ -1615,6 +1809,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
@@ -1624,6 +1833,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
@@ -1866,6 +2090,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
@@ -1875,6 +2114,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
@@ -2117,6 +2371,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
@@ -2126,6 +2395,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
@@ -2371,6 +2655,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
@@ -2380,6 +2679,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
@@ -2624,6 +2938,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
@@ -2633,6 +2962,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
@@ -2875,6 +3219,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
@@ -2884,6 +3243,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
@@ -3128,6 +3502,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
@@ -3137,6 +3526,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>

+ 404 - 0
SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_OFFER/Rozdzielcza_rurociag_wsg84_OFFER.xsd

@@ -8,8 +8,18 @@
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+            xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             vc:minVersion="1.1">
             vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
@@ -18,6 +28,10 @@
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
+   <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+               schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
+   <xsd: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"/>
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
       <xsd:restriction base="xsd:int"/>
       <xsd:restriction base="xsd:int"/>
    </xsd:simpleType>
    </xsd:simpleType>
@@ -85,6 +99,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="L_APPOITMENT_USER"
          <xsd:element name="L_APPOITMENT_USER"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     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 #166
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="A_CLASSIFIED"
          <xsd:element name="A_CLASSIFIED"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
@@ -94,6 +123,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="ID_PROJECT"
          <xsd:element name="ID_PROJECT"
                       type="xsd:int"
                       type="xsd:int"
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+            <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_PROJECT"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="ID_KORESP_PROJEKT"
          <xsd:element name="ID_KORESP_PROJEKT"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
@@ -337,6 +381,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
@@ -346,6 +405,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
@@ -594,6 +668,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
@@ -603,6 +692,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
@@ -851,6 +955,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
@@ -860,6 +979,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
@@ -1105,6 +1239,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
@@ -1114,6 +1263,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
@@ -1357,6 +1521,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
@@ -1366,6 +1545,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
@@ -1615,6 +1809,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
@@ -1624,6 +1833,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
@@ -1866,6 +2090,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
@@ -1875,6 +2114,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
@@ -2117,6 +2371,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
@@ -2126,6 +2395,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
@@ -2371,6 +2655,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
@@ -2380,6 +2679,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
@@ -2624,6 +2938,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
@@ -2633,6 +2962,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
@@ -2875,6 +3219,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
@@ -2884,6 +3243,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
@@ -3128,6 +3502,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
@@ -3137,6 +3526,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>

+ 404 - 0
SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_POM_GEOD/Rozdzielcza_rurociag_wsg84_POM_GEOD.xsd

@@ -8,8 +8,18 @@
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+            xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             vc:minVersion="1.1">
             vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
@@ -18,6 +28,10 @@
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
+   <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+               schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
+   <xsd: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"/>
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
       <xsd:restriction base="xsd:int"/>
       <xsd:restriction base="xsd:int"/>
    </xsd:simpleType>
    </xsd:simpleType>
@@ -85,6 +99,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="L_APPOITMENT_USER"
          <xsd:element name="L_APPOITMENT_USER"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     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 #166
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="A_CLASSIFIED"
          <xsd:element name="A_CLASSIFIED"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
@@ -94,6 +123,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="ID_PROJECT"
          <xsd:element name="ID_PROJECT"
                       type="xsd:int"
                       type="xsd:int"
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+            <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_PROJECT"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="ID_KORESP_PROJEKT"
          <xsd:element name="ID_KORESP_PROJEKT"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
@@ -337,6 +381,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
@@ -346,6 +405,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
@@ -594,6 +668,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
@@ -603,6 +692,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
@@ -851,6 +955,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
@@ -860,6 +979,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
@@ -1105,6 +1239,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
@@ -1114,6 +1263,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
@@ -1357,6 +1521,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
@@ -1366,6 +1545,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
@@ -1615,6 +1809,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
@@ -1624,6 +1833,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
@@ -1866,6 +2090,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
@@ -1875,6 +2114,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
@@ -2117,6 +2371,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
@@ -2126,6 +2395,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
@@ -2371,6 +2655,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
@@ -2380,6 +2679,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
@@ -2624,6 +2938,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
@@ -2633,6 +2962,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
@@ -2875,6 +3219,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
@@ -2884,6 +3243,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
@@ -3128,6 +3502,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
@@ -3137,6 +3526,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>

+ 404 - 0
SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_PROJEKT/Rozdzielcza_rurociag_wsg84_PROJEKT.xsd

@@ -8,8 +8,18 @@
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+            xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             vc:minVersion="1.1">
             vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
@@ -18,6 +28,10 @@
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
+   <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+               schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
+   <xsd: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"/>
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
       <xsd:restriction base="xsd:int"/>
       <xsd:restriction base="xsd:int"/>
    </xsd:simpleType>
    </xsd:simpleType>
@@ -85,6 +99,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="L_APPOITMENT_USER"
          <xsd:element name="L_APPOITMENT_USER"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     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 #166
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="A_CLASSIFIED"
          <xsd:element name="A_CLASSIFIED"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
@@ -94,6 +123,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="ID_PROJECT"
          <xsd:element name="ID_PROJECT"
                       type="xsd:int"
                       type="xsd:int"
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+            <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_PROJECT"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="ID_KORESP_PROJEKT"
          <xsd:element name="ID_KORESP_PROJEKT"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
@@ -337,6 +381,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
@@ -346,6 +405,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
@@ -594,6 +668,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
@@ -603,6 +692,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
@@ -851,6 +955,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
@@ -860,6 +979,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
@@ -1105,6 +1239,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
@@ -1114,6 +1263,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
@@ -1357,6 +1521,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
@@ -1366,6 +1545,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
@@ -1615,6 +1809,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
@@ -1624,6 +1833,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
@@ -1866,6 +2090,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
@@ -1875,6 +2114,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
@@ -2117,6 +2371,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
@@ -2126,6 +2395,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
@@ -2371,6 +2655,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
@@ -2380,6 +2679,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
@@ -2624,6 +2938,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
@@ -2633,6 +2962,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
@@ -2875,6 +3219,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
@@ -2884,6 +3243,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
@@ -3128,6 +3502,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
@@ -3137,6 +3526,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>

+ 404 - 0
SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_UZG/Rozdzielcza_rurociag_wsg84_UZG.xsd

@@ -8,8 +8,18 @@
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+            xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             vc:minVersion="1.1">
             vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
@@ -18,6 +28,10 @@
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
+   <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+               schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
+   <xsd: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"/>
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
       <xsd:restriction base="xsd:int"/>
       <xsd:restriction base="xsd:int"/>
    </xsd:simpleType>
    </xsd:simpleType>
@@ -85,6 +99,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="L_APPOITMENT_USER"
          <xsd:element name="L_APPOITMENT_USER"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     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 #166
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="A_CLASSIFIED"
          <xsd:element name="A_CLASSIFIED"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
@@ -94,6 +123,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="ID_PROJECT"
          <xsd:element name="ID_PROJECT"
                       type="xsd:int"
                       type="xsd:int"
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+            <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_PROJECT"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="ID_KORESP_PROJEKT"
          <xsd:element name="ID_KORESP_PROJEKT"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
@@ -337,6 +381,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
@@ -346,6 +405,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
@@ -594,6 +668,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
@@ -603,6 +692,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
@@ -851,6 +955,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
@@ -860,6 +979,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
@@ -1105,6 +1239,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
@@ -1114,6 +1263,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
@@ -1357,6 +1521,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
@@ -1366,6 +1545,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
@@ -1615,6 +1809,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
@@ -1624,6 +1833,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
@@ -1866,6 +2090,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
@@ -1875,6 +2114,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
@@ -2117,6 +2371,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
@@ -2126,6 +2395,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
@@ -2371,6 +2655,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
@@ -2380,6 +2679,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
@@ -2624,6 +2938,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
@@ -2633,6 +2962,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
@@ -2875,6 +3219,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
@@ -2884,6 +3243,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
@@ -3128,6 +3502,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
@@ -3137,6 +3526,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>

+ 404 - 0
SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_UZG_ZUD/Rozdzielcza_rurociag_wsg84_UZG_ZUD.xsd

@@ -8,8 +8,18 @@
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+            xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             vc:minVersion="1.1">
             vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
@@ -18,6 +28,10 @@
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
+   <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+               schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
+   <xsd: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"/>
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
       <xsd:restriction base="xsd:int"/>
       <xsd:restriction base="xsd:int"/>
    </xsd:simpleType>
    </xsd:simpleType>
@@ -85,6 +99,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="L_APPOITMENT_USER"
          <xsd:element name="L_APPOITMENT_USER"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     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 #166
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="A_CLASSIFIED"
          <xsd:element name="A_CLASSIFIED"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
@@ -94,6 +123,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="ID_PROJECT"
          <xsd:element name="ID_PROJECT"
                       type="xsd:int"
                       type="xsd:int"
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+            <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_PROJECT"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="ID_KORESP_PROJEKT"
          <xsd:element name="ID_KORESP_PROJEKT"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
@@ -337,6 +381,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
@@ -346,6 +405,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
@@ -594,6 +668,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
@@ -603,6 +692,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
@@ -851,6 +955,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
@@ -860,6 +979,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
@@ -1105,6 +1239,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
@@ -1114,6 +1263,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
@@ -1357,6 +1521,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
@@ -1366,6 +1545,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
@@ -1615,6 +1809,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
@@ -1624,6 +1833,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
@@ -1866,6 +2090,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
@@ -1875,6 +2114,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
@@ -2117,6 +2371,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
@@ -2126,6 +2395,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
@@ -2371,6 +2655,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
@@ -2380,6 +2679,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
@@ -2624,6 +2938,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
@@ -2633,6 +2962,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
@@ -2875,6 +3219,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
@@ -2884,6 +3243,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
@@ -3128,6 +3502,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
@@ -3137,6 +3526,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>

+ 404 - 0
SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_ZGL_ODB/Rozdzielcza_rurociag_wsg84_ZGL_ODB.xsd

@@ -8,8 +8,18 @@
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+            xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             vc:minVersion="1.1">
             vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
@@ -18,6 +28,10 @@
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
+   <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+               schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
+   <xsd: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"/>
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
       <xsd:restriction base="xsd:int"/>
       <xsd:restriction base="xsd:int"/>
    </xsd:simpleType>
    </xsd:simpleType>
@@ -85,6 +99,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="L_APPOITMENT_USER"
          <xsd:element name="L_APPOITMENT_USER"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     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 #166
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="A_CLASSIFIED"
          <xsd:element name="A_CLASSIFIED"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
@@ -94,6 +123,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="ID_PROJECT"
          <xsd:element name="ID_PROJECT"
                       type="xsd:int"
                       type="xsd:int"
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+            <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_PROJECT"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="ID_KORESP_PROJEKT"
          <xsd:element name="ID_KORESP_PROJEKT"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
@@ -337,6 +381,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
@@ -346,6 +405,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
@@ -594,6 +668,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
@@ -603,6 +692,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
@@ -851,6 +955,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
@@ -860,6 +979,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
@@ -1105,6 +1239,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
@@ -1114,6 +1263,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
@@ -1357,6 +1521,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
@@ -1366,6 +1545,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
@@ -1615,6 +1809,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
@@ -1624,6 +1833,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
@@ -1866,6 +2090,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
@@ -1875,6 +2114,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
@@ -2117,6 +2371,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
@@ -2126,6 +2395,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
@@ -2371,6 +2655,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
@@ -2380,6 +2679,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
@@ -2624,6 +2938,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
@@ -2633,6 +2962,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
@@ -2875,6 +3219,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
@@ -2884,6 +3243,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
@@ -3128,6 +3502,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
@@ -3137,6 +3526,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>

+ 404 - 0
SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84_ZLECENIE/Rozdzielcza_rurociag_wsg84_ZLECENIE.xsd

@@ -8,8 +8,18 @@
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:default_db__x3A__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
             xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+            xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
             vc:minVersion="1.1">
             vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
                schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
@@ -18,6 +28,10 @@
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
                schemaLocation="../../../SystemObjects/AccessOwner.xsd"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
                schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
+   <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+               schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
+   <xsd: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"/>
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
    <xsd:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
       <xsd:restriction base="xsd:int"/>
       <xsd:restriction base="xsd:int"/>
    </xsd:simpleType>
    </xsd:simpleType>
@@ -85,6 +99,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="L_APPOITMENT_USER"
          <xsd:element name="L_APPOITMENT_USER"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
                       id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     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 #166
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="A_CLASSIFIED"
          <xsd:element name="A_CLASSIFIED"
                       type="xsd:string"
                       type="xsd:string"
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
                       id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
@@ -94,6 +123,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xsd:element name="ID_PROJECT"
          <xsd:element name="ID_PROJECT"
                       type="xsd:int"
                       type="xsd:int"
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
                       id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
+         <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                     ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+            <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_PROJECT"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xsd:element name="ID_KORESP_PROJEKT"
          <xsd:element name="ID_KORESP_PROJEKT"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
                       id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
@@ -337,6 +381,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
@@ -346,6 +405,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
@@ -594,6 +668,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
@@ -603,6 +692,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
@@ -851,6 +955,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
@@ -860,6 +979,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
@@ -1105,6 +1239,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
@@ -1114,6 +1263,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
@@ -1357,6 +1521,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
@@ -1366,6 +1545,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
@@ -1615,6 +1809,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
@@ -1624,6 +1833,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
@@ -1866,6 +2090,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
@@ -1875,6 +2114,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
@@ -2117,6 +2371,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
@@ -2126,6 +2395,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
@@ -2371,6 +2655,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
@@ -2380,6 +2679,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
@@ -2624,6 +2938,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
@@ -2633,6 +2962,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
@@ -2875,6 +3219,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
@@ -2884,6 +3243,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
@@ -3128,6 +3502,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="L_APPOITMENT_USER"
                <xsd:element name="L_APPOITMENT_USER"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
                             id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           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 #166
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="A_CLASSIFIED"
                <xsd:element name="A_CLASSIFIED"
                             type="xsd:string"
                             type="xsd:string"
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
                             id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
@@ -3137,6 +3526,21 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                <xsd:element name="ID_PROJECT"
                <xsd:element name="ID_PROJECT"
                             type="xsd:int"
                             type="xsd:int"
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
                             id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
+               <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+                  <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_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
                <xsd:element name="ID_KORESP_PROJEKT"
                <xsd:element name="ID_KORESP_PROJEKT"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>
                             id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio