Bladeren bron

refy do koresp transfer cost restr

a.binder 8 jaren geleden
bovenliggende
commit
f9934e1808

+ 1964 - 0
SE/schema/ant-object/default_db.IN7_DZIENNIK_KORESP/ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT/ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT.xsd

@@ -0,0 +1,1964 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:default_db__x3A__IN7_DZIENNIK_KORESP="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
+           xmlns:default_db__x3A__COMPANIES="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
+           xmlns:gml="http://www.opengis.net/gml/3.2"
+           xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
+           xmlns:default_db__x3A__BILLING_OWNER="https://biuro.biall-net.pl/wfs/default_db/table/BILLING_OWNER.xsd"
+           xmlns:default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW_OFFERS.xsd"
+           xmlns:default_db__x3A__InvestArrangements="https://biuro.biall-net.pl/wfs/default_db/table/InvestArrangements.xsd"
+           xmlns:p5="https://biuro.biall-net.pl/wfs"
+           xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
+           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__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.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"
+           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"
+           xmlns:default_db__x3A__TELBOXES="https://biuro.biall-net.pl/wfs/default_db/table/TELBOXES.xsd"
+           xmlns:default_db__x3A__CRM_LISTA_ZASOBOW="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
+           xmlns:default_db__x3A__DEVICES="https://biuro.biall-net.pl/wfs/default_db/table/DEVICES.xsd"
+           elementFormDefault="qualified"
+           targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
+           attributeFormDefault="qualified"
+           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:annotation>
+      <xs:documentation>Bazowa struktura dla gromadzenia dokumentów oraz
+            korespondencji</xs:documentation>
+   </xs:annotation>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
+              schemaLocation="../../default_db.COMPANIES/COMPANIES/COMPANIES.xsd"/>
+   <xs:import namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+              schemaLocation="../../../default_db_xml_cache.public/appinfo.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BILLING_OWNER.xsd"
+              schemaLocation="../../default_db.BILLING_OWNER/BILLING_OWNER/BILLING_OWNER.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW_OFFERS.xsd"
+              schemaLocation="../../default_db.CRM_LISTA_ZASOBOW_OFFERS/CRM_LISTA_ZASOBOW_OFFERS/CRM_LISTA_ZASOBOW_OFFERS.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/InvestArrangements.xsd"
+              schemaLocation="../../default_db.InvestArrangements/InvestArrangements/InvestArrangements.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:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
+              schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TELBOXES.xsd"
+              schemaLocation="../../default_db.TELBOXES/TELBOXES/TELBOXES.xsd"/>
+   <xs: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"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/DEVICES.xsd"
+              schemaLocation="../../default_db.DEVICES/DEVICES/DEVICES.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/PROBLEMS.xsd"
+              schemaLocation="../../default_db.PROBLEMS/PROBLEMS/PROBLEMS.xsd"/>
+   <xs:simpleType name="L_APPOITMENT_TYPE">
+      <xs:restriction base="p5Type:string">
+         <!--@2018-03-23 fixed blad piotrowego xsd:schema z api @2018-03-23 dla restriction enums-->
+         <xs:enumeration value=""/>
+         <xs:enumeration value="ARRANGED"/>
+         <xs:enumeration value="TO_ARRANGE"/>
+         <xs:enumeration value="CANCELLED"/>
+         <xs:enumeration value="TO_CANCEL"/>
+         <xs:enumeration value="RELATE"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:simpleType name="A_STATUS">
+      <xs:restriction base="p5Type:string">
+         <!--@2018-03-23 fixed blad piotrowego xsd:schema z api @2018-03-23 dla restriction enums-->
+         <xs:enumeration value="WAITING"/>
+         <xs:enumeration value="NORMAL"/>
+         <xs:enumeration value="MONITOR"/>
+         <xs:enumeration value="WARNING"/>
+         <xs:enumeration value="OFF_SOFT"/>
+         <xs:enumeration value="OFF_HARD"/>
+         <xs:enumeration value="DELETED"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:simpleType name="K_TYP_KORESP">
+      <xs:restriction base="p5Type:string">
+         <!--@2018-03-23 fixed blad piotrowego xsd:schema z api @2018-03-23 dla restriction enums-->
+         <xs:enumeration value="IN"/>
+         <xs:enumeration value="OUT"/>
+         <xs:enumeration value="WEW"/>
+         <xs:enumeration value="UCHWALA"/>
+         <xs:enumeration value="ZARZADZENIE"/>
+         <xs:enumeration value="INNA"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:simpleType name="K_TYP_RODZAJ">
+      <xs:restriction base="p5Type:string">
+         <!--@2018-03-23 fixed blad piotrowego xsd:schema z api @2018-03-23 dla restriction enums-->
+         <xs:enumeration value="POLECONY"/>
+         <xs:enumeration value="OSOBISCIE"/>
+         <xs:enumeration value="POLECONY PRIORYTET"/>
+         <xs:enumeration value="POLECONY ZA POTWIERDZENIEM ODBIORU"/>
+         <xs:enumeration value="ZWYKLY"/>
+         <xs:enumeration value="EMAIL"/>
+         <xs:enumeration value="KURIER"/>
+         <xs:enumeration value="USLUGA TRANSPORTOWA"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:simpleType name="KATEGORIA_KOSZTU">
+      <xs:restriction base="p5Type:string">
+         <!--@2018-03-23 fixed blad piotrowego xsd:schema z api @2018-03-23 dla restriction enums-->
+         <xs:enumeration value="PROJEKT: Wynagrodzenia + ZUS"/>
+         <xs:enumeration value="PROJEKT: Podatki i opłaty"/>
+         <xs:enumeration value="PROJEKT: Umowy służebności przesyłu"/>
+         <xs:enumeration value="PROJEKT: Usługi obce"/>
+         <xs:enumeration value="PROJEKT: Koszty delegacji"/>
+         <xs:enumeration value="BUDOWA: Zużycie materiałów"/>
+         <xs:enumeration value="BUDOWA: Usługi obce"/>
+         <xs:enumeration value="BUDOWA: Usługi sprzętem obcym - koparki dźwigi żurawce"/>
+         <xs:enumeration value="BUDOWA: Paliwo art. eksploatacyjne"/>
+         <xs:enumeration value="BUDOWA: Wyposażenie niskocenne"/>
+         <xs:enumeration value="BUDOWA: Wynagrodzenia osobowe + ZUS"/>
+         <xs:enumeration value="BUDOWA: Pozostałe wynagrodzenia"/>
+         <xs:enumeration value="BUDOWA: Podatki i opłaty"/>
+         <xs:enumeration value="BUDOWA: Koszty delegacji"/>
+         <xs:enumeration value="BUDOWA: Ubezpieczenia - należytego wykonania wad i usterek wadia"/>
+         <xs:enumeration value="BUDOWA: Fundusz reprezentacyjny"/>
+         <xs:enumeration value="BUDOWA: Pozostałe koszty"/>
+         <xs:enumeration value="BUDOWA: Odszkodowania - wejścia zejścia z działek"/>
+         <xs:enumeration value="do uzgodnienia"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:simpleType name="A_PROBLEM">
+      <xs:restriction base="p5Type:string">
+         <!--@2018-03-23 fixed blad piotrowego xsd:schema z api @2018-03-23 dla restriction enums-->
+         <xs:enumeration value=""/>
+         <xs:enumeration value="WARNING"/>
+         <xs:enumeration value="PROBLEM"/>
+         <xs:enumeration value="SERIOUS"/>
+         <xs:enumeration value="UNVERIFIED"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:simpleType name="K_LOKALIZACJA_NEW">
+      <xs:restriction base="p5Type:string">
+         <!--@2018-03-23 fixed blad piotrowego xsd:schema z api @2018-03-23 dla restriction enums-->
+         <xs:enumeration value=""/>
+         <xs:enumeration value="SEGREGATOR"/>
+         <xs:enumeration value="PROJEKT"/>
+         <xs:enumeration value="KSIEGOWOSC"/>
+         <xs:enumeration value="WYDANO"/>
+         <xs:enumeration value="SEG CHELM FIRMY"/>
+         <xs:enumeration value="SEG CHELM KLIENCI"/>
+         <xs:enumeration value="SEG CHELM NETDAY"/>
+         <xs:enumeration value="SEG MORENA KLIENCI"/>
+         <xs:enumeration value="WAWA_BIURO_KOMISJAREW"/>
+         <xs:enumeration value="WAWA_BIURO_SAD_KOLEZENSKI"/>
+         <xs:enumeration value="WAWA_BIURO_AKTA1"/>
+         <xs:enumeration value="WAWA_BIURO_SEG1"/>
+         <xs:enumeration value="WAWA_BIURO_WALNE"/>
+         <xs:enumeration value="WAWA_BIURO_ZARZAD"/>
+         <xs:enumeration value="WAWA_BIURO_OFERTY"/>
+         <xs:enumeration value="GDA_SEG_PISMA"/>
+         <xs:enumeration value="GDA_SEG_ZARZAD"/>
+         <xs:enumeration value="BRAK_FIZYCZNEJ_KOPII"/>
+         <xs:enumeration value="WAWA_KADRY_ANKIETY_PERSONALNE_UMOWY_CYWILNOPRAWNE"/>
+         <xs:enumeration value="WAWA_KADRY_LISTY_PLAC_DRA_ZUS_PIT4"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:simpleType name="K_LOKALIZACJA">
+      <xs:restriction base="p5Type:string">
+         <!--@2018-03-23 fixed blad piotrowego xsd:schema z api @2018-03-23 dla restriction enums-->
+         <xs:enumeration value="SEGREGATOR"/>
+         <xs:enumeration value="PROJEKT"/>
+         <xs:enumeration value="KSIEGOWOSC"/>
+         <xs:enumeration value="WYDANO"/>
+         <xs:enumeration value="SEG CHELM FIRMY"/>
+         <xs:enumeration value="SEG CHELM KLIENCI"/>
+         <xs:enumeration value="SEG CHELM NETDAY"/>
+         <xs:enumeration value="SEG MORENA KLIENCI"/>
+         <xs:enumeration value="WAWA_BIURO_KOMISJAREW"/>
+         <xs:enumeration value="WAWA_BIURO_SAD_KOLEZENSKI"/>
+         <xs:enumeration value="WAWA_BIURO_AKTA1"/>
+         <xs:enumeration value="WAWA_BIURO_SEG1"/>
+         <xs:enumeration value="WAWA_BIURO_WALNE"/>
+         <xs:enumeration value="WAWA_BIURO_ZARZAD"/>
+         <xs:enumeration value="WAWA_BIURO_OFERTY"/>
+         <xs:enumeration value="GDA_SEG_PISMA"/>
+         <xs:enumeration value="GDA_SEG_ZARZAD"/>
+         <xs:enumeration value="BRAK_FIZYCZNEJ_KOPII"/>
+         <xs:enumeration value="WAWA_KADRY_ANKIETY_PERSONALNE_UMOWY_CYWILNOPRAWNE"/>
+         <xs:enumeration value="WAWA_KADRY_LISTY_PLAC_DRA_ZUS_PIT4"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:complexType name="IN7_DZIENNIK_KORESP">
+      <xs:annotation>
+         <xs:documentation>Podstawowy obiekt korespondencji rozumiany jako dokument.
+TODO będzie musiał być rozbudowywany o elementy np. kto podpisał, stany podpisania , stany wysyłki/dostarczenia.
+Jest on w relacji w obiekcie default_object_types:KUWETA/SKOROSZYT</xs:documentation>
+         <xs:appinfo>
+            <system_cache__appinfo:table_structure system_cache__appinfo:charset="latin2"/>
+            <system_cache__appinfo:heritage>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:IN7_DZIENNIK_KORESP"
+                                              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:annotation>
+      <xs:sequence>
+         <xs:element name="ID" minOccurs="0" type="xs:int"/>
+         <xs:element name="P_ID" minOccurs="0" default="0" type="xs:int"/>
+         <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"
+                     maxOccurs="unbounded"
+                     minOccurs="0">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name="P_ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="A_RECORD_CREATE_DATE" minOccurs="0" type="xs:dateTime"/>
+         <xs:element name="A_RECORD_CREATE_AUTHOR"
+                     minOccurs="0"
+                     default=""
+                     type="xs:string"/>
+         <xs:element name="A_RECORD_UPDATE_DATE" minOccurs="0" type="xs:dateTime"/>
+         <xs:element name="A_RECORD_UPDATE_AUTHOR"
+                     minOccurs="0"
+                     default=""
+                     type="xs:string"/>
+         <xs:element name="A_ADM_COMPANY" minOccurs="0" type="xs:string"/>
+         <xs:element name="L_APPOITMENT_DATE"
+                     minOccurs="0"
+                     default=""
+                     type="xs:string"/>
+         <xs:element name="L_APPOITMENT_USER"
+                     minOccurs="0"
+                     default=""
+                     type="xs:string"/>
+         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER" minOccurs="0">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                   system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="L_APPOITMENT_PERIOD"
+                     minOccurs="0"
+                     default="0"
+                     type="xs:integer"/>
+         <xs:element name="L_APPOITMENT_INFO" minOccurs="0" type="xs:string"/>
+         <xs:element name="L_APPOITMENT_TYPE"
+                     minOccurs="0"
+                     default=""
+                     type="default_db__x3A__IN7_DZIENNIK_KORESP:L_APPOITMENT_TYPE"/>
+         <xs:element name="A_PROBLEM"
+                     minOccurs="0"
+                     default=""
+                     type="default_db__x3A__IN7_DZIENNIK_KORESP:A_PROBLEM"> </xs:element>
+         <xs:element name="A_PROBLEM_DESC" minOccurs="0" type="p5Type:text"/>
+         <xs:element name="A_PROBLEM_DATE" minOccurs="0" type="xs:dateTime"/>
+         <xs:element name="A_CLASSIFIED" minOccurs="0" type="xs:string"/>
+         <xs:element name="A_STATUS"
+                     minOccurs="0"
+                     default="WAITING"
+                     type="default_db__x3A__IN7_DZIENNIK_KORESP:A_STATUS"/>
+         <xs:element name="A_STATUS_INFO" minOccurs="0" default="" type="xs:string"/>
+         <xs:element name="A_STATUS_LASTCHANGE_DATE" minOccurs="0" type="xs:dateTime"/>
+         <xs:element name="T_WORKPOINTS" minOccurs="0" default="" type="xs:string"/>
+         <xs:element name="T_WORKPOINTS_VALUE"
+                     minOccurs="0"
+                     default=""
+                     type="xs:string"/>
+         <xs:element name="T_WORKPOINTS_TYPE"
+                     minOccurs="0"
+                     default=""
+                     type="xs:string"/>
+         <xs:element name="T_WORKPOINTS_USER"
+                     minOccurs="0"
+                     default=""
+                     type="xs:string"/>
+         <xs:element name="T_WORKPOINTS_DATE"
+                     minOccurs="0"
+                     default=""
+                     type="xs:string"/>
+         <xs:element name="K_TYP_KORESP"
+                     minOccurs="0"
+                     default="IN"
+                     type="default_db__x3A__IN7_DZIENNIK_KORESP:K_TYP_KORESP"/>
+         <xs:element name="CRM_LISTA_ZASOBOW_ID" minOccurs="0" type="xs:integer"/>
+         <xs:element minOccurs="0"
+                     ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW_ID">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name="CRM_LISTA_ZASOBOW_ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW_ID/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="K_TYP_RODZAJ"
+                     minOccurs="0"
+                     default="ZWYKLY"
+                     type="default_db__x3A__IN7_DZIENNIK_KORESP:K_TYP_RODZAJ"> </xs:element>
+         <xs:element name="K_DATA_OTRZYM_KORESP" minOccurs="0" type="xs:date"/>
+         <xs:element name="K_NR_OTRZYM_KORESP"
+                     minOccurs="0"
+                     default=""
+                     type="xs:string"/>
+         <xs:element name="K_DATA_OTRZYMANEJ_KORESP" minOccurs="0" type="xs:date"/>
+         <xs:element name="K_OD_KOGO" minOccurs="0" default="" type="xs:string"/>
+         <xs:element name="ID_BILLING_USERS"
+                     minOccurs="0"
+                     default="0"
+                     type="xs:integer"/>
+         <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS">
+            <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_BILLING_USERS"
+                                                   system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #3992 !!!
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="OD_KOGO_ADRES" minOccurs="0" default="" type="xs:string"/>
+         <xs:element name="K_ZAWARTOS" minOccurs="0" default="" type="xs:string"/>
+         <xs:element name="K_ZAWARTOSC_HTML" minOccurs="0" type="p5Type:text"/>
+         <xs:element name="K_ZNAK_REFERENTA"
+                     minOccurs="0"
+                     default=""
+                     type="xs:string"/>
+         <xs:element name="K_LOKALIZACJA"
+                     minOccurs="0"
+                     default="SEGREGATOR"
+                     type="default_db__x3A__IN7_DZIENNIK_KORESP:K_LOKALIZACJA"/>
+         <xs:element name="K_LOKALIZACJA_OPIS"
+                     minOccurs="0"
+                     default=""
+                     type="xs:string"/>
+         <xs:element name="K_LOKALIZACJA_NEW"
+                     minOccurs="0"
+                     type="default_db__x3A__IN7_DZIENNIK_KORESP:K_LOKALIZACJA_NEW"> </xs:element>
+         <xs:element name="K_LOKALIZACJA_OPIS_NEW" minOccurs="0" type="xs:string"/>
+         <xs:element name="K_POKWITOWANIE_ODBIORU"
+                     minOccurs="0"
+                     default=""
+                     type="xs:string"/>
+         <xs:element name="path"
+                     minOccurs="0"
+                     nillable="true"
+                     default=""
+                     type="xs:string"/>
+         <xs:element name="ID_PROJECT" minOccurs="0" default="0" type="xs:integer"/>
+         <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT" minOccurs="0">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name="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>
+                 dodatkowa relacja backref
+               </xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="M_DIST_FILES" minOccurs="0" default="" type="xs:string"/>
+         <xs:element name="P_ACCOUNT" minOccurs="0" type="xs:string"/>
+         <!--<xs:element minOccurs="0" ref="default_db__x3A__TELBOXES:T_TELBOX_NEIGHBOUR_IN_ID"/>-->
+         <xs:element name="ID_ZASOB" minOccurs="0" type="xs:integer"/>
+         <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:ID_ZASOB" minOccurs="0"/>-->
+         <xs:element name="ID_DEVICE" minOccurs="0" type="xs:integer"/>
+         <xs:element ref="default_db__x3A__DEVICES:ID_DEVICE">
+            <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_DEVICE"
+                                                   system_cache__appinfo:xpath="default_db__x3A__DEVICES:ID_DEVICE/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #28a55 !!!
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <!--<xs:element ref="default_db__x3A__DEVICES:ID_DEVICE" minOccurs="0"/>-->
+         <xs:element name="T_TELBOX_NEIGHBOUR_IN_ID_NEW"
+                     minOccurs="0"
+                     default="0"
+                     type="xs:integer"/>
+         <xs:element ref="default_db__x3A__TELBOXES:T_TELBOX_NEIGHBOUR_IN_ID_NEW"
+                     minOccurs="0"/>
+         <xs:element name="ID_ZASOB_NEW" minOccurs="0" type="xs:integer"/>
+         <!--<xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB_NEW" minOccurs="0"/>-->
+         <xs:element name="COST_VALUE" minOccurs="0" type="xs:decimal"/>
+         <xs:element name="COST_MONTH" minOccurs="0" type="xs:date"/>
+         <xs:element name="COST_TYPE" minOccurs="0" type="xs:string"/>
+         <xs:element name="INCOME_VALUE" minOccurs="0" type="xs:decimal"/>
+         <xs:element name="TRANSFER_OPPOSITE_ID_PROJECT"
+                     minOccurs="0"
+                     nillable="true"
+                     type="xs:int"/>
+         <xs:element minOccurs="0"
+                     ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:TRANSFER_OPPOSITE_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="TRANSFER_OPPOSITE_ID_PROJECT"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:TRANSFER_OPPOSITE_ID_PROJECT/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="COST_OF_SHIPMENT"
+                     minOccurs="0"
+                     default="0.00"
+                     type="xs:decimal"/>
+         <xs:element name="KATEGORIA_KOSZTU"
+                     minOccurs="0"
+                     nillable="true"
+                     default="do uzgodnienia"
+                     type="default_db__x3A__IN7_DZIENNIK_KORESP:KATEGORIA_KOSZTU"/>
+         <xs:element name="ID_BILLING_OWNER"
+                     minOccurs="1"
+                     default="1"
+                     type="xs:integer"/>
+         <xs:element ref="default_db__x3A__BILLING_OWNER:BILLING_OWNER">
+            <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_BILLING_OWNER"
+                                                   system_cache__appinfo:xpath="default_db__x3A__BILLING_OWNER:BILLING_OWNER/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #4999 !!!
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <!--<xs:element ref="default_db__x3A__BILLING_OWNER:BILLING_OWNER" minOccurs="1"/>-->
+         <xs:element maxOccurs="unbounded"
+                     ref="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Ground"
+                     minOccurs="0">
+            <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"
+                                                   system_cache__appinfo:xpath="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Ground/ID_KORESP_INVEST_ARRANGEMENT_DEAL"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #554
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Buildings">
+            <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"
+                                                   system_cache__appinfo:xpath="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Buildings/ID_KORESP_INVEST_ARRANGEMENT_DEAL"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #5554
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__InvestArrangements:InvestArrangements_Network_Crossings">
+            <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"
+                                                   system_cache__appinfo:xpath="default_db__x3A__InvestArrangements:InvestArrangements_Network_Crossings/ID_KORESP_INVEST_ARRANGEMENT_DEAL"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #55554
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
+                     minOccurs="0">
+            <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"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS/ID_KORESP_OFFER"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:element name="IN7_DZIENNIK_KORESP"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP">
+      <xs:unique name="IN7_DZIENNIK_KORESP" p5:primary_key="yes">
+         <xs:selector xpath="."/>
+         <xs:field xpath="ID"/>
+      </xs:unique>
+      <xs:key name="IN7_DZIENNIK_KORESPTimestamp">
+         <xs:selector xpath="."/>
+         <xs:field xpath="K_DATA_OTRZYMANEJ_KORESP"/>
+      </xs:key>
+   </xs:element>
+   <xs:complexType name="ID_KORESP_PROJEKT">
+      <xs:complexContent>
+         <xs:restriction base="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP">
+            <xs:sequence>
+               <xs:element name="ID" minOccurs="0" type="xs:int"/>
+               <xs:element name="P_ID" minOccurs="0" default="0" type="xs:int"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"
+                           maxOccurs="unbounded"
+                           minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="P_ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_RECORD_CREATE_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="A_RECORD_CREATE_AUTHOR"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="A_RECORD_UPDATE_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="A_RECORD_UPDATE_AUTHOR"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="A_ADM_COMPANY" minOccurs="0" type="xs:string"/>
+               <xs:element name="L_APPOITMENT_DATE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER" minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="L_APPOITMENT_PERIOD"
+                           minOccurs="0"
+                           default="0"
+                           type="xs:integer"/>
+               <xs:element name="L_APPOITMENT_INFO" minOccurs="0" type="xs:string"/>
+               <xs:element name="L_APPOITMENT_TYPE"
+                           minOccurs="0"
+                           default=""
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:L_APPOITMENT_TYPE"/>
+               <xs:element name="A_PROBLEM"
+                           minOccurs="0"
+                           default=""
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:A_PROBLEM"> </xs:element>
+               <xs:element name="A_PROBLEM_DESC" minOccurs="0" type="p5Type:text"/>
+               <xs:element name="A_PROBLEM_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="A_CLASSIFIED" minOccurs="0" type="xs:string"/>
+               <xs:element name="A_STATUS"
+                           minOccurs="0"
+                           default="WAITING"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:A_STATUS"/>
+               <xs:element name="A_STATUS_INFO" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="A_STATUS_LASTCHANGE_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="T_WORKPOINTS" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_VALUE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_TYPE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_USER"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_DATE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_TYP_KORESP"
+                           minOccurs="0"
+                           default="IN"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_TYP_KORESP"/>
+               <xs:element name="CRM_LISTA_ZASOBOW_ID" minOccurs="0" type="xs:integer"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW_ID">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="CRM_LISTA_ZASOBOW_ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW_ID/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="K_TYP_RODZAJ"
+                           minOccurs="0"
+                           default="ZWYKLY"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_TYP_RODZAJ"> </xs:element>
+               <xs:element name="K_DATA_OTRZYM_KORESP" minOccurs="0" type="xs:date"/>
+               <xs:element name="K_NR_OTRZYM_KORESP"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_DATA_OTRZYMANEJ_KORESP" minOccurs="0" type="xs:date"/>
+               <xs:element name="K_OD_KOGO" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="ID_BILLING_USERS"
+                           minOccurs="0"
+                           default="0"
+                           type="xs:integer"/>
+               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS">
+                  <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_BILLING_USERS"
+                                                         system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #3992 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="OD_KOGO_ADRES" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="K_ZAWARTOS" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="K_ZAWARTOSC_HTML" minOccurs="0" type="p5Type:text"/>
+               <xs:element name="K_ZNAK_REFERENTA"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_LOKALIZACJA"
+                           minOccurs="0"
+                           default="SEGREGATOR"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_LOKALIZACJA"/>
+               <xs:element name="K_LOKALIZACJA_OPIS"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_LOKALIZACJA_NEW"
+                           minOccurs="0"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_LOKALIZACJA_NEW"> </xs:element>
+               <xs:element name="K_LOKALIZACJA_OPIS_NEW" minOccurs="0" type="xs:string"/>
+               <xs:element name="K_POKWITOWANIE_ODBIORU"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="path"
+                           minOccurs="0"
+                           nillable="true"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="ID_PROJECT" minOccurs="0" default="0" type="xs:integer"/>
+               <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT" minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="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>
+                        dodatkowa relacja backref
+                     </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="M_DIST_FILES" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="P_ACCOUNT" minOccurs="0" type="xs:string"/>
+               <!--<xs:element minOccurs="0" ref="default_db__x3A__TELBOXES:T_TELBOX_NEIGHBOUR_IN_ID"/>-->
+               <xs:element name="ID_ZASOB" minOccurs="0" type="xs:integer"/>
+               <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:ID_ZASOB" minOccurs="0"/>-->
+               <xs:element name="ID_DEVICE" minOccurs="0" type="xs:integer"/>
+               <xs:element ref="default_db__x3A__DEVICES:ID_DEVICE">
+                  <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_DEVICE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__DEVICES:ID_DEVICE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #28a55 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="default_db__x3A__DEVICES:ID_DEVICE" minOccurs="0"/>-->
+               <xs:element name="T_TELBOX_NEIGHBOUR_IN_ID_NEW"
+                           minOccurs="0"
+                           default="0"
+                           type="xs:integer"/>
+               <xs:element ref="default_db__x3A__TELBOXES:T_TELBOX_NEIGHBOUR_IN_ID_NEW"
+                           minOccurs="0"/>
+               <xs:element name="ID_ZASOB_NEW" minOccurs="0" type="xs:integer"/>
+               <!--<xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB_NEW" minOccurs="0"/>-->
+               <xs:element name="COST_VALUE" minOccurs="0" type="xs:decimal"/>
+               <xs:element name="COST_MONTH" minOccurs="0" type="xs:date"/>
+               <xs:element name="COST_TYPE" minOccurs="0" type="xs:string"/>
+               <xs:element name="INCOME_VALUE" minOccurs="0" type="xs:decimal"/>
+               <xs:element name="TRANSFER_OPPOSITE_ID_PROJECT"
+                           minOccurs="0"
+                           nillable="true"
+                           type="xs:int"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:TRANSFER_OPPOSITE_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="TRANSFER_OPPOSITE_ID_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:TRANSFER_OPPOSITE_ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="COST_OF_SHIPMENT"
+                           minOccurs="0"
+                           default="0.00"
+                           type="xs:decimal"/>
+               <xs:element name="KATEGORIA_KOSZTU"
+                           minOccurs="0"
+                           nillable="true"
+                           default="do uzgodnienia"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:KATEGORIA_KOSZTU"/>
+               <xs:element name="ID_BILLING_OWNER"
+                           minOccurs="1"
+                           default="1"
+                           type="xs:integer"/>
+               <xs:element ref="default_db__x3A__BILLING_OWNER:BILLING_OWNER">
+                  <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_BILLING_OWNER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__BILLING_OWNER:BILLING_OWNER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #4999 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="default_db__x3A__BILLING_OWNER:BILLING_OWNER" minOccurs="1"/>-->
+               <xs:element maxOccurs="unbounded"
+                           ref="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Ground"
+                           minOccurs="0">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Ground/ID_KORESP_INVEST_ARRANGEMENT_DEAL"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #554
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Buildings">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Buildings/ID_KORESP_INVEST_ARRANGEMENT_DEAL"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #5554
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__InvestArrangements:InvestArrangements_Network_Crossings">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__InvestArrangements:InvestArrangements_Network_Crossings/ID_KORESP_INVEST_ARRANGEMENT_DEAL"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #55554
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
+                           minOccurs="0">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS/ID_KORESP_OFFER"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="ID_KORESP_PROJEKT"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT">
+      <xs:unique name="ID_KORESP_PROJEKT">
+         <xs:selector xpath="."/>
+         <xs:field xpath="ID"/>
+      </xs:unique>
+   </xs:element>
+   <xs:element name="ID_KORESP_PROJ_WYK"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"/>
+   <xs:element name="ID_KORESP_PROJ"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"/>
+   <xs:element name="ID_KORESP_ZLECENIE_PROJEKT"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP">
+      <xs:annotation>
+         <xs:documentation>Uzyte w MK_Rewiry</xs:documentation>
+      </xs:annotation>
+   </xs:element>
+   <xs:element name="ID_KORESP_UMOWA_DEVELOPPER"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP">
+      <xs:annotation>
+         <xs:documentation>Uzyte w MK Rewiry</xs:documentation>
+      </xs:annotation>
+   </xs:element>
+   <xs:element name="ID_KORESP_PROJEKT_WYK"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT"/>
+   <xs:complexType name="ID_KORESP_OFFER">
+      <xs:complexContent>
+         <xs:restriction base="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP">
+            <xs:sequence>
+               <xs:element name="ID" minOccurs="0" type="xs:int"/>
+               <xs:element name="P_ID" minOccurs="0" default="0" type="xs:int"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"
+                           maxOccurs="unbounded"
+                           minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="P_ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_RECORD_CREATE_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="A_RECORD_CREATE_AUTHOR"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="A_RECORD_UPDATE_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="A_RECORD_UPDATE_AUTHOR"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="A_ADM_COMPANY" minOccurs="0" type="xs:string"/>
+               <xs:element name="L_APPOITMENT_DATE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER" minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="L_APPOITMENT_PERIOD"
+                           minOccurs="0"
+                           default="0"
+                           type="xs:integer"/>
+               <xs:element name="L_APPOITMENT_INFO" minOccurs="0" type="xs:string"/>
+               <xs:element name="L_APPOITMENT_TYPE"
+                           minOccurs="0"
+                           default=""
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:L_APPOITMENT_TYPE"/>
+               <xs:element name="A_PROBLEM"
+                           minOccurs="0"
+                           default=""
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:A_PROBLEM"> </xs:element>
+               <xs:element name="A_PROBLEM_DESC" minOccurs="0" type="p5Type:text"/>
+               <xs:element name="A_PROBLEM_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="A_CLASSIFIED" minOccurs="0" type="xs:string"/>
+               <xs:element name="A_STATUS"
+                           minOccurs="0"
+                           default="WAITING"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:A_STATUS"/>
+               <xs:element name="A_STATUS_INFO" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="A_STATUS_LASTCHANGE_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="T_WORKPOINTS" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_VALUE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_TYPE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_USER"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_DATE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_TYP_KORESP"
+                           minOccurs="0"
+                           default="IN"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_TYP_KORESP"/>
+               <xs:element name="CRM_LISTA_ZASOBOW_ID" minOccurs="0" type="xs:integer"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW_ID">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="CRM_LISTA_ZASOBOW_ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW_ID/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="K_TYP_RODZAJ"
+                           minOccurs="0"
+                           default="ZWYKLY"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_TYP_RODZAJ"> </xs:element>
+               <xs:element name="K_DATA_OTRZYM_KORESP" minOccurs="0" type="xs:date"/>
+               <xs:element name="K_NR_OTRZYM_KORESP"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_DATA_OTRZYMANEJ_KORESP" minOccurs="0" type="xs:date"/>
+               <xs:element name="K_OD_KOGO" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="ID_BILLING_USERS"
+                           minOccurs="0"
+                           default="0"
+                           type="xs:integer"/>
+               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS">
+                  <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_BILLING_USERS"
+                                                         system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #3992 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="OD_KOGO_ADRES" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="K_ZAWARTOS" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="K_ZAWARTOSC_HTML" minOccurs="0" type="p5Type:text"/>
+               <xs:element name="K_ZNAK_REFERENTA"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_LOKALIZACJA"
+                           minOccurs="0"
+                           default="SEGREGATOR"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_LOKALIZACJA"/>
+               <xs:element name="K_LOKALIZACJA_OPIS"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_LOKALIZACJA_NEW"
+                           minOccurs="0"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_LOKALIZACJA_NEW"> </xs:element>
+               <xs:element name="K_LOKALIZACJA_OPIS_NEW" minOccurs="0" type="xs:string"/>
+               <xs:element name="K_POKWITOWANIE_ODBIORU"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="path"
+                           minOccurs="0"
+                           nillable="true"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="ID_PROJECT" minOccurs="0" default="0" type="xs:integer"/>
+               <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT" minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="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>
+                        dodatkowa relacja backref
+                     </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="M_DIST_FILES" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="P_ACCOUNT" minOccurs="0" type="xs:string"/>
+               <!--<xs:element minOccurs="0" ref="default_db__x3A__TELBOXES:T_TELBOX_NEIGHBOUR_IN_ID"/>-->
+               <xs:element name="ID_ZASOB" minOccurs="0" type="xs:integer"/>
+               <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:ID_ZASOB" minOccurs="0"/>-->
+               <xs:element name="ID_DEVICE" minOccurs="0" type="xs:integer"/>
+               <xs:element ref="default_db__x3A__DEVICES:ID_DEVICE">
+                  <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_DEVICE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__DEVICES:ID_DEVICE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #28a55 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="default_db__x3A__DEVICES:ID_DEVICE" minOccurs="0"/>-->
+               <xs:element name="T_TELBOX_NEIGHBOUR_IN_ID_NEW"
+                           minOccurs="0"
+                           default="0"
+                           type="xs:integer"/>
+               <xs:element ref="default_db__x3A__TELBOXES:T_TELBOX_NEIGHBOUR_IN_ID_NEW"
+                           minOccurs="0"/>
+               <xs:element name="ID_ZASOB_NEW" minOccurs="0" type="xs:integer"/>
+               <!--<xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB_NEW" minOccurs="0"/>-->
+               <xs:element name="COST_VALUE" minOccurs="0" type="xs:decimal"/>
+               <xs:element name="COST_MONTH" minOccurs="0" type="xs:date"/>
+               <xs:element name="COST_TYPE" minOccurs="0" type="xs:string"/>
+               <xs:element name="INCOME_VALUE" minOccurs="0" type="xs:decimal"/>
+               <xs:element name="TRANSFER_OPPOSITE_ID_PROJECT"
+                           minOccurs="0"
+                           nillable="true"
+                           type="xs:int"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:TRANSFER_OPPOSITE_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="TRANSFER_OPPOSITE_ID_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:TRANSFER_OPPOSITE_ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="COST_OF_SHIPMENT"
+                           minOccurs="0"
+                           default="0.00"
+                           type="xs:decimal"/>
+               <xs:element name="KATEGORIA_KOSZTU"
+                           minOccurs="0"
+                           nillable="true"
+                           default="do uzgodnienia"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:KATEGORIA_KOSZTU"/>
+               <xs:element name="ID_BILLING_OWNER"
+                           minOccurs="1"
+                           default="1"
+                           type="xs:integer"/>
+               <xs:element ref="default_db__x3A__BILLING_OWNER:BILLING_OWNER">
+                  <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_BILLING_OWNER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__BILLING_OWNER:BILLING_OWNER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #4999 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="default_db__x3A__BILLING_OWNER:BILLING_OWNER" minOccurs="1"/>-->
+               <xs:element maxOccurs="unbounded"
+                           ref="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Ground"
+                           minOccurs="0">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Ground/ID_KORESP_INVEST_ARRANGEMENT_DEAL"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #554
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Buildings">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Buildings/ID_KORESP_INVEST_ARRANGEMENT_DEAL"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #5554
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__InvestArrangements:InvestArrangements_Network_Crossings">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__InvestArrangements:InvestArrangements_Network_Crossings/ID_KORESP_INVEST_ARRANGEMENT_DEAL"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #55554
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
+                           minOccurs="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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS/ID_KORESP_OFFER"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="ID_KORESP_INVEST_ARRANGEMENT_DEAL">
+      <xs:complexContent>
+         <xs:restriction base="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP">
+            <xs:sequence>
+               <xs:element name="ID" minOccurs="0" type="xs:int"/>
+               <xs:element name="P_ID" minOccurs="0" default="0" type="xs:int"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"
+                           maxOccurs="unbounded"
+                           minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="P_ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_RECORD_CREATE_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="A_RECORD_CREATE_AUTHOR"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="A_RECORD_UPDATE_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="A_RECORD_UPDATE_AUTHOR"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="A_ADM_COMPANY" minOccurs="0" type="xs:string"/>
+               <xs:element name="L_APPOITMENT_DATE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER" minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="L_APPOITMENT_PERIOD"
+                           minOccurs="0"
+                           default="0"
+                           type="xs:integer"/>
+               <xs:element name="L_APPOITMENT_INFO" minOccurs="0" type="xs:string"/>
+               <xs:element name="L_APPOITMENT_TYPE"
+                           minOccurs="0"
+                           default=""
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:L_APPOITMENT_TYPE"/>
+               <xs:element name="A_PROBLEM"
+                           minOccurs="0"
+                           default=""
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:A_PROBLEM"> </xs:element>
+               <xs:element name="A_PROBLEM_DESC" minOccurs="0" type="p5Type:text"/>
+               <xs:element name="A_PROBLEM_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="A_CLASSIFIED" minOccurs="0" type="xs:string"/>
+               <xs:element name="A_STATUS"
+                           minOccurs="0"
+                           default="WAITING"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:A_STATUS"/>
+               <xs:element name="A_STATUS_INFO" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="A_STATUS_LASTCHANGE_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="T_WORKPOINTS" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_VALUE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_TYPE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_USER"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_DATE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_TYP_KORESP"
+                           minOccurs="0"
+                           default="IN"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_TYP_KORESP"/>
+               <xs:element name="CRM_LISTA_ZASOBOW_ID" minOccurs="0" type="xs:integer"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW_ID">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="CRM_LISTA_ZASOBOW_ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW_ID/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="K_TYP_RODZAJ"
+                           minOccurs="0"
+                           default="ZWYKLY"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_TYP_RODZAJ"> </xs:element>
+               <xs:element name="K_DATA_OTRZYM_KORESP" minOccurs="0" type="xs:date"/>
+               <xs:element name="K_NR_OTRZYM_KORESP"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_DATA_OTRZYMANEJ_KORESP" minOccurs="0" type="xs:date"/>
+               <xs:element name="K_OD_KOGO" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="ID_BILLING_USERS"
+                           minOccurs="0"
+                           default="0"
+                           type="xs:integer"/>
+               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS">
+                  <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_BILLING_USERS"
+                                                         system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #3992 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="OD_KOGO_ADRES" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="K_ZAWARTOS" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="K_ZAWARTOSC_HTML" minOccurs="0" type="p5Type:text"/>
+               <xs:element name="K_ZNAK_REFERENTA"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_LOKALIZACJA"
+                           minOccurs="0"
+                           default="SEGREGATOR"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_LOKALIZACJA"/>
+               <xs:element name="K_LOKALIZACJA_OPIS"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_LOKALIZACJA_NEW"
+                           minOccurs="0"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_LOKALIZACJA_NEW"> </xs:element>
+               <xs:element name="K_LOKALIZACJA_OPIS_NEW" minOccurs="0" type="xs:string"/>
+               <xs:element name="K_POKWITOWANIE_ODBIORU"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="path"
+                           minOccurs="0"
+                           nillable="true"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="ID_PROJECT" minOccurs="0" default="0" type="xs:integer"/>
+               <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT" minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="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>
+                        dodatkowa relacja backref
+                     </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="M_DIST_FILES" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="P_ACCOUNT" minOccurs="0" type="xs:string">
+                  <xs:annotation>
+                     <xs:documentation>Nie używane</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element minOccurs="0" ref="default_db__x3A__TELBOXES:T_TELBOX_NEIGHBOUR_IN_ID"/>-->
+               <xs:element name="ID_ZASOB" minOccurs="0" type="xs:integer"/>
+               <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:ID_ZASOB" minOccurs="0"/>-->
+               <xs:element name="ID_DEVICE" minOccurs="0" type="xs:integer"/>
+               <xs:element ref="default_db__x3A__DEVICES:ID_DEVICE">
+                  <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_DEVICE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__DEVICES:ID_DEVICE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #28a55 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="default_db__x3A__DEVICES:ID_DEVICE" minOccurs="0"/>-->
+               <xs:element name="T_TELBOX_NEIGHBOUR_IN_ID_NEW"
+                           minOccurs="0"
+                           default="0"
+                           type="xs:integer"/>
+               <xs:element ref="default_db__x3A__TELBOXES:T_TELBOX_NEIGHBOUR_IN_ID_NEW"
+                           minOccurs="0"/>
+               <xs:element name="ID_ZASOB_NEW" minOccurs="0" type="xs:integer"/>
+               <!--<xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB_NEW" minOccurs="0"/>-->
+               <xs:element name="COST_VALUE" minOccurs="0" type="xs:decimal">
+                  <xs:annotation>
+                     <xs:documentation>$netto koszt </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="COST_MONTH" minOccurs="0" type="xs:date"/>
+               <xs:element name="COST_TYPE" minOccurs="0" type="xs:string"/>
+               <xs:element name="INCOME_VALUE" minOccurs="0" type="xs:decimal">
+                  <xs:annotation>
+                     <xs:documentation>Przychód</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="TRANSFER_OPPOSITE_ID_PROJECT"
+                           minOccurs="0"
+                           nillable="true"
+                           type="xs:int">
+                  <xs:annotation>
+                     <xs:documentation>Zaznaczenie przeniesienia kosztu miedzy sprawami</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:TRANSFER_OPPOSITE_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="TRANSFER_OPPOSITE_ID_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:TRANSFER_OPPOSITE_ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="COST_OF_SHIPMENT"
+                           minOccurs="0"
+                           default="0.00"
+                           type="xs:decimal"/>
+               <xs:element name="KATEGORIA_KOSZTU"
+                           minOccurs="0"
+                           nillable="true"
+                           default="do uzgodnienia"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:KATEGORIA_KOSZTU"/>
+               <xs:element name="ID_BILLING_OWNER"
+                           minOccurs="1"
+                           default="1"
+                           type="xs:integer"/>
+               <xs:element ref="default_db__x3A__BILLING_OWNER:BILLING_OWNER">
+                  <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_BILLING_OWNER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__BILLING_OWNER:BILLING_OWNER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #4999 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="default_db__x3A__BILLING_OWNER:BILLING_OWNER" minOccurs="1"/>-->
+               <xs:element maxOccurs="unbounded"
+                           ref="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Ground"
+                           minOccurs="0">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Ground/ID_KORESP_INVEST_ARRANGEMENT_DEAL"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #554
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Buildings">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Buildings/ID_KORESP_INVEST_ARRANGEMENT_DEAL"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #5554
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__InvestArrangements:InvestArrangements_Network_Crossings">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__InvestArrangements:InvestArrangements_Network_Crossings/ID_KORESP_INVEST_ARRANGEMENT_DEAL"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #55554
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
+                           minOccurs="0">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS/ID_KORESP_OFFER"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="ID_KORESP_INVEST_ARRANGEMENT_DEAL"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL">
+      <xs:annotation>
+         <xs:documentation>Umowa na umiejscowienie infrastruktury powinna miec warunki cenowe z ofert. TODO</xs:documentation>
+      </xs:annotation>
+   </xs:element>
+   <xs:element name="ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL">
+      <xs:annotation>
+         <xs:documentation>Test obiektu - podpisana umowa - stan na bazie wymuszenia instancji dodatkowej - do spelnienia warunku , ze obiekt infrastruktury, jest uzgodniony.
+
+Instancja bazuje na tym samym ComplexType, wiec powinna miec mozliwosc ustalenia kilku typow instancji</xs:documentation>
+      </xs:annotation>
+   </xs:element>
+   <xs:element name="ID_KORESP_OFFER"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"/>
+   <xs:element name="ID_KORESP_DO_UZG"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"/>
+   <xs:element name="ID_KORESP_UZG"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"/>
+   <xs:element name="ID_KORESP_DO_REALIZ"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"/>
+   <xs:element name="ID_KORESP_ZLECENIE"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER"/>
+   <xs:element name="ID_KORESP_ZGL_ODB"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"/>
+   <xs:element name="ID_KORESP_DO_UZG_ZUD"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"/>
+   <xs:element name="ID_KORESP_UZG_ZUD"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"/>
+   <xs:element name="ID_KORESP_POM_GEOD"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"/>
+   <xs:element name="ID_KORESP_PROTOK_ODB"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"/>
+   <xs:complexType name="ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT">
+      <xs:annotation>
+         <xs:documentation>Przeniesienie kosztu TRANSFER_OPPOSITE_ID_PROJECT </xs:documentation>
+      </xs:annotation>
+      <xs:complexContent>
+         <xs:restriction base="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP">
+            <xs:sequence>
+               <xs:element name="ID" minOccurs="0" type="xs:int"/>
+               <xs:element name="P_ID" minOccurs="0" default="0" type="xs:int"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP"
+                           maxOccurs="unbounded"
+                           minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="P_ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_RECORD_CREATE_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="A_RECORD_CREATE_AUTHOR"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="A_RECORD_UPDATE_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="A_RECORD_UPDATE_AUTHOR"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="A_ADM_COMPANY" minOccurs="0" type="xs:string"/>
+               <xs:element name="L_APPOITMENT_DATE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER" minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="L_APPOITMENT_PERIOD"
+                           minOccurs="0"
+                           default="0"
+                           type="xs:integer"/>
+               <xs:element name="L_APPOITMENT_INFO" minOccurs="0" type="xs:string"/>
+               <xs:element name="L_APPOITMENT_TYPE"
+                           minOccurs="0"
+                           default=""
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:L_APPOITMENT_TYPE"/>
+               <xs:element name="A_PROBLEM"
+                           minOccurs="0"
+                           default=""
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:A_PROBLEM"> </xs:element>
+               <xs:element name="A_PROBLEM_DESC" minOccurs="0" type="p5Type:text"/>
+               <xs:element name="A_PROBLEM_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="A_CLASSIFIED" minOccurs="0" type="xs:string"/>
+               <xs:element name="A_STATUS"
+                           minOccurs="0"
+                           default="WAITING"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:A_STATUS"/>
+               <xs:element name="A_STATUS_INFO" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="A_STATUS_LASTCHANGE_DATE" minOccurs="0" type="xs:dateTime"/>
+               <xs:element name="T_WORKPOINTS" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_VALUE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_TYPE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_USER"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="T_WORKPOINTS_DATE"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_TYP_KORESP"
+                           minOccurs="0"
+                           default="IN"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_TYP_KORESP"/>
+               <xs:element name="CRM_LISTA_ZASOBOW_ID" minOccurs="0" type="xs:integer"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW_ID">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="CRM_LISTA_ZASOBOW_ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW_ID/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="K_TYP_RODZAJ"
+                           minOccurs="0"
+                           default="ZWYKLY"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_TYP_RODZAJ"> </xs:element>
+               <xs:element name="K_DATA_OTRZYM_KORESP" minOccurs="0" type="xs:date"/>
+               <xs:element name="K_NR_OTRZYM_KORESP"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_DATA_OTRZYMANEJ_KORESP" minOccurs="0" type="xs:date"/>
+               <xs:element name="K_OD_KOGO" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="ID_BILLING_USERS"
+                           minOccurs="0"
+                           default="0"
+                           type="xs:integer"/>
+               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS">
+                  <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_BILLING_USERS"
+                                                         system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #3992 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="OD_KOGO_ADRES" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="K_ZAWARTOS" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="K_ZAWARTOSC_HTML" minOccurs="0" type="p5Type:text"/>
+               <xs:element name="K_ZNAK_REFERENTA"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_LOKALIZACJA"
+                           minOccurs="0"
+                           default="SEGREGATOR"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_LOKALIZACJA"/>
+               <xs:element name="K_LOKALIZACJA_OPIS"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="K_LOKALIZACJA_NEW"
+                           minOccurs="0"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:K_LOKALIZACJA_NEW"> </xs:element>
+               <xs:element name="K_LOKALIZACJA_OPIS_NEW" minOccurs="0" type="xs:string"/>
+               <xs:element name="K_POKWITOWANIE_ODBIORU"
+                           minOccurs="0"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="path"
+                           minOccurs="0"
+                           nillable="true"
+                           default=""
+                           type="xs:string"/>
+               <xs:element name="ID_PROJECT" minOccurs="0" default="0" type="xs:integer"/>
+               <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT" minOccurs="1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_PROJECT"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Należy zaznaczyć do jakiego projektu przenosimy wartośc kosztu (z projektu wyrazonego TRANSFER_OPPOSITE_ID_PROJET ) </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="M_DIST_FILES" minOccurs="0" default="" type="xs:string"/>
+               <xs:element name="P_ACCOUNT" minOccurs="0" type="xs:string"/>
+               <!--<xs:element minOccurs="0" ref="default_db__x3A__TELBOXES:T_TELBOX_NEIGHBOUR_IN_ID"/>-->
+               <xs:element name="ID_ZASOB" minOccurs="0" type="xs:integer"/>
+               <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:ID_ZASOB" minOccurs="0"/>-->
+               <xs:element name="ID_DEVICE" minOccurs="0" type="xs:integer"/>
+               <xs:element ref="default_db__x3A__DEVICES:ID_DEVICE">
+                  <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_DEVICE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__DEVICES:ID_DEVICE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #28a55 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="default_db__x3A__DEVICES:ID_DEVICE" minOccurs="0"/>-->
+               <xs:element name="T_TELBOX_NEIGHBOUR_IN_ID_NEW"
+                           minOccurs="0"
+                           default="0"
+                           type="xs:integer"/>
+               <xs:element ref="default_db__x3A__TELBOXES:T_TELBOX_NEIGHBOUR_IN_ID_NEW"
+                           minOccurs="0"/>
+               <xs:element name="ID_ZASOB_NEW" minOccurs="0" type="xs:integer"/>
+               <!--<xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB_NEW" minOccurs="0"/>-->
+               <xs:element name="COST_VALUE" minOccurs="0" type="xs:decimal">
+                  <xs:annotation>
+                     <xs:documentation>Okreslenie wartosci kosztu / do przeniesienia z wartoscia ujemna zwykle</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="COST_MONTH" minOccurs="0" type="xs:date"/>
+               <xs:element name="COST_TYPE" minOccurs="0" type="xs:string"/>
+               <xs:element name="INCOME_VALUE"
+                           minOccurs="0"
+                           type="xs:decimal"
+                           maxOccurs="0">
+                  <xs:annotation>
+                     <xs:documentation>Na razie nie obslugiwane jest przenoszenie zysku</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="TRANSFER_OPPOSITE_ID_PROJECT"
+                           minOccurs="1"
+                           nillable="true"
+                           type="xs:int"/>
+               <xs:element minOccurs="1"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:TRANSFER_OPPOSITE_ID_PROJECT">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="TRANSFER_OPPOSITE_ID_PROJECT"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:TRANSFER_OPPOSITE_ID_PROJECT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Należy określić z jakiego projektu przenosimy koszt INCOME</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="COST_OF_SHIPMENT"
+                           minOccurs="0"
+                           default="0.00"
+                           type="xs:decimal"/>
+               <xs:element name="KATEGORIA_KOSZTU"
+                           minOccurs="0"
+                           nillable="true"
+                           default="do uzgodnienia"
+                           type="default_db__x3A__IN7_DZIENNIK_KORESP:KATEGORIA_KOSZTU"/>
+               <xs:element name="ID_BILLING_OWNER"
+                           minOccurs="1"
+                           default="1"
+                           type="xs:integer"/>
+               <xs:element ref="default_db__x3A__BILLING_OWNER:BILLING_OWNER">
+                  <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_BILLING_OWNER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__BILLING_OWNER:BILLING_OWNER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #4999 !!!
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="default_db__x3A__BILLING_OWNER:BILLING_OWNER" minOccurs="1"/>-->
+               <xs:element maxOccurs="0"
+                           ref="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Ground"
+                           minOccurs="0">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Ground/ID_KORESP_INVEST_ARRANGEMENT_DEAL"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #554
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="0"
+                           minOccurs="0"
+                           ref="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Buildings">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__InvestArrangements:InvestArrangements_Infrastructure_Placement_Buildings/ID_KORESP_INVEST_ARRANGEMENT_DEAL"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #5554
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="0"
+                           minOccurs="0"
+                           ref="default_db__x3A__InvestArrangements:InvestArrangements_Network_Crossings">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__InvestArrangements:InvestArrangements_Network_Crossings/ID_KORESP_INVEST_ARRANGEMENT_DEAL"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #55554
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
+                           minOccurs="0"
+                           maxOccurs="0">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS/ID_KORESP_OFFER"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT"
+               type="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT"/>
+</xs:schema>

