|
|
@@ -508,6 +508,336 @@
|
|
|
<xs:attribute name="label" id="STA_ZASOBOW___d5e76992-1_label"/>
|
|
|
<xs:assert test="@label = concat(ID, ' ', DESC, ' ', DESC_PL)"/>
|
|
|
</xs:complexType>
|
|
|
+ <xs:complexType name="CRM_LISTA_ZASOBOW_Rest" system_cache__appinfo:primaryKey="ID">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>Jakby nie moga miec backrefa - jest problem - bo ref jest do master complextype TODO</xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ <xs:complexContent>
|
|
|
+ <xs:restriction base="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW">
|
|
|
+ <xs:sequence id="STA_ZASOBOW___d5e76919-1">
|
|
|
+ <xs:element name="ID" type="xs:int" id="STA_ZASOBOW___d5e76920-1_ID"/>
|
|
|
+ <xs:element name="DESC" type="xs:string" id="STA_ZASOBOW___d5e76921-1_DESC"/>
|
|
|
+ <xs:element name="DESC_PL"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76922-1_DESC_PL"/>
|
|
|
+ <xs:element name="OPIS" type="xs:string" id="STA_ZASOBOW___d5e76923-1_OPIS"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="path"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76924-1_path"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="LOCALIZATION_INCLUDE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76925-1_LOCALIZATI"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="ALIAS_ID"
|
|
|
+ type="xs:int"
|
|
|
+ id="STA_ZASOBOW___d5e76926-1_ALIAS_ID"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="A_ADM_COMPANY"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76927-1_A_ADM_COMP"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="HOST"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76928-1_HOST"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="FOLDER"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76929-1_FOLDER"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="F_AREA_ID_LOCAL"
|
|
|
+ type="xs:int"
|
|
|
+ id="STA_ZASOBOW___d5e76930-1_F_AREA_ID_"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="F_TIME_GID"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76932-1_F_TIME_GID"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="PARENT_ID"
|
|
|
+ type="xs:int"
|
|
|
+ id="STA_ZASOBOW___d5e76933-1_PARENT_ID"/>
|
|
|
+ <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
|
|
|
+ maxOccurs="unbounded"
|
|
|
+ minOccurs="0"
|
|
|
+ id="STA_ZASOBOW___d5e76987-1">
|
|
|
+ <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__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/PARENT_ID"/>
|
|
|
+ </system_cache__appinfo:flat_relation_cache>
|
|
|
+ </xs:appinfo>
|
|
|
+ <xs:documentation>
|
|
|
+ oznaczamy procesy jako PARENT_ID jako dzieci.
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ </xs:element>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="PARENT_ID_ACCESS"
|
|
|
+ type="xs:int"
|
|
|
+ id="STA_ZASOBOW___d5e76934-1_PARENT_ID_"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="PARENT_ID_MAP"
|
|
|
+ type="xs:int"
|
|
|
+ id="STA_ZASOBOW___d5e76935-1_PARENT_ID_"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="PARENT_ID_COSTS"
|
|
|
+ type="xs:int"
|
|
|
+ id="STA_ZASOBOW___d5e76936-1_PARENT_ID_"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="DUTIES_GID"
|
|
|
+ type="xs:int"
|
|
|
+ id="STA_ZASOBOW___d5e76937-1_DUTIES_GID"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="TYPE"
|
|
|
+ type="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW__TYPE"
|
|
|
+ id="STA_ZASOBOW___d5e76938-1_TYPE"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="minOccurs"
|
|
|
+ type="xs:int"
|
|
|
+ id="STA_ZASOBOW___d5e76939-1_minOccurs"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="maxOccurs"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76940-1_maxOccurs"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="substitutionGroup"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76941-1_substituti"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="Abstract"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76942-1_Abstract"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="COLUMN_DEFAULT"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76944-1_COLUMN_DEF"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="IS_NULLABLE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76945-1_IS_NULLABL"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="IS_AUTO_INCREMENT"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76946-1_IS_AUTO_IN"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="COLUMN_TYPE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76947-1_COLUMN_TYP"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="TABLE_STRUCTURE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76948-1_TABLE_STRU"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="ADM_AREA"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76949-1_ADM_AREA"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="SORT_PRIO"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76950-1_SORT_PRIO"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="A_RECORD_CREATE_AUTHOR"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76951-1_A_RECORD_C"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="A_RECORD_CREATE_DATE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76952-1_A_RECORD_C"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="A_RECORD_UPDATE_AUTHOR"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76953-1_A_RECORD_U"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="A_RECORD_UPDATE_DATE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76954-1_A_RECORD_U"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="A_HAS_IMAGE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76956-1_A_HAS_IMAG"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="L_APPOITMENT_DATE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76957-1_L_APPOITME"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="L_APPOITMENT_USER"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76958-1_L_APPOITME"/>
|
|
|
+ <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
|
|
|
+ <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 #180200
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ </xs:element>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="L_APPOITMENT_INFO"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76959-1_L_APPOITME"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="A_STATUS"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76960-1_A_STATUS"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="L_APPOITMENT_PERIOD"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76961-1_L_APPOITME"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="L_APPOITMENT_TYPE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76962-1_L_APPOITME"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="A_PROBLEM"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76963-1_A_PROBLEM"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="A_PROBLEM_DESC"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76964-1_A_PROBLEM_"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="A_PROBLEM_DATE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76965-1_A_PROBLEM_"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="A_STATUS_INFO"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76966-1_A_STATUS_I"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="T_WORKPOINTS"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76968-1_T_WORKPOIN"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="T_WORKPOINTS_VALUE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76969-1_T_WORKPOIN"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="T_WORKPOINTS_TYPE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76970-1_T_WORKPOIN"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="T_WORKPOINTS_USER"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76971-1_T_WORKPOIN"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="T_WORKPOINTS_DATE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76972-1_T_WORKPOIN"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="P_ACCOUNT"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76973-1_P_ACCOUNT"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="EXPORT_PARAM"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76974-1_EXPORT_PAR"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="A_CLASSIFIED"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76975-1_A_CLASSIFI"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="A_EXEC_GROUP"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76976-1_A_EXEC_GRO"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="A_LDAP_GID"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76977-1_A_LDAP_GID"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="A_SYNC_LDAP_DATE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76978-1_A_SYNC_LDA"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="ALIAS_MODE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76980-1_ALIAS_MODE"/>
|
|
|
+ <xs:element minOccurs="0"
|
|
|
+ maxOccurs="1"
|
|
|
+ name="ID_ZASOB_BASE"
|
|
|
+ type="xs:string"
|
|
|
+ id="STA_ZASOBOW___d5e76981-1_ID_ZASOB_B"/>
|
|
|
+ <xs:element maxOccurs="unbounded"
|
|
|
+ minOccurs="0"
|
|
|
+ ref="default_db__x3A__CRM_IMAGE:CRM_IMAGE_CRM_LISTA_ZASOBOW"
|
|
|
+ id="STA_ZASOBOW___d5e76982-1">
|
|
|
+ <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__CRM_IMAGE:CRM_IMAGE_CRM_LISTA_ZASOBOW/REMOTE_ID"/>
|
|
|
+ </system_cache__appinfo:flat_relation_cache>
|
|
|
+ </xs:appinfo>
|
|
|
+ <xs:documentation>
|
|
|
+ TODO sprawdzic restrukcje na obiekcie CRM_IMAGE_LISTA_ZASOBOW
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ </xs:element>
|
|
|
+ </xs:sequence>
|
|
|
+ </xs:restriction>
|
|
|
+ </xs:complexContent>
|
|
|
+ </xs:complexType>
|
|
|
<xs:complexType name="STANOWISKO"
|
|
|
id="STA_ZASOBOW___d5e76994-1_STANOWISKO"
|
|
|
system_cache__appinfo:primaryKey="ID">
|
|
|
@@ -833,20 +1163,6 @@
|
|
|
</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
</xs:element>
|
|
|
- <xs:element maxOccurs="unbounded"
|
|
|
- minOccurs="0"
|
|
|
- ref="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK">
|
|
|
- <xs:annotation>
|
|
|
- <xs:appinfo>
|
|
|
- <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
|
|
|
- <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
|
|
|
- system_cache__appinfo:name="ID"
|
|
|
- system_cache__appinfo:xpath="default_db__x3A__CRM_WSKAZNIK:CRM_WSKAZNIK/ID_ZASOB"/>
|
|
|
- </system_cache__appinfo:flat_relation_cache>
|
|
|
- </xs:appinfo>
|
|
|
- <xs:documentation>Do szukania zaleznosci aktywnych - TODO czy to ma sens podwojne - backref</xs:documentation>
|
|
|
- </xs:annotation>
|
|
|
- </xs:element>
|
|
|
</xs:sequence>
|
|
|
<xs:assert test="@label = concat(name(), ' ', @label)"/>
|
|
|
</xs:restriction>
|
|
|
@@ -869,19 +1185,19 @@
|
|
|
type="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
|
|
|
id="STA_ZASOBOW___d5e77072-1_STANOWISKO"/>
|
|
|
<xs:element name="ID_ZASOB_NEW"
|
|
|
- type="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW">
|
|
|
+ type="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW_Rest">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>Uywane w korespondencji glownie</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
</xs:element>
|
|
|
<xs:element name="ID_ZASOB"
|
|
|
- type="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW">
|
|
|
+ type="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW_Rest">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>Do koresp - w jakim typie zasobu cos jest</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
</xs:element>
|
|
|
<xs:element name="CRM_LISTA_ZASOBOW_ID"
|
|
|
- type="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW">
|
|
|
+ type="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW_Rest">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>Do KORESP - jako typ zasobu ktory jest instancjonowany w ramach rekordu</xs:documentation>
|
|
|
</xs:annotation>
|