瀏覽代碼

todo testing

a.binder 5 年之前
父節點
當前提交
06c9db23c8

+ 11 - 433
SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.xsl

@@ -67,10 +67,11 @@
         
         <xsl:variable name="position_src" select="position()"/>
         
+        
         <!--INFO: group-by="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = 1]/*[ position() = 1]/@fid" -->
-        <xsl:for-each-group select="current-group()"  group-by="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ last()]/*[1]/@fid"> <!-- group-by="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() =  last()]/*[ position() = 1]/concat(name(),ID,imiona,nazwisko,pesel,nip,regon,krs)" -->
+        <!--<xsl:for-each-group select="current-group()"  group-by="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ last()]/*[1]/@fid">--> <!-- group-by="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() =  last()]/*[ position() = 1]/concat(name(),ID,imiona,nazwisko,pesel,nip,regon,krs)" -->
             <xsl:for-each select="current-group()">
-            <xsl:sort select="count(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object)" order="ascending"/>
+            <!--<xsl:sort select="count(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object)" order="descending" data-type="number"/>-->
             <xsl:variable name="position" select="position()"/>
             <xsl:variable name="position_save" select="concat($position_src,'_',position())"/>
             <!--<xsl:variable name="group_name_root" select="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_ENERGA_PRACOWNICY.root_key(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/BI_audit_ENERGA_PRACOWNICY/ID)"/>-->
