src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice.xml
author Juan Pablo Aroztegi <juanpablo.aroztegi@openbravo.com>
Wed, 03 Sep 2008 17:55:37 +0000
changeset 1605 8a0fe0193bef
parent 0 0247c26f10c6
child 6701 690d2af86089
permissions -rw-r--r--
Merge r2.5x intro trunk
<?xml version="1.0" encoding="UTF-8"?>
<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html 
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SL 
 * All portions are Copyright (C) 2001-2006 Openbravo SL 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->
<REPORT>
	<template file="CreateFrom_Invoice.html"/>
	<PARAMETER id="paramLanguage" name="language" default=""/>
	<PARAMETER id="paramDirectory" name="directory" default=""/>
	<PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>

	<PARAMETER id="paramKey" name="key" attribute="value"/>
	<PARAMETER id="paramTableId" name="tableId" attribute="value"/>
	<PARAMETER id="paramProcessId" name="processId" attribute="value"/>
	<PARAMETER id="paramDateInvoiced" name="dateInvoiced" attribute="value"/>
	<PARAMETER id="paramBPartnerLocation" name="bpartnerLocation" attribute="value"/>
	<PARAMETER id="paramPriceList" name="pricelist" attribute="value"/>
	<PARAMETER id="paramPath" name="path" attribute="value"/>
	<PARAMETER id="paramWindowId" name="windowId" attribute="value"/>
	<PARAMETER id="paramTabName" name="tabName" attribute="value"/>
	<PARAMETER id="paramBPartnerId" name="cBpartnerId" attribute="value"/>
  <PARAMETER id="keyMap" name="keyMap"/>
  <PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
  <PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
  <PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>


	<PARAMETER id="paramBPartnerDescription" name="BPartnerDescription" attribute="value"/>
	<PARAMETER id="paramPurchaseOrder" name="PurchaseOrder"/>
	<PARAMETER id="paramShipment" name="Shipment"/>
	<PARAMETER id="paramType" name="pType" attribute="value"/>
	<SUBREPORT id="reportPurchaseOrder" name="reportPurchaseOrder" report="org/openbravo/erpCommon/reference/List">
		<ARGUMENT name="parameterListSelected" withId="paramPurchaseOrder"/>
	</SUBREPORT>
	<SUBREPORT id="reportShipmentReciept" name="reportShipmentReciept" report="org/openbravo/erpCommon/reference/List">
		<ARGUMENT name="parameterListSelected" withId="paramShipment"/>
	</SUBREPORT>
	<PARAMETER id="param2" name="param2" default="2"/>
	<structure name="structure1">
    <FIELD id="fieldRownum1">rownum</FIELD>
    <FUNCTION id="funcEvenOddRowxx" name="MODULE" arg1="fieldRownum1" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>

    <FIELD id="funcEvenOddRowxx" attribute="id" replace="xx">rownum</FIELD>

    <FIELD id="CheckNumxx" attribute="id" replace="xx">rownum</FIELD>
    <FIELD id="CheckNumxx" attribute="value">cOrderlineId</FIELD>

		<FIELD id="fieldQuantity" format="euroRelation">qty</FIELD>
		<FIELD id="fieldCuomid">uomsymbol</FIELD>
		<FIELD id="fieldMproductid">relationName</FIELD>
		<FIELD id="fieldPurchaseorder">line</FIELD>
		<FIELD id="fieldNameOrder">nameorder</FIELD>
		<FIELD id="fieldNameShipment">nameshipment</FIELD>
		<SECTION id="sectionDetail"/>
	</structure>
</REPORT>