+ 2 - 0
SE/schema/ant-object/default_db.IN7_DZIENNIK_KORESP/ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT/build.xml

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<empty/>

+ 659 - 0
SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/ID_PROJECT/ID_PROJECT.xsd

@@ -727,6 +727,20 @@
                <xs:documentation>Rewiry sa potrzebne dla potrzeby zrobienia raportu sprzedazy - idziemy do umowy i serwisu i faktur</xs:documentation>
             </xs:annotation>
          </xs:element>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT/TRANSFER_OPPOSITE_ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Przeniesienia kosztow z korespondencji - restrykcyjny obiekt. Backref - podstawowy jest z korespondencji </xs:documentation>
+            </xs:annotation>
+         </xs:element>
       </xs:sequence>
    </xs:complexType>
    <xs:element name="IN7_MK_BAZA_DYSTRYBUCJI"
@@ -1368,4 +1382,649 @@
                type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI_UZG"/>
    <xs:element name="UMOWA"
                type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI"/>
+   <xs:complexType name="TRANSFER_OPPOSITE_ID_PROJECT">
+      <xs:complexContent>
+         <xs:restriction base="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
+            <xs:sequence>
+               <xs:element name="ID" type="xs:int"/>
+               <xs:element name="P_ID" type="xs:int"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="P_ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="1"
+                           minOccurs="0"
+                           name="M_DIST_TYPE"
+                           type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:M_DIST_TYPE"/>
+               <xs:element name="M_DIST_DESC" type="xs:string"/>
+               <xs:element maxOccurs="1"
+                           minOccurs="0"
+                           name="the_geom"
+                           type="gml:AbstractFeatureType"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_BUD"
+                     id="DYSTRYBUCJI___d4e5715-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_BUD/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
+               <xs:element name="ID_BILLING_USERS" type="xs:string"/>
+               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__SALES_PLAN:SALES_PLAN">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__SALES_PLAN:SALES_PLAN/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>podstawowa relacja - od SALES_PLAN jest jako BACKREF</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element maxOccurs="unbounded" minOccurs="0"
+            ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>-->
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DRAFT"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_PROJEKT"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_REALIZ"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_OFFER"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>
+<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DRAFT"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DRAFT"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_PROJEKT"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_REALIZ"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_OFFER"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_UZG"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_UZG"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_UZG_ZUD"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_UZG_ZUD"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_ZLECENIE"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_ZGL_ODB"/>
+               <!--<xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_POM_GEOD"
+                     id="DYSTRYBUCJI___d4e7048-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_POM_GEOD/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE">
+                  <xs:annotation>
+                     <xs:documentation>
+                  Podstawowa relacja, jest jeszcze od BADANIA_W_TERENIE jako backref
+               </xs:documentation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__PROBLEMS:PROBLEMS">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__PROBLEMS:PROBLEMS/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__MK_Rewiry:MK_Rewiry"
+                           maxOccurs="unbounded"
+                           minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__MK_Rewiry:MK_Rewiry/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Rewiry sa potrzebne dla potrzeby zrobienia raportu sprzedazy - idziemy do umowy i serwisu i faktur</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="1"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT/TRANSFER_OPPOSITE_ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Przeniesienia kosztow z korespondencji - restrykcyjny obiekt. Backref - podstawowy jest z korespondencji </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="TRANSFER_OPPOSITE_ID_PROJECT"
+               type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:TRANSFER_OPPOSITE_ID_PROJECT">
+      <xs:annotation>
+         <xs:documentation>Uzywane przez KORESPONDENCJE do przenoszenia kosztow miedzy sprawami...</xs:documentation>
+      </xs:annotation>
+   </xs:element>
 </xs:schema>