@@ -104,190 +105,9 @@
                         <xsl:variable name="group_name_refpos.kon" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last() ]/*[ position() = 1]/ system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_ENERGA_RUM_KONTRAHENCI.key(@fid,'','',1)"/> <!-- XX1system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_ENERGA_RUM_KONTRAHENCI.key(ID) -->
                         <xsl:variable name="refpos.kon" select="1"/>
                         <xsl:choose>
-                            <xsl:when test=" position() = 0 ">
-                                <topichead navtitle=" Pominięto więcej przykładów z uwagi na ilość"/>
-                                <xsl:attribute name="props">mode__POWIAZANIA_row</xsl:attribute>
-                            </xsl:when>
-                            <xsl:when test=" position() = 0 ">
-                                <xsl:variable name="current-save-file-id" select="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',$position_save))"/>
-                                <!--<xsl:for-each select="current-group()">-->
-                                
-                                    <xsl:copy-of select="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.dita_pair.key.attr($current-save-file-id,@fid,BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/@fid)" copy-namespaces="no"/>
-                                
-                                <!-- concat($group_name,'.',generate-id(),'.dita'),@fid,BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/@fid) -->
-                                <!--</xsl:for-each>-->
-                                <!--<xsl:copy-of select="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.dita.fid.keydef(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',$position_save)),system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',position()))"/>-->
-                                <xsl:copy-of select="system_cache__dita:files.context.title.keydef(.,'map',$title)" copy-namespaces="no"/>
-                                <xsl:result-document href="{system_cache__dita:files.key.href.write.topic.title.context(.,$title)}"> <!-- {system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href.write(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',$position_save))} --> <!-- {$temp}/{$uuid}/{$group_name}.{generate-id()}.dita --> <!-- TODO XX2 -->
-                                    <topic id="{$uuid}topic_simpletable_cheat_pos_{position()}_row_{$group_name}__{ generate-id()}" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                                        xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:topic.xsd">
-                                        <!--<xsl:copy-of select="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.dita.fid.key.attr(@fid)"/>-->
-                                        <title>
-                                           <!-- <xsl:if test="$test_if_prev_worker/prev">
-                                                !! nadmiarowe wzajemne !!
-                                                <xsl:for-each-group select="$test_if_prev_worker/prev" group-by="@pesel"><xsl:text> </xsl:text> <xsl:value-of select="."/></xsl:for-each-group>
-                                            </xsl:if>-->
-                                            Powiązanie <xsl:value-of select="position()"/> /<xsl:value-of select="count( current-group())"/> dla  
-                                            <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*/imiona"/><xsl:text> </xsl:text>
-                                            <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*/nazwisko"/><xsl:text> </xsl:text>
-                                            <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*/nip"/><xsl:text> </xsl:text>
-                                            <xsl:choose>
-                                                <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*/source/text()">
-                                                    źródło:<xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*/source"/><xsl:text> </xsl:text>         
-                                                </xsl:when>
-                                            </xsl:choose>
-                                           
-                                           do :<xsl:value-of select="system_cache__dita:localname.translate(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/local-name())"/><xsl:text> </xsl:text>  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(Pelna_nazwa_kontrahenta,nazwa,nazwisko,' - ',Miejscowosc,imiona,imie,' ',NIP,' ',regon,' ',Nr_dzialki,firma,' ',Nr_KW,' ',Seller_person,pesel,miejscowosc)"/><xsl:text> </xsl:text>
-                                            <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/Seller_person"/><xsl:text> </xsl:text> poprzez: <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/relation_from"/>
-                                            (gł.szuk.: <xsl:value-of select="count(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object)"/>) ;
-                                        </title>
-                                        
-                                        <body>
-                                            <draft-comment author="a.binder">#1171</draft-comment>
-                                            <p>
-                                                Ścieżka śledzenia do 
-                                                <xsl:choose>
-                                                    <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_KW_requested_person">
-                                                        
-                                                        działki:  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(Pelna_nazwa_kontrahenta,' ',Miejscowosc, ' ',NIP,' ',Nr_dzialki,' ',Nr_KW,' ',Seller_Person)"/>
-                                                        
-                                                    </xsl:when>
-                                                    <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_ENERGA_RUM_KONTRAHENCI">
-                                                        <xref href="../{$group_name_refpos.kon}/{$group_name_refpos.kon}_{$refpos.kon}.dita">
-                                                            kontrahenta:  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(Pelna_nazwa_kontrahenta,' ',Miejscowosc, ' ',NIP,' ',Nr_dzialki,' ',Nr_KW,' ',Seller_Person)"/>
-                                                        </xref>
-                                                    </xsl:when>
-                                                    <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_KRS">
-                                                        <xsl:variable name="group_name" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/concat('KRSY_',krs)"/>
-                                                        <xref href="../{$group_name}/{$refpos.kon}.dita">
-                                                            KRS:  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(nazwa,' ',S_miejscowosc, ' ',nip)"/>
-                                                        </xref>
-                                                    </xsl:when>
-                                                    <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_KRS_company">
-                                                        KRS (firma):  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(nazwa,' ',S_miejscowosc, ' ',nip)"/>
-                                                    </xsl:when>
-                                                    <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_KRS_person">
-                                                        <xref href="../{ system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_KRS_person.key( nazwisko,imiona,pesel,'')}/{system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_KRS_person.key( nazwisko,imiona,pesel,'')}_{$refpos.kon}.dita">
-                                                        KRS (osoba):  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(nazwisko,' ',imiona, ' ',pesel)"/>
-                                                        </xref>
-                                                    </xsl:when>
-                                                    <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_CEIDG">
-                                                        CEIDG (osoba):  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(nazwisko,' ',imie, ' ',firma,' ',nip,' ',miejscowosc)"/>
-                                                    </xsl:when>
-                                                    <xsl:otherwise>
-                                                        
-                                                            Kontrahenta:  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(Pelna_nazwa_kontrahenta,' ',Miejscowosc, ' ',NIP,' ',Nr_dzialki,' ',Nr_KW,' ',Seller_Person)"/>
-                                                        
-                                                    </xsl:otherwise>
-                                                </xsl:choose>
-                                                
-                                                <xsl:apply-templates mode="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.universal.last.table" select=".">
-                                                    <xsl:with-param name="foreign_fallback.current_topic_id"><xsl:value-of select="$uuid"/>topic_simpletable_cheat_pos_<xsl:value-of select="position()"/>_row_<xsl:value-of select="$group_name"/>__<xsl:value-of select="generate-id()"/></xsl:with-param>
-                                                    <xsl:with-param name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.fixed.current" select="$system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.fixed.current"/>
-                                                </xsl:apply-templates>
-                                                
-                                                
-                                                
-                                            </p>
-                                            <!--TODO to separate raport xlink <xsl:choose>
-                                    <xsl:when test="deal">
-                                        <p>
-                                            Podpisane umowy?
-                                            <simpletable frame="all" relcolwidth="1* 1* 1* 1* 1* 1*" id="{$uuid}simpletable_rows__child_cheat_5{$group_name}_{ $refpos}_{generate-id()}">
-                                                <strow>
-                                                    <stentry>Data utw. spr./ Tytul dokumentu</stentry>
-                                                    <stentry>Wprowadzajacy wniosek</stentry>
-                                                    <stentry>Kontrahent</stentry>
-                                                    <stentry>Akceptujacy merytorycznie</stentry>
-                                                    <stentry>Osoba merytoryczna</stentry>
-                                                    <stentry>Przedmiot umowy</stentry>
-                                                </strow>
-                                                <strow>
-                                                    <stentry>(dane dla poprz.rek.)</stentry>
-                                                    <stentry>Typ umowy</stentry>
-                                                    <stentry>Wartosc zlecenia zamowienia netto w PLN</stentry>
-                                                    <stentry>Wartosc zlecenia zamowienia netto w walucie</stentry>
-                                                    <stentry>Wartosc przedmiotu umowy netto w PLN</stentry>
-                                                    <stentry>Wartosc kosztowa przedmiotu umowy netto w walucie </stentry>
-                                                </strow>
-                                                <xsl:for-each select="deal">
-                                                    <xsl:sort select="Wartosc_przedmiotu_umowy_netto_w_PLN" order="descending"/>
-                                                    <xsl:choose>
-                                                        <xsl:when test=" position() &lt; 100">
-                                                            <strow>
-                                                                <stentry><xsl:value-of select="Data_utworzenia_sprawy"/> / 
-                                                                    <xsl:apply-templates mode="enter_to_ph_text" select="Tytul_dokumentu">
-                                                                        <xsl:with-param name="element" select="'entry'"/>
-                                                                    </xsl:apply-templates>
-                                                                    <!-\-<xsl:value-of select="field[@name='Tytul_dokumentu']"/>-\-></stentry>
-                                                                <stentry>
-                                                                    <xsl:value-of select="Wprowadzajacy_wniosek___nazwisko_i_imie"/>
-                                                                </stentry>
-                                                                <stentry>
-                                                                    <xsl:apply-templates mode="enter_to_ph_text" select="Pelna_nazwa_kontrahenta">
-                                                                        <xsl:with-param name="element" select="'entry'"/>
-                                                                    </xsl:apply-templates>
-                                                                </stentry>
-                                                                <stentry>
-                                                                    <xsl:value-of select="Akceptujacy_merytorycznie___nazwisko_i_imie"/>
-                                                                </stentry>
-                                                                <stentry>
-                                                                    <xsl:value-of select="Osoba_merytoryczna___nazwisko_i_imie"/>
-                                                                </stentry>
-                                                                <stentry>
-                                                                    <xsl:apply-templates mode="enter_to_ph_text" select="Przedmiot_umowy">
-                                                                        <xsl:with-param name="element" select="'entry'"/>
-                                                                    </xsl:apply-templates>
-                                                                    <!-\-<xsl:value-of select="field[@name='Przedmiot_umowy']"/>-\-></stentry>
-                                                            </strow>
-                                                            <strow>
-                                                                <stentry>(dane dla poprz.rek.)</stentry>
-                                                                <stentry><xsl:value-of select="Typ_umowy__aktualny_"/></stentry>
-                                                                <stentry><xsl:value-of select="Wartosc_zlecenia_zamowienia_netto_w_PLN"/></stentry>
-                                                                <stentry><xsl:value-of select="Wartosc_zlecenia_zamowienia_netto_w_walucie"/></stentry>
-                                                                <stentry><xsl:value-of select="Wartosc_przedmiotu_umowy_netto_w_PLN__aktualna_"/></stentry>
-                                                                <stentry><xsl:value-of select="Wartosc_kosztowa_przedmiotu_umowy_netto_w_walucie"/></stentry>
-                                                            </strow>
-                                                        </xsl:when>
-                                                        <xsl:when test="position() = 100">
-                                                            <strow>
-                                                                <stentry>Zestawienie zawiera więcej rekordów</stentry>
-                                                                <stentry>Pominięto z uwagi na wielkość raportu</stentry>
-                                                                <stentry/>
-                                                                <stentry/>
-                                                                <stentry/>
-                                                                <stentry/>
-                                                            </strow>
-                                                        </xsl:when>
-                                                        <xsl:otherwise/>
-                                                    </xsl:choose>
-                                                </xsl:for-each>
-                                            </simpletable>
-                                        </p>
-                                    </xsl:when>
-                                    <xsl:otherwise>
-                                        <p> Dane transakcji 
-                                            <simpletable frame="all" relcolwidth="1* 4*" id="{$uuid}simpletable_rows__child_cheat_9{$group_name}_{ $refpos}_{generate-id()}">
-                                                <strow>
-                                                    <stentry>Kolumna</stentry>
-                                                    <stentry>Wartosc</stentry>
-                                                </strow>
-                                                <xsl:for-each select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*">
-                                                    <strow>
-                                                        <stentry><xsl:value-of select="name()"/></stentry>
-                                                        <stentry><xsl:value-of select="."/></stentry>
-                                                    </strow>
-                                                </xsl:for-each>
-                                            </simpletable>
-                                        
-                                        </p>
-                                    </xsl:otherwise>
-                                </xsl:choose>-->
-                                            
-                                        </body>
-                                    </topic>
-                                </xsl:result-document>
-                            </xsl:when>
+                            <xsl:when test="1 = 2"/>
+                            
+                            
                             <xsl:otherwise>
                                 <xsl:variable name="current-save-file-id" select="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',$position_save))"/>
                                 
