Commit b0b0015a authored by arawankar's avatar arawankar

1.Changes made to validate employee code from of header.

On add new,If employee code from of header has been changed after addition of detail row,then system should show an error. 
EmpLvePrkBalTrfDefault.java
EmpLvePrkBalTrfIC.java
emp_lveprkbal_trf22.xml
AD89SUN091.sql
d_emp_lveprkbal_trf22.srd


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@192737 ce508802-f39f-4f6c-b175-0d175dae99d5
parent de0c9d16
...@@ -591,7 +591,7 @@ public class EmpLvePrkBalTrfIC extends ValidatorEJB implements EmpLvePrkBalTrfIC ...@@ -591,7 +591,7 @@ public class EmpLvePrkBalTrfIC extends ValidatorEJB implements EmpLvePrkBalTrfIC
break; break;
//Modified by Anjali R. on[20/10/2018][Start] //Modified by Anjali R. on[20/10/2018][Start]
case 2 : /*case 2 :
parentNodeList = dom.getElementsByTagName("Detail2"); parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0); parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes(); childNodeList = parentNode.getChildNodes();
...@@ -644,7 +644,7 @@ public class EmpLvePrkBalTrfIC extends ValidatorEJB implements EmpLvePrkBalTrfIC ...@@ -644,7 +644,7 @@ public class EmpLvePrkBalTrfIC extends ValidatorEJB implements EmpLvePrkBalTrfIC
valueXmlString.append("</Detail1>"); valueXmlString.append("</Detail1>");
System.out.println("itm_default--["+valueXmlString+"]"); System.out.println("itm_default--["+valueXmlString+"]");
} }
break; break;*/
//Modified by Anjali R. on[20/10/2018][End] //Modified by Anjali R. on[20/10/2018][End]
} }
valueXmlString.append("</Root>"); valueXmlString.append("</Root>");
...@@ -802,6 +802,11 @@ public class EmpLvePrkBalTrfIC extends ValidatorEJB implements EmpLvePrkBalTrfIC ...@@ -802,6 +802,11 @@ public class EmpLvePrkBalTrfIC extends ValidatorEJB implements EmpLvePrkBalTrfIC
ITMDBAccessEJB itmDBAccess = null; ITMDBAccessEJB itmDBAccess = null;
Connection conn = null; Connection conn = null;
//Modified by Anjali R. on[05/11/2018][Start]
ArrayList<String> empFrList = null;
//Modified by Anjali R. on[05/11/2018][End]
try try
{ {
conn = getConnection(); conn = getConnection();
...@@ -811,6 +816,11 @@ public class EmpLvePrkBalTrfIC extends ValidatorEJB implements EmpLvePrkBalTrfIC ...@@ -811,6 +816,11 @@ public class EmpLvePrkBalTrfIC extends ValidatorEJB implements EmpLvePrkBalTrfIC
//InitialContext ctx = new InitialContext(appConnect.getProperty()); //InitialContext ctx = new InitialContext(appConnect.getProperty());
//itmDBAccess = (ITMDBAccessLocal)ctx.lookup("ibase/ITMDBAccessEJB/local"); //itmDBAccess = (ITMDBAccessLocal)ctx.lookup("ibase/ITMDBAccessEJB/local");
itmDBAccess = new ITMDBAccessEJB(); itmDBAccess = new ITMDBAccessEJB();
//Modified by Anjali R. on[05/11/2018][Start]
empFrList = new ArrayList<>();
//Modified by Anjali R. on[05/11/2018][End]
System.out.println("objContext ..:: ["+objContext+"]"); System.out.println("objContext ..:: ["+objContext+"]");
if( objContext != null && objContext.trim().length() > 0 ) if( objContext != null && objContext.trim().length() > 0 )
{ {
...@@ -899,6 +909,27 @@ public class EmpLvePrkBalTrfIC extends ValidatorEJB implements EmpLvePrkBalTrfIC ...@@ -899,6 +909,27 @@ public class EmpLvePrkBalTrfIC extends ValidatorEJB implements EmpLvePrkBalTrfIC
} }
else else
{ {
//Modified by Anjali R. on [05/11/2018][Validate employee code from][Start]
if("A".equalsIgnoreCase( editFlag ))
{
String tempEmpCodeFr = "";
empFrList = getEmpFromList(dom2, "2");
int listSize = empFrList.size();
System.out.println("Result of --["+empFrList+"]listSize--["+listSize+"]");
for(int i = 0;i < listSize ; i++)
{
tempEmpCodeFr = checkNull(empFrList.get(i));
System.out.println("EMployee from --["+tempEmpCodeFr+"]");
if(!tempEmpCodeFr.equalsIgnoreCase(empCodeFrom))
{
//Header and detail employee code from mismatch
retString = itmDBAccess.getErrorString( "", "VTELPTRF29", userId, "", conn );
return retString;
}
}
}
//Modified by Anjali R. on [05/11/2018][Validate employee code from][End]
//Modified by Anjali R. on[07/09/2018][Start] //Modified by Anjali R. on[07/09/2018][Start]
count = 0; count = 0;
//sql = " SELECT COUNT(*) AS EMP_CNT FROM EMPLOYEE WHERE EMP_CODE = ? "; //sql = " SELECT COUNT(*) AS EMP_CNT FROM EMPLOYEE WHERE EMP_CODE = ? ";
...@@ -1649,4 +1680,50 @@ public class EmpLvePrkBalTrfIC extends ValidatorEJB implements EmpLvePrkBalTrfIC ...@@ -1649,4 +1680,50 @@ public class EmpLvePrkBalTrfIC extends ValidatorEJB implements EmpLvePrkBalTrfIC
return delRowCount; return delRowCount;
} }
//Method added by Anjali R. on [05/11/2018][To get detail employee code from]
private ArrayList<String> getEmpFromList (Document dom ,String objContext) throws ITMException
{
ArrayList<String> empFromList = null;
NodeList empFrNodeList = null;
int nodeLength = 0;
Node parentNode = null;
String value = "";
int i = 0;
E12GenericUtility genericUtility = null;
try
{
genericUtility = new E12GenericUtility();
empFromList = new ArrayList<>();
empFrNodeList = dom.getElementsByTagName("Detail"+objContext);
nodeLength = empFrNodeList.getLength();
System.out.println("nodeLength--["+nodeLength+"]");
for(i = 0;i < nodeLength ; i++)
{
parentNode = empFrNodeList.item(i);
value = checkNull(genericUtility.getColumnValueFromNode("emp_code__fr", parentNode));
System.out.println("value--["+value+"]");
empFromList.add(value);
}
}
catch(Exception e)
{
if(genericUtility != null)
{
genericUtility = null;
}
}
finally
{
if(genericUtility != null)
{
genericUtility = null;
}
}
System.out.println("Returning from empFromList---["+empFromList+"]");
return empFromList;
}
} }
...@@ -203,6 +203,11 @@ public class EmpLvePrkBalTrfDefault extends ActionHandlerEJB implements EmpLvePr ...@@ -203,6 +203,11 @@ public class EmpLvePrkBalTrfDefault extends ActionHandlerEJB implements EmpLvePr
//valueXmlBuff.append("<exp_date>").append("<![CDATA[").append( endDate == null ? "" : sdf.format( endDate ) ).append("]]>").append("</exp_date>\r\n"); //valueXmlBuff.append("<exp_date>").append("<![CDATA[").append( endDate == null ? "" : sdf.format( endDate ) ).append("]]>").append("</exp_date>\r\n");
valueXmlBuff.append("<exp_date>").append("<![CDATA[").append( expDate == null ? "" : sdf.format( expDate ) ).append("]]>").append("</exp_date>\r\n"); valueXmlBuff.append("<exp_date>").append("<![CDATA[").append( expDate == null ? "" : sdf.format( expDate ) ).append("]]>").append("</exp_date>\r\n");
//Modified by Anjali R. on[20/09/2018][End] //Modified by Anjali R. on[20/09/2018][End]
//Modified by Anjali R. on [05/11/2018][To set header employee code in detail from on defualt action][Start]
valueXmlBuff.append("<emp_code__fr>").append("<![CDATA[").append( empCodeFrom == null ? "" : empCodeFrom).append("]]>").append("</emp_code__fr>\r\n");
//Modified by Anjali R. on [05/11/2018][To set header employee code in detail from on defualt action][End]
valueXmlBuff.append("<balance>").append("<![CDATA[").append( balance ).append("]]>").append("</balance>\r\n"); valueXmlBuff.append("<balance>").append("<![CDATA[").append( balance ).append("]]>").append("</balance>\r\n");
valueXmlBuff.append("<acct_prd>").append("<![CDATA[").append( acctPrd ).append("]]>").append("</acct_prd>\r\n"); valueXmlBuff.append("<acct_prd>").append("<![CDATA[").append( acctPrd ).append("]]>").append("</acct_prd>\r\n");
valueXmlBuff.append("<lve_unit>").append("<![CDATA[").append( lveUnit ).append("]]>").append("</lve_unit>\r\n"); valueXmlBuff.append("<lve_unit>").append("<![CDATA[").append( lveUnit ).append("]]>").append("</lve_unit>\r\n");
...@@ -278,6 +283,9 @@ public class EmpLvePrkBalTrfDefault extends ActionHandlerEJB implements EmpLvePr ...@@ -278,6 +283,9 @@ public class EmpLvePrkBalTrfDefault extends ActionHandlerEJB implements EmpLvePr
valueXmlBuff.append("<acct_prd>").append("<![CDATA[").append( acctPrd ).append("]]>").append("</acct_prd>\r\n"); valueXmlBuff.append("<acct_prd>").append("<![CDATA[").append( acctPrd ).append("]]>").append("</acct_prd>\r\n");
valueXmlBuff.append("<lve_unit>").append("<![CDATA[").append( lveUnit ).append("]]>").append("</lve_unit>\r\n"); valueXmlBuff.append("<lve_unit>").append("<![CDATA[").append( lveUnit ).append("]]>").append("</lve_unit>\r\n");
valueXmlBuff.append("<encashable>").append("<![CDATA[").append( encashable ).append("]]>").append("</encashable>\r\n"); valueXmlBuff.append("<encashable>").append("<![CDATA[").append( encashable ).append("]]>").append("</encashable>\r\n");
//Modified by Anjali R. on [05/11/2018][To set header employee code in detail from on defualt action][Start]
valueXmlBuff.append("<emp_code__fr>").append("<![CDATA[").append( empCodeFrom == null ? "" : empCodeFrom).append("]]>").append("</emp_code__fr>\r\n");
//Modified by Anjali R. on [05/11/2018][To set header employee code in detail from on defualt action][End]
valueXmlBuff.append("</Detail>"); valueXmlBuff.append("</Detail>");
} }
//Modified by Anjali R. on [24/09/2018][If no records exist][Start] //Modified by Anjali R. on [24/09/2018][If no records exist][Start]
......
...@@ -2348,3 +2348,14 @@ end; ...@@ -2348,3 +2348,14 @@ end;
/ /
-------------------------------ADDED BY ANJALI R. ON[07/09/2018][END]------------------------------------------ -------------------------------ADDED BY ANJALI R. ON[07/09/2018][END]------------------------------------------
-------------------------------ADDED BY ANJALI R. ON[06/11/2018][Start]------------------------------------------
SET DEFINE OFF;
INSERT INTO MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION)
VALUES ('VTELPTRF29','Employee code From mismatch','Employee code from of header not matched with detail.','E',NULL,NULL,NULL,NULL,SYSDATE,'BASE','BASE',NULL,NULL);
COMMIT;
-------------------------------ADDED BY ANJALI R. ON[06/11/2018][END]------------------------------------------
\ No newline at end of file
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>183</height> <height>226</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
...@@ -142,7 +142,13 @@ ...@@ -142,7 +142,13 @@
<name>lve_unit</name> <name>lve_unit</name>
<dbname>emp_lveprkbal_trfdet.lve_unit</dbname> <dbname>emp_lveprkbal_trfdet.lve_unit</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;emp_lveprkbal_trfdet&quot; ) TABLE(NAME=&quot;emp_lveprkbal_trfhdr&quot; ) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.tran_id&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.line_no&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.balance_code&quot;) COMPUTE(NAME=&quot;FN_GET_LVEPRK_DESCR(EMP_LVEPRKBAL_TRFHDR.TRAN_TYPE , EMP_LVEPRKBAL_TRFDET.BALANCE_CODE) balance_code_descr&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.from_date&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.to_date&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.exp_date&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.balance&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.adj_date_fr&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.adj_date_to&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.tran_id__ref&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.encashable&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.acct_prd&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.lve_unit&quot;) JOIN (LEFT=&quot;emp_lveprkbal_trfdet.tran_id&quot; OP =&quot;=&quot;RIGHT=&quot;emp_lveprkbal_trfhdr.tran_id&quot; )WHERE( EXP1 =&quot;EMP_LVEPRKBAL_TRFDET.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;EMP_LVEPRKBAL_TRFDET.LINE_NO&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve> <table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__fr</name>
<dbname>emp_lveprkbal_trfhdr.emp_code__fr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;emp_lveprkbal_trfdet&quot; ) TABLE(NAME=&quot;emp_lveprkbal_trfhdr&quot; ) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.tran_id&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.line_no&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.balance_code&quot;) COMPUTE(NAME=&quot;FN_GET_LVEPRK_DESCR(EMP_LVEPRKBAL_TRFHDR.TRAN_TYPE , EMP_LVEPRKBAL_TRFDET.BALANCE_CODE) balance_code_descr&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.from_date&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.to_date&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.exp_date&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.balance&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.adj_date_fr&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.adj_date_to&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.tran_id__ref&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.encashable&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.acct_prd&quot;) COLUMN(NAME=&quot;emp_lveprkbal_trfdet.lve_unit&quot;) COMPUTE(NAME=&quot;emp_code__fr&quot;) JOIN (LEFT=&quot;emp_lveprkbal_trfdet.tran_id&quot; OP =&quot;=&quot;RIGHT=&quot;emp_lveprkbal_trfhdr.tran_id&quot; )WHERE( EXP1 =&quot;EMP_LVEPRKBAL_TRFDET.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;EMP_LVEPRKBAL_TRFDET.LINE_NO&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve>
<update>emp_lveprkbal_trfdet</update> <update>emp_lveprkbal_trfdet</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -721,34 +727,6 @@ ...@@ -721,34 +727,6 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Adjustment Date To :</text>
<border>0</border>
<color>33554432</color>
<x>326</x>
<y>139</y>
<height>16</height>
<width>123</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>adj_date_to_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
...@@ -879,25 +857,27 @@ ...@@ -879,25 +857,27 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>10</id> <id>13</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>455</x> <x>168</x>
<y>141</y> <y>116</y>
<height>15</height> <height>16</height>
<width>105</width> <width>105</width>
<format>[shortdate] [time]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>adj_date_to</name> <name>acct_prd</name>
<visible>0</visible> <visible>0</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>6</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -913,29 +893,55 @@ ...@@ -913,29 +893,55 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Adjustment Date From :</text>
<border>0</border>
<color>33554432</color>
<x>41</x>
<y>139</y>
<height>16</height>
<width>123</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>adj_date_fr_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>13</id> <id>9</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>168</x> <x>168</x>
<y>116</y> <y>141</y>
<height>16</height> <height>15</height>
<width>105</width> <width>105</width>
<format>[general]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>acct_prd</name> <name>adj_date_fr</name>
<visible>0</visible> <visible>0</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>6</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -954,17 +960,17 @@ ...@@ -954,17 +960,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Adjustment Date From :</text> <text>Adjustment Date To :</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>41</x> <x>326</x>
<y>139</y> <y>139</y>
<height>16</height> <height>16</height>
<width>123</width> <width>123</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>adj_date_fr_t</name> <name>adj_date_to_t</name>
<visible>0</visible> <visible>0</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -981,12 +987,12 @@ ...@@ -981,12 +987,12 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>9</id> <id>10</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>168</x> <x>455</x>
<y>141</y> <y>141</y>
<height>15</height> <height>15</height>
<width>105</width> <width>105</width>
...@@ -994,7 +1000,7 @@ ...@@ -994,7 +1000,7 @@
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>adj_date_fr</name> <name>adj_date_to</name>
<visible>0</visible> <visible>0</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -1015,6 +1021,35 @@ ...@@ -1015,6 +1021,35 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>455</x>
<y>163</y>
<height>15</height>
<width>105</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__fr</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -3,7 +3,7 @@ release 9; ...@@ -3,7 +3,7 @@ release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no ) datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" ) summary(height=0 color="536870912" )
footer(height=0 color="536870912" ) footer(height=0 color="536870912" )
detail(height=183 color="536870912" ) detail(height=226 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="emp_lveprkbal_trfdet.tran_id" ) table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="emp_lveprkbal_trfdet.tran_id" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="emp_lveprkbal_trfdet.line_no" ) column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="emp_lveprkbal_trfdet.line_no" )
column=(type=char(5) update=yes updatewhereclause=yes name=balance_code dbname="emp_lveprkbal_trfdet.balance_code" ) column=(type=char(5) update=yes updatewhereclause=yes name=balance_code dbname="emp_lveprkbal_trfdet.balance_code" )
...@@ -18,7 +18,8 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i ...@@ -18,7 +18,8 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=char(1) update=yes updatewhereclause=yes name=encashable dbname="emp_lveprkbal_trfdet.encashable" ) column=(type=char(1) update=yes updatewhereclause=yes name=encashable dbname="emp_lveprkbal_trfdet.encashable" )
column=(type=char(6) update=yes updatewhereclause=yes name=acct_prd dbname="emp_lveprkbal_trfdet.acct_prd" ) column=(type=char(6) update=yes updatewhereclause=yes name=acct_prd dbname="emp_lveprkbal_trfdet.acct_prd" )
column=(type=char(1) update=yes updatewhereclause=yes name=lve_unit dbname="emp_lveprkbal_trfdet.lve_unit" ) column=(type=char(1) update=yes updatewhereclause=yes name=lve_unit dbname="emp_lveprkbal_trfdet.lve_unit" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"emp_lveprkbal_trfdet~" ) TABLE(NAME=~"emp_lveprkbal_trfhdr~" ) COLUMN(NAME=~"emp_lveprkbal_trfdet.tran_id~") COLUMN(NAME=~"emp_lveprkbal_trfdet.line_no~") COLUMN(NAME=~"emp_lveprkbal_trfdet.balance_code~") COMPUTE(NAME=~"FN_GET_LVEPRK_DESCR(EMP_LVEPRKBAL_TRFHDR.TRAN_TYPE , EMP_LVEPRKBAL_TRFDET.BALANCE_CODE) balance_code_descr~") COLUMN(NAME=~"emp_lveprkbal_trfdet.from_date~") COLUMN(NAME=~"emp_lveprkbal_trfdet.to_date~") COLUMN(NAME=~"emp_lveprkbal_trfdet.exp_date~") COLUMN(NAME=~"emp_lveprkbal_trfdet.balance~") COLUMN(NAME=~"emp_lveprkbal_trfdet.adj_date_fr~") COLUMN(NAME=~"emp_lveprkbal_trfdet.adj_date_to~") COLUMN(NAME=~"emp_lveprkbal_trfdet.tran_id__ref~") COLUMN(NAME=~"emp_lveprkbal_trfdet.encashable~") COLUMN(NAME=~"emp_lveprkbal_trfdet.acct_prd~") COLUMN(NAME=~"emp_lveprkbal_trfdet.lve_unit~") JOIN (LEFT=~"emp_lveprkbal_trfdet.tran_id~" OP =~"=~"RIGHT=~"emp_lveprkbal_trfhdr.tran_id~" )WHERE( EXP1 =~"EMP_LVEPRKBAL_TRFDET.TRAN_ID~" OP =~"=~" EXP2 =~":tran_id~" LOGIC =~"And~" ) WHERE( EXP1 =~"EMP_LVEPRKBAL_TRFDET.LINE_NO~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = number) " update="emp_lveprkbal_trfdet" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string),("line_no", number)) ) column=(type=char(10) updatewhereclause=yes name=emp_code__fr dbname="emp_lveprkbal_trfhdr.emp_code__fr" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"emp_lveprkbal_trfdet~" ) TABLE(NAME=~"emp_lveprkbal_trfhdr~" ) COLUMN(NAME=~"emp_lveprkbal_trfdet.tran_id~") COLUMN(NAME=~"emp_lveprkbal_trfdet.line_no~") COLUMN(NAME=~"emp_lveprkbal_trfdet.balance_code~") COMPUTE(NAME=~"FN_GET_LVEPRK_DESCR(EMP_LVEPRKBAL_TRFHDR.TRAN_TYPE , EMP_LVEPRKBAL_TRFDET.BALANCE_CODE) balance_code_descr~") COLUMN(NAME=~"emp_lveprkbal_trfdet.from_date~") COLUMN(NAME=~"emp_lveprkbal_trfdet.to_date~") COLUMN(NAME=~"emp_lveprkbal_trfdet.exp_date~") COLUMN(NAME=~"emp_lveprkbal_trfdet.balance~") COLUMN(NAME=~"emp_lveprkbal_trfdet.adj_date_fr~") COLUMN(NAME=~"emp_lveprkbal_trfdet.adj_date_to~") COLUMN(NAME=~"emp_lveprkbal_trfdet.tran_id__ref~") COLUMN(NAME=~"emp_lveprkbal_trfdet.encashable~") COLUMN(NAME=~"emp_lveprkbal_trfdet.acct_prd~") COLUMN(NAME=~"emp_lveprkbal_trfdet.lve_unit~") COMPUTE(NAME=~"emp_code__fr~") JOIN (LEFT=~"emp_lveprkbal_trfdet.tran_id~" OP =~"=~"RIGHT=~"emp_lveprkbal_trfhdr.tran_id~" )WHERE( EXP1 =~"EMP_LVEPRKBAL_TRFDET.TRAN_ID~" OP =~"=~" EXP2 =~":tran_id~" LOGIC =~"And~" ) WHERE( EXP1 =~"EMP_LVEPRKBAL_TRFDET.LINE_NO~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = number) " update="emp_lveprkbal_trfdet" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string),("line_no", number)) )
text(band=detail alignment="1" text="Transaction ID :" border="0" color="33554432" x="41" y="24" height="16" width="123" html.valueishtml="0" name=tran_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=detail alignment="1" text="Transaction ID :" border="0" color="33554432" x="41" y="24" height="16" width="123" html.valueishtml="0" name=tran_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Balance Code :" border="0" color="33554432" x="41" y="47" height="16" width="123" html.valueishtml="0" name=balance_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=detail alignment="1" text="Balance Code :" border="0" color="33554432" x="41" y="47" height="16" width="123" html.valueishtml="0" name=balance_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="From Date :" border="0" color="33554432" x="41" y="70" height="16" width="123" html.valueishtml="0" name=from_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=detail alignment="1" text="From Date :" border="0" color="33554432" x="41" y="70" height="16" width="123" html.valueishtml="0" name=from_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
...@@ -36,15 +37,16 @@ column(band=detail id=8 alignment="1" tabsequence=32766 border="5" color="335544 ...@@ -36,15 +37,16 @@ column(band=detail id=8 alignment="1" tabsequence=32766 border="5" color="335544
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="33554432" x="453" y="116" height="16" width="105" format="[general]" html.valueishtml="0" name=lve_unit visible="0" edit.limit=1 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="33554432" x="453" y="116" height="16" width="105" format="[general]" html.valueishtml="0" name=lve_unit visible="0" edit.limit=1 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="33554432" x="168" y="70" height="16" width="105" format="[shortdate] [time]" html.valueishtml="0" name=from_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="33554432" x="168" y="70" height="16" width="105" format="[shortdate] [time]" html.valueishtml="0" name=from_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="33554432" x="168" y="93" height="16" width="105" format="[shortdate] [time]" html.valueishtml="0" name=exp_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="33554432" x="168" y="93" height="16" width="105" format="[shortdate] [time]" html.valueishtml="0" name=exp_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Adjustment Date To :" border="0" color="33554432" x="326" y="139" height="16" width="123" html.valueishtml="0" name=adj_date_to_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Acct Prd :" border="0" color="33554432" x="41" y="116" height="16" width="123" html.valueishtml="0" name=acct_prd_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=detail alignment="1" text="Acct Prd :" border="0" color="33554432" x="41" y="116" height="16" width="123" html.valueishtml="0" name=acct_prd_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="33554432" x="168" y="162" height="16" width="20" format="[general]" html.valueishtml="0" name=encashable visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="33554432" x="168" y="162" height="16" width="20" format="[general]" html.valueishtml="0" name=encashable visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Encashable :" border="0" color="33554432" x="41" y="162" height="15" width="123" html.valueishtml="0" name=encashable_t visible="0" font.face="Liberation Sans" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=detail alignment="1" text="Encashable :" border="0" color="33554432" x="41" y="162" height="15" width="123" html.valueishtml="0" name=encashable_t visible="0" font.face="Liberation Sans" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="33554432" x="196" y="163" height="15" width="80" format="[general]" html.valueishtml="0" name=tran_id__ref visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="33554432" x="196" y="163" height="15" width="80" format="[general]" html.valueishtml="0" name=tran_id__ref visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="33554432" x="455" y="141" height="15" width="105" format="[shortdate] [time]" html.valueishtml="0" name=adj_date_to visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="33554432" x="168" y="116" height="16" width="105" format="[general]" html.valueishtml="0" name=acct_prd visible="0" edit.limit=6 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="33554432" x="168" y="116" height="16" width="105" format="[general]" html.valueishtml="0" name=acct_prd visible="0" edit.limit=6 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Adjustment Date From :" border="0" color="33554432" x="41" y="139" height="16" width="123" html.valueishtml="0" name=adj_date_fr_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=detail alignment="1" text="Adjustment Date From :" border="0" color="33554432" x="41" y="139" height="16" width="123" html.valueishtml="0" name=adj_date_fr_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="33554432" x="168" y="141" height="15" width="105" format="[shortdate] [time]" html.valueishtml="0" name=adj_date_fr visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="33554432" x="168" y="141" height="15" width="105" format="[shortdate] [time]" html.valueishtml="0" name=adj_date_fr visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Adjustment Date To :" border="0" color="33554432" x="326" y="139" height="16" width="123" html.valueishtml="0" name=adj_date_to_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="33554432" x="455" y="141" height="15" width="105" format="[shortdate] [time]" html.valueishtml="0" name=adj_date_to visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="33554432" x="455" y="163" height="15" width="105" html.valueishtml="0" name=emp_code__fr visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="d_emp_lveprkbal_trf22" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><untitled><untitled_row __pbband=~"detail~"><emp_lveprkbal_trfdet_tran_id>tran_id</emp_lveprkbal_trfdet_tran_id><emp_lveprkbal_trfdet_line_no>line_no</emp_lveprkbal_trfdet_line_no><emp_lveprkbal_trfdet_balance_code>balance_code</emp_lveprkbal_trfdet_balance_code><balance_code_descr>balance_code_descr</balance_code_descr><emp_lveprkbal_trfdet_from_date>from_date</emp_lveprkbal_trfdet_from_date><emp_lveprkbal_trfdet_to_date>to_date</emp_lveprkbal_trfdet_to_date><emp_lveprkbal_trfdet_exp_date>exp_date</emp_lveprkbal_trfdet_exp_date><emp_lveprkbal_trfdet_balance>balance</emp_lveprkbal_trfdet_balance><emp_lveprkbal_trfdet_acct_prd>acct_prd</emp_lveprkbal_trfdet_acct_prd><emp_lveprkbal_trfdet_lve_unit>lve_unit</emp_lveprkbal_trfdet_lve_unit></untitled_row></untitled>")) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="d_emp_lveprkbal_trf22" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><untitled><untitled_row __pbband=~"detail~"><emp_lveprkbal_trfdet_tran_id>tran_id</emp_lveprkbal_trfdet_tran_id><emp_lveprkbal_trfdet_line_no>line_no</emp_lveprkbal_trfdet_line_no><emp_lveprkbal_trfdet_balance_code>balance_code</emp_lveprkbal_trfdet_balance_code><balance_code_descr>balance_code_descr</balance_code_descr><emp_lveprkbal_trfdet_from_date>from_date</emp_lveprkbal_trfdet_from_date><emp_lveprkbal_trfdet_to_date>to_date</emp_lveprkbal_trfdet_to_date><emp_lveprkbal_trfdet_exp_date>exp_date</emp_lveprkbal_trfdet_exp_date><emp_lveprkbal_trfdet_balance>balance</emp_lveprkbal_trfdet_balance><emp_lveprkbal_trfdet_acct_prd>acct_prd</emp_lveprkbal_trfdet_acct_prd><emp_lveprkbal_trfdet_lve_unit>lve_unit</emp_lveprkbal_trfdet_lve_unit></untitled_row></untitled>"))
......
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