a.binder 8 anos atrás
pai
commit
9a599f187c

+ 33 - 30
SE/schema/ant-object/default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd

@@ -8,6 +8,7 @@
            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+           xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
            elementFormDefault="qualified"
            elementFormDefault="qualified"
            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
            vc:minVersion="1.1">
            vc:minVersion="1.1">
@@ -17,6 +18,8 @@
               schemaLocation="http://www.opengis.net/gml/3.2"/>
               schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_IMAGE.xsd"
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_IMAGE.xsd"
               schemaLocation="../../default_db.CRM_IMAGE/CRM_IMAGE/CRM_IMAGE.xsd"/>
               schemaLocation="../../default_db.CRM_IMAGE/CRM_IMAGE/CRM_IMAGE.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+              schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
    <xs:simpleType name="CRM_LISTA_ZASOBOW__TYPE" id="STA_ZASOBOW___d5e76782-1_CRM_LISTA_">
    <xs:simpleType name="CRM_LISTA_ZASOBOW__TYPE" id="STA_ZASOBOW___d5e76782-1_CRM_LISTA_">
       <xs:restriction base="xs:string">
       <xs:restriction base="xs:string">
          <xs:enumeration value="KONTO-KSIEGOWE-OLD"/>
          <xs:enumeration value="KONTO-KSIEGOWE-OLD"/>
@@ -325,20 +328,7 @@
                      name="L_APPOITMENT_USER"
                      name="L_APPOITMENT_USER"
                      type="xs:string"
                      type="xs:string"
                      id="STA_ZASOBOW___d5e76958-1_L_APPOITME"/>
                      id="STA_ZASOBOW___d5e76958-1_L_APPOITME"/>
-         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
-            <xs:annotation>
-               <xs:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
-                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:name="L_APPOITMENT_USER"
-                                                   system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
-                  </system_cache__appinfo:flat_relation_cache>
-               </xs:appinfo>
-               <xs:documentation>
-                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
-                </xs:documentation>
-            </xs:annotation>
-         </xs:element>
+         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
          <xs:element minOccurs="0"
          <xs:element minOccurs="0"
                      maxOccurs="1"
                      maxOccurs="1"
                      name="L_APPOITMENT_INFO"
                      name="L_APPOITMENT_INFO"
@@ -451,7 +441,20 @@
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                      maxOccurs="unbounded"
                      maxOccurs="unbounded"
                      minOccurs="0"
                      minOccurs="0"
-                     id="STA_ZASOBOW___d5e76987-1"/>
+                     id="STA_ZASOBOW___d5e76987-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name=""
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
       </xs:sequence>
       </xs:sequence>
       <xs:attribute name="label" id="STA_ZASOBOW___d5e76992-1_label"/>
       <xs:attribute name="label" id="STA_ZASOBOW___d5e76992-1_label"/>
       <xs:assert test="@label = concat(ID, ' ', DESC, ' ', DESC_PL)"/>
       <xs:assert test="@label = concat(ID, ' ', DESC, ' ', DESC_PL)"/>
@@ -626,20 +629,7 @@
                            name="L_APPOITMENT_USER"
                            name="L_APPOITMENT_USER"
                            type="xs:string"
                            type="xs:string"
                            id="STA_ZASOBOW___d5e77036-1_L_APPOITME"/>
                            id="STA_ZASOBOW___d5e77036-1_L_APPOITME"/>
-               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
-                  <xs:annotation>
-                     <xs:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:name="L_APPOITMENT_USER"
-                                                         system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xs:appinfo>
-                     <xs:documentation>
-                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
-                </xs:documentation>
-                  </xs:annotation>
-               </xs:element>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
                <xs:element minOccurs="0"
                <xs:element minOccurs="0"
                            maxOccurs="1"
                            maxOccurs="1"
                            name="L_APPOITMENT_INFO"
                            name="L_APPOITMENT_INFO"
@@ -752,7 +742,20 @@
                <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                            maxOccurs="unbounded"
                            maxOccurs="unbounded"
                            minOccurs="0"
                            minOccurs="0"
-                           id="STA_ZASOBOW___d5e77065-1"/>
+                           id="STA_ZASOBOW___d5e77065-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name=""
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
             </xs:sequence>
             </xs:sequence>
             <xs:assert test="@label = concat(name(), ' ', @label)"/>
             <xs:assert test="@label = concat(name(), ' ', @label)"/>
          </xs:restriction>
          </xs:restriction>

+ 33 - 30
SE/schema/ant-object/default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW_ID/CRM_LISTA_ZASOBOW_ID.xsd

