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

+ 56 - 1
SE/schema/ant-object/default_db.Dzialki/Dzialki/Dzialki.xsd

@@ -14,7 +14,13 @@
    xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
    xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
    xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
    xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
    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:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+   xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
    targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Dzialki.xsd" vc:minVersion="1.1">
    targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Dzialki.xsd" vc:minVersion="1.1">
+   <xs:import namespace="http://biuro.biall-net.pl/p5/schema/types"
+      schemaLocation="../../../types.xsd"/>
+   <xs:import namespace="http://www.opengis.net/gml/3.2"
+      schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
    <xs: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"/>
    <xs:import
    <xs:import
@@ -24,15 +30,28 @@
       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"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
       schemaLocation="../../default_db.COMPANIES/COMPANIES/COMPANIES.xsd"/>
       schemaLocation="../../default_db.COMPANIES/COMPANIES/COMPANIES.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+      schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
    <xs:complexType name="Dzialki" id="cza_Dzialki___d4e6430-1_Rozdzielcz">
    <xs:complexType name="Dzialki" id="cza_Dzialki___d4e6430-1_Rozdzielcz">
       <xs:annotation>
       <xs:annotation>
+         <xs:appinfo>
+            <system_cache__appinfo:heritage>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:Dzialki" system_cache__appinfo:heritage_acl="true">
+                  <system_cache__appinfo:acl_rule_inherit_to_all_same_name_elements_and_refs/>
+                  <acl_rule_inherit_to_all_refs_by_primary/>
+                  <acl_rule_inherit_to_all_refs_by_local_element system_cache__appinfo:acl_rule_inherit_local_element_name="A_STATUS"/>
+               </system_cache__appinfo:inherit>
+               <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true" system_cache__appinfo:heritage_sort="true"/>
+            </system_cache__appinfo:heritage>
+         </xs:appinfo>
          <xs:documentation>Instancyjny - Protopyowy obiekt, który powinien mieć typy konkretnych
          <xs:documentation>Instancyjny - Protopyowy obiekt, który powinien mieć typy konkretnych
             rodzaji dla różnych technologii. Podzielony z uwagi na stany projektowania oraz
             rodzaji dla różnych technologii. Podzielony z uwagi na stany projektowania oraz
             realizacji. </xs:documentation>
             realizacji. </xs:documentation>
       </xs:annotation>
       </xs:annotation>
       <xs:sequence id="cza_Dzialki___d4e6434-1">
       <xs:sequence id="cza_Dzialki___d4e6434-1">
          <xs:element name="ID" type="xs:int" id="cza_Dzialki___d4e6435-1_ID"/>
          <xs:element name="ID" type="xs:int" id="cza_Dzialki___d4e6435-1_ID"/>
-         <xs:element name="the_geom" id="cza_Dzialki___d4e6436-1_the_geom">
+         <xs:element name="the_geom" id="cza_Dzialki___d4e6436-1_the_geom"
+            type="gml:AbstractFeatureType">
             <xs:annotation>
             <xs:annotation>
                <xs:documentation>Dane geograficzne obiektu - linia, punkt,
                <xs:documentation>Dane geograficzne obiektu - linia, punkt,
                   polygon</xs:documentation>
                   polygon</xs:documentation>
@@ -45,6 +64,18 @@
             </xs:annotation>
             </xs:annotation>
          </xs:element>
          </xs:element>
          <xs:element name="ID_ZASOB" type="xs:int" id="cza_Dzialki___d4e6445-1_ID_ZASOB"/>
          <xs:element name="ID_ZASOB" type="xs:int" id="cza_Dzialki___d4e6445-1_ID_ZASOB"/>
+         <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB">
+            <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_ZASOB" system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #51112 !!!
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
             id="cza_Dzialki___d4e6446-1">
             id="cza_Dzialki___d4e6446-1">
             <xs:annotation>
             <xs:annotation>
