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

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

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

+ 382 - 166
SE/schema/ant-object/default_db.CRM_PROCES/CRM_PROCES/CRM_PROCES.xsd

@@ -1,15 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-   xmlns:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
-   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:gml="http://www.opengis.net/gml/3.2"
-   xmlns:default_db__x3A__CRM_WSKAZNIK="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
-   xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
-   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
-   elementFormDefault="qualified"
-   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
-   vc:minVersion="1.1">
+            xmlns:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
+            xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:gml="http://www.opengis.net/gml/3.2"
+            xmlns:default_db__x3A__CRM_WSKAZNIK="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
+            xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
+            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            elementFormDefault="qualified"
+            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
+            vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
-      schemaLocation="../../default_db.CRM_WSKAZNIK/CRM_WSKAZNIK/CRM_WSKAZNIK.xsd"/>
+               schemaLocation="../../default_db.CRM_WSKAZNIK/CRM_WSKAZNIK/CRM_WSKAZNIK.xsd"/>
    <xsd:simpleType name="TYPE_Simple" id="_CRM_PROCES___d4e4668-1_TYPE_Simpl">
       <xsd:restriction base="xsd:string">
          <xsd:enumeration value="PROCES_INIT"/>
@@ -40,31 +49,40 @@
          <xsd:enumeration value="PROCES_GROUP_2"/>
       </xsd:restriction>
    </xsd:simpleType>
-   <xsd:simpleType name="PROCES_BENEFIT_INFO_Simple" id="_CRM_PROCES___d4e4688-1_PROCES_BEN">
+   <xsd:simpleType name="PROCES_BENEFIT_INFO_Simple"
+                   id="_CRM_PROCES___d4e4688-1_PROCES_BEN">
       <xsd:restriction base="default_db__x3A__CRM_PROCES:TYPE_Simple">
          <xsd:enumeration value="PROCES_BENEFIT_INFO"/>
       </xsd:restriction>
    </xsd:simpleType>
-   <xsd:complexType name="CRM_PROCES" id="_CRM_PROCES___d4e4691-1_CRM_PROCES">
+   <xsd:complexType name="CRM_PROCES"
+                    id="_CRM_PROCES___d4e4691-1_CRM_PROCES"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:annotation>
          <xsd:appinfo>
             <system_cache__appinfo:heritage>
-            <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:CRM_PROCES" 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="PARENT_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>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:CRM_PROCES"
+                                              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="PARENT_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>
          </xsd:appinfo>
       </xsd:annotation>
       <xsd:sequence id="_CRM_PROCES___d4e4692-1">
          <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4693-1_ID"/>
-         <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4694-1_PARENT_ID">
+         <xsd:element name="PARENT_ID"
+                      type="xsd:int"
+                      id="_CRM_PROCES___d4e4694-1_PARENT_ID">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -74,77 +92,115 @@
          <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4701-1_path"/>
          <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4702-1_DESC"/>
          <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4703-1_OPIS"/>
-         <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:TYPE_Simple"
-            id="_CRM_PROCES___d4e4703-1_TYPE"/>
-         <xsd:element maxOccurs="unbounded" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-            id="_CRM_PROCES___d4e4704-1">
+         <xsd:element name="TYPE"
+                      type="default_db__x3A__CRM_PROCES:TYPE_Simple"
+                      id="_CRM_PROCES___d4e4703-1_TYPE"/>
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES"
+                      id="_CRM_PROCES___d4e4704-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4711-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                      id="_CRM_PROCES___d4e4711-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4718-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                      id="_CRM_PROCES___d4e4718-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4725-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                      id="_CRM_PROCES___d4e4725-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4732-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                      id="_CRM_PROCES___d4e4732-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4739-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                      id="_CRM_PROCES___d4e4739-1">
             <xsd:annotation>
                <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
+            <xsd:annotation>
+               <xsd:appinfo>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
+               <xsd:documentation>Wchodzenie do rodzicow po Backref</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
       </xsd:sequence>
    </xsd:complexType>
-   <xsd:element name="CRM_PROCES" type="default_db__x3A__CRM_PROCES:CRM_PROCES"
-      id="_CRM_PROCES___d4e4744-1_CRM_PROCES"/>
+   <xsd:element name="CRM_PROCES"
+                type="default_db__x3A__CRM_PROCES:CRM_PROCES"
+                id="_CRM_PROCES___d4e4744-1_CRM_PROCES"/>
    <!--<xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
       <xsd:sequence id="_CRM_PROCES___d14e4417-1">
          <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d14e4418-1_ID"/>
@@ -246,16 +302,22 @@
          </xsd:element>
       </xsd:sequence>
    </xsd:restriction>-->
-   <xsd:complexType name="PROCES_INIT" id="_CRM_PROCES___d4e4747-1_PROCES_INI">
+   <xsd:complexType name="PROCES_INIT"
+                    id="_CRM_PROCES___d4e4747-1_PROCES_INI"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4748-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4750-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4751-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4752-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4752-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -265,36 +327,49 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4759-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4760-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4763-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_INIT_Simple"
-                  id="_CRM_PROCES___d4e4761-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES" id="_CRM_PROCES___d4e4762-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_INIT_Simple"
+                            id="_CRM_PROCES___d4e4761-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4762-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4790-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4790-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4797-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4797-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -303,18 +378,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_INIT" type="default_db__x3A__CRM_PROCES:PROCES_INIT"
-      id="_CRM_PROCES___d4e4802-1_PROCES_INI"/>
-   <xsd:complexType name="PROCES_GROUP_1" id="_CRM_PROCES___d4e4803-1_PROCES_GRO">
+   <xsd:element name="PROCES_INIT"
+                type="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                id="_CRM_PROCES___d4e4802-1_PROCES_INI"/>
+   <xsd:complexType name="PROCES_GROUP_1"
+                    id="_CRM_PROCES___d4e4803-1_PROCES_GRO"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4804-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4806-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4807-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4808-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4808-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
@@ -324,62 +406,83 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4815-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4816-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4821-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1_Simple"
-                  id="_CRM_PROCES___d4e4817-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4825-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1_Simple"
+                            id="_CRM_PROCES___d4e4817-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4825-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4832-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e4832-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4839-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e4839-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4846-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4846-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4853-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4853-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -388,18 +491,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_GROUP_1" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
-      id="_CRM_PROCES___d4e4858-1_PROCES_GRO"/>
-   <xsd:complexType name="PROCES_GROUP_2" id="_CRM_PROCES___d4e4859-1_PROCES_GRO">
+   <xsd:element name="PROCES_GROUP_1"
+                type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                id="_CRM_PROCES___d4e4858-1_PROCES_GRO"/>
+   <xsd:complexType name="PROCES_GROUP_2"
+                    id="_CRM_PROCES___d4e4859-1_PROCES_GRO"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4860-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4862-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4863-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4864-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4864-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -409,62 +519,83 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4871-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4872-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4879-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2_Simple"
-                  id="_CRM_PROCES___d4e4873-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4881-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2_Simple"
+                            id="_CRM_PROCES___d4e4873-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4881-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4888-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e4888-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4895-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e4895-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4902-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4902-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4909-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4909-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -473,18 +604,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_GROUP_2" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
-      id="_CRM_PROCES___d4e4914-1_PROCES_GRO"/>
-   <xsd:complexType name="PROCES" id="_CRM_PROCES___d4e4915-1_PROCES">
+   <xsd:element name="PROCES_GROUP_2"
+                type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                id="_CRM_PROCES___d4e4914-1_PROCES_GRO"/>
+   <xsd:complexType name="PROCES"
+                    id="_CRM_PROCES___d4e4915-1_PROCES"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4916-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4918-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4919-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4920-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4920-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -494,38 +632,51 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4927-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4928-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4937-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_Simple"
-                  id="_CRM_PROCES___d4e4929-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES" id="_CRM_PROCES___d4e4930-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_Simple"
+                            id="_CRM_PROCES___d4e4929-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4930-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4958-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4958-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4965-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4965-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -534,18 +685,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES" type="default_db__x3A__CRM_PROCES:PROCES"
-      id="_CRM_PROCES___d4e4970-1_PROCES"/>
-   <xsd:complexType name="PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4971-1_PROCES_BEN">
+   <xsd:element name="PROCES"
+                type="default_db__x3A__CRM_PROCES:PROCES"
+                id="_CRM_PROCES___d4e4970-1_PROCES"/>
+   <xsd:complexType name="PROCES_BENEFIT_INFO"
+                    id="_CRM_PROCES___d4e4971-1_PROCES_BEN"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4972-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4974-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4975-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4976-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4976-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -562,72 +720,96 @@
                      </xsd:restriction>
                   </xsd:simpleType>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-                  id="_CRM_PROCES___d4e4989-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4989-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4996-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4996-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e5003-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e5003-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e5010-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e5010-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e5017-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e5017-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e5024-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e5024-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -636,18 +818,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_BENEFIT_INFO" type="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
-      id="_CRM_PROCES___d4e5029-1_PROCES_BEN"/>
-   <xsd:complexType name="PROCES_TREE" id="_CRM_PROCES___d4e5030-1_PROCES_TRE">
+   <xsd:element name="PROCES_BENEFIT_INFO"
+                type="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                id="_CRM_PROCES___d4e5029-1_PROCES_BEN"/>
+   <xsd:complexType name="PROCES_TREE"
+                    id="_CRM_PROCES___d4e5030-1_PROCES_TRE"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e5031-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e5033-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e5034-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e5035-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e5035-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -657,69 +846,94 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e5042-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e5043-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e5056-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:TYPE_Simple"
-                  id="_CRM_PROCES___d4e5044-1_TYPE"/>
-               <xsd:element maxOccurs="0" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-                  id="_CRM_PROCES___d4e5045-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:TYPE_Simple"
+                            id="_CRM_PROCES___d4e5044-1_TYPE"/>
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e5045-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e5052-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e5052-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e5059-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e5059-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e5066-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e5066-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e5073-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e5073-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e5080-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e5080-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -728,6 +942,8 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element abstract="true" name="PROCES_TREE" type="default_db__x3A__CRM_PROCES:PROCES_TREE"
-      id="_CRM_PROCES___d4e5086-1_PROCES_TRE"/>
+   <xsd:element abstract="true"
+                name="PROCES_TREE"
+                type="default_db__x3A__CRM_PROCES:PROCES_TREE"
+                id="_CRM_PROCES___d4e5086-1_PROCES_TRE"/>
 </xsd:schema>

