HIST_CONTACTS.xsd 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2"
  3. xmlns:Types__x3A__default_Default="https://biuro.biall-net.pl/wfs/default_db/Types/Default.xsd"
  4. xmlns:default_db__x3A__IN7_DZIENNIK_KORESP="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
  5. xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
  6. xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
  7. xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
  8. xmlns:SystemObjects__x3A__AccessGroup="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
  9. xmlns:SystemObjects__x3A__AccessOwner="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessOwner.xsd"
  10. xmlns:default_db__x3A__HIST_CONTACTS="https://biuro.biall-net.pl/wfs/default_db/table/HIST_CONTACTS.xsd"
  11. xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
  12. xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
  13. 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"
  14. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  15. xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
  16. xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
  17. xmlns:default_db__x3A__COMPANIES="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
  18. xmlns:default_db__x3A__SERVICES="https://biuro.biall-net.pl/wfs/default_db/table/SERVICES.xsd"
  19. targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/HIST_CONTACTS.xsd"
  20. vc:minVersion="1.1">
  21. <xs:import namespace="http://biuro.biall-net.pl/p5/schema/types"
  22. schemaLocation="../../../types.xsd"/>
  23. <xs:import namespace="http://www.opengis.net/gml/3.2"
  24. schemaLocation="http://www.opengis.net/gml/3.2"/>
  25. <!---->
  26. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
  27. schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
  28. <xs:import
  29. namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
  30. schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
  31. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
  32. schemaLocation="../../default_db.COMPANIES/COMPANIES/COMPANIES.xsd"/>
  33. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/SERVICES.xsd"
  34. schemaLocation="../../default_db.SERVICES/SERVICES/SERVICES.xsd">
  35. <xs:annotation>
  36. <xs:documentation>Services potrzebne do raportu sprzedazy</xs:documentation>
  37. </xs:annotation>
  38. </xs:import>
  39. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
  40. schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
  41. <xs:complexType name="HIST_CONTACTS" id="ST_CONTACTS___d5e79638-1_HIST_CONTA">
  42. <xs:annotation>
  43. <xs:appinfo>
  44. <system_cache__appinfo:heritage>
  45. <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:HIST_CONTACTS" system_cache__appinfo:heritage_acl="true">
  46. <system_cache__appinfo:acl_rule_inherit_to_all_same_name_elements_and_refs/>
  47. <acl_rule_inherit_to_all_refs_by_primary/>
  48. <acl_rule_inherit_to_all_refs_by_local_element system_cache__appinfo:acl_rule_inherit_local_element_name="A_STATUS"/>
  49. </system_cache__appinfo:inherit>
  50. <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true" system_cache__appinfo:heritage_sort="true"/>
  51. </system_cache__appinfo:heritage>
  52. </xs:appinfo>
  53. <xs:documentation>Tabela do komunikacji mailowej z klientami</xs:documentation>
  54. </xs:annotation>
  55. <xs:sequence id="ST_CONTACTS___d5e79639-1">
  56. <xs:element minOccurs="0" name="ID" type="xs:integer" id="ST_CONTACTS___d5e79655-1_ID"/>
  57. <xs:element minOccurs="0" name="ID_BILLING_USERS" type="xs:integer"
  58. id="ST_CONTACTS___d5e79656-1_ID_BILLING"/>
  59. <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS" minOccurs="0">
  60. <xs:annotation>
  61. <xs:appinfo>
  62. <system_cache__appinfo:flat_relation_cache>
  63. <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"/>
  64. </system_cache__appinfo:flat_relation_cache>
  65. </xs:appinfo>
  66. <xs:documentation>
  67. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #3992 !!!
  68. </xs:documentation>
  69. </xs:annotation>
  70. </xs:element>
  71. <xs:element minOccurs="0" name="ID_BILLING_NUMBERS" type="xs:integer"
  72. id="ST_CONTACTS___d5e79657-1_ID_BILLING"/>
  73. <xs:element minOccurs="0" name="ID_SERVICES" type="xs:integer"
  74. id="ST_CONTACTS___d5e79658-1_ID_SERVICE"/>
  75. <xs:element ref="default_db__x3A__SERVICES:SERVICES" minOccurs="0">
  76. <xs:annotation>
  77. <xs:appinfo>
  78. <system_cache__appinfo:flat_relation_cache>
  79. <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"/>
  80. </system_cache__appinfo:flat_relation_cache>
  81. </xs:appinfo>
  82. <xs:documentation>
  83. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #183
  84. </xs:documentation>
  85. </xs:annotation>
  86. </xs:element>
  87. <xs:element minOccurs="0" name="PARENT_ID" type="xs:integer"
  88. id="ST_CONTACTS___d5e79659-1_PARENT_ID"/>
  89. <xs:element minOccurs="0" ref="default_db__x3A__HIST_CONTACTS:HIST_CONTACTS">
  90. <xs:annotation>
  91. <xs:appinfo>
  92. <system_cache__appinfo:flat_relation_cache>
  93. <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"/>
  94. </system_cache__appinfo:flat_relation_cache>
  95. </xs:appinfo>
  96. <xs:documentation>Drzewo korespondencji - w dol </xs:documentation>
  97. </xs:annotation>
  98. </xs:element>
  99. <xs:element minOccurs="0" name="SUBJECT" type="xs:string"
  100. id="ST_CONTACTS___d5e79660-1_SUBJECT"/>
  101. <xs:element minOccurs="0" name="documents_id" type="xs:string"
  102. id="ST_CONTACTS___d5e79661-1_documents_"/>
  103. <xs:element minOccurs="0" name="documents_array" type="xs:string"
  104. id="ST_CONTACTS___d5e79662-1_documents_"/>
  105. <xs:element minOccurs="0" name="BODY_HTML" type="xs:string"
  106. id="ST_CONTACTS___d5e79664-1_BODY_HTML"/>
  107. <xs:element minOccurs="0" name="BODY_IMAGE" type="xs:string"
  108. id="ST_CONTACTS___d5e79665-1_BODY_IMAGE"/>
  109. <xs:element minOccurs="0" name="BODY_URL" type="xs:string"
  110. id="ST_CONTACTS___d5e79666-1_BODY_URL"/>
  111. <xs:element minOccurs="0" name="REQUEST_STATUS_MAIL" type="xs:string"
  112. id="ST_CONTACTS___d5e79667-1_REQUEST_ST"/>
  113. <xs:element minOccurs="0" name="STATUS_MAIL" type="xs:string"
  114. id="ST_CONTACTS___d5e79668-1_STATUS_MAI"/>
  115. <xs:element minOccurs="0" name="REQUEST_STATUS_POST" type="xs:string"
  116. id="ST_CONTACTS___d5e79669-1_REQUEST_ST"/>
  117. <xs:element minOccurs="0" name="STATUS_POST" type="xs:string"
  118. id="ST_CONTACTS___d5e79670-1_STATUS_POS"/>
  119. <xs:element minOccurs="0" name="REQUEST_STATUS_DELIVERY" type="xs:string"
  120. id="ST_CONTACTS___d5e79671-1_REQUEST_ST"/>
  121. <xs:element minOccurs="0" name="STATUS_DELIVERY" type="xs:string"
  122. id="ST_CONTACTS___d5e79672-1_STATUS_DEL"/>
  123. <xs:element minOccurs="0" name="STATUS_SUCCESS_TYPE" type="xs:string"
  124. id="ST_CONTACTS___d5e79673-1_STATUS_SUC"/>
  125. <xs:element minOccurs="0" name="TIMESTAMP" type="xs:string"
  126. id="ST_CONTACTS___d5e79674-1_TIMESTAMP"/>
  127. <xs:element minOccurs="0" name="STATUS_SUCCESS_DATE" type="xs:token"
  128. id="ST_CONTACTS___d5e79676-1_STATUS_SUC"/>
  129. <xs:element minOccurs="0" name="STATUS_SUCCESS_INFO" type="xs:string"
  130. id="ST_CONTACTS___d5e79677-1_STATUS_SUC"/>
  131. <xs:element minOccurs="0" name="EMAIL_FROM_ADDRESS" type="xs:string">
  132. <xs:annotation>
  133. <xs:documentation>Z jakiego adresu była wysyłana poczta email - wykryte z serwera</xs:documentation>
  134. </xs:annotation>
  135. </xs:element>
  136. <xs:element minOccurs="0" name="EMAIL_TO_ADDRESS_CONCAT" type="xs:string">
  137. <xs:annotation>
  138. <xs:documentation>Na jakie adresy email była wysyłana poczta - po spacji</xs:documentation>
  139. </xs:annotation>
  140. </xs:element>
  141. <xs:element minOccurs="0" name="A_CLASSIFIED" type="xs:string">
  142. <xs:annotation>
  143. <xs:documentation>TODO pola dziedziczone z ID_BILLING_USERS/SERVICES</xs:documentation>
  144. </xs:annotation>
  145. </xs:element>
  146. <xs:element minOccurs="0" name="A_ADM_COMPANY" type="xs:string"/>
  147. <xs:element minOccurs="0" name="L_APPOITMENT_USER" type="xs:string"/>
  148. <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER" minOccurs="0">
  149. <xs:annotation>
  150. <xs:appinfo>
  151. <system_cache__appinfo:flat_relation_cache>
  152. <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"/>
  153. </system_cache__appinfo:flat_relation_cache>
  154. </xs:appinfo>
  155. <xs:documentation>
  156. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
  157. </xs:documentation>
  158. </xs:annotation>
  159. </xs:element>
  160. <xs:element minOccurs="0" name="L_APPOITMENT_INFO" type="xs:string"/>
  161. <xs:element minOccurs="0" name="L_APPOITMENT_DATE" type="xs:date"/>
  162. </xs:sequence>
  163. <xs:assert test="A_CLASSIFIED = default_db__x3A__SERVICES:SERVICES/A_CLASSIFIED">
  164. <xs:annotation>
  165. <xs:documentation>dziedziczenie uprawnien domyslne</xs:documentation>
  166. </xs:annotation>
  167. </xs:assert>
  168. <xs:assert test="A_ADM_COMPANY = default_db__x3A__SERVICES:SERVICES/A_ADM_COMPANY">
  169. <xs:annotation>
  170. <xs:documentation>dziedziczenie uprawnien domyslne</xs:documentation>
  171. </xs:annotation>
  172. </xs:assert>
  173. </xs:complexType>
  174. <xs:element name="HIST_CONTACTS" type="default_db__x3A__HIST_CONTACTS:HIST_CONTACTS"
  175. id="ST_CONTACTS___d5e79678-1_HIST_CONTA"/>
  176. </xs:schema>