File diff suppressed because it is too large
+ 438 - 375
SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd


+ 659 - 0
SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/INWESTYCJA_BUDOWA_SIECI/INWESTYCJA_BUDOWA_SIECI.xsd

@@ -727,6 +727,20 @@
                <xs:documentation>Rewiry sa potrzebne dla potrzeby zrobienia raportu sprzedazy - idziemy do umowy i serwisu i faktur</xs:documentation>
             </xs:annotation>
          </xs:element>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT/TRANSFER_OPPOSITE_ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Przeniesienia kosztow z korespondencji - restrykcyjny obiekt. Backref - podstawowy jest z korespondencji </xs:documentation>
+            </xs:annotation>
+         </xs:element>
       </xs:sequence>
    </xs:complexType>
    <xs:element name="IN7_MK_BAZA_DYSTRYBUCJI"
@@ -1368,4 +1382,649 @@
                type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI_UZG"/>
    <xs:element name="UMOWA"
                type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI"/>
+   <xs:complexType name="TRANSFER_OPPOSITE_ID_PROJECT">
+      <xs:complexContent>
+         <xs:restriction base="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
+            <xs:sequence>
+               <xs:element name="ID" type="xs:int"/>
+               <xs:element name="P_ID" type="xs:int"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="P_ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="1"
+                           minOccurs="0"
+                           name="M_DIST_TYPE"
+                           type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:M_DIST_TYPE"/>
+               <xs:element name="M_DIST_DESC" type="xs:string"/>
+               <xs:element maxOccurs="1"
+                           minOccurs="0"
+                           name="the_geom"
+                           type="gml:AbstractFeatureType"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_BUD"
+                     id="DYSTRYBUCJI___d4e5715-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_BUD/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
+               <xs:element name="ID_BILLING_USERS" type="xs:string"/>
+               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__SALES_PLAN:SALES_PLAN">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__SALES_PLAN:SALES_PLAN/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>podstawowa relacja - od SALES_PLAN jest jako BACKREF</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element maxOccurs="unbounded" minOccurs="0"
+            ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>-->
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DRAFT"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_PROJEKT"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_REALIZ"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_OFFER"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>
+<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DRAFT"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DRAFT"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_PROJEKT"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_REALIZ"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_OFFER"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_UZG"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_UZG"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_UZG_ZUD"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_UZG_ZUD"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_ZLECENIE"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_ZGL_ODB"/>
+               <!--<xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_POM_GEOD"
+                     id="DYSTRYBUCJI___d4e7048-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_POM_GEOD/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE">
+                  <xs:annotation>
+                     <xs:documentation>
+                  Podstawowa relacja, jest jeszcze od BADANIA_W_TERENIE jako backref
+               </xs:documentation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__PROBLEMS:PROBLEMS">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__PROBLEMS:PROBLEMS/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__MK_Rewiry:MK_Rewiry"
+                           maxOccurs="unbounded"
+                           minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__MK_Rewiry:MK_Rewiry/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Rewiry sa potrzebne dla potrzeby zrobienia raportu sprzedazy - idziemy do umowy i serwisu i faktur</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="1"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT/TRANSFER_OPPOSITE_ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Przeniesienia kosztow z korespondencji - restrykcyjny obiekt. Backref - podstawowy jest z korespondencji </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="TRANSFER_OPPOSITE_ID_PROJECT"
+               type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:TRANSFER_OPPOSITE_ID_PROJECT">
+      <xs:annotation>
+         <xs:documentation>Uzywane przez KORESPONDENCJE do przenoszenia kosztow miedzy sprawami...</xs:documentation>
+      </xs:annotation>
+   </xs:element>
 </xs:schema>

