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

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

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

+ 296 - 4
SE/schema/ant-object/default_db.rurociagi_obce_wsg84/rurociagi_obce_wsg84/rurociagi_obce_wsg84.xsd

@@ -220,8 +220,154 @@
                    id="_obce_wsg84___d4e38968-1_rurociagi_"
                    system_cache__appinfo:primaryKey="ID">
       <xs:complexContent id="_obce_wsg84___d4e38969-1">
-         <xs:extension base="default_db__x3A__rurociagi_obce_wsg84:rurociagi_obce_wsg84"
-                       id="_obce_wsg84___d4e38970-1"/>
+         <xs:restriction base="default_db__x3A__rurociagi_obce_wsg84:rurociagi_obce_wsg84"
+                         id="_obce_wsg84___d4e38970-1">
+            <xs:sequence id="_obce_wsg84___d4e27027-1">
+               <xs:element name="ID" type="xs:int" id="_obce_wsg84___d4e27028-1_ID"/>
+               <xs:element name="the_geom"
+                           id="_obce_wsg84___d4e27029-1_the_geom"
+                           type="p5Type:lineString"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27033-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="_obce_wsg84___d4e27034-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e27038-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="_obce_wsg84___d4e27039-1">
+                  <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:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="_obce_wsg84___d4e27044-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="_obce_wsg84___d4e27045-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27046-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="_obce_wsg84___d4e27047-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:AccessOwner/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27052-1_A_CLASSIFI"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
+            id="_obce_wsg84___d4e27054-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27059-1_A_ADM_COMP"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
+            id="_obce_wsg84___d4e27060-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e27065-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_KORESP_PROJEKT"
+                           type="default_db__x3A__rurociagi_obce_wsg84:ID_KORESP"
+                           id="_obce_wsg84___d4e27066-1_ID_KORESP_">
+                  <xs:annotation>
+                     <xs:documentation>Prawodpodobnie zbyteczny nr sprawy dla powiazania z kontekstem sprawy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT">
+                  <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_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #245 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_BILLING_USERS"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e38961-1_ID_BILLING"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"
+                           id="_obce_wsg84___d4e38962-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS"
+                                                         system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Ustalenie właścicela sieci</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
       </xs:complexContent>
    </xs:complexType>
    <xs:element name="rurociagi_obce_wsg84_Known"
@@ -231,8 +377,154 @@
                    id="_obce_wsg84___d4e38972-1_rurociagi_"
                    system_cache__appinfo:primaryKey="ID">
       <xs:complexContent id="_obce_wsg84___d4e38973-1">
-         <xs:extension base="default_db__x3A__rurociagi_obce_wsg84:rurociagi_obce_wsg84"
-                       id="_obce_wsg84___d4e38974-1"/>
+         <xs:restriction base="default_db__x3A__rurociagi_obce_wsg84:rurociagi_obce_wsg84"
+                         id="_obce_wsg84___d4e38974-1">
+            <xs:sequence id="_obce_wsg84___d4e27027-1">
+               <xs:element name="ID" type="xs:int" id="_obce_wsg84___d4e27028-1_ID"/>
+               <xs:element name="the_geom"
+                           id="_obce_wsg84___d4e27029-1_the_geom"
+                           type="p5Type:lineString"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27033-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="_obce_wsg84___d4e27034-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e27038-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="_obce_wsg84___d4e27039-1">
+                  <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:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="_obce_wsg84___d4e27044-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="_obce_wsg84___d4e27045-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27046-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="_obce_wsg84___d4e27047-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:AccessOwner/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27052-1_A_CLASSIFI"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
+            id="_obce_wsg84___d4e27054-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27059-1_A_ADM_COMP"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
+            id="_obce_wsg84___d4e27060-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e27065-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_KORESP_PROJEKT"
+                           type="default_db__x3A__rurociagi_obce_wsg84:ID_KORESP"
+                           id="_obce_wsg84___d4e27066-1_ID_KORESP_">
+                  <xs:annotation>
+                     <xs:documentation>Prawodpodobnie zbyteczny nr sprawy dla powiazania z kontekstem sprawy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT">
+                  <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_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #245 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_BILLING_USERS"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e38961-1_ID_BILLING"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"
+                           id="_obce_wsg84___d4e38962-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS"
+                                                         system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Ustalenie właścicela sieci</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
       </xs:complexContent>
    </xs:complexType>
    <xs:element name="rurociagi_obce_wsg84_Unknown"