@@ -59,6 +90,18 @@
          <xs:element name="Powierzchnia" type="xs:double" id="cza_Dzialki___d4e6452-1_Powierzchn"/>
          <xs:element name="Powierzchnia" type="xs:double" id="cza_Dzialki___d4e6452-1_Powierzchn"/>
          <xs:element name="L_APPOITMENT_USER" type="xs:string"
          <xs:element name="L_APPOITMENT_USER" type="xs:string"
             id="cza_Dzialki___d4e6453-1_L_APPOITME"/>
             id="cza_Dzialki___d4e6453-1_L_APPOITME"/>
+         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="L_APPOITMENT_USER" system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <!--<xs:element ref="SystemObjects__x3A__AccessOwner:AccessOwner" id="cza_Dzialki___d4e6454-1">
          <!--<xs:element ref="SystemObjects__x3A__AccessOwner:AccessOwner" id="cza_Dzialki___d4e6454-1">
             <xs:annotation>
             <xs:annotation>
                <xs:appinfo>
                <xs:appinfo>
@@ -91,6 +134,18 @@
             </xs:annotation>
             </xs:annotation>
          </xs:element>-->
          </xs:element>-->
          <xs:element name="ID_PROJECT" type="xs:int" id="cza_Dzialki___d4e6472-1_ID_PROJECT"/>
          <xs:element name="ID_PROJECT" type="xs:int" id="cza_Dzialki___d4e6472-1_ID_PROJECT"/>
+         <xs:element 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>
          <xs:element name="ID_BILLING_USERS" type="xs:int" id="a3A__Dzialki___d4e6313-1_ID_BILLING"/>
          <xs:element name="ID_BILLING_USERS" type="xs:int" id="a3A__Dzialki___d4e6313-1_ID_BILLING"/>
          <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS" id="a3A__Dzialki___d4e6310-1">
          <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS" id="a3A__Dzialki___d4e6310-1">
             <xs:annotation>
             <xs:annotation>

+ 65 - 1
SE/schema/ant-object/default_db.Dzialki/Dzialki_Known/Dzialki_Known.xsd

@@ -15,8 +15,14 @@
            xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
            xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
            xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
            xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
            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:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+           xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Dzialki.xsd"
            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Dzialki.xsd"
            vc:minVersion="1.1">
            vc:minVersion="1.1">
+   <xs:import namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
    <xs: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"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
@@ -25,15 +31,31 @@
               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"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
               schemaLocation="../../default_db.COMPANIES/COMPANIES/COMPANIES.xsd"/>
               schemaLocation="../../default_db.COMPANIES/COMPANIES/COMPANIES.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+              schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
    <xs:complexType name="Dzialki" id="cza_Dzialki___d4e6430-1_Rozdzielcz">
    <xs:complexType name="Dzialki" id="cza_Dzialki___d4e6430-1_Rozdzielcz">
       <xs:annotation>
       <xs:annotation>
+         <xs:appinfo>
+            <system_cache__appinfo:heritage>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:Dzialki"
+                                              system_cache__appinfo:heritage_acl="true">
+                  <system_cache__appinfo:acl_rule_inherit_to_all_same_name_elements_and_refs/>
+                  <acl_rule_inherit_to_all_refs_by_primary/>
+                  <acl_rule_inherit_to_all_refs_by_local_element system_cache__appinfo:acl_rule_inherit_local_element_name="A_STATUS"/>
+               </system_cache__appinfo:inherit>
+               <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true"
+                                                  system_cache__appinfo:heritage_sort="true"/>
+            </system_cache__appinfo:heritage>
+         </xs:appinfo>
          <xs:documentation>Instancyjny - Protopyowy obiekt, który powinien mieć typy konkretnych
          <xs:documentation>Instancyjny - Protopyowy obiekt, który powinien mieć typy konkretnych
             rodzaji dla różnych technologii. Podzielony z uwagi na stany projektowania oraz
             rodzaji dla różnych technologii. Podzielony z uwagi na stany projektowania oraz
             realizacji. </xs:documentation>
             realizacji. </xs:documentation>
       </xs:annotation>
       </xs:annotation>
       <xs:sequence id="cza_Dzialki___d4e6434-1">
       <xs:sequence id="cza_Dzialki___d4e6434-1">
          <xs:element name="ID" type="xs:int" id="cza_Dzialki___d4e6435-1_ID"/>
          <xs:element name="ID" type="xs:int" id="cza_Dzialki___d4e6435-1_ID"/>