@@ -8,6 +8,7 @@
            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+           xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
            elementFormDefault="qualified"
            elementFormDefault="qualified"
            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
            vc:minVersion="1.1">
            vc:minVersion="1.1">
@@ -17,6 +18,8 @@
               schemaLocation="http://www.opengis.net/gml/3.2"/>
               schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_IMAGE.xsd"
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_IMAGE.xsd"
               schemaLocation="../../default_db.CRM_IMAGE/CRM_IMAGE/CRM_IMAGE.xsd"/>
               schemaLocation="../../default_db.CRM_IMAGE/CRM_IMAGE/CRM_IMAGE.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+              schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
    <xs:simpleType name="CRM_LISTA_ZASOBOW__TYPE" id="STA_ZASOBOW___d5e76782-1_CRM_LISTA_">
    <xs:simpleType name="CRM_LISTA_ZASOBOW__TYPE" id="STA_ZASOBOW___d5e76782-1_CRM_LISTA_">
       <xs:restriction base="xs:string">
       <xs:restriction base="xs:string">
          <xs:enumeration value="KONTO-KSIEGOWE-OLD"/>
          <xs:enumeration value="KONTO-KSIEGOWE-OLD"/>
@@ -325,20 +328,7 @@
                      name="L_APPOITMENT_USER"
                      name="L_APPOITMENT_USER"
                      type="xs:string"
                      type="xs:string"
                      id="STA_ZASOBOW___d5e76958-1_L_APPOITME"/>
                      id="STA_ZASOBOW___d5e76958-1_L_APPOITME"/>
-         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
-            <xs:annotation>
-               <xs:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
-                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:name="L_APPOITMENT_USER"
-                                                   system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
-                  </system_cache__appinfo:flat_relation_cache>
-               </xs:appinfo>
-               <xs:documentation>
-                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
-                </xs:documentation>
-            </xs:annotation>
-         </xs:element>
+         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
          <xs:element minOccurs="0"
          <xs:element minOccurs="0"
                      maxOccurs="1"
                      maxOccurs="1"
                      name="L_APPOITMENT_INFO"
                      name="L_APPOITMENT_INFO"
@@ -451,7 +441,20 @@
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                      maxOccurs="unbounded"
                      maxOccurs="unbounded"
                      minOccurs="0"
                      minOccurs="0"
-                     id="STA_ZASOBOW___d5e76987-1"/>
+                     id="STA_ZASOBOW___d5e76987-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name=""
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
       </xs:sequence>
       </xs:sequence>
       <xs:attribute name="label" id="STA_ZASOBOW___d5e76992-1_label"/>
       <xs:attribute name="label" id="STA_ZASOBOW___d5e76992-1_label"/>
       <xs:assert test="@label = concat(ID, ' ', DESC, ' ', DESC_PL)"/>
       <xs:assert test="@label = concat(ID, ' ', DESC, ' ', DESC_PL)"/>
@@ -626,20 +629,7 @@
                            name="L_APPOITMENT_USER"
                            name="L_APPOITMENT_USER"
                            type="xs:string"
                            type="xs:string"
                            id="STA_ZASOBOW___d5e77036-1_L_APPOITME"/>
                            id="STA_ZASOBOW___d5e77036-1_L_APPOITME"/>
-               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
-                  <xs:annotation>
-                     <xs:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:name="L_APPOITMENT_USER"
-                                                         system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xs:appinfo>
-                     <xs:documentation>
-                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
-                </xs:documentation>
-                  </xs:annotation>
-               </xs:element>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
                <xs:element minOccurs="0"
                <xs:element minOccurs="0"
                            maxOccurs="1"
                            maxOccurs="1"
                            name="L_APPOITMENT_INFO"
                            name="L_APPOITMENT_INFO"
@@ -752,7 +742,20 @@
                <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                            maxOccurs="unbounded"
                            maxOccurs="unbounded"
                            minOccurs="0"
                            minOccurs="0"
-                           id="STA_ZASOBOW___d5e77065-1"/>
+                           id="STA_ZASOBOW___d5e77065-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name=""
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
             </xs:sequence>
             </xs:sequence>
             <xs:assert test="@label = concat(name(), ' ', @label)"/>
             <xs:assert test="@label = concat(name(), ' ', @label)"/>
          </xs:restriction>
          </xs:restriction>

+ 33 - 30
SE/schema/ant-object/default_db.CRM_LISTA_ZASOBOW/ID_ZASOB/ID_ZASOB.xsd