+ 659 - 0
SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/INWESTYCJA_BUDOWA_SIECI_UZG/INWESTYCJA_BUDOWA_SIECI_UZG.xsd

@@ -727,6 +727,20 @@
                <xs:documentation>Rewiry sa potrzebne dla potrzeby zrobienia raportu sprzedazy - idziemy do umowy i serwisu i faktur</xs:documentation>
             </xs:annotation>
          </xs:element>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT/TRANSFER_OPPOSITE_ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Przeniesienia kosztow z korespondencji - restrykcyjny obiekt. Backref - podstawowy jest z korespondencji </xs:documentation>
+            </xs:annotation>
+         </xs:element>
       </xs:sequence>
    </xs:complexType>
    <xs:element name="IN7_MK_BAZA_DYSTRYBUCJI"
@@ -1368,4 +1382,649 @@
                type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI_UZG"/>
    <xs:element name="UMOWA"
                type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI"/>
+   <xs:complexType name="TRANSFER_OPPOSITE_ID_PROJECT">
+      <xs:complexContent>
+         <xs:restriction base="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
+            <xs:sequence>
+               <xs:element name="ID" type="xs:int"/>
+               <xs:element name="P_ID" type="xs:int"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="P_ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="1"
+                           minOccurs="0"
+                           name="M_DIST_TYPE"
+                           type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:M_DIST_TYPE"/>
+               <xs:element name="M_DIST_DESC" type="xs:string"/>
+               <xs:element maxOccurs="1"
+                           minOccurs="0"
+                           name="the_geom"
+                           type="gml:AbstractFeatureType"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_BUD"
+                     id="DYSTRYBUCJI___d4e5715-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_BUD/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
+               <xs:element name="ID_BILLING_USERS" type="xs:string"/>
+               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__SALES_PLAN:SALES_PLAN">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__SALES_PLAN:SALES_PLAN/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>podstawowa relacja - od SALES_PLAN jest jako BACKREF</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element maxOccurs="unbounded" minOccurs="0"
+            ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>-->
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DRAFT"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_PROJEKT"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_REALIZ"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_OFFER"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>
+<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DRAFT"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DRAFT"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_PROJEKT"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_REALIZ"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_OFFER"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_UZG"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_UZG"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_UZG_ZUD"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_UZG_ZUD"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_ZLECENIE"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_ZGL_ODB"/>
+               <!--<xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_POM_GEOD"
+                     id="DYSTRYBUCJI___d4e7048-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_POM_GEOD/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE">
+                  <xs:annotation>
+                     <xs:documentation>
+                  Podstawowa relacja, jest jeszcze od BADANIA_W_TERENIE jako backref
+               </xs:documentation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__PROBLEMS:PROBLEMS">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__PROBLEMS:PROBLEMS/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__MK_Rewiry:MK_Rewiry"
+                           maxOccurs="unbounded"
+                           minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__MK_Rewiry:MK_Rewiry/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Rewiry sa potrzebne dla potrzeby zrobienia raportu sprzedazy - idziemy do umowy i serwisu i faktur</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="1"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT/TRANSFER_OPPOSITE_ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Przeniesienia kosztow z korespondencji - restrykcyjny obiekt. Backref - podstawowy jest z korespondencji </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="TRANSFER_OPPOSITE_ID_PROJECT"
+               type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:TRANSFER_OPPOSITE_ID_PROJECT">
+      <xs:annotation>
+         <xs:documentation>Uzywane przez KORESPONDENCJE do przenoszenia kosztow miedzy sprawami...</xs:documentation>
+      </xs:annotation>
+   </xs:element>
 </xs:schema>