+ 296 - 4
SE/schema/ant-object/default_db.rurociagi_obce_wsg84/rurociagi_obce_wsg84_Known/rurociagi_obce_wsg84_Known.xsd

@@ -220,8 +220,154 @@
                    id="_obce_wsg84___d4e38968-1_rurociagi_"
                    system_cache__appinfo:primaryKey="ID">
       <xs:complexContent id="_obce_wsg84___d4e38969-1">
-         <xs:extension base="default_db__x3A__rurociagi_obce_wsg84:rurociagi_obce_wsg84"
-                       id="_obce_wsg84___d4e38970-1"/>
+         <xs:restriction base="default_db__x3A__rurociagi_obce_wsg84:rurociagi_obce_wsg84"
+                         id="_obce_wsg84___d4e38970-1">
+            <xs:sequence id="_obce_wsg84___d4e27027-1">
+               <xs:element name="ID" type="xs:int" id="_obce_wsg84___d4e27028-1_ID"/>
+               <xs:element name="the_geom"
+                           id="_obce_wsg84___d4e27029-1_the_geom"
+                           type="p5Type:lineString"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27033-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="_obce_wsg84___d4e27034-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e27038-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="_obce_wsg84___d4e27039-1">
+                  <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:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="_obce_wsg84___d4e27044-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="_obce_wsg84___d4e27045-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27046-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="_obce_wsg84___d4e27047-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:AccessOwner/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27052-1_A_CLASSIFI"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
+            id="_obce_wsg84___d4e27054-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27059-1_A_ADM_COMP"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
+            id="_obce_wsg84___d4e27060-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e27065-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_KORESP_PROJEKT"
+                           type="default_db__x3A__rurociagi_obce_wsg84:ID_KORESP"
+                           id="_obce_wsg84___d4e27066-1_ID_KORESP_">
+                  <xs:annotation>
+                     <xs:documentation>Prawodpodobnie zbyteczny nr sprawy dla powiazania z kontekstem sprawy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT">
+                  <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_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #245 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_BILLING_USERS"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e38961-1_ID_BILLING"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"
+                           id="_obce_wsg84___d4e38962-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS"
+                                                         system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Ustalenie właścicela sieci</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
       </xs:complexContent>
    </xs:complexType>
    <xs:element name="rurociagi_obce_wsg84_Known"
@@ -231,8 +377,154 @@
                    id="_obce_wsg84___d4e38972-1_rurociagi_"
                    system_cache__appinfo:primaryKey="ID">
       <xs:complexContent id="_obce_wsg84___d4e38973-1">
-         <xs:extension base="default_db__x3A__rurociagi_obce_wsg84:rurociagi_obce_wsg84"
-                       id="_obce_wsg84___d4e38974-1"/>
+         <xs:restriction base="default_db__x3A__rurociagi_obce_wsg84:rurociagi_obce_wsg84"
+                         id="_obce_wsg84___d4e38974-1">
+            <xs:sequence id="_obce_wsg84___d4e27027-1">
+               <xs:element name="ID" type="xs:int" id="_obce_wsg84___d4e27028-1_ID"/>
+               <xs:element name="the_geom"
+                           id="_obce_wsg84___d4e27029-1_the_geom"
+                           type="p5Type:lineString"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27033-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="_obce_wsg84___d4e27034-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e27038-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="_obce_wsg84___d4e27039-1">
+                  <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:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="_obce_wsg84___d4e27044-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="_obce_wsg84___d4e27045-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27046-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="_obce_wsg84___d4e27047-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:AccessOwner/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27052-1_A_CLASSIFI"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
+            id="_obce_wsg84___d4e27054-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27059-1_A_ADM_COMP"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
+            id="_obce_wsg84___d4e27060-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e27065-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_KORESP_PROJEKT"
+                           type="default_db__x3A__rurociagi_obce_wsg84:ID_KORESP"
+                           id="_obce_wsg84___d4e27066-1_ID_KORESP_">
+                  <xs:annotation>
+                     <xs:documentation>Prawodpodobnie zbyteczny nr sprawy dla powiazania z kontekstem sprawy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT">
+                  <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_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #245 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_BILLING_USERS"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e38961-1_ID_BILLING"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"
+                           id="_obce_wsg84___d4e38962-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS"
+                                                         system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Ustalenie właścicela sieci</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
       </xs:complexContent>
    </xs:complexType>
    <xs:element name="rurociagi_obce_wsg84_Unknown"

