SALES_PLAN.xsd 12 KB

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