Versionen im Vergleich

Schlüssel

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

...

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><whitespace>
        <allowed>true</allowed>
   <maxSpace>50</maxSpace>
   <overflow>ALLOWTOCREATEBACKPAGE</overflow>
   <!--NOTALLOWED # standard value   <partNameSet>-->
   <!--ALLOWTOCREATEBACKPAGE # create whitespace-content on empty backpages in case of duplex-printing -->
   <partSet>
      <part>
         <name>Rechnung</name>
         <partName>RECHNUNG</partName><description>Rechnung</description>
      </part>
      <part>
         <partName>ZAHLSCHEIN<<name>Dunning</partName>name>
        </partNameSet>  <description>Dunning</description>
      </part>
   </whitespace>partSet>
</package>whitespace>
Info

Bei fehlerhafter XML-Syntax oder fehlerhaft definierten Objekt-Referenzen bricht der Import des Paketes im R-S mit Fehlermeldungen ab.

...