+ 382 - 167
SE/schema/ant-object/default_db.CRM_PROCES/PROCES/PROCES.xsd

@@ -1,16 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-   xmlns:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
-   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:gml="http://www.opengis.net/gml/3.2"
-   xmlns:default_db__x3A__CRM_WSKAZNIK="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
-   xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
-   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
-   elementFormDefault="qualified"
-   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
-   vc:minVersion="1.1">
-   <xsd:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="../Types/gml.xsd"/>
+            xmlns:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
+            xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:gml="http://www.opengis.net/gml/3.2"
+            xmlns:default_db__x3A__CRM_WSKAZNIK="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
+            xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
+            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            elementFormDefault="qualified"
+            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
+            vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
-      schemaLocation="../../default_db.CRM_WSKAZNIK/CRM_WSKAZNIK/CRM_WSKAZNIK.xsd"/>
+               schemaLocation="../../default_db.CRM_WSKAZNIK/CRM_WSKAZNIK/CRM_WSKAZNIK.xsd"/>
    <xsd:simpleType name="TYPE_Simple" id="_CRM_PROCES___d4e4668-1_TYPE_Simpl">
       <xsd:restriction base="xsd:string">
          <xsd:enumeration value="PROCES_INIT"/>
@@ -41,31 +49,40 @@
          <xsd:enumeration value="PROCES_GROUP_2"/>
       </xsd:restriction>
    </xsd:simpleType>
-   <xsd:simpleType name="PROCES_BENEFIT_INFO_Simple" id="_CRM_PROCES___d4e4688-1_PROCES_BEN">
+   <xsd:simpleType name="PROCES_BENEFIT_INFO_Simple"
+                   id="_CRM_PROCES___d4e4688-1_PROCES_BEN">
       <xsd:restriction base="default_db__x3A__CRM_PROCES:TYPE_Simple">
          <xsd:enumeration value="PROCES_BENEFIT_INFO"/>
       </xsd:restriction>
    </xsd:simpleType>
-   <xsd:complexType name="CRM_PROCES" id="_CRM_PROCES___d4e4691-1_CRM_PROCES">
+   <xsd:complexType name="CRM_PROCES"
+                    id="_CRM_PROCES___d4e4691-1_CRM_PROCES"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:annotation>
          <xsd:appinfo>
             <system_cache__appinfo:heritage>
-            <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:CRM_PROCES" 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="PARENT_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>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:CRM_PROCES"
+                                              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="PARENT_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>
          </xsd:appinfo>
       </xsd:annotation>
       <xsd:sequence id="_CRM_PROCES___d4e4692-1">
          <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4693-1_ID"/>
-         <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4694-1_PARENT_ID">
+         <xsd:element name="PARENT_ID"
+                      type="xsd:int"
+                      id="_CRM_PROCES___d4e4694-1_PARENT_ID">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -75,77 +92,115 @@
          <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4701-1_path"/>
          <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4702-1_DESC"/>
          <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4703-1_OPIS"/>
-         <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:TYPE_Simple"
-            id="_CRM_PROCES___d4e4703-1_TYPE"/>
-         <xsd:element maxOccurs="unbounded" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-            id="_CRM_PROCES___d4e4704-1">
+         <xsd:element name="TYPE"
+                      type="default_db__x3A__CRM_PROCES:TYPE_Simple"
+                      id="_CRM_PROCES___d4e4703-1_TYPE"/>
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES"
+                      id="_CRM_PROCES___d4e4704-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4711-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                      id="_CRM_PROCES___d4e4711-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4718-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                      id="_CRM_PROCES___d4e4718-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4725-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                      id="_CRM_PROCES___d4e4725-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4732-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                      id="_CRM_PROCES___d4e4732-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4739-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                      id="_CRM_PROCES___d4e4739-1">
             <xsd:annotation>
                <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
+            <xsd:annotation>
+               <xsd:appinfo>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
+               <xsd:documentation>Wchodzenie do rodzicow po Backref</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
       </xsd:sequence>
    </xsd:complexType>
-   <xsd:element name="CRM_PROCES" type="default_db__x3A__CRM_PROCES:CRM_PROCES"
-      id="_CRM_PROCES___d4e4744-1_CRM_PROCES"/>
+   <xsd:element name="CRM_PROCES"
+                type="default_db__x3A__CRM_PROCES:CRM_PROCES"
+                id="_CRM_PROCES___d4e4744-1_CRM_PROCES"/>
    <!--<xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
       <xsd:sequence id="_CRM_PROCES___d14e4417-1">
          <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d14e4418-1_ID"/>
@@ -247,16 +302,22 @@
          </xsd:element>
       </xsd:sequence>
    </xsd:restriction>-->
-   <xsd:complexType name="PROCES_INIT" id="_CRM_PROCES___d4e4747-1_PROCES_INI">
+   <xsd:complexType name="PROCES_INIT"
+                    id="_CRM_PROCES___d4e4747-1_PROCES_INI"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4748-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4750-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4751-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4752-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4752-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -266,36 +327,49 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4759-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4760-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4763-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_INIT_Simple"
-                  id="_CRM_PROCES___d4e4761-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES" id="_CRM_PROCES___d4e4762-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_INIT_Simple"
+                            id="_CRM_PROCES___d4e4761-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4762-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4790-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4790-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4797-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4797-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -304,18 +378,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_INIT" type="default_db__x3A__CRM_PROCES:PROCES_INIT"
-      id="_CRM_PROCES___d4e4802-1_PROCES_INI"/>
-   <xsd:complexType name="PROCES_GROUP_1" id="_CRM_PROCES___d4e4803-1_PROCES_GRO">
+   <xsd:element name="PROCES_INIT"
+                type="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                id="_CRM_PROCES___d4e4802-1_PROCES_INI"/>
+   <xsd:complexType name="PROCES_GROUP_1"
+                    id="_CRM_PROCES___d4e4803-1_PROCES_GRO"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4804-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4806-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4807-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4808-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4808-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
@@ -325,62 +406,83 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4815-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4816-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4821-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1_Simple"
-                  id="_CRM_PROCES___d4e4817-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4825-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1_Simple"
+                            id="_CRM_PROCES___d4e4817-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4825-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4832-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e4832-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4839-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e4839-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4846-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4846-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4853-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4853-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -389,18 +491,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_GROUP_1" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
-      id="_CRM_PROCES___d4e4858-1_PROCES_GRO"/>
-   <xsd:complexType name="PROCES_GROUP_2" id="_CRM_PROCES___d4e4859-1_PROCES_GRO">
+   <xsd:element name="PROCES_GROUP_1"
+                type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                id="_CRM_PROCES___d4e4858-1_PROCES_GRO"/>
+   <xsd:complexType name="PROCES_GROUP_2"
+                    id="_CRM_PROCES___d4e4859-1_PROCES_GRO"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4860-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4862-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4863-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4864-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4864-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -410,62 +519,83 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4871-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4872-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4879-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2_Simple"
-                  id="_CRM_PROCES___d4e4873-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4881-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2_Simple"
+                            id="_CRM_PROCES___d4e4873-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4881-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4888-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e4888-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4895-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e4895-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4902-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4902-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4909-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4909-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -474,18 +604,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_GROUP_2" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
-      id="_CRM_PROCES___d4e4914-1_PROCES_GRO"/>
-   <xsd:complexType name="PROCES" id="_CRM_PROCES___d4e4915-1_PROCES">
+   <xsd:element name="PROCES_GROUP_2"
+                type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                id="_CRM_PROCES___d4e4914-1_PROCES_GRO"/>
+   <xsd:complexType name="PROCES"
+                    id="_CRM_PROCES___d4e4915-1_PROCES"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4916-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4918-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4919-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4920-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4920-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -495,38 +632,51 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4927-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4928-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4937-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_Simple"
-                  id="_CRM_PROCES___d4e4929-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES" id="_CRM_PROCES___d4e4930-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_Simple"
+                            id="_CRM_PROCES___d4e4929-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4930-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4958-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4958-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4965-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4965-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -535,18 +685,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES" type="default_db__x3A__CRM_PROCES:PROCES"
-      id="_CRM_PROCES___d4e4970-1_PROCES"/>
-   <xsd:complexType name="PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4971-1_PROCES_BEN">
+   <xsd:element name="PROCES"
+                type="default_db__x3A__CRM_PROCES:PROCES"
+                id="_CRM_PROCES___d4e4970-1_PROCES"/>
+   <xsd:complexType name="PROCES_BENEFIT_INFO"
+                    id="_CRM_PROCES___d4e4971-1_PROCES_BEN"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4972-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4974-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4975-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4976-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4976-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -563,72 +720,96 @@
                      </xsd:restriction>
                   </xsd:simpleType>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-                  id="_CRM_PROCES___d4e4989-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4989-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4996-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4996-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e5003-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e5003-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e5010-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e5010-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e5017-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e5017-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e5024-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e5024-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -637,18 +818,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_BENEFIT_INFO" type="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