+ 2030 - 0
SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/TRANSFER_OPPOSITE_ID_PROJECT/TRANSFER_OPPOSITE_ID_PROJECT.xsd

@@ -0,0 +1,2030 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
+           xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+           xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+           xmlns:default_db__x3A__COMPANIES="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
+           xmlns:gml="http://www.opengis.net/gml/3.2"
+           xmlns:default_db__x3A__IN7_DZIENNIK_KORESP="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
+           xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
+           xmlns:default_db__x3A__Rozdzielcza_Kabel_Swiatlowodowy_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_Kabel_Swiatlowodowy_wsg84.xsd"
+           xmlns:default_db__x3A__SALES_PLAN="https://biuro.biall-net.pl/wfs/default_db/table/SALES_PLAN.xsd"
+           xmlns:default_db__x3A__Rozdzielcza_Dzialki="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_Dzialki.xsd"
+           xmlns:default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_Mikrokanalizacja_do_klienta.xsd"
+           xmlns:default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84.xsd"
+           xmlns:default_db__x3A__Rozdzielcza_PionyKablowe="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_PionyKablowe.xsd"
+           xmlns:default_db__x3A__Rozdzielcza_Przeciski_110mm="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_Przeciski_110mm.xsd"
+           xmlns:default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_Wykop_przedmiar_na_mikrorurki.xsd"
+           xmlns:default_db__x3A__Rozdzielcza_Zabruki="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_Zabruki.xsd"
+           xmlns:default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_koszty_dodatkowe_wsg84.xsd"
+           xmlns:default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_struktura_wewnetrzna_wsg84.xsd"
+           xmlns:default_db__x3A__Rura_oslonowa_rozdzielcza_magistralna="https://biuro.biall-net.pl/wfs/default_db/table/Rura_oslonowa_rozdzielcza_magistralna.xsd"
+           xmlns:default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW_OFFERS.xsd"
+           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_rura_oslonowa_magistralna="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rura_oslonowa_magistralna.xsd"
+           xmlns:default_db__x3A__BADANIA_W_TERENIE="https://biuro.biall-net.pl/wfs/default_db/table/BADANIA_W_TERENIE.xsd"
+           xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+           xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+           xmlns:default_db__x3A__USERS2_MARKETING="https://biuro.biall-net.pl/wfs/default_db/table/USERS2_MARKETING.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:default_db__x3A__PROBLEMS="https://biuro.biall-net.pl/wfs/default_db/table/PROBLEMS.xsd"
+           xmlns:default_db__x3A__MK_Rewiry="https://biuro.biall-net.pl/wfs/default_db/table/MK_Rewiry.xsd"
+           elementFormDefault="qualified"
+           targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
+           vc:minVersion="1.1"
+           attributeFormDefault="qualified">
+   <xs:import namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
+   <xs:import namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.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:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
+              schemaLocation="../../default_db.COMPANIES/COMPANIES/COMPANIES.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"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_Kabel_Swiatlowodowy_wsg84.xsd"
+              schemaLocation="../../default_db.Rozdzielcza_Kabel_Swiatlowodowy_wsg84/Rozdzielcza_Kabel_Swiatlowodowy_wsg84/Rozdzielcza_Kabel_Swiatlowodowy_wsg84.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/SALES_PLAN.xsd"
+              schemaLocation="../../default_db.SALES_PLAN/SALES_PLAN/SALES_PLAN.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_koszty_dodatkowe_wsg84.xsd"
+              schemaLocation="../../default_db.Rozdzielcza_koszty_dodatkowe_wsg84/Rozdzielcza_koszty_dodatkowe_wsg84/Rozdzielcza_koszty_dodatkowe_wsg84.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_Mikrokanalizacja_do_klienta.xsd"
+              schemaLocation="../../default_db.Rozdzielcza_Mikrokanalizacja_do_klienta/Rozdzielcza_Mikrokanalizacja_do_klienta/Rozdzielcza_Mikrokanalizacja_do_klienta.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84.xsd"
+              schemaLocation="../../default_db.Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84/Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84/Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_struktura_wewnetrzna_wsg84.xsd"
+              schemaLocation="../../default_db.Rozdzielcza_struktura_wewnetrzna_wsg84/Rozdzielcza_struktura_wewnetrzna_wsg84/Rozdzielcza_struktura_wewnetrzna_wsg84.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_Wykop_przedmiar_na_mikrorurki.xsd"
+              schemaLocation="../../default_db.Rozdzielcza_Wykop_przedmiar_na_mikrorurki/Rozdzielcza_Wykop_przedmiar_na_mikrorurki/Rozdzielcza_Wykop_przedmiar_na_mikrorurki.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_Zabruki.xsd"
+              schemaLocation="../../default_db.Rozdzielcza_Zabruki/Rozdzielcza_Zabruki/Rozdzielcza_Zabruki.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_Przeciski_110mm.xsd"
+              schemaLocation="../../default_db.Rozdzielcza_Przeciski_110mm/Rozdzielcza_Przeciski_110mm/Rozdzielcza_Przeciski_110mm.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_PionyKablowe.xsd"
+              schemaLocation="../../default_db.Rozdzielcza_PionyKablowe/Rozdzielcza_PionyKablowe/Rozdzielcza_PionyKablowe.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW_OFFERS.xsd"
+              schemaLocation="../../default_db.CRM_LISTA_ZASOBOW_OFFERS/CRM_LISTA_ZASOBOW_OFFERS/CRM_LISTA_ZASOBOW_OFFERS.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
+              schemaLocation="../../default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rura_oslonowa_magistralna.xsd"
+              schemaLocation="../../default_db.Rozdzielcza_rura_oslonowa_magistralna/Rozdzielcza_rura_oslonowa_magistralna/Rozdzielcza_rura_oslonowa_magistralna.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BADANIA_W_TERENIE.xsd"
+              schemaLocation="../../default_db.BADANIA_W_TERENIE/BADANIA_W_TERENIE/BADANIA_W_TERENIE.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/USERS2_MARKETING.xsd"
+              schemaLocation="../../default_db.USERS2_MARKETING/USERS2_MARKETING/USERS2_MARKETING.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/PROBLEMS.xsd"
+              schemaLocation="../../default_db.PROBLEMS/PROBLEMS/PROBLEMS.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/MK_Rewiry.xsd"
+              schemaLocation="../../default_db.MK_Rewiry/MK_Rewiry/MK_Rewiry.xsd">
+      <xs:annotation>
+         <xs:documentation>relacja do rewirow bedzie potrzebna do raportu sprzedazy , bo za rewirem kryja sie umowy, z ktorych wynika sprzedaz na fakturach</xs:documentation>
+      </xs:annotation>
+   </xs:import>
+   <xs:simpleType name="M_DIST_TYPE">
+      <xs:restriction base="xs:string"/>
+   </xs:simpleType>
+   <xs:simpleType name="IN__INWESTYCJA_BUDOWA">
+      <xs:restriction base="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:M_DIST_TYPE">
+         <xs:enumeration value="IN__INWESTYCJA BUDOWA"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:complexType name="IN7_MK_BAZA_DYSTRYBUCJI">
+      <xs:annotation>
+         <xs:appinfo>
+            <system_cache__appinfo:heritage>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:IN7_MK_BAZA_DYSTRYBUCJI"
+                                              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="P_ID"/>
+               </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:annotation>
+      <xs:sequence>
+         <xs:element name="ID" type="xs:int"/>
+         <xs:element name="P_ID" type="xs:int"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="P_ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+         <xs:element maxOccurs="1"
+                     minOccurs="0"
+                     name="M_DIST_TYPE"
+                     type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:M_DIST_TYPE"/>
+         <xs:element name="M_DIST_DESC" type="xs:string"/>
+         <xs:element maxOccurs="1" minOccurs="0" name="M_DIST_DESC_HTML">
+            <xs:simpleType>
+               <xs:restriction base="xs:string"/>
+            </xs:simpleType>
+         </xs:element>
+         <xs:element maxOccurs="1"
+                     minOccurs="0"
+                     name="the_geom"
+                     type="gml:AbstractFeatureType"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP">
+            <xs:annotation>
+               <xs:appinfo>
+                     <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                        <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP/ID_PROJECT"/>
+                     </system_cache__appinfo:flat_relation_cache>
+                  </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+         <!--<xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_BUD"
+                     id="DYSTRYBUCJI___d4e5715-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_BUD/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+         <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
+         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
+         <xs:element name="ID_BILLING_USERS" type="xs:string"/>
+         <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__SALES_PLAN:SALES_PLAN">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__SALES_PLAN:SALES_PLAN/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>podstawowa relacja - od SALES_PLAN jest jako BACKREF</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <!--<xs:element maxOccurs="unbounded" minOccurs="0"
+            ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>-->
+         <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
+                     maxOccurs="unbounded"
+                     minOccurs="0"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DRAFT"
+                     maxOccurs="unbounded"
+                     minOccurs="0"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_PROJEKT"
+                     maxOccurs="unbounded"
+                     minOccurs="0"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_REALIZ"
+                     maxOccurs="unbounded"
+                     minOccurs="0"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_OFFER"
+                     maxOccurs="unbounded"
+                     minOccurs="0"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG"
+                     maxOccurs="unbounded"
+                     minOccurs="0"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG"
+                     maxOccurs="unbounded"
+                     minOccurs="0"/>
+         <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+         <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+         <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_ZLECENIE"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_ZGL_ODB"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+         <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DRAFT"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_PROJEKT"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_REALIZ"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_OFFER"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+         <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+         <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_ZLECENIE"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_ZGL_ODB"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+         <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DRAFT"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_PROJEKT"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_REALIZ"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_OFFER"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_UZG_ZUD"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_UZG_ZUD"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_ZLECENIE"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_ZGL_ODB"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_POM_GEOD"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DRAFT"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_PROJEKT"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_REALIZ"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_OFFER"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_UZG_ZUD"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_UZG_ZUD"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_ZLECENIE"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_ZGL_ODB"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_POM_GEOD"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DRAFT"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_PROJEKT"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_REALIZ"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_OFFER"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+         <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+         <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_ZLECENIE"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_ZGL_ODB"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+         <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DRAFT"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_PROJEKT"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_REALIZ"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_OFFER"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>
+<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+         <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_ZLECENIE"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_ZGL_ODB"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+         <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DRAFT"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_PROJEKT"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_REALIZ"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_OFFER"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_UZG_ZUD"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_UZG_ZUD"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_ZLECENIE"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_ZGL_ODB"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_POM_GEOD"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DRAFT"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_PROJEKT"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_REALIZ"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_OFFER"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+         <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_UZG_ZUD"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_ZLECENIE"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_ZGL_ODB"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_POM_GEOD"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DRAFT"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_PROJEKT"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_REALIZ"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_OFFER"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG_ZUD"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG_ZUD"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZLECENIE"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZGL_ODB"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_POM_GEOD"
+                     minOccurs="0"
+                     maxOccurs="unbounded"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DRAFT"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_PROJEKT"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_REALIZ"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_OFFER"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_UZG"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_UZG"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_UZG_ZUD"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_UZG_ZUD"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_ZLECENIE"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_ZGL_ODB"/>
+         <!--<xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_POM_GEOD"
+                     id="DYSTRYBUCJI___d4e7048-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_POM_GEOD/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL">
+            <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"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #200
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED">
+            <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"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #200
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE">
+            <xs:annotation>
+               <xs:documentation>
+                  Podstawowa relacja, jest jeszcze od BADANIA_W_TERENIE jako backref
+               </xs:documentation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+         <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
+                     maxOccurs="unbounded"
+                     minOccurs="0"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__PROBLEMS:PROBLEMS">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__PROBLEMS:PROBLEMS/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+         <xs:element ref="default_db__x3A__MK_Rewiry:MK_Rewiry"
+                     maxOccurs="unbounded"
+                     minOccurs="0">
+            <xs:annotation>
+               <xs:appinfo>
+                     <system_cache__appinfo:flat_relation_cache>
+                        <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__MK_Rewiry:MK_Rewiry/ID_PROJECT"/>
+                     </system_cache__appinfo:flat_relation_cache>
+                  </xs:appinfo>
+               <xs:documentation>Rewiry sa potrzebne dla potrzeby zrobienia raportu sprzedazy - idziemy do umowy i serwisu i faktur</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT/TRANSFER_OPPOSITE_ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Przeniesienia kosztow z korespondencji - restrykcyjny obiekt. Backref - podstawowy jest z korespondencji </xs:documentation>
+            </xs:annotation>
+         </xs:element>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:element name="IN7_MK_BAZA_DYSTRYBUCJI"
+               type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
+      <xs:unique name="primary.IN7_MK_BAZA_DYSTRYBUCJI">
+         <xs:selector xpath="."/>
+         <xs:field xpath="ID"/>
+      </xs:unique>
+   </xs:element>
+   <xs:element name="ID_PROJECT"
+               type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI"/>
+   <xs:complexType name="INWESTYCJA_BUDOWA_SIECI">
+      <xs:complexContent>
+         <xs:extension base="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI"/>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="INWESTYCJA_BUDOWA_SIECI"
+               type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>
+   <xs:complexType name="INWESTYCJA_BUDOWA_SIECI_UZG">
+      <xs:complexContent>
+         <xs:restriction base="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
+            <xs:sequence>
+               <xs:element name="ID" type="xs:int"/>
+               <xs:element name="P_ID" type="xs:int"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="P_ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="1"
+                           minOccurs="0"
+                           name="M_DIST_TYPE"
+                           type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:M_DIST_TYPE"/>
+               <xs:element name="M_DIST_DESC" type="xs:string"/>
+               <xs:element maxOccurs="1"
+                           minOccurs="0"
+                           name="the_geom"
+                           type="gml:AbstractFeatureType"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="the_geom"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_BUD"
+                     id="DYSTRYBUCJI___d4e5715-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_BUD/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
+               <xs:element name="ID_BILLING_USERS" type="xs:string"/>
+               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__SALES_PLAN:SALES_PLAN">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__SALES_PLAN:SALES_PLAN/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>podstawowa relacja - od SALES_PLAN jest jako BACKREF</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element maxOccurs="unbounded" minOccurs="0"
+            ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>-->
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DRAFT"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_PROJEKT"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_REALIZ"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_OFFER"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG"
+                           maxOccurs="0"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>
+<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DRAFT"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DRAFT"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_PROJEKT"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_REALIZ"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_OFFER"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_UZG"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_UZG"/>
+               <xs:element maxOccurs="0"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_UZG_ZUD"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_UZG_ZUD"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_ZLECENIE"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_ZGL_ODB"/>
+               <!--<xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_POM_GEOD"
+                     id="DYSTRYBUCJI___d4e7048-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_POM_GEOD/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE">
+                  <xs:annotation>
+                     <xs:documentation>
+                        Podstawowa relacja, jest jeszcze od BADANIA_W_TERENIE jako backref
+                     </xs:documentation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__PROBLEMS:PROBLEMS"/>
+               <xs:element ref="default_db__x3A__MK_Rewiry:MK_Rewiry"
+                           maxOccurs="unbounded"
+                           minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__MK_Rewiry:MK_Rewiry/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Rewiry sa potrzebne dla potrzeby zrobienia raportu sprzedazy - idziemy do umowy i serwisu i faktur</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="INWESTYCJA_BUDOWA_SIECI_UZG"
+               type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI_UZG"/>
+   <xs:element name="UMOWA"
+               type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI"/>
+   <xs:complexType name="TRANSFER_OPPOSITE_ID_PROJECT">
+      <xs:complexContent>
+         <xs:restriction base="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
+            <xs:sequence>
+               <xs:element name="ID" type="xs:int"/>
+               <xs:element name="P_ID" type="xs:int"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="P_ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="1"
+                           minOccurs="0"
+                           name="M_DIST_TYPE"
+                           type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:M_DIST_TYPE"/>
+               <xs:element name="M_DIST_DESC" type="xs:string"/>
+               <xs:element maxOccurs="1"
+                           minOccurs="0"
+                           name="the_geom"
+                           type="gml:AbstractFeatureType"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_BUD"
+                     id="DYSTRYBUCJI___d4e5715-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_BUD/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
+               <xs:element name="ID_BILLING_USERS" type="xs:string"/>
+               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__SALES_PLAN:SALES_PLAN">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__SALES_PLAN:SALES_PLAN/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>podstawowa relacja - od SALES_PLAN jest jako BACKREF</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element maxOccurs="unbounded" minOccurs="0"
+            ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>-->
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DRAFT"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_PROJEKT"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_REALIZ"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_OFFER"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>
+<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DRAFT"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DRAFT"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_PROJEKT"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_REALIZ"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_OFFER"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_UZG"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_UZG"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_UZG_ZUD"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_UZG_ZUD"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_ZLECENIE"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_ZGL_ODB"/>
+               <!--<xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_POM_GEOD"
+                     id="DYSTRYBUCJI___d4e7048-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_POM_GEOD/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE">
+                  <xs:annotation>
+                     <xs:documentation>
+                  Podstawowa relacja, jest jeszcze od BADANIA_W_TERENIE jako backref
+               </xs:documentation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__PROBLEMS:PROBLEMS">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__PROBLEMS:PROBLEMS/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__MK_Rewiry:MK_Rewiry"
+                           maxOccurs="unbounded"
+                           minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__MK_Rewiry:MK_Rewiry/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Rewiry sa potrzebne dla potrzeby zrobienia raportu sprzedazy - idziemy do umowy i serwisu i faktur</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="1"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT/TRANSFER_OPPOSITE_ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Przeniesienia kosztow z korespondencji - restrykcyjny obiekt. Backref - podstawowy jest z korespondencji </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="TRANSFER_OPPOSITE_ID_PROJECT"
+               type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:TRANSFER_OPPOSITE_ID_PROJECT">
+      <xs:annotation>
+         <xs:documentation>Uzywane przez KORESPONDENCJE do przenoszenia kosztow miedzy sprawami...</xs:documentation>
+      </xs:annotation>
+   </xs:element>
+</xs:schema>

