SALES_PLAN.xsd 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  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:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
  9. xmlns:SystemObjects__x3A__AccessGroup="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
  10. xmlns:SystemObjects__x3A__AccessOwner="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessOwner.xsd"
  11. xmlns:default_db__x3A__SALES_PLAN="https://biuro.biall-net.pl/wfs/default_db/table/SALES_PLAN.xsd"
  12. xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
  13. xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
  14. 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"
  15. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  16. xmlns:default_db__x3A__MK_Rewiry="https://biuro.biall-net.pl/wfs/default_db/table/MK_Rewiry.xsd"
  17. xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
  18. xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
  19. targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/SALES_PLAN.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. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
  26. schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
  27. <xs:import
  28. namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
  29. schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
  30. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
  31. schemaLocation="../../default_db.CRM_PROCES/CRM_PROCES/CRM_PROCES.xsd"/>
  32. <!--<xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
  33. schemaLocation="../SystemObjects/AccessGroup.xsd"/>-->
  34. <!--<xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessOwner.xsd"
  35. schemaLocation="../SystemObjects/AccessOwner.xsd"/>-->
  36. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/MK_Rewiry.xsd"
  37. schemaLocation="../../default_db.MK_Rewiry/MK_Rewiry/MK_Rewiry.xsd"/>
  38. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
  39. schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
  40. <xs:simpleType name="A_STATUS_Type" id="_SALES_PLAN___d4e31846-1_A_STATUS_T">
  41. <xs:restriction base="xs:string"/>
  42. </xs:simpleType>
  43. <xs:complexType name="SALES_PLAN" id="_SALES_PLAN___d4e31848-1_SALES_PLAN">
  44. <xs:annotation>
  45. <xs:documentation>Instancyjny -
  46. Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych technologii. Podzielony z uwagi na stany projektowania oraz realizacji.
  47. </xs:documentation>
  48. <xs:appinfo>
  49. <system_cache__appinfo:heritage>
  50. <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:SALES_PLAN" system_cache__appinfo:heritage_acl="true">
  51. <system_cache__appinfo:acl_rule_inherit_to_all_same_name_elements_and_refs/>
  52. <acl_rule_inherit_to_all_refs_by_primary/>
  53. <acl_rule_inherit_to_all_refs_by_local_element system_cache__appinfo:acl_rule_inherit_local_element_name="A_ADM_COMPANY"/>
  54. </system_cache__appinfo:inherit>
  55. <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true" system_cache__appinfo:heritage_sort="true"/>
  56. </system_cache__appinfo:heritage>
  57. </xs:appinfo>
  58. </xs:annotation>
  59. <xs:sequence id="_SALES_PLAN___d4e31852-1">
  60. <xs:element minOccurs="0" maxOccurs="1" name="ID" type="xs:int"
  61. id="_SALES_PLAN___d4e31853-1_ID"/>
  62. <xs:element name="A_STATUS" type="default_db__x3A__SALES_PLAN:A_STATUS_Type"
  63. id="_SALES_PLAN___d4e31854-1_A_STATUS"/>
  64. <xs:element name="A_STATUS_INFO" type="xs:string" id="_SALES_PLAN___d4e31855-1_A_STATUS_I"/>
  65. <xs:element name="L_APPOITMENT_USER" type="xs:string"
  66. id="_SALES_PLAN___d4e31856-1_L_APPOITME"/>
  67. <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
  68. <xs:annotation>
  69. <xs:appinfo>
  70. <system_cache__appinfo:flat_relation_cache>
  71. <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
  72. </system_cache__appinfo:flat_relation_cache>
  73. </xs:appinfo>
  74. </xs:annotation>
  75. </xs:element>
  76. <!--<xs:element ref="SystemObjects__x3A__AccessOwner:AccessOwner" id="_SALES_PLAN___d4e31857-1">
  77. <xs:annotation>
  78. <xs:appinfo>
  79. <system_cache__appinfo:flat_relation_cache>
  80. <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:AccessOwner/name"/>
  81. </system_cache__appinfo:flat_relation_cache>
  82. </xs:appinfo>
  83. </xs:annotation>
  84. </xs:element>-->
  85. <xs:element name="A_CLASSIFIED" type="xs:string" id="_SALES_PLAN___d4e31862-1_A_CLASSIFI"/>
  86. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
  87. id="_SALES_PLAN___d4e31863-1">
  88. <xs:annotation>
  89. <xs:appinfo>
  90. <system_cache__appinfo:flat_relation_cache>
  91. <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
  92. </system_cache__appinfo:flat_relation_cache>
  93. </xs:appinfo>
  94. </xs:annotation>
  95. </xs:element>-->
  96. <xs:element name="A_ADM_COMPANY" type="xs:string" id="_SALES_PLAN___d4e31868-1_A_ADM_COMP"/>
  97. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
  98. id="_SALES_PLAN___d4e31869-1">
  99. <xs:annotation>
  100. <xs:appinfo>
  101. <system_cache__appinfo:flat_relation_cache>
  102. <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
  103. </system_cache__appinfo:flat_relation_cache>
  104. </xs:appinfo>
  105. </xs:annotation>
  106. </xs:element>-->
  107. <xs:element minOccurs="0" maxOccurs="1" name="PLANED_KPI" type="xs:double"
  108. id="_SALES_PLAN___d4e31874-1_PLANED_KPI"/>
  109. <xs:element minOccurs="0" maxOccurs="1" name="PLANNED_QTY" type="xs:double"
  110. id="_SALES_PLAN___d4e31875-1_PLANNED_QT"/>
  111. <xs:element minOccurs="0" maxOccurs="1" name="DONE_QTY" type="xs:double"
  112. id="_SALES_PLAN___d4e31877-1_DONE_QTY"/>
  113. <xs:element minOccurs="0" maxOccurs="1" name="YEAR" type="xs:int"
  114. id="_SALES_PLAN___d4e31878-1_YEAR"/>
  115. <xs:element minOccurs="0" maxOccurs="1" name="WEEK_NR" type="xs:int"
  116. id="_SALES_PLAN___d4e31879-1_WEEK_NR"/>
  117. <xs:element minOccurs="0" maxOccurs="1" name="A_RECORD_CREATE_DATE" type="xs:string"
  118. id="_SALES_PLAN___d4e31880-1_A_RECORD_C"/>
  119. <xs:element minOccurs="0" maxOccurs="1" name="A_RECORD_CREATE_AUTHOR" type="xs:string"
  120. id="_SALES_PLAN___d4e31881-1_A_RECORD_C"/>
  121. <xs:element minOccurs="0" maxOccurs="1" name="A_RECORD_UPDATE_DATE" type="xs:string"
  122. id="_SALES_PLAN___d4e31882-1_A_RECORD_U"/>
  123. <xs:element minOccurs="0" maxOccurs="1" name="A_RECORD_UPDATE_AUTHOR" type="xs:string"
  124. id="_SALES_PLAN___d4e31883-1_A_RECORD_U"/>
  125. <xs:element minOccurs="0" maxOccurs="1" name="L_APPOITMENT_DATE" type="xs:dateTime"
  126. id="_SALES_PLAN___d4e31884-1_L_APPOITME"/>
  127. <xs:element minOccurs="0" maxOccurs="1" name="L_APPOITMENT_PERIOD" type="xs:int"
  128. id="_SALES_PLAN___d4e31885-1_L_APPOITME"/>
  129. <xs:element minOccurs="0" maxOccurs="1" name="L_APPOITMENT_INFO" type="xs:string"
  130. id="_SALES_PLAN___d4e31886-1_L_APPOITME"/>
  131. <xs:element minOccurs="0" maxOccurs="1" name="L_APPOITMENT_TYPE" type="xs:string"
  132. id="_SALES_PLAN___d4e31887-1_L_APPOITME"/>
  133. <xs:element minOccurs="0" maxOccurs="1" name="ID_PROCES" type="xs:int"
  134. id="_SALES_PLAN___d4e31889-1_ID_PROCES"/>
  135. <!--<xs:element ref="default_db__x3A__CRM_PROCES:PROCES_INIT" back reffered
  136. minOccurs="0"
  137. id="_SALES_PLAN___d4e31890-1">
  138. <xs:annotation>
  139. <xs:appinfo>
  140. <system_cache__appinfo:flat_relation_cache>
  141. <system_cache__appinfo:source system_cache__appinfo:name="ID_PROCES"
  142. system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/ID"/>
  143. </system_cache__appinfo:flat_relation_cache>
  144. </xs:appinfo>
  145. </xs:annotation>
  146. </xs:element>-->
  147. <xs:element minOccurs="0" maxOccurs="1" name="ID_PROJECT" type="xs:int"
  148. id="_SALES_PLAN___d4e31895-1_ID_PROJECT"/>
  149. <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
  150. <xs:annotation>
  151. <xs:appinfo>
  152. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  153. <system_cache__appinfo:source system_cache__appinfo:name="ID_PROJECT" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
  154. </system_cache__appinfo:flat_relation_cache>
  155. </xs:appinfo>
  156. <xs:documentation>dodatkowa relacja. Podstaowwa jest od projektu, ta jest skonfigurowana jako backref</xs:documentation>
  157. </xs:annotation>
  158. </xs:element>
  159. <!--<xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT" minOccurs="0"> to be backreferred
  160. <xs:annotation>
  161. <xs:appinfo>
  162. <system_cache__appinfo:flat_relation_cache>
  163. <system_cache__appinfo:source system_cache__appinfo:name="ID_PROJECT" system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
  164. </system_cache__appinfo:flat_relation_cache>
  165. </xs:appinfo>
  166. </xs:annotation>
  167. </xs:element>-->
  168. <xs:element minOccurs="0" maxOccurs="1" name="EXPECTED_INCOME" type="xs:double"
  169. id="_SALES_PLAN___d4e31897-1_EXPECTED_I"/>
  170. <xs:element minOccurs="0" maxOccurs="1" name="ACTUAL_PROFIT" type="xs:double"
  171. id="_SALES_PLAN___d4e31898-1_ACTUAL_PRO"/>
  172. <xs:element minOccurs="0" maxOccurs="1" name="ADDITIONAL_DESCRIPTION" type="xs:string"
  173. id="_SALES_PLAN___d4e31899-1_ADDITIONAL"/>
  174. <xs:element minOccurs="0" maxOccurs="1" name="STAWKA" type="xs:double"
  175. id="_SALES_PLAN___d4e31900-1_STAWKA"/>
  176. <xs:element minOccurs="0" maxOccurs="1" name="STAWKA_GOTOWOSC" type="xs:double"
  177. id="_SALES_PLAN___d4e31901-1_STAWKA_GOT"/>
  178. <!-- nie potrzebne drugi raz... <xs:element minOccurs="0"
  179. ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
  180. <xs:annotation>
  181. <xs:appinfo>
  182. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  183. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  184. </system_cache__appinfo:flat_relation_cache>
  185. </xs:appinfo>
  186. </xs:annotation>
  187. </xs:element>-->
  188. <xs:element name="NAZWA_REWI" type="xs:string">
  189. <xs:annotation>
  190. <xs:documentation>Cache nazwa rewiru powiązanego </xs:documentation>
  191. </xs:annotation>
  192. </xs:element>
  193. <xs:element minOccurs="0" ref="default_db__x3A__MK_Rewiry:MK_Rewiry">
  194. <xs:annotation>
  195. <!--<xs:appinfo>
  196. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  197. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  198. </system_cache__appinfo:flat_relation_cache>
  199. </xs:appinfo>-->
  200. <xs:appinfo>
  201. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  202. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="NAZWA_REWI" system_cache__appinfo:xpath="default_db__x3A__MK_Rewiry:MK_Rewiry/NAZWA_REWI"/>
  203. </system_cache__appinfo:flat_relation_cache>
  204. </xs:appinfo>
  205. <xs:documentation>dodatk relacja na backref </xs:documentation>
  206. </xs:annotation>
  207. </xs:element>
  208. </xs:sequence>
  209. <xs:assert test="NAZWA_REWI = default_db__x3A__MK_Rewiry:MK_Rewiry/NAZWA_REWI"/>
  210. <xs:assert
  211. test="ID_PROJECT = default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI/ID"/>
  212. </xs:complexType>
  213. <xs:element name="SALES_PLAN" type="default_db__x3A__SALES_PLAN:SALES_PLAN"
  214. id="_SALES_PLAN___d4e31902-1_SALES_PLAN"/>
  215. </xs:schema>