-      id="_CRM_PROCES___d4e5029-1_PROCES_BEN"/>
-   <xsd:complexType name="PROCES_TREE" id="_CRM_PROCES___d4e5030-1_PROCES_TRE">
+   <xsd:element name="PROCES_BENEFIT_INFO"
+                type="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                id="_CRM_PROCES___d4e5029-1_PROCES_BEN"/>
+   <xsd:complexType name="PROCES_TREE"
+                    id="_CRM_PROCES___d4e5030-1_PROCES_TRE"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e5031-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e5033-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e5034-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e5035-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e5035-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -658,69 +846,94 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e5042-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e5043-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e5056-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:TYPE_Simple"
-                  id="_CRM_PROCES___d4e5044-1_TYPE"/>
-               <xsd:element maxOccurs="0" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-                  id="_CRM_PROCES___d4e5045-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:TYPE_Simple"
+                            id="_CRM_PROCES___d4e5044-1_TYPE"/>
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e5045-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e5052-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e5052-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e5059-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e5059-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e5066-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e5066-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e5073-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e5073-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e5080-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e5080-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -729,6 +942,8 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element abstract="true" name="PROCES_TREE" type="default_db__x3A__CRM_PROCES:PROCES_TREE"
-      id="_CRM_PROCES___d4e5086-1_PROCES_TRE"/>
+   <xsd:element abstract="true"
+                name="PROCES_TREE"
+                type="default_db__x3A__CRM_PROCES:PROCES_TREE"
+                id="_CRM_PROCES___d4e5086-1_PROCES_TRE"/>
 </xsd:schema>

+ 2 - 0
SE/schema/ant-object/default_db.CRM_PROCES/PROCES/build.xml

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

+ 382 - 167
SE/schema/ant-object/default_db.CRM_PROCES/PROCES_BENEFIT_INFO/PROCES_BENEFIT_INFO.xsd

@@ -1,16 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-   xmlns:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
-   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:gml="http://www.opengis.net/gml/3.2"
-   xmlns:default_db__x3A__CRM_WSKAZNIK="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
-   xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
-   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
-   elementFormDefault="qualified"
-   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
-   vc:minVersion="1.1">
-   <xsd:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="../Types/gml.xsd"/>
+            xmlns:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
+            xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:gml="http://www.opengis.net/gml/3.2"
+            xmlns:default_db__x3A__CRM_WSKAZNIK="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
+            xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
+            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            elementFormDefault="qualified"
+            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
+            vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
-      schemaLocation="../../default_db.CRM_WSKAZNIK/CRM_WSKAZNIK/CRM_WSKAZNIK.xsd"/>
+               schemaLocation="../../default_db.CRM_WSKAZNIK/CRM_WSKAZNIK/CRM_WSKAZNIK.xsd"/>
    <xsd:simpleType name="TYPE_Simple" id="_CRM_PROCES___d4e4668-1_TYPE_Simpl">
       <xsd:restriction base="xsd:string">
          <xsd:enumeration value="PROCES_INIT"/>
@@ -41,31 +49,40 @@
          <xsd:enumeration value="PROCES_GROUP_2"/>
       </xsd:restriction>
    </xsd:simpleType>
-   <xsd:simpleType name="PROCES_BENEFIT_INFO_Simple" id="_CRM_PROCES___d4e4688-1_PROCES_BEN">
+   <xsd:simpleType name="PROCES_BENEFIT_INFO_Simple"
+                   id="_CRM_PROCES___d4e4688-1_PROCES_BEN">
       <xsd:restriction base="default_db__x3A__CRM_PROCES:TYPE_Simple">
          <xsd:enumeration value="PROCES_BENEFIT_INFO"/>
       </xsd:restriction>
    </xsd:simpleType>
-   <xsd:complexType name="CRM_PROCES" id="_CRM_PROCES___d4e4691-1_CRM_PROCES">
+   <xsd:complexType name="CRM_PROCES"
+                    id="_CRM_PROCES___d4e4691-1_CRM_PROCES"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:annotation>
          <xsd:appinfo>
             <system_cache__appinfo:heritage>
-            <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:CRM_PROCES" 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="PARENT_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>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:CRM_PROCES"
+                                              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="PARENT_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>
          </xsd:appinfo>
       </xsd:annotation>
       <xsd:sequence id="_CRM_PROCES___d4e4692-1">
          <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4693-1_ID"/>
-         <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4694-1_PARENT_ID">
+         <xsd:element name="PARENT_ID"
+                      type="xsd:int"
+                      id="_CRM_PROCES___d4e4694-1_PARENT_ID">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -75,77 +92,115 @@
          <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4701-1_path"/>
          <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4702-1_DESC"/>
          <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4703-1_OPIS"/>
-         <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:TYPE_Simple"
-            id="_CRM_PROCES___d4e4703-1_TYPE"/>
-         <xsd:element maxOccurs="unbounded" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-            id="_CRM_PROCES___d4e4704-1">
+         <xsd:element name="TYPE"
+                      type="default_db__x3A__CRM_PROCES:TYPE_Simple"
+                      id="_CRM_PROCES___d4e4703-1_TYPE"/>
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES"
+                      id="_CRM_PROCES___d4e4704-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4711-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                      id="_CRM_PROCES___d4e4711-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4718-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                      id="_CRM_PROCES___d4e4718-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4725-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                      id="_CRM_PROCES___d4e4725-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4732-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                      id="_CRM_PROCES___d4e4732-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4739-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                      id="_CRM_PROCES___d4e4739-1">
             <xsd:annotation>
                <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
+            <xsd:annotation>
+               <xsd:appinfo>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
+               <xsd:documentation>Wchodzenie do rodzicow po Backref</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
       </xsd:sequence>
    </xsd:complexType>
-   <xsd:element name="CRM_PROCES" type="default_db__x3A__CRM_PROCES:CRM_PROCES"
-      id="_CRM_PROCES___d4e4744-1_CRM_PROCES"/>
+   <xsd:element name="CRM_PROCES"
+                type="default_db__x3A__CRM_PROCES:CRM_PROCES"
+                id="_CRM_PROCES___d4e4744-1_CRM_PROCES"/>
    <!--<xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
       <xsd:sequence id="_CRM_PROCES___d14e4417-1">
          <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d14e4418-1_ID"/>
@@ -247,16 +302,22 @@
          </xsd:element>
       </xsd:sequence>
    </xsd:restriction>-->
-   <xsd:complexType name="PROCES_INIT" id="_CRM_PROCES___d4e4747-1_PROCES_INI">
+   <xsd:complexType name="PROCES_INIT"
+                    id="_CRM_PROCES___d4e4747-1_PROCES_INI"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4748-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4750-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4751-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4752-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4752-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -266,36 +327,49 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4759-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4760-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4763-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_INIT_Simple"
-                  id="_CRM_PROCES___d4e4761-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES" id="_CRM_PROCES___d4e4762-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_INIT_Simple"
+                            id="_CRM_PROCES___d4e4761-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4762-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4790-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4790-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4797-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4797-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -304,18 +378,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_INIT" type="default_db__x3A__CRM_PROCES:PROCES_INIT"
-      id="_CRM_PROCES___d4e4802-1_PROCES_INI"/>
-   <xsd:complexType name="PROCES_GROUP_1" id="_CRM_PROCES___d4e4803-1_PROCES_GRO">
+   <xsd:element name="PROCES_INIT"
+                type="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                id="_CRM_PROCES___d4e4802-1_PROCES_INI"/>
+   <xsd:complexType name="PROCES_GROUP_1"
+                    id="_CRM_PROCES___d4e4803-1_PROCES_GRO"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4804-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4806-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4807-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4808-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4808-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
@@ -325,62 +406,83 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4815-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4816-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4821-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1_Simple"
-                  id="_CRM_PROCES___d4e4817-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4825-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1_Simple"
+                            id="_CRM_PROCES___d4e4817-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4825-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4832-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e4832-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4839-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e4839-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4846-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4846-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4853-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4853-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -389,18 +491,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_GROUP_1" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
-      id="_CRM_PROCES___d4e4858-1_PROCES_GRO"/>
-   <xsd:complexType name="PROCES_GROUP_2" id="_CRM_PROCES___d4e4859-1_PROCES_GRO">
+   <xsd:element name="PROCES_GROUP_1"
+                type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                id="_CRM_PROCES___d4e4858-1_PROCES_GRO"/>
+   <xsd:complexType name="PROCES_GROUP_2"
+                    id="_CRM_PROCES___d4e4859-1_PROCES_GRO"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4860-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4862-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4863-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4864-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4864-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -410,62 +519,83 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4871-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4872-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4879-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2_Simple"
-                  id="_CRM_PROCES___d4e4873-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4881-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2_Simple"
+                            id="_CRM_PROCES___d4e4873-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4881-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4888-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e4888-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4895-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e4895-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4902-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4902-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4909-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4909-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -474,18 +604,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_GROUP_2" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
-      id="_CRM_PROCES___d4e4914-1_PROCES_GRO"/>
-   <xsd:complexType name="PROCES" id="_CRM_PROCES___d4e4915-1_PROCES">
+   <xsd:element name="PROCES_GROUP_2"
+                type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                id="_CRM_PROCES___d4e4914-1_PROCES_GRO"/>
+   <xsd:complexType name="PROCES"
+                    id="_CRM_PROCES___d4e4915-1_PROCES"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4916-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4918-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4919-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4920-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4920-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -495,38 +632,51 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4927-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4928-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4937-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_Simple"
-                  id="_CRM_PROCES___d4e4929-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES" id="_CRM_PROCES___d4e4930-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_Simple"
+                            id="_CRM_PROCES___d4e4929-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4930-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4958-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4958-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4965-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4965-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -535,18 +685,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES" type="default_db__x3A__CRM_PROCES:PROCES"
-      id="_CRM_PROCES___d4e4970-1_PROCES"/>
-   <xsd:complexType name="PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4971-1_PROCES_BEN">
+   <xsd:element name="PROCES"
+                type="default_db__x3A__CRM_PROCES:PROCES"
+                id="_CRM_PROCES___d4e4970-1_PROCES"/>
+   <xsd:complexType name="PROCES_BENEFIT_INFO"
+                    id="_CRM_PROCES___d4e4971-1_PROCES_BEN"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4972-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4974-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4975-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4976-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4976-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -563,72 +720,96 @@
                      </xsd:restriction>
                   </xsd:simpleType>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-                  id="_CRM_PROCES___d4e4989-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4989-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4996-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4996-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e5003-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e5003-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e5010-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e5010-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e5017-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e5017-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e5024-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e5024-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -637,18 +818,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_BENEFIT_INFO" type="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