+ 2 - 0
SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/TRANSFER_OPPOSITE_ID_PROJECT/build.xml

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<empty/>

+ 659 - 0
SE/schema/ant-object/default_db.IN7_MK_BAZA_DYSTRYBUCJI/UMOWA/UMOWA.xsd

@@ -727,6 +727,20 @@
                <xs:documentation>Rewiry sa potrzebne dla potrzeby zrobienia raportu sprzedazy - idziemy do umowy i serwisu i faktur</xs:documentation>
             </xs:annotation>
          </xs:element>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT/TRANSFER_OPPOSITE_ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Przeniesienia kosztow z korespondencji - restrykcyjny obiekt. Backref - podstawowy jest z korespondencji </xs:documentation>
+            </xs:annotation>
+         </xs:element>
       </xs:sequence>
    </xs:complexType>
    <xs:element name="IN7_MK_BAZA_DYSTRYBUCJI"
@@ -1368,4 +1382,649 @@
                type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI_UZG"/>
    <xs:element name="UMOWA"
                type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI"/>
+   <xs:complexType name="TRANSFER_OPPOSITE_ID_PROJECT">
+      <xs:complexContent>
+         <xs:restriction base="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
+            <xs:sequence>
+               <xs:element name="ID" type="xs:int"/>
+               <xs:element name="P_ID" type="xs:int"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="P_ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="1"
+                           minOccurs="0"
+                           name="M_DIST_TYPE"
+                           type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:M_DIST_TYPE"/>
+               <xs:element name="M_DIST_DESC" type="xs:string"/>
+               <xs:element maxOccurs="1"
+                           minOccurs="0"
+                           name="the_geom"
+                           type="gml:AbstractFeatureType"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_BUD"
+                     id="DYSTRYBUCJI___d4e5715-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_BUD/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element name="L_APPOITMENT_USER" type="xs:string"/>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
+               <xs:element name="ID_BILLING_USERS" type="xs:string"/>
+               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__SALES_PLAN:SALES_PLAN">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__SALES_PLAN:SALES_PLAN/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>podstawowa relacja - od SALES_PLAN jest jako BACKREF</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <!--<xs:element maxOccurs="unbounded" minOccurs="0"
+            ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:INWESTYCJA_BUDOWA_SIECI"/>-->
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW_OFFERS:CRM_LISTA_ZASOBOW_OFFERS"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DRAFT"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_PROJEKT"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_REALIZ"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_OFFER"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_struktura_wewnetrzna_wsg84:Rozdzielcza_struktura_wewnetrzna_wsg84_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_koszty_dodatkowe_wsg84:Rozdzielcza_koszty_dodatkowe_wsg84_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Mikrokanalizacja_do_klienta:Rozdzielcza_Mikrokanalizacja_do_klienta_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84:Rozdzielcza_Pakiet5MikrorurekMagistrala_WSG84_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Wykop_przedmiar_na_mikrorurki:Rozdzielcza_Wykop_przedmiar_na_mikrorurki_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>
+<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_POM_GEOD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_Zabruki:Rozdzielcza_Zabruki_POM_GEOD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_Przeciski_110mm:Rozdzielcza_Przeciski_110mm_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DRAFT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <!--<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG_ZUD"
+            minOccurs="0"
+            maxOccurs="unbounded">
+   <xs:annotation xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+      <xs:appinfo>
+         <system_cache__appinfo:flat_relation_cache>
+            <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                          system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_DO_UZG_ZUD/ID_PROJECT"/>
+         </system_cache__appinfo:flat_relation_cache>
+      </xs:appinfo>
+   </xs:annotation>
+</xs:element>-->
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_PionyKablowe:Rozdzielcza_PionyKablowe_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DRAFT"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_PROJEKT"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_REALIZ"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_OFFER"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG_ZUD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZLECENIE"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZGL_ODB"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element ref="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_POM_GEOD"
+                           minOccurs="0"
+                           maxOccurs="unbounded"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DRAFT"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_PROJEKT"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_REALIZ"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_OFFER"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_UZG"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_UZG"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_DO_UZG_ZUD"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_UZG_ZUD"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_ZLECENIE"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_ZGL_ODB"/>
+               <!--<xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_POM_GEOD"
+                     id="DYSTRYBUCJI___d4e7048-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__Rozdzielcza_rura_oslonowa_magistralna:Rozdzielcza_rura_oslonowa_magistralna_POM_GEOD/ID_PROJECT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>-->
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED">
+                  <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"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_INVEST_ARRANGEMENT_DEAL_SIGNED/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #200
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE">
+                  <xs:annotation>
+                     <xs:documentation>
+                  Podstawowa relacja, jest jeszcze od BADANIA_W_TERENIE jako backref
+               </xs:documentation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:xpath="default_db__x3A__BADANIA_W_TERENIE:BADANIA_W_TERENIE/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
+                           maxOccurs="unbounded"
+                           minOccurs="0"/>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="0"
+                           ref="default_db__x3A__PROBLEMS:PROBLEMS">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__PROBLEMS:PROBLEMS/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element ref="default_db__x3A__MK_Rewiry:MK_Rewiry"
+                           maxOccurs="unbounded"
+                           minOccurs="0">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__MK_Rewiry:MK_Rewiry/ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Rewiry sa potrzebne dla potrzeby zrobienia raportu sprzedazy - idziemy do umowy i serwisu i faktur</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element maxOccurs="unbounded"
+                           minOccurs="1"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_TRANSFER_OPPOSITE_ID_PROJECT/TRANSFER_OPPOSITE_ID_PROJECT"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Przeniesienia kosztow z korespondencji - restrykcyjny obiekt. Backref - podstawowy jest z korespondencji </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="TRANSFER_OPPOSITE_ID_PROJECT"
+               type="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:TRANSFER_OPPOSITE_ID_PROJECT">
+      <xs:annotation>
+         <xs:documentation>Uzywane przez KORESPONDENCJE do przenoszenia kosztow miedzy sprawami...</xs:documentation>
+      </xs:annotation>
+   </xs:element>
 </xs:schema>

Some files were not shown because too many files changed in this diff