@@ -357,7 +177,7 @@
                                                     <uicontrol>Powiązanie</uicontrol>
                                                     <uicontrol><!--<varname>[ <xsl:value-of select="system_cache__dita:localname.translate(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[1]/local-name())"/> ] <xsl:text> </xsl:text></varname>--></uicontrol>
                                                     <uicontrol><varname>nr</varname></uicontrol>
-                                                    <uicontrol><xsl:value-of select="position()"/> /<xsl:value-of select="count( current-group())"/></uicontrol>
+                                                    <uicontrol>  <xsl:value-of select="position()"/>/[<xsl:value-of select="last()"/>]</uicontrol>
                                                     <xsl:choose>
                                                         <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*/source/text()">
                                                             <uicontrol>źródło</uicontrol>
@@ -455,60 +275,7 @@
                                                         )
                                                         </b>
                                                     </div>
-                                                    <!--<xsl:choose>
-                                                        <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_KW_requested">
-                                                            
-                                                            działki:  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(Pelna_nazwa_kontrahenta,' ',Miejscowosc, ' ',NIP,' ',Nr_dzialki,' ',Nr_KW,' ',Seller_Person)"/>
-                                                            
-                                                        </xsl:when>
-                                                        
-                                                        <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_KRS">
-                                                            <xsl:variable name="krs" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_KRS/krs"/>
-                                                            <xref href="../{BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_KRS/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',1))}.dita"> <!-\- ../{BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_KRS/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_KRS.key(@fid,'','',1)}.dita -\-> <!-\- todo keys X11 -\->
-                                                                KRS.:  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(nazwa,' ',S_miejscowosc, ' ',nip)"/>
-                                                            </xref>
-                                                            
-                                                        </xsl:when>
-                                                        
-                                                        <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_MSIG">
-                                                            <xsl:variable name="krs" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_MSIG/krs"/>
-                                                            <xref href="../{BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_MSIG/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',1))}.dita"> <!-\- X11 ../MSIG_{$krs}/{$krs}_1.dita -\->
-                                                                MSIG:  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(nazwa,' ',S_miejscowosc, ' ',nip)"/>
-                                                            </xref>
-                                                            
-                                                        </xsl:when>
-                                                        
-                                                        <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_KRS_company">
-                                                                <xsl:variable name="krs" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_KRS_company/krs"/>
-                                                            <xref href="../{BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_KRS_company/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',1))}.dita"> <!-\- X11../KRS_{$krs}/{$krs}_1.dita -\->
-                                                                    <!-\-KRS:  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(nazwa,' ',S_miejscowosc, ' ',nip)"/>-\->
-                                                                </xref>
-                                                               <!-\- KRS (firma):  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(nazwa,' ',S_miejscowosc, ' ',nip)"/>-\->
-                                                        </xsl:when>
-                                                        
-                                                        <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_KRS_person">
-                                                            <xref href="../{ BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_MSIG_person/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key( @fid,'','',$refpos.kon))}.dita"> <!-\- X11 ../{ BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_MSIG_person/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_KRS_person.key( @fid,'','',)}/{BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_MSIG_person/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_KRS_person.key( nazwisko,imiona,pesel,'')}_{$refpos.kon}.dita -\->
-                                                                KRS (osoba):  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(nazwisko,' ',imiona, ' ',pesel)"/>
-                                                            </xref>
-                                                        </xsl:when>
-                                                        
-                                                        <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_MSIG_person">
-                                                            <xref href="../{ BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_MSIG_person/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key( @fid,'','',$refpos.kon))}.dita"> <!-\- X11 -\->
-                                                                MSIG (osoba):  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(nazwisko,' ',imiona, ' ',pesel)"/>
-                                                            </xref>
-                                                        </xsl:when>
-                                                        
-                                                        <xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/BI_audit_CEIDG">
-                                                            CEIDG (osoba):  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(nazwisko,' ',imie, ' ',firma,' ',nip,' ',miejscowosc)"/>
-                                                        </xsl:when>
-                                                        
-                                                        <xsl:otherwise>
-                                                            <xref href="../{$group_name_refpos.kon}/{$group_name_refpos.kon}_{$refpos.kon}.dita">
-                                                                kontrahenta:  <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/concat(Pelna_nazwa_kontrahenta,' ',Miejscowosc, ' ',NIP,' ',Nr_dzialki,' ',Nr_KW,' ',Seller_Person)"/>
-                                                            </xref>
-                                                            <draft-comment author="a.binder">#1376a-OTHERWISE <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[1]/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG_person.key(@fid,'','',$refpos.kon))"/> ; $group_name = <xsl:value-of select="$group_name"/>;</draft-comment>
-                                                        </xsl:otherwise>
-                                                    </xsl:choose>-->
+                                                    
 <!--                                                    <draft-comment author="a.binder">#1411_debug obj:</draft-comment>
                                                     <xsl:copy-of select="."/>-->
                                                     
