فهرست منبع

fix missing fields

a.binder 8 سال پیش
والد
کامیت
877962f357

+ 8 - 2
SE/schema/ant-object/default_db.BI_audit_ENERGA_RUM_UMOWY/BI_audit_ENERGA_RUM_UMOWY/BI_audit_ENERGA_RUM_UMOWY.xsd

@@ -172,6 +172,11 @@
             id="A_RUM_UMOWY___d4e5139-1_Data_obowi"/>
          <xs:element name="Data_rozwiazania_umowy" type="xs:date"/>
          <xs:element name="Data_wypowiedzenia_umowy" type="xs:date"/>
+         <xs:element name="Wartosc" type="xs:double">
+            <xs:annotation>
+               <xs:documentation>Pole cacheujace wartosc umowy</xs:documentation>
+            </xs:annotation>
+         </xs:element>
          <xs:element name="A_RECORD_CREATE_DATE" type="xs:dateTime"
             id="A_RUM_UMOWY___d5e5410-1_A_RECORD_C"/>
          <xs:element name="A_RECORD_CREATE_AUTHOR" type="xs:string"
@@ -196,8 +201,9 @@
       </xs:sequence>
       <xs:attribute name="label" type="xs:string"/>
       <xs:assert
-         test="@label = concat(substr(Kontrahenci, 1, 20), ' ', Wartosc_przedmiotu_umowy_netto_w_PLN__aktualna_)"
-      />
+         test="@label = concat(substr(Kontrahenci, 1, 20), ' ', Wartosc_przedmiotu_umowy_netto_w_PLN__aktualna_)"/>
+      <xs:assert test="wartosc = ( Wartosc_kosztowa_przedmiotu_umowy_netto_w_walucie__aktualna_+Wartosc_przedmiotu_umowy_netto_w_PLN__pierwotna_+Wartosc_umowy_wykonawczej_w_PLN ) div 3"/>
+      <!-- TODO To jest błędny assert, jakos trzeba bedzie to obejsc funkcja -->
    </xs:complexType>
    <xs:element name="BI_audit_ENERGA_RUM_UMOWY"
       type="default_db__x3A__BI_audit_ENERGA_RUM_UMOWY:BI_audit_ENERGA_RUM_UMOWY"