@@ -8,6 +8,7 @@
            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+           xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
            elementFormDefault="qualified"
            elementFormDefault="qualified"
            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
            vc:minVersion="1.1">
            vc:minVersion="1.1">
@@ -17,6 +18,8 @@
               schemaLocation="http://www.opengis.net/gml/3.2"/>
               schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_IMAGE.xsd"
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_IMAGE.xsd"
               schemaLocation="../../default_db.CRM_IMAGE/CRM_IMAGE/CRM_IMAGE.xsd"/>
               schemaLocation="../../default_db.CRM_IMAGE/CRM_IMAGE/CRM_IMAGE.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+              schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
    <xs:simpleType name="CRM_LISTA_ZASOBOW__TYPE" id="STA_ZASOBOW___d5e76782-1_CRM_LISTA_">
    <xs:simpleType name="CRM_LISTA_ZASOBOW__TYPE" id="STA_ZASOBOW___d5e76782-1_CRM_LISTA_">
       <xs:restriction base="xs:string">
       <xs:restriction base="xs:string">
          <xs:enumeration value="KONTO-KSIEGOWE-OLD"/>
          <xs:enumeration value="KONTO-KSIEGOWE-OLD"/>
@@ -325,20 +328,7 @@
                      name="L_APPOITMENT_USER"
                      name="L_APPOITMENT_USER"
                      type="xs:string"
                      type="xs:string"
                      id="STA_ZASOBOW___d5e76958-1_L_APPOITME"/>
                      id="STA_ZASOBOW___d5e76958-1_L_APPOITME"/>
-         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
-            <xs:annotation>
-               <xs:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
-                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:name="L_APPOITMENT_USER"
-                                                   system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
-                  </system_cache__appinfo:flat_relation_cache>
-               </xs:appinfo>
-               <xs:documentation>
-                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
-                </xs:documentation>
-            </xs:annotation>
-         </xs:element>
+         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
          <xs:element minOccurs="0"
          <xs:element minOccurs="0"
                      maxOccurs="1"
                      maxOccurs="1"
                      name="L_APPOITMENT_INFO"
                      name="L_APPOITMENT_INFO"
@@ -451,7 +441,20 @@
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                      maxOccurs="unbounded"
                      maxOccurs="unbounded"
                      minOccurs="0"
                      minOccurs="0"
-                     id="STA_ZASOBOW___d5e76987-1"/>
+                     id="STA_ZASOBOW___d5e76987-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name=""
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
       </xs:sequence>
       </xs:sequence>
       <xs:attribute name="label" id="STA_ZASOBOW___d5e76992-1_label"/>
       <xs:attribute name="label" id="STA_ZASOBOW___d5e76992-1_label"/>
       <xs:assert test="@label = concat(ID, ' ', DESC, ' ', DESC_PL)"/>
       <xs:assert test="@label = concat(ID, ' ', DESC, ' ', DESC_PL)"/>
@@ -626,20 +629,7 @@
                            name="L_APPOITMENT_USER"
                            name="L_APPOITMENT_USER"
                            type="xs:string"
                            type="xs:string"
                            id="STA_ZASOBOW___d5e77036-1_L_APPOITME"/>
                            id="STA_ZASOBOW___d5e77036-1_L_APPOITME"/>
-               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
-                  <xs:annotation>
-                     <xs:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:name="L_APPOITMENT_USER"
-                                                         system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xs:appinfo>
-                     <xs:documentation>
-                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
-                </xs:documentation>
-                  </xs:annotation>
-               </xs:element>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
                <xs:element minOccurs="0"
                <xs:element minOccurs="0"
                            maxOccurs="1"
                            maxOccurs="1"
                            name="L_APPOITMENT_INFO"
                            name="L_APPOITMENT_INFO"
@@ -752,7 +742,20 @@
                <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                            maxOccurs="unbounded"
                            maxOccurs="unbounded"
                            minOccurs="0"
                            minOccurs="0"
-                           id="STA_ZASOBOW___d5e77065-1"/>
+                           id="STA_ZASOBOW___d5e77065-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name=""
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
             </xs:sequence>
             </xs:sequence>
             <xs:assert test="@label = concat(name(), ' ', @label)"/>
             <xs:assert test="@label = concat(name(), ' ', @label)"/>
          </xs:restriction>
          </xs:restriction>

+ 33 - 30
SE/schema/ant-object/default_db.CRM_LISTA_ZASOBOW/ID_ZASOB_NEW/ID_ZASOB_NEW.xsd

