a.binder 8 лет назад
Родитель
Сommit
41759f20d3

+ 31 - 0
SE/schema/ant-object/default_db.BI_audit_ENERGA_PRACOWNICY_group/BI_audit_ENERGA_PRACOWNICY_group/BI_audit_ENERGA_PRACOWNICY_group.xsd

@@ -130,5 +130,36 @@
       <xs:annotation>
          <xs:documentation>Tabela do grupowania w raporcie powiązań pracowników. Każdy pracownik może być w jakiejś grupie.</xs:documentation>
       </xs:annotation>
+      <xs:unique name="BI_audit_ENERGA_PRACOWNICY">
+         <xs:annotation>
+            <xs:documentation>Jeden pracownik w jednej grupie </xs:documentation>
+         </xs:annotation>
+         <xs:selector xpath="default_db__x3A__BI_audit_ENERGA_PRACOWNICY:BI_audit_ENERGA_PRACOWNICY"/>
+         <xs:field xpath="ID"/>
+      </xs:unique>
+      <xs:unique name="BI_audit_ENERGA_RUM_KONTRAHENCI">
+         <xs:annotation>
+            <xs:documentation>Jeden kontrahent w jednej grupie</xs:documentation>
+         </xs:annotation>
+         <xs:selector
+            xpath="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI"/>
+         <xs:field xpath="ID"/>
+      </xs:unique>
+      <xs:unique name="BI_audit_operational_raport_note">
+         <xs:annotation>
+            <xs:documentation>Tylko jeden element wybrany do jednej grupy z danego typu</xs:documentation>
+         </xs:annotation>
+         <xs:selector
+            xpath="default_db__x3A__BI_audit_operational_raport_note:BI_audit_operational_raport_note"/>
+         <xs:field xpath="ID"/>
+      </xs:unique>
+      <xs:unique name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA">
+         <xs:annotation>
+            <xs:documentation>Tylko jeden element wybrany do jednej grupy z danego typu</xs:documentation>
+         </xs:annotation>
+         <xs:selector
+            xpath="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA"/>
+         <xs:field xpath="ID"/>
+      </xs:unique>
    </xs:element>
 </xs:schema>

+ 7 - 0
SE/schema/ant-object/default_db.BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.xsd

@@ -237,5 +237,12 @@ Relacja dodatkowa na bazie backreference typ widok</xs:documentation>
       <xs:annotation>
          <xs:documentation>Zadania szukania powiązań zawierające raport powiązań.</xs:documentation>
       </xs:annotation>
+      <xs:unique name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA">
+         <xs:annotation>
+            <xs:documentation>Primary key ID unique</xs:documentation>
+         </xs:annotation>
+         <xs:selector xpath="."/>
+         <xs:field xpath="ID"/>
+      </xs:unique>
    </xs:element>
 </xs:schema>

+ 9 - 1
SE/schema/ant-object/default_db.BI_audit_operational_raport_note/BI_audit_operational_raport_note/BI_audit_operational_raport_note.xsd

@@ -296,5 +296,13 @@ Raport ma relacje do Notatki operacyjne na zadzadzie back reference opartym na w
    </xs:complexType>
    <xs:element name="BI_audit_operational_raport_note"
       type="default_db__x3A__BI_audit_operational_raport_note:BI_audit_operational_raport_note"
-      id="raport_note___d5e6248-1_BI_audit_o"/>
+      id="raport_note___d5e6248-1_BI_audit_o">
+      <xs:unique name="BI_audit_operational_raport_note">
+         <xs:annotation>
+            <xs:documentation>Primary KEY unique</xs:documentation>
+         </xs:annotation>
+         <xs:selector xpath="."/>
+         <xs:field xpath="ID"/>
+      </xs:unique>
+   </xs:element>
 </xs:schema>