+ 296 - 4
SE/schema/ant-object/default_db.rurociagi_obce_wsg84/rurociagi_obce_wsg84_Unknown/rurociagi_obce_wsg84_Unknown.xsd

@@ -220,8 +220,154 @@
                    id="_obce_wsg84___d4e38968-1_rurociagi_"
                    system_cache__appinfo:primaryKey="ID">
       <xs:complexContent id="_obce_wsg84___d4e38969-1">
-         <xs:extension base="default_db__x3A__rurociagi_obce_wsg84:rurociagi_obce_wsg84"
-                       id="_obce_wsg84___d4e38970-1"/>
+         <xs:restriction base="default_db__x3A__rurociagi_obce_wsg84:rurociagi_obce_wsg84"
+                         id="_obce_wsg84___d4e38970-1">
+            <xs:sequence id="_obce_wsg84___d4e27027-1">
+               <xs:element name="ID" type="xs:int" id="_obce_wsg84___d4e27028-1_ID"/>
+               <xs:element name="the_geom"
+                           id="_obce_wsg84___d4e27029-1_the_geom"
+                           type="p5Type:lineString"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27033-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="_obce_wsg84___d4e27034-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e27038-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="_obce_wsg84___d4e27039-1">
+                  <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:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="_obce_wsg84___d4e27044-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="_obce_wsg84___d4e27045-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27046-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="_obce_wsg84___d4e27047-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:AccessOwner/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27052-1_A_CLASSIFI"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
+            id="_obce_wsg84___d4e27054-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27059-1_A_ADM_COMP"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
+            id="_obce_wsg84___d4e27060-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e27065-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_KORESP_PROJEKT"
+                           type="default_db__x3A__rurociagi_obce_wsg84:ID_KORESP"
+                           id="_obce_wsg84___d4e27066-1_ID_KORESP_">
+                  <xs:annotation>
+                     <xs:documentation>Prawodpodobnie zbyteczny nr sprawy dla powiazania z kontekstem sprawy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT">
+                  <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_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #245 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_BILLING_USERS"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e38961-1_ID_BILLING"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"
+                           id="_obce_wsg84___d4e38962-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS"
+                                                         system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Ustalenie właścicela sieci</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
       </xs:complexContent>
    </xs:complexType>
    <xs:element name="rurociagi_obce_wsg84_Known"
@@ -231,8 +377,154 @@
                    id="_obce_wsg84___d4e38972-1_rurociagi_"
                    system_cache__appinfo:primaryKey="ID">
       <xs:complexContent id="_obce_wsg84___d4e38973-1">
-         <xs:extension base="default_db__x3A__rurociagi_obce_wsg84:rurociagi_obce_wsg84"
-                       id="_obce_wsg84___d4e38974-1"/>
+         <xs:restriction base="default_db__x3A__rurociagi_obce_wsg84:rurociagi_obce_wsg84"
+                         id="_obce_wsg84___d4e38974-1">
+            <xs:sequence id="_obce_wsg84___d4e27027-1">
+               <xs:element name="ID" type="xs:int" id="_obce_wsg84___d4e27028-1_ID"/>
+               <xs:element name="the_geom"
+                           id="_obce_wsg84___d4e27029-1_the_geom"
+                           type="p5Type:lineString"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27033-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="_obce_wsg84___d4e27034-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e27038-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="_obce_wsg84___d4e27039-1">
+                  <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:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="_obce_wsg84___d4e27044-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="_obce_wsg84___d4e27045-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27046-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="_obce_wsg84___d4e27047-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:AccessOwner/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27052-1_A_CLASSIFI"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
+            id="_obce_wsg84___d4e27054-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="_obce_wsg84___d4e27059-1_A_ADM_COMP"/>
+               <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
+            id="_obce_wsg84___d4e27060-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                        system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e27065-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_KORESP_PROJEKT"
+                           type="default_db__x3A__rurociagi_obce_wsg84:ID_KORESP"
+                           id="_obce_wsg84___d4e27066-1_ID_KORESP_">
+                  <xs:annotation>
+                     <xs:documentation>Prawodpodobnie zbyteczny nr sprawy dla powiazania z kontekstem sprawy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT">
+                  <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_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #245 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_BILLING_USERS"
+                           type="xs:int"
+                           id="_obce_wsg84___d4e38961-1_ID_BILLING"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"
+                           id="_obce_wsg84___d4e38962-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS"
+                                                         system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Ustalenie właścicela sieci</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
       </xs:complexContent>
    </xs:complexType>
    <xs:element name="rurociagi_obce_wsg84_Unknown"