-      id="_CRM_PROCES___d4e5029-1_PROCES_BEN"/>
-   <xsd:complexType name="PROCES_TREE" id="_CRM_PROCES___d4e5030-1_PROCES_TRE">
+   <xsd:element name="PROCES_BENEFIT_INFO"
+                type="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                id="_CRM_PROCES___d4e5029-1_PROCES_BEN"/>
+   <xsd:complexType name="PROCES_TREE"
+                    id="_CRM_PROCES___d4e5030-1_PROCES_TRE"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e5031-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e5033-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e5034-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e5035-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e5035-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -658,69 +846,94 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e5042-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e5043-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e5056-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:TYPE_Simple"
-                  id="_CRM_PROCES___d4e5044-1_TYPE"/>
-               <xsd:element maxOccurs="0" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-                  id="_CRM_PROCES___d4e5045-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:TYPE_Simple"
+                            id="_CRM_PROCES___d4e5044-1_TYPE"/>
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e5045-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e5052-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e5052-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e5059-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e5059-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e5066-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e5066-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e5073-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e5073-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e5080-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e5080-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -729,6 +942,8 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element abstract="true" name="PROCES_TREE" type="default_db__x3A__CRM_PROCES:PROCES_TREE"
-      id="_CRM_PROCES___d4e5086-1_PROCES_TRE"/>
+   <xsd:element abstract="true"
+                name="PROCES_TREE"
+                type="default_db__x3A__CRM_PROCES:PROCES_TREE"
+                id="_CRM_PROCES___d4e5086-1_PROCES_TRE"/>
 </xsd:schema>

+ 2 - 0
SE/schema/ant-object/default_db.CRM_PROCES/PROCES_BENEFIT_INFO/build.xml

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

+ 382 - 167
SE/schema/ant-object/default_db.CRM_PROCES/PROCES_GROUP_1/PROCES_GROUP_1.xsd

@@ -1,16 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-   xmlns:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
-   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:gml="http://www.opengis.net/gml/3.2"
-   xmlns:default_db__x3A__CRM_WSKAZNIK="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
-   xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
-   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
-   elementFormDefault="qualified"
-   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
-   vc:minVersion="1.1">
-   <xsd:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="../Types/gml.xsd"/>
+            xmlns:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
+            xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:gml="http://www.opengis.net/gml/3.2"
+            xmlns:default_db__x3A__CRM_WSKAZNIK="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
+            xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
+            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            elementFormDefault="qualified"
+            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
+            vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
-      schemaLocation="../../default_db.CRM_WSKAZNIK/CRM_WSKAZNIK/CRM_WSKAZNIK.xsd"/>
+               schemaLocation="../../default_db.CRM_WSKAZNIK/CRM_WSKAZNIK/CRM_WSKAZNIK.xsd"/>
    <xsd:simpleType name="TYPE_Simple" id="_CRM_PROCES___d4e4668-1_TYPE_Simpl">
       <xsd:restriction base="xsd:string">
          <xsd:enumeration value="PROCES_INIT"/>
@@ -41,31 +49,40 @@
          <xsd:enumeration value="PROCES_GROUP_2"/>
       </xsd:restriction>
    </xsd:simpleType>
-   <xsd:simpleType name="PROCES_BENEFIT_INFO_Simple" id="_CRM_PROCES___d4e4688-1_PROCES_BEN">
+   <xsd:simpleType name="PROCES_BENEFIT_INFO_Simple"
+                   id="_CRM_PROCES___d4e4688-1_PROCES_BEN">
       <xsd:restriction base="default_db__x3A__CRM_PROCES:TYPE_Simple">
          <xsd:enumeration value="PROCES_BENEFIT_INFO"/>
       </xsd:restriction>
    </xsd:simpleType>
-   <xsd:complexType name="CRM_PROCES" id="_CRM_PROCES___d4e4691-1_CRM_PROCES">
+   <xsd:complexType name="CRM_PROCES"
+                    id="_CRM_PROCES___d4e4691-1_CRM_PROCES"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:annotation>
          <xsd:appinfo>
             <system_cache__appinfo:heritage>
-            <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:CRM_PROCES" 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="PARENT_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>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:CRM_PROCES"
+                                              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="PARENT_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>
          </xsd:appinfo>
       </xsd:annotation>
       <xsd:sequence id="_CRM_PROCES___d4e4692-1">
          <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4693-1_ID"/>
-         <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4694-1_PARENT_ID">
+         <xsd:element name="PARENT_ID"
+                      type="xsd:int"
+                      id="_CRM_PROCES___d4e4694-1_PARENT_ID">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -75,77 +92,115 @@
          <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4701-1_path"/>
          <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4702-1_DESC"/>
          <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4703-1_OPIS"/>
-         <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:TYPE_Simple"
-            id="_CRM_PROCES___d4e4703-1_TYPE"/>
-         <xsd:element maxOccurs="unbounded" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-            id="_CRM_PROCES___d4e4704-1">
+         <xsd:element name="TYPE"
+                      type="default_db__x3A__CRM_PROCES:TYPE_Simple"
+                      id="_CRM_PROCES___d4e4703-1_TYPE"/>
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES"
+                      id="_CRM_PROCES___d4e4704-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4711-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                      id="_CRM_PROCES___d4e4711-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4718-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                      id="_CRM_PROCES___d4e4718-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4725-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                      id="_CRM_PROCES___d4e4725-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4732-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                      id="_CRM_PROCES___d4e4732-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4739-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                      id="_CRM_PROCES___d4e4739-1">
             <xsd:annotation>
                <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
+            <xsd:annotation>
+               <xsd:appinfo>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
+               <xsd:documentation>Wchodzenie do rodzicow po Backref</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
       </xsd:sequence>
    </xsd:complexType>
-   <xsd:element name="CRM_PROCES" type="default_db__x3A__CRM_PROCES:CRM_PROCES"
-      id="_CRM_PROCES___d4e4744-1_CRM_PROCES"/>
+   <xsd:element name="CRM_PROCES"
+                type="default_db__x3A__CRM_PROCES:CRM_PROCES"
+                id="_CRM_PROCES___d4e4744-1_CRM_PROCES"/>
    <!--<xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
       <xsd:sequence id="_CRM_PROCES___d14e4417-1">
          <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d14e4418-1_ID"/>
@@ -247,16 +302,22 @@
          </xsd:element>
       </xsd:sequence>
    </xsd:restriction>-->
-   <xsd:complexType name="PROCES_INIT" id="_CRM_PROCES___d4e4747-1_PROCES_INI">
+   <xsd:complexType name="PROCES_INIT"
+                    id="_CRM_PROCES___d4e4747-1_PROCES_INI"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4748-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4750-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4751-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4752-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4752-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -266,36 +327,49 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4759-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4760-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4763-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_INIT_Simple"
-                  id="_CRM_PROCES___d4e4761-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES" id="_CRM_PROCES___d4e4762-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_INIT_Simple"
+                            id="_CRM_PROCES___d4e4761-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4762-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4790-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4790-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4797-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4797-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -304,18 +378,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_INIT" type="default_db__x3A__CRM_PROCES:PROCES_INIT"
-      id="_CRM_PROCES___d4e4802-1_PROCES_INI"/>
-   <xsd:complexType name="PROCES_GROUP_1" id="_CRM_PROCES___d4e4803-1_PROCES_GRO">
+   <xsd:element name="PROCES_INIT"
+                type="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                id="_CRM_PROCES___d4e4802-1_PROCES_INI"/>
+   <xsd:complexType name="PROCES_GROUP_1"
+                    id="_CRM_PROCES___d4e4803-1_PROCES_GRO"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4804-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4806-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4807-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4808-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4808-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
@@ -325,62 +406,83 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4815-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4816-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4821-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1_Simple"
-                  id="_CRM_PROCES___d4e4817-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4825-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1_Simple"
+                            id="_CRM_PROCES___d4e4817-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4825-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4832-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e4832-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4839-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e4839-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4846-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4846-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4853-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4853-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -389,18 +491,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_GROUP_1" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
-      id="_CRM_PROCES___d4e4858-1_PROCES_GRO"/>
-   <xsd:complexType name="PROCES_GROUP_2" id="_CRM_PROCES___d4e4859-1_PROCES_GRO">
+   <xsd:element name="PROCES_GROUP_1"
+                type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                id="_CRM_PROCES___d4e4858-1_PROCES_GRO"/>
+   <xsd:complexType name="PROCES_GROUP_2"
+                    id="_CRM_PROCES___d4e4859-1_PROCES_GRO"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4860-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4862-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4863-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4864-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4864-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -410,62 +519,83 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4871-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4872-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4879-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2_Simple"
-                  id="_CRM_PROCES___d4e4873-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4881-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2_Simple"
+                            id="_CRM_PROCES___d4e4873-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4881-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4888-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e4888-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4895-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e4895-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4902-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4902-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4909-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4909-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -474,18 +604,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_GROUP_2" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
-      id="_CRM_PROCES___d4e4914-1_PROCES_GRO"/>
-   <xsd:complexType name="PROCES" id="_CRM_PROCES___d4e4915-1_PROCES">
+   <xsd:element name="PROCES_GROUP_2"
+                type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                id="_CRM_PROCES___d4e4914-1_PROCES_GRO"/>
+   <xsd:complexType name="PROCES"
+                    id="_CRM_PROCES___d4e4915-1_PROCES"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4916-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4918-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4919-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4920-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4920-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -495,38 +632,51 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4927-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4928-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4937-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_Simple"
-                  id="_CRM_PROCES___d4e4929-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES" id="_CRM_PROCES___d4e4930-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_Simple"
+                            id="_CRM_PROCES___d4e4929-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4930-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4958-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4958-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4965-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4965-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -535,18 +685,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES" type="default_db__x3A__CRM_PROCES:PROCES"
-      id="_CRM_PROCES___d4e4970-1_PROCES"/>
-   <xsd:complexType name="PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4971-1_PROCES_BEN">
+   <xsd:element name="PROCES"
+                type="default_db__x3A__CRM_PROCES:PROCES"
+                id="_CRM_PROCES___d4e4970-1_PROCES"/>
+   <xsd:complexType name="PROCES_BENEFIT_INFO"
+                    id="_CRM_PROCES___d4e4971-1_PROCES_BEN"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4972-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4974-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4975-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4976-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4976-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -563,72 +720,96 @@
                      </xsd:restriction>
                   </xsd:simpleType>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-                  id="_CRM_PROCES___d4e4989-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4989-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4996-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4996-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e5003-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e5003-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e5010-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e5010-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e5017-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e5017-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e5024-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e5024-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -637,18 +818,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_BENEFIT_INFO" type="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
