Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...


Die Paket-Beschreibungs-Datei rs_package_configuration.xml wird mit einem geeigneten XML-Editor durch den Designer des Transaktions-Formulars manuell erstellt. Beispiel einer Paket-Beschreibungs-Datei:

Scroll Pagebreak

Codeblock
languagehtml/xml
<?pte APIVersion="0.0.02"?>
<package type="transaction" name="V-0002" description="fly-ticket invoices 01.01.2011" version="1.1">
 <configurationSet> 
   <runtimeEnvironments>   
     <runtimeEnvironment platform="Windows">     
         <program name="ReportWriter" version="5.6.*"></program>     
         <cmdLine>-alp ${home}/my_special_logos</cmdLine>     
         <programResult>                
             <log>*.log,*.docref</log>                
             <preview>*.pdf</preview>                
             <result type="ReturnCode">0</result>     
         </programResult>   
     </runtimeEnvironment>   
     <runtimeEnvironment platform="Linux">     
         <program name="ReportWriter" version="5.6.1014"></program>     
         <cmdLine>-alp ${home}/my_special_logos</cmdLine>     
         <programResult>                
             <log>process.log</log>                
             <preview>*.pdf</preview>                
             <result type="ReturnCode">0</result>     
         </programResult>   
     </runtimeEnvironment> 
   </runtimeEnvironments> 
   <transactionForm>${home}/forms/M-0044-V-0002.xdp</transactionForm>
   <transactionFormMaterials>
     <material width="210mm" height=297mm" thickness="0.5mm" weight="1.2g" name="A4LOGO" description="Einzelblatt weiss mit Logo"/>
     <material width="210mm" height=297mm" thickness="0.8mm" weight="3.6g" name="ZSPAPER" description="Einzelblatt Zahlschein u. Perforation"/>
   </transactionFormMaterials> 
   <transactionFormPageBackgrounds>
       <transactionFormPageBackground pageName="ErsteSeite">${home}/backgrounds/firstpage.gif</transactionFormPageBackground>
       <transactionFormPageBackground pageName="Folgeseiten">${home}/backgrounds/nextpage.gif</transactionFormPageBackground>
   </transactionFormPageBackgrounds> 
   <fontDef>
       <location>${home}/etc/fonts.ini</location>
   </fontDef>
   <testDataSet>   
     <testData>     
       <name>Fly-Testabrechnung</name>     
       <description>5 Dokumente in allen Varianten</description>     
       <value>${home}/testdata/fly.xml</value>   
     </testData> 
   </testDataSet> 
   <inputVariableSet>   
     <inputVariable>     
       <name>PARTNER_ID</name>     
       <description>System-ID des Werbe-Partners.</description>   
       <values>
           <value>
              <name>RYANA</name>
              <description>ID for Airline Ryan Air</description>
           </value>
           <value>
              <name>LH</name>
              <description>ID for Lufthansa</description>
           </value>
           <value>
              <name>FLYDBA</name>
              <description>ID for DBA</description>
           </value>
       </values> 
     </inputVariable>   
     <inputVariable>     
       <name>NL_KEY</name>     
       <description>System-ID der Länderniederlassung. Werte: '01 - Deutschland' '02 - Österreich'</description>   
     </inputVariable>   
     <inputVariable>     
       <name>SUM_VALUE</name>     
       <description>Rechnungs-Gesamtsumme</description>   
     </inputVariable> 
   </inputVariableSet>
 </configurationSet>
 <supplement>
    <logicalSupplement>
      <allowed>true</allowed>
      <useOnlyTransactionFormPaper>true</useOnlyTransactionFormPaper>
    </logicalSupplement>
    <physicalSupplement>
      <allowed>true</allowed>
    </physicalSupplement>
 </supplement>
 <shipment>
    <postage>
      <optionalSupplementCanExceedPostage>true</optionalSupplementCanExceedPostage>
    </postage>
 </shipment>
 <whitespace>
   <allowed>true</allowed>
   <maxSpace>50</maxSpace>
   <overflow>ALLOWTOCREATEBACKPAGE</overflow>
   <!--NOTALLOWED # standard value -->
   <!--ALLOWTOCREATEBACKPAGE # create whitespace-content on empty backpages in case of duplex-printing -->
   <partSet>
      <part>
         <name>Rechnung</name>
         <description>Rechnung</description>
      </part>
      <part>
         <name>Dunning</name>
         <description>Dunning</description>
      </part>
   </partSet>
 </whitespace>
</package>

...

Download einer Muster-Paket-Beschreibungs-Datei: rs_package_configuration.xml