-         <xs:element name="the_geom" id="cza_Dzialki___d4e6436-1_the_geom">
+         <xs:element name="the_geom"
+                     id="cza_Dzialki___d4e6436-1_the_geom"
+                     type="gml:AbstractFeatureType">
             <xs:annotation>
             <xs:annotation>
                <xs:documentation>Dane geograficzne obiektu - linia, punkt,
                <xs:documentation>Dane geograficzne obiektu - linia, punkt,
                   polygon</xs:documentation>
                   polygon</xs:documentation>
@@ -48,6 +70,20 @@
             </xs:annotation>
             </xs:annotation>
          </xs:element>
          </xs:element>
          <xs:element name="ID_ZASOB" type="xs:int" id="cza_Dzialki___d4e6445-1_ID_ZASOB"/>
          <xs:element name="ID_ZASOB" type="xs:int" id="cza_Dzialki___d4e6445-1_ID_ZASOB"/>
+         <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB">
+            <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_ZASOB"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #51112 !!!
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                      id="cza_Dzialki___d4e6446-1">
                      id="cza_Dzialki___d4e6446-1">
             <xs:annotation>
             <xs:annotation>
@@ -68,6 +104,20 @@
          <xs:element name="L_APPOITMENT_USER"
          <xs:element name="L_APPOITMENT_USER"
                      type="xs:string"
                      type="xs:string"
                      id="cza_Dzialki___d4e6453-1_L_APPOITME"/>
                      id="cza_Dzialki___d4e6453-1_L_APPOITME"/>
+         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                   system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <!--<xs:element ref="SystemObjects__x3A__AccessOwner:AccessOwner" id="cza_Dzialki___d4e6454-1">
          <!--<xs:element ref="SystemObjects__x3A__AccessOwner:AccessOwner" id="cza_Dzialki___d4e6454-1">
             <xs:annotation>
             <xs:annotation>
                <xs:appinfo>
                <xs:appinfo>
@@ -106,6 +156,20 @@
          <xs:element name="ID_PROJECT"
          <xs:element name="ID_PROJECT"
                      type="xs:int"
                      type="xs:int"
                      id="cza_Dzialki___d4e6472-1_ID_PROJECT"/>
                      id="cza_Dzialki___d4e6472-1_ID_PROJECT"/>
+         <xs:element 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>
          <xs:element name="ID_BILLING_USERS"
          <xs:element name="ID_BILLING_USERS"
                      type="xs:int"
                      type="xs:int"
                      id="a3A__Dzialki___d4e6313-1_ID_BILLING"/>
                      id="a3A__Dzialki___d4e6313-1_ID_BILLING"/>

+ 65 - 1
SE/schema/ant-object/default_db.Dzialki/Dzialki_Unknown/Dzialki_Unknown.xsd

@@ -15,8 +15,14 @@
            xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
            xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
            xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
            xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
            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:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+           xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Dzialki.xsd"
            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Dzialki.xsd"
            vc:minVersion="1.1">
            vc:minVersion="1.1">
+   <xs:import namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
    <xs: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"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
@@ -25,15 +31,31 @@
               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"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
               schemaLocation="../../default_db.COMPANIES/COMPANIES/COMPANIES.xsd"/>
               schemaLocation="../../default_db.COMPANIES/COMPANIES/COMPANIES.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+              schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
    <xs:complexType name="Dzialki" id="cza_Dzialki___d4e6430-1_Rozdzielcz">
    <xs:complexType name="Dzialki" id="cza_Dzialki___d4e6430-1_Rozdzielcz">
       <xs:annotation>
       <xs:annotation>