-      id="_CRM_PROCES___d4e5029-1_PROCES_BEN"/>
-   <xsd:complexType name="PROCES_TREE" id="_CRM_PROCES___d4e5030-1_PROCES_TRE">
+   <xsd:element name="PROCES_BENEFIT_INFO"
+                type="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                id="_CRM_PROCES___d4e5029-1_PROCES_BEN"/>
+   <xsd:complexType name="PROCES_TREE"
+                    id="_CRM_PROCES___d4e5030-1_PROCES_TRE"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e5031-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e5033-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e5034-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e5035-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e5035-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -658,69 +846,94 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e5042-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e5043-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e5056-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:TYPE_Simple"
-                  id="_CRM_PROCES___d4e5044-1_TYPE"/>
-               <xsd:element maxOccurs="0" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-                  id="_CRM_PROCES___d4e5045-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:TYPE_Simple"
+                            id="_CRM_PROCES___d4e5044-1_TYPE"/>
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e5045-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e5052-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e5052-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e5059-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e5059-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e5066-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e5066-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e5073-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e5073-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e5080-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e5080-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -729,6 +942,8 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element abstract="true" name="PROCES_TREE" type="default_db__x3A__CRM_PROCES:PROCES_TREE"
-      id="_CRM_PROCES___d4e5086-1_PROCES_TRE"/>
+   <xsd:element abstract="true"
+                name="PROCES_TREE"
+                type="default_db__x3A__CRM_PROCES:PROCES_TREE"
+                id="_CRM_PROCES___d4e5086-1_PROCES_TRE"/>
 </xsd:schema>

+ 2 - 0
SE/schema/ant-object/default_db.CRM_PROCES/PROCES_GROUP_1/build.xml

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

+ 382 - 167
SE/schema/ant-object/default_db.CRM_PROCES/PROCES_GROUP_2/PROCES_GROUP_2.xsd

@@ -1,16 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-   xmlns:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
-   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:gml="http://www.opengis.net/gml/3.2"
-   xmlns:default_db__x3A__CRM_WSKAZNIK="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
-   xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
-   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
-   elementFormDefault="qualified"
-   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
-   vc:minVersion="1.1">
-   <xsd:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="../Types/gml.xsd"/>
+            xmlns:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
+            xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:gml="http://www.opengis.net/gml/3.2"
+            xmlns:default_db__x3A__CRM_WSKAZNIK="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
+            xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
+            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            elementFormDefault="qualified"
+            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
+            vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
-      schemaLocation="../../default_db.CRM_WSKAZNIK/CRM_WSKAZNIK/CRM_WSKAZNIK.xsd"/>
+               schemaLocation="../../default_db.CRM_WSKAZNIK/CRM_WSKAZNIK/CRM_WSKAZNIK.xsd"/>
    <xsd:simpleType name="TYPE_Simple" id="_CRM_PROCES___d4e4668-1_TYPE_Simpl">
       <xsd:restriction base="xsd:string">
          <xsd:enumeration value="PROCES_INIT"/>
@@ -41,31 +49,40 @@
          <xsd:enumeration value="PROCES_GROUP_2"/>
       </xsd:restriction>
    </xsd:simpleType>
-   <xsd:simpleType name="PROCES_BENEFIT_INFO_Simple" id="_CRM_PROCES___d4e4688-1_PROCES_BEN">
+   <xsd:simpleType name="PROCES_BENEFIT_INFO_Simple"
+                   id="_CRM_PROCES___d4e4688-1_PROCES_BEN">
       <xsd:restriction base="default_db__x3A__CRM_PROCES:TYPE_Simple">
          <xsd:enumeration value="PROCES_BENEFIT_INFO"/>
       </xsd:restriction>
    </xsd:simpleType>
-   <xsd:complexType name="CRM_PROCES" id="_CRM_PROCES___d4e4691-1_CRM_PROCES">
+   <xsd:complexType name="CRM_PROCES"
+                    id="_CRM_PROCES___d4e4691-1_CRM_PROCES"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:annotation>
          <xsd:appinfo>
             <system_cache__appinfo:heritage>
-            <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:CRM_PROCES" 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="PARENT_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>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:CRM_PROCES"
+                                              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="PARENT_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>
          </xsd:appinfo>
       </xsd:annotation>
       <xsd:sequence id="_CRM_PROCES___d4e4692-1">
          <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4693-1_ID"/>
-         <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4694-1_PARENT_ID">
+         <xsd:element name="PARENT_ID"
+                      type="xsd:int"
+                      id="_CRM_PROCES___d4e4694-1_PARENT_ID">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -75,77 +92,115 @@
          <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4701-1_path"/>
          <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4702-1_DESC"/>
          <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4703-1_OPIS"/>
-         <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:TYPE_Simple"
-            id="_CRM_PROCES___d4e4703-1_TYPE"/>
-         <xsd:element maxOccurs="unbounded" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-            id="_CRM_PROCES___d4e4704-1">
+         <xsd:element name="TYPE"
+                      type="default_db__x3A__CRM_PROCES:TYPE_Simple"
+                      id="_CRM_PROCES___d4e4703-1_TYPE"/>
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES"
+                      id="_CRM_PROCES___d4e4704-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4711-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                      id="_CRM_PROCES___d4e4711-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4718-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                      id="_CRM_PROCES___d4e4718-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4725-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                      id="_CRM_PROCES___d4e4725-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4732-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                      id="_CRM_PROCES___d4e4732-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4739-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                      id="_CRM_PROCES___d4e4739-1">
             <xsd:annotation>
                <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
+            <xsd:annotation>
+               <xsd:appinfo>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
+               <xsd:documentation>Wchodzenie do rodzicow po Backref</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
       </xsd:sequence>
    </xsd:complexType>
-   <xsd:element name="CRM_PROCES" type="default_db__x3A__CRM_PROCES:CRM_PROCES"
-      id="_CRM_PROCES___d4e4744-1_CRM_PROCES"/>
+   <xsd:element name="CRM_PROCES"
+                type="default_db__x3A__CRM_PROCES:CRM_PROCES"
+                id="_CRM_PROCES___d4e4744-1_CRM_PROCES"/>
    <!--<xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
       <xsd:sequence id="_CRM_PROCES___d14e4417-1">
          <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d14e4418-1_ID"/>
@@ -247,16 +302,22 @@
          </xsd:element>
       </xsd:sequence>
    </xsd:restriction>-->