@@ -8,6 +8,7 @@
            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+           xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
            elementFormDefault="qualified"
            elementFormDefault="qualified"
            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
            vc:minVersion="1.1">
            vc:minVersion="1.1">
@@ -17,6 +18,8 @@
               schemaLocation="http://www.opengis.net/gml/3.2"/>
               schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_IMAGE.xsd"
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_IMAGE.xsd"
               schemaLocation="../../default_db.CRM_IMAGE/CRM_IMAGE/CRM_IMAGE.xsd"/>
               schemaLocation="../../default_db.CRM_IMAGE/CRM_IMAGE/CRM_IMAGE.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+              schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
    <xs:simpleType name="CRM_LISTA_ZASOBOW__TYPE" id="STA_ZASOBOW___d5e76782-1_CRM_LISTA_">
    <xs:simpleType name="CRM_LISTA_ZASOBOW__TYPE" id="STA_ZASOBOW___d5e76782-1_CRM_LISTA_">
       <xs:restriction base="xs:string">
       <xs:restriction base="xs:string">
          <xs:enumeration value="KONTO-KSIEGOWE-OLD"/>
          <xs:enumeration value="KONTO-KSIEGOWE-OLD"/>
@@ -325,20 +328,7 @@
                      name="L_APPOITMENT_USER"
                      name="L_APPOITMENT_USER"
                      type="xs:string"
                      type="xs:string"
                      id="STA_ZASOBOW___d5e76958-1_L_APPOITME"/>
                      id="STA_ZASOBOW___d5e76958-1_L_APPOITME"/>
-         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
-            <xs:annotation>
-               <xs:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
-                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:name="L_APPOITMENT_USER"
-                                                   system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
-                  </system_cache__appinfo:flat_relation_cache>
-               </xs:appinfo>
-               <xs:documentation>
-                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
-                </xs:documentation>
-            </xs:annotation>
-         </xs:element>
+         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
          <xs:element minOccurs="0"
          <xs:element minOccurs="0"
                      maxOccurs="1"
                      maxOccurs="1"
                      name="L_APPOITMENT_INFO"
                      name="L_APPOITMENT_INFO"
@@ -451,7 +441,20 @@
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                      maxOccurs="unbounded"
                      maxOccurs="unbounded"
                      minOccurs="0"
                      minOccurs="0"
-                     id="STA_ZASOBOW___d5e76987-1"/>
+                     id="STA_ZASOBOW___d5e76987-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name=""
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
       </xs:sequence>
       </xs:sequence>
       <xs:attribute name="label" id="STA_ZASOBOW___d5e76992-1_label"/>
       <xs:attribute name="label" id="STA_ZASOBOW___d5e76992-1_label"/>
       <xs:assert test="@label = concat(ID, ' ', DESC, ' ', DESC_PL)"/>
       <xs:assert test="@label = concat(ID, ' ', DESC, ' ', DESC_PL)"/>
@@ -626,20 +629,7 @@
                            name="L_APPOITMENT_USER"
                            name="L_APPOITMENT_USER"
                            type="xs:string"
                            type="xs:string"
                            id="STA_ZASOBOW___d5e77036-1_L_APPOITME"/>
                            id="STA_ZASOBOW___d5e77036-1_L_APPOITME"/>
-               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
-                  <xs:annotation>
-                     <xs:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:name="L_APPOITMENT_USER"
-                                                         system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xs:appinfo>
-                     <xs:documentation>
-                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
-                </xs:documentation>
-                  </xs:annotation>
-               </xs:element>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
                <xs:element minOccurs="0"
                <xs:element minOccurs="0"
                            maxOccurs="1"
                            maxOccurs="1"
                            name="L_APPOITMENT_INFO"
                            name="L_APPOITMENT_INFO"
@@ -752,7 +742,20 @@
                <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                            maxOccurs="unbounded"
                            maxOccurs="unbounded"
                            minOccurs="0"
                            minOccurs="0"
-                           id="STA_ZASOBOW___d5e77065-1"/>
+                           id="STA_ZASOBOW___d5e77065-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name=""
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
             </xs:sequence>
             </xs:sequence>
             <xs:assert test="@label = concat(name(), ' ', @label)"/>
             <xs:assert test="@label = concat(name(), ' ', @label)"/>
          </xs:restriction>
          </xs:restriction>

+ 33 - 30
SE/schema/ant-object/default_db.CRM_LISTA_ZASOBOW/STANOWISKO/STANOWISKO.xsd

