ソースを参照

+ todo obsługa maili od/do klientow za pomoca dzialajacego systemu z L2 - do integracji i wykrywania maili z serwera i kojarzenia ich automatycznego.
Dodane pola A_ADM*** i L_APP - sprawdzic, czy mozna zmodyfikowac strukture, aby dzialalo i sie nic nie wykrzaczylo

a.binder 8 年 前
コミット
2d8722f66e

+ 176 - 0
SE/schema/ant-object/default_db.HIST_CONTACTS/HIST_CONTACTS/HIST_CONTACTS.xsd

@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2"
+   xmlns:Types__x3A__default_Default="https://biuro.biall-net.pl/wfs/default_db/Types/Default.xsd"
+   xmlns:default_db__x3A__IN7_DZIENNIK_KORESP="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
+   xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
+   xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+   xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
+   xmlns:SystemObjects__x3A__AccessGroup="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
+   xmlns:SystemObjects__x3A__AccessOwner="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessOwner.xsd"
+   xmlns:default_db__x3A__HIST_CONTACTS="https://biuro.biall-net.pl/wfs/default_db/table/HIST_CONTACTS.xsd"
+   xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
+   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
+   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+   xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+   xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+   xmlns:default_db__x3A__COMPANIES="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
+   xmlns:default_db__x3A__SERVICES="https://biuro.biall-net.pl/wfs/default_db/table/SERVICES.xsd"
+   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/HIST_CONTACTS.xsd"
+   vc:minVersion="1.1">
+   <xs:import namespace="http://biuro.biall-net.pl/p5/schema/types"
+      schemaLocation="../../../types.xsd"/>
+   <xs:import namespace="http://www.opengis.net/gml/3.2"
+      schemaLocation="http://www.opengis.net/gml/3.2"/>
+   <!---->
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
+      schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
+      schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
+      schemaLocation="../../default_db.COMPANIES/COMPANIES/COMPANIES.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/SERVICES.xsd"
+      schemaLocation="../../default_db.SERVICES/SERVICES/SERVICES.xsd">
+      <xs:annotation>
+         <xs:documentation>Services potrzebne do raportu sprzedazy</xs:documentation>
+      </xs:annotation>
+   </xs:import>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+      schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
+   <xs:complexType name="HIST_CONTACTS" id="ST_CONTACTS___d5e79638-1_HIST_CONTA">
+      <xs:annotation>
+         <xs:appinfo>
+            <system_cache__appinfo:heritage>
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:HIST_CONTACTS" system_cache__appinfo:heritage_acl="true">
+                  <system_cache__appinfo:acl_rule_inherit_to_all_same_name_elements_and_refs/>
+                  <acl_rule_inherit_to_all_refs_by_primary/>
+                  <acl_rule_inherit_to_all_refs_by_local_element system_cache__appinfo:acl_rule_inherit_local_element_name="A_STATUS"/>
+               </system_cache__appinfo:inherit>
+               <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true" system_cache__appinfo:heritage_sort="true"/>
+            </system_cache__appinfo:heritage>
+         </xs:appinfo>
+         <xs:documentation>Tabela do komunikacji mailowej z klientami</xs:documentation>
+      </xs:annotation>
+      <xs:sequence id="ST_CONTACTS___d5e79639-1">
+         <xs:element minOccurs="0" name="ID" type="xs:integer" id="ST_CONTACTS___d5e79655-1_ID"/>
+         <xs:element minOccurs="0" name="ID_BILLING_USERS" type="xs:integer"
+            id="ST_CONTACTS___d5e79656-1_ID_BILLING"/>
+         <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS" minOccurs="0">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="ID_BILLING_USERS" system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #3992 !!!
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element minOccurs="0" name="ID_BILLING_NUMBERS" type="xs:integer"
+            id="ST_CONTACTS___d5e79657-1_ID_BILLING"/>
+         <xs:element minOccurs="0" name="ID_SERVICES" type="xs:integer"
+            id="ST_CONTACTS___d5e79658-1_ID_SERVICE"/>
+         <xs:element ref="default_db__x3A__SERVICES:SERVICES" minOccurs="0">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="ID_SERVICES" system_cache__appinfo:xpath="default_db__x3A__SERVICES:SERVICES/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #183
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element minOccurs="0" name="PARENT_ID" type="xs:integer"
+            id="ST_CONTACTS___d5e79659-1_PARENT_ID"/>
+         <xs:element minOccurs="0" ref="default_db__x3A__HIST_CONTACTS:HIST_CONTACTS">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="ID" system_cache__appinfo:xpath="default_db__x3A__HIST_CONTACTS:HIST_CONTACTS/PARENT_ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Drzewo korespondencji - w dol </xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element minOccurs="0" name="SUBJECT" type="xs:string"
+            id="ST_CONTACTS___d5e79660-1_SUBJECT"/>
+         <xs:element minOccurs="0" name="documents_id" type="xs:string"
+            id="ST_CONTACTS___d5e79661-1_documents_"/>
+         <xs:element minOccurs="0" name="documents_array" type="xs:string"
+            id="ST_CONTACTS___d5e79662-1_documents_"/>
+         <xs:element minOccurs="0" name="BODY_HTML" type="xs:string"
+            id="ST_CONTACTS___d5e79664-1_BODY_HTML"/>
+         <xs:element minOccurs="0" name="BODY_IMAGE" type="xs:string"
+            id="ST_CONTACTS___d5e79665-1_BODY_IMAGE"/>
+         <xs:element minOccurs="0" name="BODY_URL" type="xs:string"
+            id="ST_CONTACTS___d5e79666-1_BODY_URL"/>
+         <xs:element minOccurs="0" name="REQUEST_STATUS_MAIL" type="xs:string"
+            id="ST_CONTACTS___d5e79667-1_REQUEST_ST"/>
+         <xs:element minOccurs="0" name="STATUS_MAIL" type="xs:string"
+            id="ST_CONTACTS___d5e79668-1_STATUS_MAI"/>
+         <xs:element minOccurs="0" name="REQUEST_STATUS_POST" type="xs:string"
+            id="ST_CONTACTS___d5e79669-1_REQUEST_ST"/>
+         <xs:element minOccurs="0" name="STATUS_POST" type="xs:string"
+            id="ST_CONTACTS___d5e79670-1_STATUS_POS"/>
+         <xs:element minOccurs="0" name="REQUEST_STATUS_DELIVERY" type="xs:string"
+            id="ST_CONTACTS___d5e79671-1_REQUEST_ST"/>
+         <xs:element minOccurs="0" name="STATUS_DELIVERY" type="xs:string"
+            id="ST_CONTACTS___d5e79672-1_STATUS_DEL"/>
+         <xs:element minOccurs="0" name="STATUS_SUCCESS_TYPE" type="xs:string"
+            id="ST_CONTACTS___d5e79673-1_STATUS_SUC"/>
+         <xs:element minOccurs="0" name="TIMESTAMP" type="xs:string"
+            id="ST_CONTACTS___d5e79674-1_TIMESTAMP"/>
+         <xs:element minOccurs="0" name="STATUS_SUCCESS_DATE" type="xs:token"
+            id="ST_CONTACTS___d5e79676-1_STATUS_SUC"/>
+         <xs:element minOccurs="0" name="STATUS_SUCCESS_INFO" type="xs:string"
+            id="ST_CONTACTS___d5e79677-1_STATUS_SUC"/>
+         <xs:element minOccurs="0" name="EMAIL_FROM_ADDRESS" type="xs:string">
+            <xs:annotation>
+               <xs:documentation>Z jakiego adresu była wysyłana poczta email - wykryte z serwera</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element minOccurs="0" name="EMAIL_FROM_ADDRESS_CONCAT" type="xs:string">
+            <xs:annotation>
+               <xs:documentation>Na jakie adresy email była wysyłana poczta - po spacji</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element minOccurs="0" name="A_CLASSIFIED" type="xs:string">
+            <xs:annotation>
+               <xs:documentation>TODO pola dziedziczone z ID_BILLING_USERS/SERVICES</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element minOccurs="0" name="A_ADM_COMPANY" type="xs:string"/>
+         <xs:element minOccurs="0" name="L_APPOITMENT_USER" type="xs:string"/>
+         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER" minOccurs="0">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="L_APPOITMENT_USER" system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>
+                    TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
+                </xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element minOccurs="0" name="L_APPOITMENT_INFO" type="xs:string"/>
+         <xs:element minOccurs="0" name="L_APPOITMENT_DATE" type="xs:date"/>
+      </xs:sequence>
+      <xs:assert test="A_CLASSIFIED = default_db__x3A__SERVICES:SERVICES/A_CLASSIFIED">
+         <xs:annotation>
+            <xs:documentation>dziedziczenie uprawnien domyslne</xs:documentation>
+         </xs:annotation>
+      </xs:assert>
+      <xs:assert test="A_ADM_COMPANY = default_db__x3A__SERVICES:SERVICES/A_ADM_COMPANY">
+         <xs:annotation>
+            <xs:documentation>dziedziczenie uprawnien domyslne</xs:documentation>
+         </xs:annotation>
+      </xs:assert>
+   </xs:complexType>
+   <xs:element name="HIST_CONTACTS" type="default_db__x3A__HIST_CONTACTS:HIST_CONTACTS"
+      id="ST_CONTACTS___d5e79678-1_HIST_CONTA"/>
+</xs:schema>

+ 0 - 0
SE/schema/ant-object/default_db.HIST_CONTACTS/HIST_CONTACTS/build.xml