-   <xsd:complexType name="PROCES_INIT" id="_CRM_PROCES___d4e4747-1_PROCES_INI">
+   <xsd:complexType name="PROCES_INIT"
+                    id="_CRM_PROCES___d4e4747-1_PROCES_INI"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4748-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4750-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4751-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4752-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4752-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -266,36 +327,49 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4759-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4760-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4763-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_INIT_Simple"
-                  id="_CRM_PROCES___d4e4761-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES" id="_CRM_PROCES___d4e4762-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_INIT_Simple"
+                            id="_CRM_PROCES___d4e4761-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4762-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4790-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4790-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4797-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4797-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -304,18 +378,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_INIT" type="default_db__x3A__CRM_PROCES:PROCES_INIT"
-      id="_CRM_PROCES___d4e4802-1_PROCES_INI"/>
-   <xsd:complexType name="PROCES_GROUP_1" id="_CRM_PROCES___d4e4803-1_PROCES_GRO">
+   <xsd:element name="PROCES_INIT"
+                type="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                id="_CRM_PROCES___d4e4802-1_PROCES_INI"/>
+   <xsd:complexType name="PROCES_GROUP_1"
+                    id="_CRM_PROCES___d4e4803-1_PROCES_GRO"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4804-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4806-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4807-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4808-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4808-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
@@ -325,62 +406,83 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4815-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4816-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4821-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1_Simple"
-                  id="_CRM_PROCES___d4e4817-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4825-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1_Simple"
+                            id="_CRM_PROCES___d4e4817-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4825-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4832-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e4832-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4839-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e4839-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4846-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4846-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4853-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4853-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -389,18 +491,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_GROUP_1" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
-      id="_CRM_PROCES___d4e4858-1_PROCES_GRO"/>
-   <xsd:complexType name="PROCES_GROUP_2" id="_CRM_PROCES___d4e4859-1_PROCES_GRO">
+   <xsd:element name="PROCES_GROUP_1"
+                type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                id="_CRM_PROCES___d4e4858-1_PROCES_GRO"/>
+   <xsd:complexType name="PROCES_GROUP_2"
+                    id="_CRM_PROCES___d4e4859-1_PROCES_GRO"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4860-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4862-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4863-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4864-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4864-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -410,62 +519,83 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4871-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4872-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4879-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2_Simple"
-                  id="_CRM_PROCES___d4e4873-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4881-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2_Simple"
+                            id="_CRM_PROCES___d4e4873-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4881-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4888-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e4888-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4895-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e4895-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4902-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4902-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4909-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4909-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -474,18 +604,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_GROUP_2" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
-      id="_CRM_PROCES___d4e4914-1_PROCES_GRO"/>
-   <xsd:complexType name="PROCES" id="_CRM_PROCES___d4e4915-1_PROCES">
+   <xsd:element name="PROCES_GROUP_2"
+                type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                id="_CRM_PROCES___d4e4914-1_PROCES_GRO"/>
+   <xsd:complexType name="PROCES"
+                    id="_CRM_PROCES___d4e4915-1_PROCES"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4916-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4918-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4919-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4920-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4920-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -495,38 +632,51 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4927-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4928-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4937-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_Simple"
-                  id="_CRM_PROCES___d4e4929-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES" id="_CRM_PROCES___d4e4930-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_Simple"
+                            id="_CRM_PROCES___d4e4929-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4930-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4958-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4958-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4965-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4965-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -535,18 +685,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES" type="default_db__x3A__CRM_PROCES:PROCES"
-      id="_CRM_PROCES___d4e4970-1_PROCES"/>
-   <xsd:complexType name="PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4971-1_PROCES_BEN">
+   <xsd:element name="PROCES"
+                type="default_db__x3A__CRM_PROCES:PROCES"
+                id="_CRM_PROCES___d4e4970-1_PROCES"/>
+   <xsd:complexType name="PROCES_BENEFIT_INFO"
+                    id="_CRM_PROCES___d4e4971-1_PROCES_BEN"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4972-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4974-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4975-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4976-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4976-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -563,72 +720,96 @@
                      </xsd:restriction>
                   </xsd:simpleType>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-                  id="_CRM_PROCES___d4e4989-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4989-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4996-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4996-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e5003-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e5003-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e5010-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e5010-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e5017-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e5017-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e5024-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e5024-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -637,18 +818,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_BENEFIT_INFO" type="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
-      id="_CRM_PROCES___d4e5029-1_PROCES_BEN"/>
-   <xsd:complexType name="PROCES_TREE" id="_CRM_PROCES___d4e5030-1_PROCES_TRE">
+   <xsd:element name="PROCES_BENEFIT_INFO"
+                type="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                id="_CRM_PROCES___d4e5029-1_PROCES_BEN"/>
+   <xsd:complexType name="PROCES_TREE"
+                    id="_CRM_PROCES___d4e5030-1_PROCES_TRE"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e5031-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e5033-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e5034-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e5035-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e5035-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -658,69 +846,94 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e5042-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e5043-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e5056-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:TYPE_Simple"
-                  id="_CRM_PROCES___d4e5044-1_TYPE"/>
-               <xsd:element maxOccurs="0" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-                  id="_CRM_PROCES___d4e5045-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:TYPE_Simple"
+                            id="_CRM_PROCES___d4e5044-1_TYPE"/>
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e5045-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e5052-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e5052-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e5059-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e5059-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e5066-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e5066-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e5073-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e5073-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e5080-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e5080-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -729,6 +942,8 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element abstract="true" name="PROCES_TREE" type="default_db__x3A__CRM_PROCES:PROCES_TREE"
-      id="_CRM_PROCES___d4e5086-1_PROCES_TRE"/>
+   <xsd:element abstract="true"
+                name="PROCES_TREE"
+                type="default_db__x3A__CRM_PROCES:PROCES_TREE"
+                id="_CRM_PROCES___d4e5086-1_PROCES_TRE"/>
 </xsd:schema>

+ 2 - 0
SE/schema/ant-object/default_db.CRM_PROCES/PROCES_GROUP_2/build.xml

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

+ 382 - 167
SE/schema/ant-object/default_db.CRM_PROCES/PROCES_INIT/PROCES_INIT.xsd

@@ -1,16 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-   xmlns:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
-   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:gml="http://www.opengis.net/gml/3.2"
-   xmlns:default_db__x3A__CRM_WSKAZNIK="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
-   xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
-   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
-   elementFormDefault="qualified"
-   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
-   vc:minVersion="1.1">
-   <xsd:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="../Types/gml.xsd"/>
+            xmlns:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
+            xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:gml="http://www.opengis.net/gml/3.2"
+            xmlns:default_db__x3A__CRM_WSKAZNIK="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
+            xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
+            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            elementFormDefault="qualified"
+            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
+            vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
-      schemaLocation="../../default_db.CRM_WSKAZNIK/CRM_WSKAZNIK/CRM_WSKAZNIK.xsd"/>
+               schemaLocation="../../default_db.CRM_WSKAZNIK/CRM_WSKAZNIK/CRM_WSKAZNIK.xsd"/>
    <xsd:simpleType name="TYPE_Simple" id="_CRM_PROCES___d4e4668-1_TYPE_Simpl">
       <xsd:restriction base="xsd:string">
          <xsd:enumeration value="PROCES_INIT"/>
@@ -41,31 +49,40 @@
          <xsd:enumeration value="PROCES_GROUP_2"/>
       </xsd:restriction>
    </xsd:simpleType>
-   <xsd:simpleType name="PROCES_BENEFIT_INFO_Simple" id="_CRM_PROCES___d4e4688-1_PROCES_BEN">
+   <xsd:simpleType name="PROCES_BENEFIT_INFO_Simple"
+                   id="_CRM_PROCES___d4e4688-1_PROCES_BEN">
       <xsd:restriction base="default_db__x3A__CRM_PROCES:TYPE_Simple">
          <xsd:enumeration value="PROCES_BENEFIT_INFO"/>
       </xsd:restriction>
    </xsd:simpleType>
-   <xsd:complexType name="CRM_PROCES" id="_CRM_PROCES___d4e4691-1_CRM_PROCES">
+   <xsd:complexType name="CRM_PROCES"
+                    id="_CRM_PROCES___d4e4691-1_CRM_PROCES"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:annotation>
          <xsd:appinfo>
             <system_cache__appinfo:heritage>
-            <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:CRM_PROCES" 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="PARENT_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>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:CRM_PROCES"
+                                              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="PARENT_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>
          </xsd:appinfo>
       </xsd:annotation>
       <xsd:sequence id="_CRM_PROCES___d4e4692-1">
          <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4693-1_ID"/>
-         <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4694-1_PARENT_ID">
+         <xsd:element name="PARENT_ID"
+                      type="xsd:int"
+                      id="_CRM_PROCES___d4e4694-1_PARENT_ID">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -75,77 +92,115 @@
          <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4701-1_path"/>
          <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4702-1_DESC"/>
          <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4703-1_OPIS"/>
-         <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:TYPE_Simple"
-            id="_CRM_PROCES___d4e4703-1_TYPE"/>
-         <xsd:element maxOccurs="unbounded" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-            id="_CRM_PROCES___d4e4704-1">
+         <xsd:element name="TYPE"
+                      type="default_db__x3A__CRM_PROCES:TYPE_Simple"
+                      id="_CRM_PROCES___d4e4703-1_TYPE"/>
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES"
+                      id="_CRM_PROCES___d4e4704-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4711-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                      id="_CRM_PROCES___d4e4711-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4718-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                      id="_CRM_PROCES___d4e4718-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4725-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                      id="_CRM_PROCES___d4e4725-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4732-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                      id="_CRM_PROCES___d4e4732-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4739-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                      id="_CRM_PROCES___d4e4739-1">
             <xsd:annotation>
                <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
+            <xsd:annotation>
+               <xsd:appinfo>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
+               <xsd:documentation>Wchodzenie do rodzicow po Backref</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
       </xsd:sequence>
    </xsd:complexType>
-   <xsd:element name="CRM_PROCES" type="default_db__x3A__CRM_PROCES:CRM_PROCES"
-      id="_CRM_PROCES___d4e4744-1_CRM_PROCES"/>
+   <xsd:element name="CRM_PROCES"
+                type="default_db__x3A__CRM_PROCES:CRM_PROCES"
+                id="_CRM_PROCES___d4e4744-1_CRM_PROCES"/>
    <!--<xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
       <xsd:sequence id="_CRM_PROCES___d14e4417-1">
          <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d14e4418-1_ID"/>
@@ -247,16 +302,22 @@
          </xsd:element>
       </xsd:sequence>
    </xsd:restriction>-->