@@ -541,103 +308,7 @@
                                                     </xsl:apply-templates>
                                                     
                                                     
-                                                    <!--<simpletable frame="all" relcolwidth="1* 2* 2* 4*" id="{$uuid}simpletable_rows__child_cheat_7{$group_name.id}_path__{generate-id()}">
-                                                        <strow>
-                                                            <stentry>Lp</stentry>
-                                                            <stentry>Sposób wyszukania</stentry>
-                                                            <stentry>Rejestr</stentry>
-                                                            <stentry>Dane z rejestru</stentry>
-                                                        </strow>
-                                                        <xsl:for-each select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object">
-                                                            <strow>
-                                                                <stentry><xsl:value-of select="position()"/></stentry>
-                                                                <stentry>
-                                                                    <!-\-<xsl:apply-templates mode="enter_to_ph_text" select="relation_from">
-                                                                        <xsl:with-param name="element" select="'entry'"/>
-                                                                    </xsl:apply-templates>-\->
-                                                                    <xsl:choose>
-                                                                        <xsl:when test="relation_from/text()='BI_audit_ENERGA_PRACOWNICY'">Prac./Osoby</xsl:when>
-                                                                        <xsl:when test="relation_from/text()='BI_audit_ENERGA_RUM_KONTRAHENCI'">Kontrah.</xsl:when>
-                                                                        <xsl:when test="relation_from/text()='BI_audit_KRS_person'">KRS/o</xsl:when>
-                                                                        <xsl:when test="relation_from/text()='BI_audit_KRS'">KRS</xsl:when>
-                                                                        <xsl:when test="relation_from/text()='BI_audit_KRS_company'">KRS/f</xsl:when>
-                                                                        <xsl:when test="relation_from/text()='BI_audit_MSIG'">MSIG</xsl:when>
-                                                                        <xsl:when test="relation_from/text()='BI_audit_MSIG_person'">MSIG/o</xsl:when>
-                                                                        <xsl:when test="relation_from/text()='BI_audit_MSIG_company'">MSIG/f</xsl:when>
-                                                                        <xsl:otherwise>
-                                                                            <xsl:variable name="name">
-                                                                                <name><xsl:value-of select="replace(replace(relation_from/text(),'ENERGA',''),'BI_audit_','')"/></name>
-                                                                            </xsl:variable>
-                                                                            <xsl:apply-templates mode="enter_to_ph_text" select="$name/name">
-                                                                                <xsl:with-param name="element" select="'entry'"/>
-                                                                            </xsl:apply-templates>
-                                                                        </xsl:otherwise>
-                                                                    </xsl:choose>
-                                                                </stentry>
-                                                                <stentry>
-                                                                    <xsl:choose>
-                                                                        <xsl:when test="*/name()='BI_audit_ENERGA_PRACOWNICY'">Prac./Osoby</xsl:when>
-                                                                        <xsl:when test="*/name()='BI_audit_ENERGA_RUM_KONTRAHENCI'">Kontrah.</xsl:when>
-                                                                        <xsl:when test="*/name()='BI_audit_KRS_person'">KRS/o</xsl:when>
-                                                                        <xsl:when test="*/name()='BI_audit_KRS'">KRS</xsl:when>
-                                                                        <xsl:when test="*/name()='BI_audit_KRS_company'">KRS/f</xsl:when>
-                                                                        <xsl:when test="*/name()='BI_audit_MSIG'">MSIG</xsl:when>
-                                                                        <xsl:when test="*/name()='BI_audit_MSIG_person'">MSIG/o</xsl:when>
-                                                                        <xsl:when test="*/name()='BI_audit_MSIG_company'">MSIG/f</xsl:when>
-                                                                        <xsl:otherwise>
-                                                                            <xsl:variable name="name">
-                                                                                <name><xsl:value-of select="*/replace(replace(replace(name(),'ENERGA',''),'BI_audit_',''),'relation_from',' relacja od ')"/></name>
-                                                                            </xsl:variable>
-                                                                            <xsl:apply-templates mode="enter_to_ph_text" select="$name/name">
-                                                                                <xsl:with-param name="element" select="'entry'"/>
-                                                                            </xsl:apply-templates>
-                                                                        </xsl:otherwise>
-                                                                    </xsl:choose>
-                                                                    
-                                                                    <!-\-<xsl:value-of select="string(*/name())"/>-\->
-                                                                </stentry>
-                                                                <stentry>
-                                                                    <xsl:choose>
-                                                                        <xsl:when test="BI_audit_KRS_person">
-                                                                            <!-\-<xref href="../{BI_audit_KRS_person/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_KRS_person.key(nazwisko,imiona,pesel,'')}/{BI_audit_KRS_person/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_KRS_person.key(nazwisko,imiona,pesel,'')}_1.dita"/>-\-><!-\- XX1 ? -\->
-                                                                            <xref href="../{BI_audit_KRS_person/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',1))}"/> 
-                                                                        </xsl:when>
-                                                                        <xsl:when test="BI_audit_MSIG_person">
-                                                                            <!-\-<xref href="../{BI_audit_MSIG_person/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG_person.key(nazwisko,imiona,pesel,'')}/{BI_audit_MSIG_person/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG_person.key(nazwisko,imiona,pesel,'')}_1.dita"/>-\-><!-\- XX1 ? -\->
-                                                                            <xref href="../{BI_audit_MSIG_person/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',1))}"/>
-                                                                        </xsl:when>
-                                                                        <xsl:when test="BI_audit_KRS">
-                                                                            <xref href="../{system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(BI_audit_KRS/@fid,'','',1))}"> <!-\- ../KRSY_{BI_audit_KRS/krs}/{BI_audit_KRS/krs}_1.dita -\->
-                                                                                <xsl:value-of select="BI_audit_KRS/nazwa"/><xsl:text> </xsl:text>
-                                                                                <xsl:value-of select="BI_audit_KRS/S_miejscowosc"/><xsl:text> </xsl:text>
-                                                                            </xref>
-                                                                        </xsl:when>
-                                                                        <xsl:when test="BI_audit_MSIG">
-                                                                            <xref href="../{BI_audit_MSIG/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',1))}"> <!-\- XX1../{BI_audit_MSIG/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_MSIG.key(krs)}/{BI_audit_MSIG/krs}_1.dita -\->
-                                                                                <xsl:value-of select="BI_audit_MSIG/nazwa"/><xsl:text> </xsl:text>
-                                                                                <xsl:value-of select="BI_audit_MSIG/S_miejscowosc"/><xsl:text> </xsl:text>
-                                                                            </xref>
-                                                                        </xsl:when>
-                                                                        <xsl:otherwise>
-                                                                            <xsl:for-each select="*/*">
-                                                                                <xsl:if test="text() and not(name()='A_STATUS') and not(name()='A_ADM_COMPANY') and not(name()='A_CLASSIFIED') and not(name()='cached') and not(name()='TERYT_SYM') and not(name()='TERYT_SYM_UL') ">
-                                                                                    <b><xsl:value-of select="name()"/></b><xsl:text> </xsl:text>
-                                                                                    <xsl:apply-templates mode="enter_to_ph_text" select="text()">
-                                                                                        <xsl:with-param name="element" select="'entry'"/>
-                                                                                    </xsl:apply-templates>
-                                                                                    <xsl:text> </xsl:text>
-                                                                                </xsl:if>
-                                                                            </xsl:for-each>
-                                                                        </xsl:otherwise>
-                                                                    </xsl:choose>
-                                                                    <xsl:apply-templates mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.middle_ref.note" select="*/*">
-                                                                        <xsl:with-param name="group_name" select="$group_name"/>
-                                                                        <xsl:with-param name="group_name_refpos.kon" select="$group_name_refpos.kon"/>
-                                                                    </xsl:apply-templates>
-                                                                </stentry>
-                                                            </strow>
-                                                        </xsl:for-each>
-                                                    </simpletable>-->
+                                                    
                                                     <draft-comment author="a.binder">#1762 DEBUG DEVEL ROW saving to 
                                                             <xsl:value-of select="system_cache__dita:files.key.href.write.topic.title.context(.,concat($title,'.svg_data__x3A__assign.xml'))"/>
                                                     </draft-comment>
@@ -918,100 +589,7 @@
                                                         </xsl:when>
                                                     </xsl:choose>
                                                 </p>
-                                                <!--TODO to separate raport xlink <xsl:choose>
-                                    <xsl:when test="deal">
-                                        <p>
-                                            Podpisane umowy?
-                                            <simpletable frame="all" relcolwidth="1* 1* 1* 1* 1* 1*" id="{$uuid}simpletable_rows__child_cheat_5{$group_name}_{ $refpos}_{generate-id()}">
-                                                <strow>
-                                                    <stentry>Data utw. spr./ Tytul dokumentu</stentry>
-                                                    <stentry>Wprowadzajacy wniosek</stentry>
-                                                    <stentry>Kontrahent</stentry>
-                                                    <stentry>Akceptujacy merytorycznie</stentry>
-                                                    <stentry>Osoba merytoryczna</stentry>
-                                                    <stentry>Przedmiot umowy</stentry>
-                                                </strow>
-                                                <strow>
-                                                    <stentry>(dane dla poprz.rek.)</stentry>
-                                                    <stentry>Typ umowy</stentry>
-                                                    <stentry>Wartosc zlecenia zamowienia netto w PLN</stentry>
-                                                    <stentry>Wartosc zlecenia zamowienia netto w walucie</stentry>
-                                                    <stentry>Wartosc przedmiotu umowy netto w PLN</stentry>
-                                                    <stentry>Wartosc kosztowa przedmiotu umowy netto w walucie </stentry>
-                                                </strow>
-                                                <xsl:for-each select="deal">
-                                                    <xsl:sort select="Wartosc_przedmiotu_umowy_netto_w_PLN" order="descending"/>
-                                                    <xsl:choose>
-                                                        <xsl:when test=" position() &lt; 100">
-                                                            <strow>
-                                                                <stentry><xsl:value-of select="Data_utworzenia_sprawy"/> / 
-                                                                    <xsl:apply-templates mode="enter_to_ph_text" select="Tytul_dokumentu">
-                                                                        <xsl:with-param name="element" select="'entry'"/>
-                                                                    </xsl:apply-templates>
-                                                                    <!-\-<xsl:value-of select="field[@name='Tytul_dokumentu']"/>-\-></stentry>
-                                                                <stentry>
-                                                                    <xsl:value-of select="Wprowadzajacy_wniosek___nazwisko_i_imie"/>
-                                                                </stentry>
-                                                                <stentry>
-                                                                    <xsl:apply-templates mode="enter_to_ph_text" select="Pelna_nazwa_kontrahenta">
-                                                                        <xsl:with-param name="element" select="'entry'"/>
-                                                                    </xsl:apply-templates>
-                                                                </stentry>
-                                                                <stentry>
-                                                                    <xsl:value-of select="Akceptujacy_merytorycznie___nazwisko_i_imie"/>
-                                                                </stentry>
-                                                                <stentry>
-                                                                    <xsl:value-of select="Osoba_merytoryczna___nazwisko_i_imie"/>
-                                                                </stentry>
-                                                                <stentry>
-                                                                    <xsl:apply-templates mode="enter_to_ph_text" select="Przedmiot_umowy">
-                                                                        <xsl:with-param name="element" select="'entry'"/>
-                                                                    </xsl:apply-templates>
-                                                                    <!-\-<xsl:value-of select="field[@name='Przedmiot_umowy']"/>-\-></stentry>
-                                                            </strow>
-                                                            <strow>
-                                                                <stentry>(dane dla poprz.rek.)</stentry>
-                                                                <stentry><xsl:value-of select="Typ_umowy__aktualny_"/></stentry>
-                                                                <stentry><xsl:value-of select="Wartosc_zlecenia_zamowienia_netto_w_PLN"/></stentry>
-                                                                <stentry><xsl:value-of select="Wartosc_zlecenia_zamowienia_netto_w_walucie"/></stentry>
-                                                                <stentry><xsl:value-of select="Wartosc_przedmiotu_umowy_netto_w_PLN__aktualna_"/></stentry>
-                                                                <stentry><xsl:value-of select="Wartosc_kosztowa_przedmiotu_umowy_netto_w_walucie"/></stentry>
-                                                            </strow>
-                                                        </xsl:when>
-                                                        <xsl:when test="position() = 100">
-                                                            <strow>
-                                                                <stentry>Zestawienie zawiera więcej rekordów</stentry>
-                                                                <stentry>Pominięto z uwagi na wielkość raportu</stentry>
-                                                                <stentry/>
-                                                                <stentry/>
-                                                                <stentry/>
-                                                                <stentry/>
-                                                            </strow>
-                                                        </xsl:when>
-                                                        <xsl:otherwise/>
-                                                    </xsl:choose>
-                                                </xsl:for-each>
-                                            </simpletable>
-                                        </p>
-                                    </xsl:when>
-                                    <xsl:otherwise>
-                                        <p> Dane transakcji 
-                                            <simpletable frame="all" relcolwidth="1* 4*" id="{$uuid}simpletable_rows__child_cheat_9{$group_name}_{ $refpos}_{generate-id()}">
-                                                <strow>
-                                                    <stentry>Kolumna</stentry>
-                                                    <stentry>Wartosc</stentry>
-                                                </strow>
-                                                <xsl:for-each select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*">
-                                                    <strow>
-                                                        <stentry><xsl:value-of select="name()"/></stentry>
-                                                        <stentry><xsl:value-of select="."/></stentry>
-                                                    </strow>
-                                                </xsl:for-each>
-                                            </simpletable>
-                                        
-                                        </p>
-                                    </xsl:otherwise>
-                                </xsl:choose>-->
+                                                
                                                 
                                             </body>
                                         </topic>
@@ -1024,7 +602,7 @@
                 </xsl:choose>
             </xsl:for-each>
             <!--</xsl:for-each>-->
-        </xsl:for-each-group>
+        <!--</xsl:for-each-group>-->
     </xsl:template>
     
     

+ 19 - 19
se.oxygen.xpr

@@ -2002,7 +2002,7 @@
                         <scenarioAssociation-array>
                             <scenarioAssociation>
                                 <field name="url">
-                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-226_000002/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.4993612____APT_trasy_row.dita</String>
+                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-226_000002_bak2/relations-226_000002_bak.ditamap</String>
                                 </field>
                                 <field name="scenarioIds">
                                     <list>
@@ -2032,7 +2032,7 @@
                             </scenarioAssociation>
                             <scenarioAssociation>
                                 <field name="url">
-                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-226_000002/relations-226_000002.ditamap</String>
+                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-1415_000001/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.3838635____APT_trasy_row.dita</String>
                                 </field>
                                 <field name="scenarioIds">
                                     <list>
@@ -2047,67 +2047,67 @@
                             </scenarioAssociation>
                             <scenarioAssociation>
                                 <field name="url">
-                                    <String>SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.complex.testROW.xsl</String>
+                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-1415_000001F/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.383864199____APT_trasy_row.dita</String>
                                 </field>
                                 <field name="scenarioIds">
                                     <list>
-                                        <String>system_cache__dita__x3A__svg1 TEST ROW</String>
+                                        <String>DITA Map PDF - based on XSL-FO - Copy - 3.3.3 SE sir</String>
                                     </list>
                                 </field>
                                 <field name="scenarioTypes">
                                     <list>
-                                        <String>XML</String>
+                                        <String>DITAMAP</String>
                                     </list>
                                 </field>
                             </scenarioAssociation>
                             <scenarioAssociation>
                                 <field name="url">
-                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-226_000001/relations-226_000001.ditamap</String>
+                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-1415_000001F/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.383864199____APT_trasy_rowinterested_row.463.xml.dita</String>
                                 </field>
                                 <field name="scenarioIds">
                                     <list>
-                                        <String>DITA Map PDF - based on XSL-FO - Copy - 3.3.3 SE sir</String>
+                                        <String>system_cache__dita__x3A__svg1data assign test 1415F</String>
                                     </list>
                                 </field>
                                 <field name="scenarioTypes">
                                     <list>
-                                        <String>DITAMAP</String>
+                                        <String>XML</String>
                                     </list>
                                 </field>
                             </scenarioAssociation>
                             <scenarioAssociation>
                                 <field name="url">
-                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-174_000001/relations-174_000001.ditamap</String>
+                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-226_000002/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.4993253____APT_trasy_rowinterested_row.463.xml.dita</String>
                                 </field>
                                 <field name="scenarioIds">
                                     <list>
-                                        <String>DITA Map PDF - based on XSL-FO - Copy - 3.3.3 SE sir</String>
+                                        <String>system_cache__dita__x3A__svg1data assign test 226 463 - Copy</String>
                                     </list>
                                 </field>
                                 <field name="scenarioTypes">
                                     <list>
-                                        <String>DITAMAP</String>
+                                        <String>XML</String>
                                     </list>
                                 </field>
                             </scenarioAssociation>
                             <scenarioAssociation>
                                 <field name="url">
-                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-226_000002/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.4993612____APT_trasy_rowinterested_row.463.xml.dita</String>
+                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-226_000002/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.4993612____APT_trasy_row.dita</String>
                                 </field>
                                 <field name="scenarioIds">
                                     <list>
-                                        <String>system_cache__dita__x3A__svg1data assign test 226 463 - Copy</String>
+                                        <String>DITA Map PDF - based on XSL-FO - Copy - 3.3.3 SE sir</String>
                                     </list>
                                 </field>
                                 <field name="scenarioTypes">
                                     <list>
-                                        <String>XML</String>
+                                        <String>DITAMAP</String>
                                     </list>
                                 </field>
                             </scenarioAssociation>
                             <scenarioAssociation>
                                 <field name="url">
-                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-226_000002/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.4993253____APT_trasy_rowinterested_row.463.xml.dita</String>
+                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-226_000002/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.4993612____APT_trasy_rowinterested_row.463.xml.dita</String>
                                 </field>
                                 <field name="scenarioIds">
                                     <list>
@@ -2122,7 +2122,7 @@
                             </scenarioAssociation>
                             <scenarioAssociation>
                                 <field name="url">
-                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-1415_000001/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.3838635____APT_trasy_row.dita</String>
+                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-226_000001/relations-226_000001.ditamap</String>
                                 </field>
                                 <field name="scenarioIds">
                                     <list>
@@ -2137,7 +2137,7 @@
                             </scenarioAssociation>
                             <scenarioAssociation>
                                 <field name="url">
-                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-1415_000001F/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.383864199____APT_trasy_row.dita</String>
+                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-174_000001/relations-174_000001.ditamap</String>
                                 </field>
                                 <field name="scenarioIds">
                                     <list>
@@ -2152,11 +2152,11 @@
                             </scenarioAssociation>
                             <scenarioAssociation>
                                 <field name="url">
-                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-1415_000001F/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.383864199____APT_trasy_rowinterested_row.463.xml.dita</String>
+                                    <String>SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.complex.testROW.xsl</String>
                                 </field>
                                 <field name="scenarioIds">
                                     <list>
-                                        <String>system_cache__dita__x3A__svg1data assign test 1415F</String>
+                                        <String>system_cache__dita__x3A__svg1 TEST ROW</String>
                                     </list>
                                 </field>
                                 <field name="scenarioTypes">