Add json metadata for proof of concept
This commit is contained in:
parent
dc04d43542
commit
34495a0615
|
@ -165,7 +165,9 @@
|
|||
<text><![CDATA[Total (without taxes)]]></text>
|
||||
</staticText>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement key="textField" style="Total_Gray" x="400" y="17" width="81" height="21" backcolor="#FFFFFF" uuid="f0d11fa4-b24c-42f8-aa61-65d52befba59"/>
|
||||
<reportElement key="textField" style="Total_Gray" x="400" y="17" width="81" height="21" backcolor="#FFFFFF" uuid="f0d11fa4-b24c-42f8-aa61-65d52befba59">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="totalvalventa"/>
|
||||
</reportElement>
|
||||
<box leftPadding="2" rightPadding="2">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
|
@ -250,7 +252,9 @@
|
|||
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement key="textField-1" style="default" stretchType="RelativeToTallestObject" x="0" y="0" width="72" height="21" forecolor="#000000" uuid="14915d05-21be-4c9c-9494-bd120203fa3b"/>
|
||||
<reportElement key="textField-1" style="default" stretchType="RelativeToTallestObject" x="0" y="0" width="72" height="21" forecolor="#000000" uuid="14915d05-21be-4c9c-9494-bd120203fa3b">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="REFERENCE"/>
|
||||
</reportElement>
|
||||
<box leftPadding="2" rightPadding="2">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
|
@ -263,7 +267,9 @@
|
|||
<textFieldExpression><![CDATA[$F{REFERENCE}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement key="textField-2" style="default" stretchType="RelativeToTallestObject" x="400" y="0" width="81" height="21" forecolor="#000000" uuid="9615b7ce-f5f2-4fd7-b213-215d1149e1f3"/>
|
||||
<reportElement key="textField-2" style="default" stretchType="RelativeToTallestObject" x="400" y="0" width="81" height="21" forecolor="#000000" uuid="9615b7ce-f5f2-4fd7-b213-215d1149e1f3">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="vventalinea"/>
|
||||
</reportElement>
|
||||
<box leftPadding="2" rightPadding="2">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
|
@ -276,7 +282,9 @@
|
|||
<textFieldExpression><![CDATA[($F{LINENETAMT}!=null)?$P{NUMBERFORMAT}.format($F{LINENETAMT}):new String(" ")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement key="textField-3" style="default" stretchType="RelativeToTallestObject" x="320" y="0" width="79" height="21" forecolor="#000000" uuid="e3d1b64a-712e-4676-880a-71e1831faaec"/>
|
||||
<reportElement key="textField-3" style="default" stretchType="RelativeToTallestObject" x="320" y="0" width="79" height="21" forecolor="#000000" uuid="e3d1b64a-712e-4676-880a-71e1831faaec">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="precio"/>
|
||||
</reportElement>
|
||||
<box leftPadding="2" rightPadding="2">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
|
@ -289,7 +297,9 @@
|
|||
<textFieldExpression><![CDATA[($F{PRICEACTUAL}!=null)?$P{NUMBERFORMAT}.format($F{PRICEACTUAL}):new String(" ")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement key="textField-4" style="default" stretchType="RelativeToTallestObject" x="262" y="0" width="58" height="21" forecolor="#000000" uuid="6cff317d-cc02-498f-8b7c-c354c2f3aa6e"/>
|
||||
<reportElement key="textField-4" style="default" stretchType="RelativeToTallestObject" x="262" y="0" width="58" height="21" forecolor="#000000" uuid="6cff317d-cc02-498f-8b7c-c354c2f3aa6e">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="cantidad"/>
|
||||
</reportElement>
|
||||
<box leftPadding="2" rightPadding="2">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
|
@ -302,7 +312,9 @@
|
|||
<textFieldExpression><![CDATA[($F{QTYINVOICED}!=null)?$P{NUMBERFORMAT}.format($F{QTYINVOICED}):new String(" ")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement key="textField-5" style="default" stretchType="RelativeToTallestObject" x="212" y="0" width="50" height="21" forecolor="#000000" uuid="347f68f2-4371-49ec-abb8-9c77288a4d66"/>
|
||||
<reportElement key="textField-5" style="default" stretchType="RelativeToTallestObject" x="212" y="0" width="50" height="21" forecolor="#000000" uuid="347f68f2-4371-49ec-abb8-9c77288a4d66">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="UOMNAME"/>
|
||||
</reportElement>
|
||||
<box leftPadding="2" rightPadding="2">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
|
@ -315,7 +327,9 @@
|
|||
<textFieldExpression><![CDATA[$F{UOMNAME}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement key="textField-6" style="default" stretchType="RelativeToTallestObject" x="72" y="0" width="140" height="21" isPrintWhenDetailOverflows="true" forecolor="#000000" uuid="1d556f94-fad4-4f31-92d1-967f6068f0cc"/>
|
||||
<reportElement key="textField-6" style="default" stretchType="RelativeToTallestObject" x="72" y="0" width="140" height="21" isPrintWhenDetailOverflows="true" forecolor="#000000" uuid="1d556f94-fad4-4f31-92d1-967f6068f0cc">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="NAME_PRODUCT"/>
|
||||
</reportElement>
|
||||
<box leftPadding="2" rightPadding="2">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
<band height="40">
|
||||
<printWhenExpression><![CDATA[$P{ISTAXINCLUDED}.equals("N")]]></printWhenExpression>
|
||||
<textField evaluationTime="Band" pattern="" isBlankWhenNull="true">
|
||||
<reportElement key="textField" mode="Opaque" x="399" y="18" width="82" height="21" backcolor="#FFFFFF" uuid="fd23e606-2e0c-4038-8f2d-92f447f2308b"/>
|
||||
<reportElement key="textField" mode="Opaque" x="399" y="18" width="82" height="21" backcolor="#FFFFFF" uuid="fd23e606-2e0c-4038-8f2d-92f447f2308b">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="totalineasimpuestos"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="0.0" lineColor="#000000"/>
|
||||
|
@ -104,7 +106,9 @@
|
|||
<detail>
|
||||
<band height="25" splitType="Stretch">
|
||||
<textField isBlankWhenNull="false">
|
||||
<reportElement key="textField" style="default" x="0" y="2" width="400" height="21" forecolor="#000000" uuid="55ccdcc7-0ca7-46f2-9589-1e22551f5f33"/>
|
||||
<reportElement key="textField" style="default" x="0" y="2" width="400" height="21" forecolor="#000000" uuid="55ccdcc7-0ca7-46f2-9589-1e22551f5f33">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="nombreimpuesto"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="0.0" lineColor="#000000"/>
|
||||
|
@ -116,7 +120,9 @@
|
|||
<textFieldExpression><![CDATA[" " + $F{NAME}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement key="textField" style="default" x="400" y="2" width="82" height="21" forecolor="#000000" uuid="90ddfa19-f863-4262-9976-c6cf107357fc"/>
|
||||
<reportElement key="textField" style="default" x="400" y="2" width="82" height="21" forecolor="#000000" uuid="90ddfa19-f863-4262-9976-c6cf107357fc">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="impuesto"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="0.0" lineColor="#000000"/>
|
||||
|
@ -129,6 +135,7 @@
|
|||
</textField>
|
||||
<textField>
|
||||
<reportElement x="310" y="2" width="82" height="21" uuid="8525c891-f941-46b2-b17a-e0961d272116">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="baseimpuesto"/>
|
||||
<printWhenExpression><![CDATA[$P{ISTAXINCLUDED}.equals("Y")]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right">
|
||||
|
|
|
@ -201,7 +201,9 @@ AND AD_ORG.ad_org_id = (SELECT o.AD_ORG_ID
|
|||
<textFieldExpression><![CDATA[(($F{STATUS}.compareTo("VO")==0) ? "VOIDED" : " ")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="false">
|
||||
<reportElement key="textField-14" x="1" y="137" width="234" height="103" isPrintWhenDetailOverflows="true" uuid="3a7bc047-80b7-44a6-b7d9-51da1c8a282f"/>
|
||||
<reportElement key="textField-14" x="1" y="137" width="234" height="103" isPrintWhenDetailOverflows="true" uuid="3a7bc047-80b7-44a6-b7d9-51da1c8a282f">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="NAME"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Top">
|
||||
<font fontName="DejaVu Sans" size="9" isBold="true"/>
|
||||
</textElement>
|
||||
|
@ -209,6 +211,7 @@ AND AD_ORG.ad_org_id = (SELECT o.AD_ORG_ID
|
|||
</textField>
|
||||
<textField isBlankWhenNull="false">
|
||||
<reportElement key="textField-15" style="Report_Footer" x="165" y="2" width="257" height="28" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true" uuid="60beddfb-c2bd-4ce7-9cb7-c7da5d2e9904">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="LEGAL_NAME"/>
|
||||
<printWhenExpression><![CDATA[new Boolean($F{SHOWCOMPANYDATA}.equalsIgnoreCase("Y"))]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Top">
|
||||
|
@ -267,7 +270,9 @@ AND AD_ORG.ad_org_id = (SELECT o.AD_ORG_ID
|
|||
</graphicElement>
|
||||
</line>
|
||||
<textField isBlankWhenNull="false">
|
||||
<reportElement key="textField-8" x="290" y="154" width="72" height="20" uuid="f391a639-3b9d-4cc5-bdac-d5fe86eb24b6"/>
|
||||
<reportElement key="textField-8" x="290" y="154" width="72" height="20" uuid="f391a639-3b9d-4cc5-bdac-d5fe86eb24b6">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="DOCUMENTNO"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
|
@ -311,7 +316,9 @@ AND AD_ORG.ad_org_id = (SELECT o.AD_ORG_ID
|
|||
</graphicElement>
|
||||
</line>
|
||||
<textField isBlankWhenNull="false">
|
||||
<reportElement key="textField-24" x="365" y="154" width="57" height="20" uuid="76fff310-3a18-48d2-8b7f-0c535f68c8c8"/>
|
||||
<reportElement key="textField-24" x="365" y="154" width="57" height="20" uuid="76fff310-3a18-48d2-8b7f-0c535f68c8c8">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="CURRENCY_CODE"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
|
@ -336,7 +343,9 @@ AND AD_ORG.ad_org_id = (SELECT o.AD_ORG_ID
|
|||
</graphicElement>
|
||||
</line>
|
||||
<textField isBlankWhenNull="false">
|
||||
<reportElement key="textField" x="425" y="154" width="57" height="20" uuid="b035905d-ec1b-4a59-9607-bf1424cd5fcf"/>
|
||||
<reportElement key="textField" x="425" y="154" width="57" height="20" uuid="b035905d-ec1b-4a59-9607-bf1424cd5fcf">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="fecha"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
|
@ -368,6 +377,7 @@ AND AD_ORG.ad_org_id = (SELECT o.AD_ORG_ID
|
|||
</staticText>
|
||||
<textField isBlankWhenNull="false">
|
||||
<reportElement key="textField-15" style="Report_Footer" x="165" y="31" width="214" height="65" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true" uuid="d10fc70f-f842-4a68-ad83-461aaa5e0873">
|
||||
<property name="net.sf.jasperreports.export.json.path" value="direccion"/>
|
||||
<printWhenExpression><![CDATA[new Boolean($F{SHOWCOMPANYDATA}.equalsIgnoreCase("Y"))]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Top">
|
||||
|
|
Loading…
Reference in a new issue