-   <xsd:complexType name="PROCES_INIT" id="_CRM_PROCES___d4e4747-1_PROCES_INI">
+   <xsd:complexType name="PROCES_INIT"
+                    id="_CRM_PROCES___d4e4747-1_PROCES_INI"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4748-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4750-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4751-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4752-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4752-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -266,36 +327,49 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4759-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4760-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4763-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_INIT_Simple"
-                  id="_CRM_PROCES___d4e4761-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES" id="_CRM_PROCES___d4e4762-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_INIT_Simple"
+                            id="_CRM_PROCES___d4e4761-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4762-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4790-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4790-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4797-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4797-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -304,18 +378,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_INIT" type="default_db__x3A__CRM_PROCES:PROCES_INIT"
-      id="_CRM_PROCES___d4e4802-1_PROCES_INI"/>
-   <xsd:complexType name="PROCES_GROUP_1" id="_CRM_PROCES___d4e4803-1_PROCES_GRO">
+   <xsd:element name="PROCES_INIT"
+                type="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                id="_CRM_PROCES___d4e4802-1_PROCES_INI"/>
+   <xsd:complexType name="PROCES_GROUP_1"
+                    id="_CRM_PROCES___d4e4803-1_PROCES_GRO"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4804-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4806-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4807-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4808-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4808-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
@@ -325,62 +406,83 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4815-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4816-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4821-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1_Simple"
-                  id="_CRM_PROCES___d4e4817-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4825-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1_Simple"
+                            id="_CRM_PROCES___d4e4817-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4825-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4832-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e4832-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4839-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e4839-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4846-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4846-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4853-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4853-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -389,18 +491,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_GROUP_1" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
-      id="_CRM_PROCES___d4e4858-1_PROCES_GRO"/>
-   <xsd:complexType name="PROCES_GROUP_2" id="_CRM_PROCES___d4e4859-1_PROCES_GRO">
+   <xsd:element name="PROCES_GROUP_1"
+                type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                id="_CRM_PROCES___d4e4858-1_PROCES_GRO"/>
+   <xsd:complexType name="PROCES_GROUP_2"
+                    id="_CRM_PROCES___d4e4859-1_PROCES_GRO"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4860-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4862-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4863-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4864-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4864-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -410,62 +519,83 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4871-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4872-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4879-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2_Simple"
-                  id="_CRM_PROCES___d4e4873-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4881-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2_Simple"
+                            id="_CRM_PROCES___d4e4873-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4881-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4888-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e4888-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4895-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e4895-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4902-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4902-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4909-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4909-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -474,18 +604,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_GROUP_2" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
-      id="_CRM_PROCES___d4e4914-1_PROCES_GRO"/>
-   <xsd:complexType name="PROCES" id="_CRM_PROCES___d4e4915-1_PROCES">
+   <xsd:element name="PROCES_GROUP_2"
+                type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                id="_CRM_PROCES___d4e4914-1_PROCES_GRO"/>
+   <xsd:complexType name="PROCES"
+                    id="_CRM_PROCES___d4e4915-1_PROCES"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4916-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4918-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4919-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4920-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4920-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -495,38 +632,51 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4927-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4928-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4937-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_Simple"
-                  id="_CRM_PROCES___d4e4929-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES" id="_CRM_PROCES___d4e4930-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_Simple"
+                            id="_CRM_PROCES___d4e4929-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4930-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4958-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4958-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4965-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4965-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -535,18 +685,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES" type="default_db__x3A__CRM_PROCES:PROCES"
-      id="_CRM_PROCES___d4e4970-1_PROCES"/>
-   <xsd:complexType name="PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4971-1_PROCES_BEN">
+   <xsd:element name="PROCES"
+                type="default_db__x3A__CRM_PROCES:PROCES"
+                id="_CRM_PROCES___d4e4970-1_PROCES"/>
+   <xsd:complexType name="PROCES_BENEFIT_INFO"
+                    id="_CRM_PROCES___d4e4971-1_PROCES_BEN"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4972-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4974-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4975-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4976-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4976-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -563,72 +720,96 @@
                      </xsd:restriction>
                   </xsd:simpleType>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-                  id="_CRM_PROCES___d4e4989-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4989-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4996-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4996-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e5003-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e5003-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e5010-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e5010-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e5017-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e5017-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e5024-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e5024-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -637,18 +818,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_BENEFIT_INFO" type="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
-      id="_CRM_PROCES___d4e5029-1_PROCES_BEN"/>
-   <xsd:complexType name="PROCES_TREE" id="_CRM_PROCES___d4e5030-1_PROCES_TRE">
+   <xsd:element name="PROCES_BENEFIT_INFO"
+                type="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                id="_CRM_PROCES___d4e5029-1_PROCES_BEN"/>
+   <xsd:complexType name="PROCES_TREE"
+                    id="_CRM_PROCES___d4e5030-1_PROCES_TRE"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e5031-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e5033-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e5034-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e5035-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e5035-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -658,69 +846,94 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e5042-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e5043-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e5056-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:TYPE_Simple"
-                  id="_CRM_PROCES___d4e5044-1_TYPE"/>
-               <xsd:element maxOccurs="0" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-                  id="_CRM_PROCES___d4e5045-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:TYPE_Simple"
+                            id="_CRM_PROCES___d4e5044-1_TYPE"/>
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e5045-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e5052-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e5052-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e5059-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e5059-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e5066-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e5066-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e5073-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e5073-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e5080-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e5080-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -729,6 +942,8 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element abstract="true" name="PROCES_TREE" type="default_db__x3A__CRM_PROCES:PROCES_TREE"
-      id="_CRM_PROCES___d4e5086-1_PROCES_TRE"/>
+   <xsd:element abstract="true"
+                name="PROCES_TREE"
+                type="default_db__x3A__CRM_PROCES:PROCES_TREE"
+                id="_CRM_PROCES___d4e5086-1_PROCES_TRE"/>
 </xsd:schema>

+ 2 - 0
SE/schema/ant-object/default_db.CRM_PROCES/PROCES_INIT/build.xml

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

+ 382 - 167
SE/schema/ant-object/default_db.CRM_PROCES/PROCES_TREE/PROCES_TREE.xsd

@@ -1,16 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-   xmlns:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
-   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:gml="http://www.opengis.net/gml/3.2"
-   xmlns:default_db__x3A__CRM_WSKAZNIK="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
-   xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
-   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
-   elementFormDefault="qualified"
-   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
-   vc:minVersion="1.1">
-   <xsd:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="../Types/gml.xsd"/>
+            xmlns:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
+            xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:gml="http://www.opengis.net/gml/3.2"
+            xmlns:default_db__x3A__CRM_WSKAZNIK="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
+            xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
+            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+            elementFormDefault="qualified"
+            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
+            vc:minVersion="1.1">
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://biuro.biall-net.pl/p5/schema/types"
+              schemaLocation="../../../types.xsd"/>
+   <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
+              namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xsd:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_WSKAZNIK.xsd"
-      schemaLocation="../../default_db.CRM_WSKAZNIK/CRM_WSKAZNIK/CRM_WSKAZNIK.xsd"/>
+               schemaLocation="../../default_db.CRM_WSKAZNIK/CRM_WSKAZNIK/CRM_WSKAZNIK.xsd"/>
    <xsd:simpleType name="TYPE_Simple" id="_CRM_PROCES___d4e4668-1_TYPE_Simpl">
       <xsd:restriction base="xsd:string">
          <xsd:enumeration value="PROCES_INIT"/>
@@ -41,31 +49,40 @@
          <xsd:enumeration value="PROCES_GROUP_2"/>
       </xsd:restriction>
    </xsd:simpleType>
-   <xsd:simpleType name="PROCES_BENEFIT_INFO_Simple" id="_CRM_PROCES___d4e4688-1_PROCES_BEN">
+   <xsd:simpleType name="PROCES_BENEFIT_INFO_Simple"
+                   id="_CRM_PROCES___d4e4688-1_PROCES_BEN">
       <xsd:restriction base="default_db__x3A__CRM_PROCES:TYPE_Simple">
          <xsd:enumeration value="PROCES_BENEFIT_INFO"/>
       </xsd:restriction>
    </xsd:simpleType>
-   <xsd:complexType name="CRM_PROCES" id="_CRM_PROCES___d4e4691-1_CRM_PROCES">
+   <xsd:complexType name="CRM_PROCES"
+                    id="_CRM_PROCES___d4e4691-1_CRM_PROCES"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:annotation>
          <xsd:appinfo>
             <system_cache__appinfo:heritage>
-            <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:CRM_PROCES" 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="PARENT_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>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:CRM_PROCES"
+                                              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="PARENT_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>
          </xsd:appinfo>
       </xsd:annotation>
       <xsd:sequence id="_CRM_PROCES___d4e4692-1">
          <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4693-1_ID"/>
-         <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4694-1_PARENT_ID">
+         <xsd:element name="PARENT_ID"
+                      type="xsd:int"
+                      id="_CRM_PROCES___d4e4694-1_PARENT_ID">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -75,77 +92,115 @@
          <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4701-1_path"/>
          <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4702-1_DESC"/>
          <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4703-1_OPIS"/>
-         <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:TYPE_Simple"
-            id="_CRM_PROCES___d4e4703-1_TYPE"/>
-         <xsd:element maxOccurs="unbounded" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-            id="_CRM_PROCES___d4e4704-1">
+         <xsd:element name="TYPE"
+                      type="default_db__x3A__CRM_PROCES:TYPE_Simple"
+                      id="_CRM_PROCES___d4e4703-1_TYPE"/>
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES"
+                      id="_CRM_PROCES___d4e4704-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4711-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                      id="_CRM_PROCES___d4e4711-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4718-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                      id="_CRM_PROCES___d4e4718-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4725-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                      id="_CRM_PROCES___d4e4725-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4732-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                      id="_CRM_PROCES___d4e4732-1">
             <xsd:annotation>
                <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
                <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
-         <xsd:element maxOccurs="unbounded" minOccurs="0"
-            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4739-1">
+         <xsd:element maxOccurs="unbounded"
+                      minOccurs="0"
+                      ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                      id="_CRM_PROCES___d4e4739-1">
             <xsd:annotation>
                <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xsd:appinfo>
+            </xsd:annotation>
+         </xsd:element>
+         <xsd:element minOccurs="0" ref="default_db__x3A__CRM_PROCES:CRM_PROCES">
+            <xsd:annotation>
+               <xsd:appinfo>
+                  <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
+                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID"
+                                                   system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xsd:appinfo>
+               <xsd:documentation>Wchodzenie do rodzicow po Backref</xsd:documentation>
             </xsd:annotation>
          </xsd:element>
       </xsd:sequence>
    </xsd:complexType>
