Skip to content
Snippets Groups Projects
Commit 430e8322 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

offer fixes

parent 62f221ba
No related branches found
No related tags found
No related merge requests found
import("system.result");
result.string("0")
\ No newline at end of file
import("system.vars");
import("system.db");
import("system.result");
import("Sql_lib");
var cond = SqlCondition.begin()
// filter privat company if it is not needed
if (!vars.exists("$param.WithPrivat_param") || vars.get("$param.WithPrivat_param") != "1")
cond.andPrepare("ORGANISATION.ORGANISATIONID", "0", "# <> ?");
//TODO: use a preparedCondition when available #1030812 #1034026
result.string(db.translateCondition(cond.build("1 = 1")));
\ No newline at end of file
import("system.vars");
import("Offer_lib");
OfferUtils.openOfferReport(vars.get("$field.OFFERID"));
\ No newline at end of file
if(vars.get("$field.OFFERID"))
OfferUtils.openOfferReport(vars.get("$field.OFFERID"));
\ No newline at end of file
......@@ -276,7 +276,6 @@ OfferUtils.openOfferReport = function (pOfferID)
"OFFERITEM_UNITTEXT" //17
])
.add(itemData));
offerReport.openReport();
}
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -2,7 +2,7 @@
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report1" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="e7a916c8-3f9a-497d-84bb-3909b15271ea">
<property name="ireport.zoom" value="2.1435888100000016"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="94"/>
<property name="ireport.y" value="0"/>
<parameter name="myAddr" class="java.lang.String"/>
<parameter name="Pos" class="java.lang.String"/>
<parameter name="Articledescription" class="java.lang.String"/>
......@@ -24,7 +24,7 @@
<parameter name="OfferDeliveryTerm" class="java.lang.String"/>
<parameter name="responsible" class="java.lang.String"/>
<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA["C:\\entwicklungszweige\\0.0\\project\\xRM-Basic2019\\report\\Offer_report\\"]]></defaultValueExpression>
<defaultValueExpression><![CDATA["C:\\entwicklungszweige\\0.0\\project\\xRM-Basic5.1\\report\\Offer_report\\"]]></defaultValueExpression>
</parameter>
<parameter name="adito.datasource.subdata" class="java.lang.Object"/>
<parameter name="SUMITEMSUM" class="java.lang.Double"/>
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment