SALES_PLAN.xsd 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3. xmlns:gml="http://www.opengis.net/gml/3.2"
  4. xmlns:Types__x3A__default_Default="https://biuro.biall-net.pl/wfs/default_db/Types/Default.xsd"
  5. xmlns:default_db__x3A__IN7_DZIENNIK_KORESP="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
  6. xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
  7. xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
  8. xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
  9. xmlns:default_db__x3A__CRM_PROCES="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
  10. xmlns:SystemObjects__x3A__AccessGroup="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
  11. xmlns:SystemObjects__x3A__AccessOwner="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessOwner.xsd"
  12. xmlns:default_db__x3A__SALES_PLAN="https://biuro.biall-net.pl/wfs/default_db/table/SALES_PLAN.xsd"
  13. xmlns:default_db__x3A__MK_Rewiry="https://biuro.biall-net.pl/wfs/default_db/table/MK_Rewiry.xsd"
  14. xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
  15. xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
  16. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  17. xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
  18. xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
  19. 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"
  20. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  21. xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
  22. xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
  23. xmlns:ant-object="http://biuro.biall-net.pl/xmlschema_procesy5/ant-object/ant-object.xsd"
  24. xmlns:p5ant-interface="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd"
  25. targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/SALES_PLAN.xsd"
  26. vc:minVersion="1.1">
  27. <xs:import namespace="http://biuro.biall-net.pl/p5/schema/types"
  28. schemaLocation="../../../types.xsd"/>
  29. <xs:import namespace="http://www.opengis.net/gml/3.2"
  30. schemaLocation="http://www.opengis.net/gml/3.2"/>
  31. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
  32. schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
  33. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
  34. schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
  35. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_PROCES.xsd"
  36. schemaLocation="../../default_db.CRM_PROCES/CRM_PROCES/CRM_PROCES.xsd"/>
  37. <!--<xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
  38. schemaLocation="../SystemObjects/AccessGroup.xsd"/>-->
  39. <!--<xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessOwner.xsd"
  40. schemaLocation="../SystemObjects/AccessOwner.xsd"/>-->
  41. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/MK_Rewiry.xsd"
  42. schemaLocation="../../default_db.MK_Rewiry/MK_Rewiry/MK_Rewiry.xsd"/>
  43. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
  44. schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
  45. <xs:simpleType name="A_STATUS_Type" id="_SALES_PLAN___d4e31846-1_A_STATUS_T">
  46. <xs:restriction base="xs:string"/>
  47. </xs:simpleType>
  48. <xs:complexType name="SALES_PLAN" id="_SALES_PLAN___d4e31848-1_SALES_PLAN"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  49. <xs:annotation>
  50. <xs:documentation>Instancyjny -
  51. Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych technologii. Podzielony z uwagi na stany projektowania oraz realizacji.
  52. </xs:documentation>
  53. <xs:appinfo>
  54. <system_cache__appinfo:heritage>
  55. <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:SALES_PLAN"
  56. system_cache__appinfo:heritage_acl="true">
  57. <system_cache__appinfo:acl_rule_inherit_to_all_same_name_elements_and_refs/>
  58. <acl_rule_inherit_to_all_refs_by_primary/>
  59. <acl_rule_inherit_to_all_refs_by_local_element system_cache__appinfo:acl_rule_inherit_local_element_name="A_ADM_COMPANY"/>
  60. </system_cache__appinfo:inherit>
  61. <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true"
  62. system_cache__appinfo:heritage_sort="true"/>
  63. </system_cache__appinfo:heritage>
  64. </xs:appinfo>
  65. </xs:annotation>
  66. <xs:sequence id="_SALES_PLAN___d4e31852-1">
  67. <xs:element minOccurs="0"
  68. maxOccurs="1"
  69. name="ID"
  70. type="xs:int"
  71. id="_SALES_PLAN___d4e31853-1_ID"/>
  72. <xs:element name="A_STATUS"
  73. type="default_db__x3A__SALES_PLAN:A_STATUS_Type"
  74. id="_SALES_PLAN___d4e31854-1_A_STATUS"/>
  75. <xs:element name="A_STATUS_INFO"
  76. type="xs:string"
  77. id="_SALES_PLAN___d4e31855-1_A_STATUS_I"/>
  78. <xs:element name="L_APPOITMENT_USER"
  79. type="xs:string"
  80. id="_SALES_PLAN___d4e31856-1_L_APPOITME"/>
  81. <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"
  82. id="_SALES_PLAN___d18e29127-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  83. <xs:annotation>
  84. <xs:appinfo>
  85. <system_cache__appinfo:flat_relation_cache>
  86. <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
  87. system_cache__appinfo:ref_engine="view"
  88. system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
  89. </system_cache__appinfo:flat_relation_cache>
  90. </xs:appinfo>
  91. </xs:annotation>
  92. </xs:element>
  93. <!--<xs:element ref="SystemObjects__x3A__AccessOwner:AccessOwner" id="_SALES_PLAN___d4e31857-1">
  94. <xs:annotation>
  95. <xs:appinfo>
  96. <system_cache__appinfo:flat_relation_cache>
  97. <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"/>
  98. </system_cache__appinfo:flat_relation_cache>
  99. </xs:appinfo>
  100. </xs:annotation>
  101. </xs:element>-->
  102. <xs:element name="A_CLASSIFIED"
  103. type="xs:string"
  104. id="_SALES_PLAN___d4e31862-1_A_CLASSIFI"/>
  105. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
  106. id="_SALES_PLAN___d4e31863-1">
  107. <xs:annotation>
  108. <xs:appinfo>
  109. <system_cache__appinfo:flat_relation_cache>
  110. <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"/>
  111. </system_cache__appinfo:flat_relation_cache>
  112. </xs:appinfo>
  113. </xs:annotation>
  114. </xs:element>-->
  115. <xs:element name="A_ADM_COMPANY"
  116. type="xs:string"
  117. id="_SALES_PLAN___d4e31868-1_A_ADM_COMP"/>
  118. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
  119. id="_SALES_PLAN___d4e31869-1">
  120. <xs:annotation>
  121. <xs:appinfo>
  122. <system_cache__appinfo:flat_relation_cache>
  123. <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"/>
  124. </system_cache__appinfo:flat_relation_cache>
  125. </xs:appinfo>
  126. </xs:annotation>
  127. </xs:element>-->
  128. <xs:element minOccurs="0"
  129. maxOccurs="1"
  130. name="PLANED_KPI"
  131. type="xs:double"
  132. id="_SALES_PLAN___d4e31874-1_PLANED_KPI"/>
  133. <xs:element minOccurs="0"
  134. maxOccurs="1"
  135. name="PLANNED_QTY"
  136. type="xs:double"
  137. id="_SALES_PLAN___d4e31875-1_PLANNED_QT"/>
  138. <xs:element minOccurs="0"
  139. maxOccurs="1"
  140. name="DONE_QTY"
  141. type="xs:double"
  142. id="_SALES_PLAN___d4e31877-1_DONE_QTY"/>
  143. <xs:element minOccurs="0"
  144. maxOccurs="1"
  145. name="YEAR"
  146. type="xs:int"
  147. id="_SALES_PLAN___d4e31878-1_YEAR"/>
  148. <xs:element minOccurs="0"
  149. maxOccurs="1"
  150. name="WEEK_NR"
  151. type="xs:int"
  152. id="_SALES_PLAN___d4e31879-1_WEEK_NR"/>
  153. <xs:element minOccurs="0"
  154. maxOccurs="1"
  155. name="A_RECORD_CREATE_DATE"
  156. type="xs:string"
  157. id="_SALES_PLAN___d4e31880-1_A_RECORD_C"/>
  158. <xs:element minOccurs="0"
  159. maxOccurs="1"
  160. name="A_RECORD_CREATE_AUTHOR"
  161. type="xs:string"
  162. id="_SALES_PLAN___d4e31881-1_A_RECORD_C"/>
  163. <xs:element minOccurs="0"
  164. maxOccurs="1"
  165. name="A_RECORD_UPDATE_DATE"
  166. type="xs:string"
  167. id="_SALES_PLAN___d4e31882-1_A_RECORD_U"/>
  168. <xs:element minOccurs="0"
  169. maxOccurs="1"
  170. name="A_RECORD_UPDATE_AUTHOR"
  171. type="xs:string"
  172. id="_SALES_PLAN___d4e31883-1_A_RECORD_U"/>
  173. <xs:element minOccurs="0"
  174. maxOccurs="1"
  175. name="L_APPOITMENT_DATE"
  176. type="xs:dateTime"
  177. id="_SALES_PLAN___d4e31884-1_L_APPOITME"/>
  178. <xs:element minOccurs="0"
  179. maxOccurs="1"
  180. name="L_APPOITMENT_PERIOD"
  181. type="xs:int"
  182. id="_SALES_PLAN___d4e31885-1_L_APPOITME"/>
  183. <xs:element minOccurs="0"
  184. maxOccurs="1"
  185. name="L_APPOITMENT_INFO"
  186. type="xs:string"
  187. id="_SALES_PLAN___d4e31886-1_L_APPOITME"/>
  188. <xs:element minOccurs="0"
  189. maxOccurs="1"
  190. name="L_APPOITMENT_TYPE"
  191. type="xs:string"
  192. id="_SALES_PLAN___d4e31887-1_L_APPOITME"/>
  193. <xs:element minOccurs="0"
  194. maxOccurs="1"
  195. name="ID_PROCES"
  196. type="xs:int"
  197. id="_SALES_PLAN___d4e31889-1_ID_PROCES"/>
  198. <!--<xs:element ref="default_db__x3A__CRM_PROCES:PROCES_INIT" back reffered
  199. minOccurs="0"
  200. id="_SALES_PLAN___d4e31890-1">
  201. <xs:annotation>
  202. <xs:appinfo>
  203. <system_cache__appinfo:flat_relation_cache>
  204. <system_cache__appinfo:source system_cache__appinfo:name="ID_PROCES"
  205. system_cache__appinfo:xpath="default_db__x3A__CRM_PROCES:PROCES_INIT/ID"/>
  206. </system_cache__appinfo:flat_relation_cache>
  207. </xs:appinfo>
  208. </xs:annotation>
  209. </xs:element>-->
  210. <xs:element minOccurs="0"
  211. maxOccurs="1"
  212. name="ID_PROJECT"
  213. type="xs:int"
  214. id="_SALES_PLAN___d4e31895-1_ID_PROJECT"/>
  215. <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT"
  216. id="_SALES_PLAN___d18e29155-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  217. <xs:annotation>
  218. <xs:appinfo>
  219. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  220. <system_cache__appinfo:source system_cache__appinfo:name="ID_PROJECT"
  221. system_cache__appinfo:ref_engine="view"
  222. system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
  223. </system_cache__appinfo:flat_relation_cache>
  224. </xs:appinfo>
  225. <xs:documentation>dodatkowa relacja. Podstaowwa jest od projektu, ta jest skonfigurowana jako backref</xs:documentation>
  226. </xs:annotation>
  227. </xs:element>
  228. <!--<xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT" minOccurs="0"> to be backreferred
  229. <xs:annotation>
  230. <xs:appinfo>
  231. <system_cache__appinfo:flat_relation_cache>
  232. <system_cache__appinfo:source system_cache__appinfo:name="ID_PROJECT" system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
  233. </system_cache__appinfo:flat_relation_cache>
  234. </xs:appinfo>
  235. </xs:annotation>
  236. </xs:element>-->
  237. <xs:element minOccurs="0"
  238. maxOccurs="1"
  239. name="EXPECTED_INCOME"
  240. type="xs:double"
  241. id="_SALES_PLAN___d4e31897-1_EXPECTED_I"/>
  242. <xs:element minOccurs="0"
  243. maxOccurs="1"
  244. name="ACTUAL_PROFIT"
  245. type="xs:double"
  246. id="_SALES_PLAN___d4e31898-1_ACTUAL_PRO"/>
  247. <xs:element minOccurs="0"
  248. maxOccurs="1"
  249. name="ADDITIONAL_DESCRIPTION"
  250. type="xs:string"
  251. id="_SALES_PLAN___d4e31899-1_ADDITIONAL"/>
  252. <xs:element minOccurs="0"
  253. maxOccurs="1"
  254. name="STAWKA"
  255. type="xs:double"
  256. id="_SALES_PLAN___d4e31900-1_STAWKA"/>
  257. <xs:element minOccurs="0"
  258. maxOccurs="1"
  259. name="STAWKA_GOTOWOSC"
  260. type="xs:double"
  261. id="_SALES_PLAN___d4e31901-1_STAWKA_GOT"/>
  262. <!-- nie potrzebne drugi raz... <xs:element minOccurs="0"
  263. ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
  264. <xs:annotation>
  265. <xs:appinfo>
  266. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  267. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  268. </system_cache__appinfo:flat_relation_cache>
  269. </xs:appinfo>
  270. </xs:annotation>
  271. </xs:element>-->
  272. <xs:element name="NAZWA_REWI"
  273. type="xs:string"
  274. id="_SALES_PLAN___d18e29170-1_NAZWA_REWI"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  275. <xs:annotation>
  276. <xs:documentation>Cache nazwa rewiru powiązanego </xs:documentation>
  277. </xs:annotation>
  278. </xs:element>
  279. <xs:element minOccurs="0"
  280. ref="default_db__x3A__MK_Rewiry:MK_Rewiry"
  281. id="_SALES_PLAN___d18e29174-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  282. <xs:annotation>
  283. <xs:appinfo>
  284. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  285. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  286. system_cache__appinfo:name="NAZWA_REWI"
  287. system_cache__appinfo:xpath="default_db__x3A__MK_Rewiry:MK_Rewiry/NAZWA_REWI"/>
  288. </system_cache__appinfo:flat_relation_cache>
  289. </xs:appinfo>
  290. <xs:documentation>dodatk relacja na backref </xs:documentation>
  291. </xs:annotation>
  292. </xs:element>
  293. </xs:sequence>
  294. <xs:assert test="NAZWA_REWI = default_db__x3A__MK_Rewiry:MK_Rewiry/NAZWA_REWI"
  295. id="_SALES_PLAN___d18e29182-1"/>
  296. <xs:assert test="ID_PROJECT = default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI/ID"
  297. id="_SALES_PLAN___d18e29183-1"/>
  298. </xs:complexType>
  299. <xs:element name="SALES_PLAN"
  300. type="default_db__x3A__SALES_PLAN:SALES_PLAN"
  301. id="_SALES_PLAN___d4e31902-1_SALES_PLAN"/>
  302. </xs:schema>