|
|
@@ -3,8 +3,7 @@
|
|
|
xmlns:Types__x3A__default_Default="https://biuro.biall-net.pl/wfs/default_db/Types/Default.xsd"
|
|
|
xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
|
|
|
xmlns:default_db__x3A__BI_audit_ENERGA_RUM_UMOWY="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_RUM_UMOWY.xsd"
|
|
|
- xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
|
|
|
- xmlns:p5="https://biuro.biall-net.pl/wfs"
|
|
|
+ xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:p5="https://biuro.biall-net.pl/wfs"
|
|
|
xmlns:ogc="http://www.opengis.net/ogc"
|
|
|
xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
|
|
|
targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_RUM_KONTRAHENCI.xsd"
|
|
|
@@ -223,7 +222,7 @@
|
|
|
<xs:documentation>Na podstawie ustalen Krzysztof Betlewski mail z dnia 2018-03-06 - dla celu: Mechanizm różnicowy który będzie wyłapywać zmiany na istniejących już obiektach. Proponuje tutaj dodać nową kolumnę SumaCRC, która będzie zawierać hash rekordu.</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
</xs:element>
|
|
|
- <xs:element minOccurs="0" name="GUID" type="xs:int">
|
|
|
+ <xs:element minOccurs="0" name="GUID" type="xs:string">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>Na podstawie ustalen mail Krzysztof Betlewski z dnia 2018-03-06 - Unikatowość danych z RUM. Proponuje tutaj dodać do każdej tabeli (Kontrahenci, Umowy, Faktury) nową kolumnę GUI, która będzie moim kluczem głównym przy pobieraniu i dodawaniu danych</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
@@ -244,16 +243,15 @@
|
|
|
test="@sum = sum(default_db__x3A__BI_audit_ENERGA_RUM_UMOWY:BI_audit_ENERGA_RUM_UMOWY/Wartosc_przedmiotu_umowy_netto_w_PLN__aktualna_)"/>
|
|
|
<xs:assert id="KONTRAHENCI___d6e76526-1"
|
|
|
test="@label = concat(substr(Pelna_nazwa_kontrahenta, 0, 20, '\n umów na kwotę ', @sum))"/>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
<!-- CEIDG -->
|
|
|
<xs:assert test="uwagi = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/local-name()"/>
|
|
|
<!--<xs:assert test="imiona = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/concat(imie,' ',firma)"/>-->
|
|
|
- <xs:assert test="Pelna_nazwa_kontrahenta = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/concat(firma,' ',nazwisko)"/>
|
|
|
+ <xs:assert
|
|
|
+ test="Pelna_nazwa_kontrahenta = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/concat(firma, ' ', nazwisko)"/>
|
|
|
<!--<xs:assert test="PESEL = cuncat(*/pesel ,' ',*/pesel)"/>-->
|
|
|
<xs:assert test="Ulica = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/ulica"/>
|
|
|
- <xs:assert test="Numer_mieszkania_lokalu = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/budynek"/>
|
|
|
+ <xs:assert
|
|
|
+ test="Numer_mieszkania_lokalu = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/budynek"/>
|
|
|
<xs:assert test="Numer_budynku = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/lokal"/>
|
|
|
<xs:assert test="Kod_pocztowy = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/kodPocztowy"/>
|
|
|
<xs:assert test="Miejscowosc = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/miejscowosc"/>
|
|
|
@@ -261,15 +259,12 @@
|
|
|
<xs:assert test="NIP = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/nip"/>
|
|
|
<xs:assert test="REGON = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/regon"/>
|
|
|
<!--<xs:assert test="KRS = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/krs"/>-->
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
<!-- KRS_person -->
|
|
|
- <xs:assert test="uwagi = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/local-name()"/>
|
|
|
+ <xs:assert
|
|
|
+ test="uwagi = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/local-name()"/>
|
|
|
<xs:assert test="imiona = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/imiona"/>
|
|
|
- <xs:assert test="Pelna_nazwa_kontrahenta = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/nazwisko"/>
|
|
|
+ <xs:assert
|
|
|
+ test="Pelna_nazwa_kontrahenta = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/nazwisko"/>
|
|
|
<xs:assert test="PESEL = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/pesel"/>
|
|
|
<!-- <xs:assert test="Ulica = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/ulica"/>
|
|
|
<xs:assert test="Numer_mieszkania_lokalu = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/budynek"/>
|
|
|
@@ -279,11 +274,12 @@
|
|
|
<xs:assert test="NIP = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/nip"/>
|
|
|
<xs:assert test="REGON = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/regon"/>-->
|
|
|
<!--<xs:assert test="KRS = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/krs"/>-->
|
|
|
-
|
|
|
<!-- MSIG_person -->
|
|
|
- <xs:assert test="uwagi = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/local-name()"/>
|
|
|
+ <xs:assert
|
|
|
+ test="uwagi = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/local-name()"/>
|
|
|
<xs:assert test="imiona = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/imiona"/>
|
|
|
- <xs:assert test="Pelna_nazwa_kontrahenta = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/nazwisko"/>
|
|
|
+ <xs:assert
|
|
|
+ test="Pelna_nazwa_kontrahenta = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/nazwisko"/>
|
|
|
<xs:assert test="PESEL = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/pesel"/>
|
|
|
<!-- <xs:assert test="Ulica = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/ulica"/>
|
|
|
<xs:assert test="Numer_mieszkania_lokalu = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/budynek"/>
|
|
|
@@ -293,14 +289,14 @@
|
|
|
<xs:assert test="NIP = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/nip"/>
|
|
|
<xs:assert test="REGON = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/regon"/>-->
|
|
|
<!--<xs:assert test="KRS = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/krs"/>-->
|
|
|
-
|
|
|
<!-- BI_audit_KRS -->
|
|
|
<xs:assert test="uwagi = default_db__x3A__BI_audit_KRS:BI_audit_KRS/local-name()"/>
|
|
|
<!--<xs:assert test="imiona = default_db__x3A__BI_audit_KRS:BI_audit_KRS/imiona"/>-->
|
|
|
<xs:assert test="Pelna_nazwa_kontrahenta = default_db__x3A__BI_audit_KRS:BI_audit_KRS/nazwa"/>
|
|
|
<!--<xs:assert test="PESEL = default_db__x3A__BI_audit_KRS:BI_audit_KRS/pesel"/>-->
|
|
|
<xs:assert test="Ulica = default_db__x3A__BI_audit_KRS:BI_audit_KRS/A_ulica"/>
|
|
|
- <xs:assert test="Numer_mieszkania_lokalu = default_db__x3A__BI_audit_KRS:BI_audit_KRS/A_nrDomu"/>
|
|
|
+ <xs:assert
|
|
|
+ test="Numer_mieszkania_lokalu = default_db__x3A__BI_audit_KRS:BI_audit_KRS/A_nrDomu"/>
|
|
|
<xs:assert test="Numer_budynku = default_db__x3A__BI_audit_KRS:BI_audit_KRS/A_nrLokalu"/>
|
|
|
<xs:assert test="Kod_pocztowy = default_db__x3A__BI_audit_KRS:BI_audit_KRS/A_kod"/>
|
|
|
<xs:assert test="Miejscowosc = default_db__x3A__BI_audit_KRS:BI_audit_KRS/A_miejscowosc"/>
|
|
|
@@ -308,14 +304,14 @@
|
|
|
<xs:assert test="NIP = default_db__x3A__BI_audit_KRS:BI_audit_KRS/nip"/>
|
|
|
<xs:assert test="REGON = default_db__x3A__BI_audit_KRS:BI_audit_KRS/regon"/>
|
|
|
<xs:assert test="KRS = default_db__x3A__BI_audit_KRS:BI_audit_KRS/krs"/>
|
|
|
-
|
|
|
<!-- BI_audit_MSIG -->
|
|
|
<xs:assert test="uwagi = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/local-name()"/>
|
|
|
<!--<xs:assert test="imiona = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/imiona"/>-->
|
|
|
<xs:assert test="Pelna_nazwa_kontrahenta = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/nazwa"/>
|
|
|
<!--<xs:assert test="PESEL = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/pesel"/>-->
|
|
|
<xs:assert test="Ulica = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/A_ulica"/>
|
|
|
- <xs:assert test="Numer_mieszkania_lokalu = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/A_nrDomu"/>
|
|
|
+ <xs:assert
|
|
|
+ test="Numer_mieszkania_lokalu = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/A_nrDomu"/>
|
|
|
<xs:assert test="Numer_budynku = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/A_nrLokalu"/>
|
|
|
<xs:assert test="Kod_pocztowy = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/A_kod"/>
|
|
|
<xs:assert test="Miejscowosc = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/A_miejscowosc"/>
|
|
|
@@ -323,26 +319,33 @@
|
|
|
<xs:assert test="NIP = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/nip"/>
|
|
|
<xs:assert test="REGON = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/regon"/>
|
|
|
<xs:assert test="KRS = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/krs"/>
|
|
|
-
|
|
|
<!-- BI_audit_ENERGA_RUM_KONTRAHENCI -->
|
|
|
- <xs:assert test="uwagi = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/local-name()"/>
|
|
|
+ <xs:assert
|
|
|
+ test="uwagi = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/local-name()"/>
|
|
|
<!--<xs:assert test="imiona = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/imiona"/>-->
|
|
|
- <xs:assert test="Pelna_nazwa_kontrahenta = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Pelna_nazwa_kontrahenta"/>
|
|
|
- <xs:assert test="PESEL = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/PESEL"/>
|
|
|
- <xs:assert test="Ulica = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Ulica"/>
|
|
|
- <xs:assert test="Numer_mieszkania_lokalu = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Numer_budynku"/>
|
|
|
- <xs:assert test="Numer_budynku = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Numer_mieszkania_lokalu"/>
|
|
|
- <xs:assert test="Kod_pocztowy = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Kod_pocztowy"/>
|
|
|
- <xs:assert test="Miejscowosc = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Miejscowosc"/>
|
|
|
- <xs:assert test="Kraj = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Kraj"/>
|
|
|
- <xs:assert test="NIP = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/NIP"/>
|
|
|
- <xs:assert test="REGON = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/REGON"/>
|
|
|
- <xs:assert test="KRS = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/KRS"/>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ <xs:assert
|
|
|
+ test="Pelna_nazwa_kontrahenta = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Pelna_nazwa_kontrahenta"/>
|
|
|
+ <xs:assert
|
|
|
+ test="PESEL = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/PESEL"/>
|
|
|
+ <xs:assert
|
|
|
+ test="Ulica = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Ulica"/>
|
|
|
+ <xs:assert
|
|
|
+ test="Numer_mieszkania_lokalu = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Numer_budynku"/>
|
|
|
+ <xs:assert
|
|
|
+ test="Numer_budynku = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Numer_mieszkania_lokalu"/>
|
|
|
+ <xs:assert
|
|
|
+ test="Kod_pocztowy = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Kod_pocztowy"/>
|
|
|
+ <xs:assert
|
|
|
+ test="Miejscowosc = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Miejscowosc"/>
|
|
|
+ <xs:assert
|
|
|
+ test="Kraj = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Kraj"/>
|
|
|
+ <xs:assert
|
|
|
+ test="NIP = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/NIP"/>
|
|
|
+ <xs:assert
|
|
|
+ test="REGON = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/REGON"/>
|
|
|
+ <xs:assert
|
|
|
+ test="KRS = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/KRS"
|
|
|
+ />
|
|
|
</xs:complexType>
|
|
|
<xs:element name="BI_audit_ENERGA_RUM_KONTRAHENCI"
|
|
|
type="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI"
|