@@ -8,6 +8,7 @@
            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
            xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
            xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+           xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
            elementFormDefault="qualified"
            elementFormDefault="qualified"
            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
            vc:minVersion="1.1">
            vc:minVersion="1.1">
@@ -17,6 +18,8 @@
               schemaLocation="http://www.opengis.net/gml/3.2"/>
               schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_IMAGE.xsd"
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_IMAGE.xsd"
               schemaLocation="../../default_db.CRM_IMAGE/CRM_IMAGE/CRM_IMAGE.xsd"/>
               schemaLocation="../../default_db.CRM_IMAGE/CRM_IMAGE/CRM_IMAGE.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+              schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
    <xs:simpleType name="CRM_LISTA_ZASOBOW__TYPE" id="STA_ZASOBOW___d5e76782-1_CRM_LISTA_">
    <xs:simpleType name="CRM_LISTA_ZASOBOW__TYPE" id="STA_ZASOBOW___d5e76782-1_CRM_LISTA_">
       <xs:restriction base="xs:string">
       <xs:restriction base="xs:string">
          <xs:enumeration value="KONTO-KSIEGOWE-OLD"/>
          <xs:enumeration value="KONTO-KSIEGOWE-OLD"/>
@@ -325,20 +328,7 @@
                      name="L_APPOITMENT_USER"
                      name="L_APPOITMENT_USER"
                      type="xs:string"
                      type="xs:string"
                      id="STA_ZASOBOW___d5e76958-1_L_APPOITME"/>
                      id="STA_ZASOBOW___d5e76958-1_L_APPOITME"/>
-         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
-            <xs:annotation>
-               <xs:appinfo>
-                  <system_cache__appinfo:flat_relation_cache>
-                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                   system_cache__appinfo:name="L_APPOITMENT_USER"
-                                                   system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
-                  </system_cache__appinfo:flat_relation_cache>
-               </xs:appinfo>
-               <xs:documentation>
-                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
-                </xs:documentation>
-            </xs:annotation>
-         </xs:element>
+         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
          <xs:element minOccurs="0"
          <xs:element minOccurs="0"
                      maxOccurs="1"
                      maxOccurs="1"
                      name="L_APPOITMENT_INFO"
                      name="L_APPOITMENT_INFO"
@@ -451,7 +441,20 @@
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
          <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                      maxOccurs="unbounded"
                      maxOccurs="unbounded"
                      minOccurs="0"
                      minOccurs="0"
-                     id="STA_ZASOBOW___d5e76987-1"/>
+                     id="STA_ZASOBOW___d5e76987-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name=""
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
       </xs:sequence>
       </xs:sequence>
       <xs:attribute name="label" id="STA_ZASOBOW___d5e76992-1_label"/>
       <xs:attribute name="label" id="STA_ZASOBOW___d5e76992-1_label"/>
       <xs:assert test="@label = concat(ID, ' ', DESC, ' ', DESC_PL)"/>
       <xs:assert test="@label = concat(ID, ' ', DESC, ' ', DESC_PL)"/>
@@ -626,20 +629,7 @@
                            name="L_APPOITMENT_USER"
                            name="L_APPOITMENT_USER"
                            type="xs:string"
                            type="xs:string"
                            id="STA_ZASOBOW___d5e77036-1_L_APPOITME"/>
                            id="STA_ZASOBOW___d5e77036-1_L_APPOITME"/>
-               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
-                  <xs:annotation>
-                     <xs:appinfo>
-                        <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
-                                                         system_cache__appinfo:name="L_APPOITMENT_USER"
-                                                         system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
-                        </system_cache__appinfo:flat_relation_cache>
-                     </xs:appinfo>
-                     <xs:documentation>
-                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
-                </xs:documentation>
-                  </xs:annotation>
-               </xs:element>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
                <xs:element minOccurs="0"
                <xs:element minOccurs="0"
                            maxOccurs="1"
                            maxOccurs="1"
                            name="L_APPOITMENT_INFO"
                            name="L_APPOITMENT_INFO"
@@ -752,7 +742,20 @@
                <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
                            maxOccurs="unbounded"
                            maxOccurs="unbounded"
                            minOccurs="0"
                            minOccurs="0"
-                           id="STA_ZASOBOW___d5e77065-1"/>
+                           id="STA_ZASOBOW___d5e77065-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name=""
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED
+                </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
             </xs:sequence>
             </xs:sequence>
             <xs:assert test="@label = concat(name(), ' ', @label)"/>
             <xs:assert test="@label = concat(name(), ' ', @label)"/>
          </xs:restriction>
          </xs:restriction>