+         <xs:appinfo>
+            <system_cache__appinfo:heritage>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:Dzialki"
+                                              system_cache__appinfo:heritage_acl="true">
+                  <system_cache__appinfo:acl_rule_inherit_to_all_same_name_elements_and_refs/>
+                  <acl_rule_inherit_to_all_refs_by_primary/>
+                  <acl_rule_inherit_to_all_refs_by_local_element system_cache__appinfo:acl_rule_inherit_local_element_name="A_STATUS"/>
+               </system_cache__appinfo:inherit>
+               <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true"
+                                                  system_cache__appinfo:heritage_sort="true"/>
+            </system_cache__appinfo:heritage>
+         </xs:appinfo>
          <xs:documentation>Instancyjny - Protopyowy obiekt, który powinien mieć typy konkretnych
          <xs:documentation>Instancyjny - Protopyowy obiekt, który powinien mieć typy konkretnych
             rodzaji dla różnych technologii. Podzielony z uwagi na stany projektowania oraz
             rodzaji dla różnych technologii. Podzielony z uwagi na stany projektowania oraz
             realizacji. </xs:documentation>
             realizacji. </xs:documentation>
       </xs:annotation>
       </xs:annotation>
       <xs:sequence id="cza_Dzialki___d4e6434-1">
       <xs:sequence id="cza_Dzialki___d4e6434-1">
          <xs:element name="ID" type="xs:int" id="cza_Dzialki___d4e6435-1_ID"/>
          <xs:element name="ID" type="xs:int" id="cza_Dzialki___d4e6435-1_ID"/>
-         <xs:element name="the_geom" id="cza_Dzialki___d4e6436-1_the_geom">
+         <xs:element name="the_geom"
+                     id="cza_Dzialki___d4e6436-1_the_geom"
+                     type="gml:AbstractFeatureType">
             <xs:annotation>
             <xs:annotation>
                <xs:documentation>Dane geograficzne obiektu - linia, punkt,
                <xs:documentation>Dane geograficzne obiektu - linia, punkt,
                   polygon</xs:documentation>
                   polygon</xs:documentation>
@@ -48,6 +70,20 @@
             </xs:annotation>
             </xs:annotation>
          </xs:element>
          </xs:element>
          <xs:element name="ID_ZASOB" type="xs:int" id="cza_Dzialki___d4e6445-1_ID_ZASOB"/>
          <xs:element name="ID_ZASOB" type="xs:int" id="cza_Dzialki___d4e6445-1_ID_ZASOB"/>
+         <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB">
+            <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_ZASOB"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #51112 !!!
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                      id="cza_Dzialki___d4e6446-1">
                      id="cza_Dzialki___d4e6446-1">
             <xs:annotation>
             <xs:annotation>
@@ -68,6 +104,20 @@
          <xs:element name="L_APPOITMENT_USER"
          <xs:element name="L_APPOITMENT_USER"
                      type="xs:string"
                      type="xs:string"
                      id="cza_Dzialki___d4e6453-1_L_APPOITME"/>
                      id="cza_Dzialki___d4e6453-1_L_APPOITME"/>
+         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                   system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <!--<xs:element ref="SystemObjects__x3A__AccessOwner:AccessOwner" id="cza_Dzialki___d4e6454-1">
          <!--<xs:element ref="SystemObjects__x3A__AccessOwner:AccessOwner" id="cza_Dzialki___d4e6454-1">
             <xs:annotation>
             <xs:annotation>
                <xs:appinfo>
                <xs:appinfo>
@@ -106,6 +156,20 @@
          <xs:element name="ID_PROJECT"
          <xs:element name="ID_PROJECT"
                      type="xs:int"
                      type="xs:int"
                      id="cza_Dzialki___d4e6472-1_ID_PROJECT"/>
                      id="cza_Dzialki___d4e6472-1_ID_PROJECT"/>
+         <xs:element 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>
          <xs:element name="ID_BILLING_USERS"
          <xs:element name="ID_BILLING_USERS"
                      type="xs:int"
                      type="xs:int"
                      id="a3A__Dzialki___d4e6313-1_ID_BILLING"/>
                      id="a3A__Dzialki___d4e6313-1_ID_BILLING"/>