Commit 5cec70ce authored by ppatro's avatar ppatro

changed by sankara on 12/12/13 update wagenerationprc source given by pragyan...

changed by sankara on 12/12/13 update wagenerationprc source given by pragyan and xdl,jr.xml,sql given by sabitha


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93998 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7c9a82a4
...@@ -4,13 +4,17 @@ ...@@ -4,13 +4,17 @@
<property name="ireport.x" value="469"/> <property name="ireport.x" value="469"/>
<property name="ireport.y" value="0"/> <property name="ireport.y" value="0"/>
<parameter name="as_ptcn" class="java.lang.String"/> <parameter name="as_ptcn" class="java.lang.String"/>
<parameter name="as_sordno" class="java.lang.String"/>
<queryString> <queryString>
<![CDATA[SELECT A.ptcn,A.tracking_no,A.CARTON_NO,sf_identity as menifest, c.sord_no,b.shipment_id,d.tran_name <![CDATA[SELECT A.ptcn,A.tracking_no,A.CARTON_NO,sf_identity as menifest, c.sord_no,b.shipment_id,d.tran_name
From Carton_master a,Ship_docs b, Despatch c,Transporter d From Carton_master a,Ship_docs b, Despatch c,Transporter d
Where a.ptcn = b.ptcn Where a.ptcn = b.ptcn
and b.shipment_id = c.shipment_id and b.shipment_id = c.shipment_id
and b.tran_code = d.tran_code and b.tran_code = d.tran_code
and a.ptcn = $P{as_ptcn} and (instr((select var_value from disparm where prd_code='999999' and var_name = 'TRACKING_DETAILS_REF_SER'),a.ref_ser ) > 0)
AND (CASE WHEN nvl(TRIM('$P!{as_ptcn}'),'null') = 'null' AND nvl(TRIM('$P!{as_sordno}'),'null') = 'null' THEN '0' ELSE CASE WHEN nvl(TRIM('$P!{as_ptcn}'),'null') = 'null' THEN '1' ELSE a.PTCN END END)
= (CASE WHEN nvl(TRIM('$P!{as_ptcn}'),'null') = 'null' AND nvl(TRIM('$P!{as_sordno}'),'null') = 'null' THEN '1' ELSE CASE WHEN nvl(TRIM('$P!{as_ptcn}'),'null') = 'null' THEN '1' ELSE '$P!{as_ptcn}' END END)
AND (CASE WHEN nvl(trim('$P!{as_sordno}'),'null') ='null' THEN '1' ELSE c.sord_no END) = (CASE WHEN nvl(trim('$P!{as_sordno}'),'null') ='null' THEN '1' ELSE '$P!{as_sordno}' END)
order by A.ptcn]]> order by A.ptcn]]>
</queryString> </queryString>
<field name="PTCN" class="java.lang.String"/> <field name="PTCN" class="java.lang.String"/>
...@@ -115,7 +119,7 @@ order by A.ptcn]]> ...@@ -115,7 +119,7 @@ order by A.ptcn]]>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="10" isBold="true"/> <font size="10" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Menifest #]]></text> <text><![CDATA[Manifest #]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="67" y="0" width="1" height="30"/> <reportElement x="67" y="0" width="1" height="30"/>
......
DELETE FROM DISPARM WHERE VAR_NAME IN('TRACKING_DETAILS_REF_SER') AND PRD_CODE ='999999';
INSERT INTO DISPARM
VALUES('999999','TRACKING_DETAILS_REF_SER','S','M-PACK,P-PICK,A-PICK','Rer ser defined for TRACKING DETAILS BY PTCN report',NULL,'17-AUG-2013','ANAND','ANAND');
COMMIT;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment