Commit 824020e9 authored by rtelang's avatar rtelang

WeekOffCreationPrc.java

WeekOffCreation.java
-Changes done related to remove stateless annotation.
weekoff_creation11.xml
d_weekoff_creation_flit.srd
-Changes done to add Basic group box in datawindow.
w_weekoff_creation.sql
Changes done in system entries From EJB to JB.
weekoffcreation.png
weekoffcreationwht.png
-Added images in web folder.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@203146 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 33b2693d
......@@ -12,9 +12,9 @@ import org.w3c.dom.Document;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
@Stateless // added for ejb3
//Modified by Rohini T on [27/06/19][start]
//@Stateless // added for ejb3
//Modified by Rohini T on [27/06/19][end]
public class WeekOffCreation extends ValidatorEJB implements WeekOffCreationLocal,WeekOffCreationRemote //SessionBean
{
/*
......@@ -117,7 +117,10 @@ public class WeekOffCreation extends ValidatorEJB implements WeekOffCreationLoca
rotate = genericUtility.getColumnValue("rotate",currentDom);
if (rotate.equals("Y"))
{
valueXmlString.append("<off_for protect = '1'>").append(rotate).append("</off_for>");
//Modified by Rohini T on [08/07/19][start]
//valueXmlString.append("<off_for protect = '1'>").append(rotate).append("</off_for>");
valueXmlString.append("<off_for protect = '1'>").append("A").append("</off_for>");
//Modified by Rohini T on [08/07/19][end]
}
else
{
......
......@@ -23,9 +23,9 @@ import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ProcessEJB;
import ibase.webitm.utility.ITMException;
@Stateless // added for ejb3
//Modified by Rohini T on [27/06/19][start]
//@Stateless // added for ejb3
//Modified by Rohini T on [27/06/19][end]
public class WeekOffCreationPrc extends ProcessEJB implements WeekOffCreationPrcLocal,WeekOffCreationPrcRemote // SessionBean
{
/*public void ejbCreate() throws RemoteException, CreateException
......
This diff is collapsed.
......@@ -39,7 +39,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>134</height>
<height>210</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -104,6 +104,58 @@
<dbname>hol_tblno</dbname>
</table_column>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>0</color>
<x>4</x>
<y>8</y>
<height>134</height>
<width>389</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>From Date :</text>
<border>0</border>
<color>0</color>
<x>10</x>
<y>28</y>
<height>16</height>
<width>95</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>from_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
......@@ -111,7 +163,7 @@
<border>0</border>
<color>0</color>
<x>229</x>
<y>13</y>
<y>28</y>
<height>16</height>
<width>74</width>
<html>
......@@ -134,26 +186,25 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<id>2</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>109</x>
<y>94</y>
<x>307</x>
<y>28</y>
<height>15</height>
<width>151</width>
<format></format>
<width>69</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>off_for</name>
<visible expression="0">1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<name>to_date</name>
<visible>1</visible>
<EditStyle name="datetime" style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
......@@ -168,21 +219,28 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Holiday Tbl No. :</text>
<border>0</border>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>10</x>
<y>67</y>
<height>16</height>
<width>95</width>
<x>109</x>
<y>28</y>
<height>15</height>
<width>69</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>hol_tblno_t</name>
<name>from_date</name>
<visible>1</visible>
<EditStyle name="datetime" style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -193,23 +251,60 @@
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>0</color>
<x>109</x>
<y>109</y>
<height>15</height>
<width>151</width>
<format></format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>off_for</name>
<visible expression="0">1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>any</case>
<vscrollbar>yes</vscrollbar>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Rotate :</text>
<text>Holiday Tbl No. :</text>
<border>0</border>
<color>0</color>
<x>10</x>
<y>40</y>
<y>82</y>
<height>16</height>
<width>95</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rotate_t</name>
<name>hol_tblno_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -227,17 +322,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>From Date :</text>
<text>Rotate :</text>
<border>0</border>
<color>0</color>
<x>10</x>
<y>13</y>
<y>55</y>
<height>16</height>
<width>95</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>from_date_t</name>
<name>rotate_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -259,7 +354,7 @@
<border>0</border>
<color>0</color>
<x>10</x>
<y>94</y>
<y>109</y>
<height>16</height>
<width>95</width>
<html>
......@@ -288,7 +383,7 @@
<border>5</border>
<color>0</color>
<x>109</x>
<y>67</y>
<y>82</y>
<height>15</height>
<width>69</width>
<format>[general]</format>
......@@ -317,41 +412,6 @@
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>307</x>
<y>13</y>
<height>15</height>
<width>69</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_date</name>
<visible>1</visible>
<EditStyle name="datetime" style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
......@@ -359,7 +419,7 @@
<border>0</border>
<color>0</color>
<x>225</x>
<y>40</y>
<y>55</y>
<height>16</height>
<width>56</width>
<html>
......@@ -388,7 +448,7 @@
<border>5</border>
<color>0</color>
<x>285</x>
<y>40</y>
<y>55</y>
<height>15</height>
<width>91</width>
<format>[general]</format>
......@@ -401,7 +461,7 @@
<limit>1</limit>
<allowedit>no</allowedit>
<case>any</case>
<vscrollbar>yes</vscrollbar>
<useasborder>yes</useasborder>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -417,41 +477,6 @@
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>109</x>
<y>13</y>
<height>15</height>
<width>69</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>from_date</name>
<visible>1</visible>
<EditStyle name="datetime" style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
......@@ -460,7 +485,7 @@
<border>5</border>
<color>0</color>
<x>109</x>
<y>40</y>
<y>54</y>
<height>15</height>
<width>69</width>
<format>[general]</format>
......@@ -469,10 +494,11 @@
</html>
<name>rotate</name>
<visible>1</visible>
<EditStyle name="Yesno" style="ddlb">
<limit>1</limit>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<useasborder>yes</useasborder>
<imemode>0</imemode>
</EditStyle>
<font>
......
$PBExportHeader$d_weekoff_creation_filt.srd
release 9;
datawindow(units=1 timer_interval=0 color=79741120 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" )
footer(height=0 color="536870912" )
detail(height=210 color="536870912" )
table(column=(type=datetime updatewhereclause=no name=from_date dbname="from_date" )
column=(type=datetime updatewhereclause=no name=to_date dbname="to_date" )
column=(type=char(1) updatewhereclause=no name=rotate dbname="rotate" initial="Y" values="Yes Y/No N/" )
column=(type=number updatewhereclause=no name=off_day dbname="off_day" initial="1" values="Sunday 1/Monday 2/Tuesday 3/Wednesday 4/Thursday 5/Friday 6/Saturday 7/" )
column=(type=char(1) updatewhereclause=no name=off_for dbname="off_for" initial="A" values="All Weeks A/1st Week of the Month F/2nd Week of the Month S/3rd Week of the Month T/4th Week of the Month O/5th Week of the Month I/" )
column=(type=char(5) updatewhereclause=no name=hol_tblno dbname="hol_tblno" )
)
groupbox(band=detail text="Basic"border="2" color="0" x="4" y="8" height="134" width="389" name=gb_1 visible="1" font.face="Liberation Sans" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="From Date :" border="0" color="0" x="10" y="28" height="16" width="95" html.valueishtml="0" name=from_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="To Date :" border="0" color="0" x="229" y="28" height="16" width="74" html.valueishtml="0" name=to_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=2 alignment="0" tabsequence=20 border="5" color="0" x="307" y="28" height="15" width="69" format="[shortdate] [time]" html.valueishtml="0" name=to_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="0" x="109" y="28" height="15" width="69" format="[shortdate] [time]" html.valueishtml="0" name=from_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=60 border="5" color="0" x="109" y="109" height="15" width="151" format="" html.valueishtml="0" name=off_for visible="1~t0" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.vscrollbar=yes ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Holiday Tbl No. :" border="0" color="0" x="10" y="82" height="16" width="95" html.valueishtml="0" name=hol_tblno_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Rotate :" border="0" color="0" x="10" y="55" height="16" width="95" html.valueishtml="0" name=rotate_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Weekly off For :" border="0" color="0" x="10" y="109" height="16" width="95" html.valueishtml="0" name=off_for_t visible="1~t0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=6 alignment="0" tabsequence=50 border="5" color="0" x="109" y="82" height="15" width="69" format="[general]" html.valueishtml="0" name=hol_tblno visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Off Day :" border="0" color="0" x="225" y="55" height="16" width="56" html.valueishtml="0" name=off_day_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="0" x="285" y="55" height="15" width="91" format="[general]" html.valueishtml="0" name=off_day visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.useasborder=yes ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=30 border="5" color="0" x="109" y="54" height="15" width="69" format="[general]" html.valueishtml="0" name=rotate visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.useasborder=yes ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" )
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 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ 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