-   <xsd:element name="CRM_PROCES" type="default_db__x3A__CRM_PROCES:CRM_PROCES"
-      id="_CRM_PROCES___d4e4744-1_CRM_PROCES"/>
+   <xsd:element name="CRM_PROCES"
+                type="default_db__x3A__CRM_PROCES:CRM_PROCES"
+                id="_CRM_PROCES___d4e4744-1_CRM_PROCES"/>
    <!--<xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
       <xsd:sequence id="_CRM_PROCES___d14e4417-1">
          <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d14e4418-1_ID"/>
@@ -247,16 +302,22 @@
          </xsd:element>
       </xsd:sequence>
    </xsd:restriction>-->
-   <xsd:complexType name="PROCES_INIT" id="_CRM_PROCES___d4e4747-1_PROCES_INI">
+   <xsd:complexType name="PROCES_INIT"
+                    id="_CRM_PROCES___d4e4747-1_PROCES_INI"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4748-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4750-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4751-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4752-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4752-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -266,36 +327,49 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4759-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4760-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4763-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_INIT_Simple"
-                  id="_CRM_PROCES___d4e4761-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES" id="_CRM_PROCES___d4e4762-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_INIT_Simple"
+                            id="_CRM_PROCES___d4e4761-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4762-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4790-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4790-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4797-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4797-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -304,18 +378,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_INIT" type="default_db__x3A__CRM_PROCES:PROCES_INIT"
-      id="_CRM_PROCES___d4e4802-1_PROCES_INI"/>
-   <xsd:complexType name="PROCES_GROUP_1" id="_CRM_PROCES___d4e4803-1_PROCES_GRO">
+   <xsd:element name="PROCES_INIT"
+                type="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                id="_CRM_PROCES___d4e4802-1_PROCES_INI"/>
+   <xsd:complexType name="PROCES_GROUP_1"
+                    id="_CRM_PROCES___d4e4803-1_PROCES_GRO"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4804-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4806-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4807-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4808-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4808-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
@@ -325,62 +406,83 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4815-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4816-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4821-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1_Simple"
-                  id="_CRM_PROCES___d4e4817-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4825-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1_Simple"
+                            id="_CRM_PROCES___d4e4817-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4825-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4832-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e4832-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4839-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e4839-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4846-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4846-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4853-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4853-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -389,18 +491,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_GROUP_1" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
-      id="_CRM_PROCES___d4e4858-1_PROCES_GRO"/>
-   <xsd:complexType name="PROCES_GROUP_2" id="_CRM_PROCES___d4e4859-1_PROCES_GRO">
+   <xsd:element name="PROCES_GROUP_1"
+                type="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                id="_CRM_PROCES___d4e4858-1_PROCES_GRO"/>
+   <xsd:complexType name="PROCES_GROUP_2"
+                    id="_CRM_PROCES___d4e4859-1_PROCES_GRO"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4860-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4862-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4863-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4864-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4864-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -410,62 +519,83 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4871-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4872-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4879-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2_Simple"
-                  id="_CRM_PROCES___d4e4873-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4881-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2_Simple"
+                            id="_CRM_PROCES___d4e4873-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4881-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e4888-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e4888-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e4895-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e4895-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4902-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4902-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4909-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4909-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -474,18 +604,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_GROUP_2" type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
-      id="_CRM_PROCES___d4e4914-1_PROCES_GRO"/>
-   <xsd:complexType name="PROCES" id="_CRM_PROCES___d4e4915-1_PROCES">
+   <xsd:element name="PROCES_GROUP_2"
+                type="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                id="_CRM_PROCES___d4e4914-1_PROCES_GRO"/>
+   <xsd:complexType name="PROCES"
+                    id="_CRM_PROCES___d4e4915-1_PROCES"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4916-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4918-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4919-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4920-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4920-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -495,38 +632,51 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e4927-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e4928-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e4937-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:PROCES_Simple"
-                  id="_CRM_PROCES___d4e4929-1_TYPE"/>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES" id="_CRM_PROCES___d4e4930-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:PROCES_Simple"
+                            id="_CRM_PROCES___d4e4929-1_TYPE"/>
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4930-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="1" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4958-1">
+               <xsd:element maxOccurs="1"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e4958-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e4965-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e4965-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -535,18 +685,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES" type="default_db__x3A__CRM_PROCES:PROCES"
-      id="_CRM_PROCES___d4e4970-1_PROCES"/>
-   <xsd:complexType name="PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e4971-1_PROCES_BEN">
+   <xsd:element name="PROCES"
+                type="default_db__x3A__CRM_PROCES:PROCES"
+                id="_CRM_PROCES___d4e4970-1_PROCES"/>
+   <xsd:complexType name="PROCES_BENEFIT_INFO"
+                    id="_CRM_PROCES___d4e4971-1_PROCES_BEN"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e4972-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e4974-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e4975-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e4976-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e4976-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -563,72 +720,96 @@
                      </xsd:restriction>
                   </xsd:simpleType>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-                  id="_CRM_PROCES___d4e4989-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e4989-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e4996-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e4996-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e5003-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e5003-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e5010-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e5010-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e5017-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e5017-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID
                      </xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e5024-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e5024-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -637,18 +818,25 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element name="PROCES_BENEFIT_INFO" type="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
-      id="_CRM_PROCES___d4e5029-1_PROCES_BEN"/>
-   <xsd:complexType name="PROCES_TREE" id="_CRM_PROCES___d4e5030-1_PROCES_TRE">
+   <xsd:element name="PROCES_BENEFIT_INFO"
+                type="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                id="_CRM_PROCES___d4e5029-1_PROCES_BEN"/>
+   <xsd:complexType name="PROCES_TREE"
+                    id="_CRM_PROCES___d4e5030-1_PROCES_TRE"
+                    system_cache__appinfo:primaryKey="ID">
       <xsd:complexContent id="_CRM_PROCES___d4e5031-1">
          <xsd:restriction base="default_db__x3A__CRM_PROCES:CRM_PROCES">
             <xsd:sequence id="_CRM_PROCES___d4e5033-1">
                <xsd:element name="ID" type="xsd:int" id="_CRM_PROCES___d4e5034-1_ID"/>
-               <xsd:element name="PARENT_ID" type="xsd:int" id="_CRM_PROCES___d4e5035-1_PARENT_ID">
+               <xsd:element name="PARENT_ID"
+                            type="xsd:int"
+                            id="_CRM_PROCES___d4e5035-1_PARENT_ID">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>xpath="default_db__x3A__CRM_PROCES:CRM_PROCES/ID
@@ -658,69 +846,94 @@
                <xsd:element name="path" type="xsd:string" id="_CRM_PROCES___d4e5042-1_path"/>
                <xsd:element name="DESC" type="xsd:string" id="_CRM_PROCES___d4e5043-1_DESC"/>
                <xsd:element name="OPIS" type="xsd:string" id="_CRM_PROCES___d4e5056-1_OPIS"/>
-               <xsd:element name="TYPE" type="default_db__x3A__CRM_PROCES:TYPE_Simple"
-                  id="_CRM_PROCES___d4e5044-1_TYPE"/>
-               <xsd:element maxOccurs="0" minOccurs="0" ref="default_db__x3A__CRM_PROCES:PROCES"
-                  id="_CRM_PROCES___d4e5045-1">
+               <xsd:element name="TYPE"
+                            type="default_db__x3A__CRM_PROCES:TYPE_Simple"
+                            id="_CRM_PROCES___d4e5044-1_TYPE"/>
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES"
+                            id="_CRM_PROCES___d4e5045-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_INIT" id="_CRM_PROCES___d4e5052-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_INIT"
+                            id="_CRM_PROCES___d4e5052-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:CRM_PROCES_INIT/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1" id="_CRM_PROCES___d4e5059-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_1"
+                            id="_CRM_PROCES___d4e5059-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_1/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2" id="_CRM_PROCES___d4e5066-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_GROUP_2"
+                            id="_CRM_PROCES___d4e5066-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_GROUP_2/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="unbounded" minOccurs="0"
-                  ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO" id="_CRM_PROCES___d4e5073-1">
+               <xsd:element maxOccurs="unbounded"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO"
+                            id="_CRM_PROCES___d4e5073-1">
                   <xsd:annotation>
                      <xsd: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__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_BENEFIT_INFO/PARENT_ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                      <xsd:documentation>Tutaj nie dajemy appinfo relation cache - tylko w PARENT_ID do przetworzenia w celu odbudowania</xsd:documentation>
                   </xsd:annotation>
                </xsd:element>
-               <xsd:element maxOccurs="0" minOccurs="0"
-                  ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK" id="_CRM_PROCES___d4e5080-1">
+               <xsd:element maxOccurs="0"
+                            minOccurs="0"
+                            ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK"
+                            id="_CRM_PROCES___d4e5080-1">
                   <xsd:annotation>
                      <xsd: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__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                         system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_PROCES"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xsd:appinfo>
                   </xsd:annotation>
@@ -729,6 +942,8 @@
          </xsd:restriction>
       </xsd:complexContent>
    </xsd:complexType>
-   <xsd:element abstract="true" name="PROCES_TREE" type="default_db__x3A__CRM_PROCES:PROCES_TREE"
-      id="_CRM_PROCES___d4e5086-1_PROCES_TRE"/>
+   <xsd:element abstract="true"
+                name="PROCES_TREE"
+                type="default_db__x3A__CRM_PROCES:PROCES_TREE"
+                id="_CRM_PROCES___d4e5086-1_PROCES_TRE"/>
 </xsd:schema>

+ 2 - 0
SE/schema/ant-object/default_db.CRM_PROCES/PROCES_TREE/build.xml

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