Commit 2359fa97 authored by rtelang's avatar rtelang

d_holiday_table.srd

holiday_tbl11.xml
-Changes done in datawindow to check proper alignment 

d_holiday_table_edit.srd
holiday_tbl21.xml
-Added Others Group box  in datawindow.
-Changes done to show proper label name.

HolidayTableIC.java
HolidayTableICLocal.java
HolidayTableICRemote.java
-Migrated component for Holiday table.
w_holiday_tbl.sql
-Changes done in system entries to check Holiday menu.

holiday.png
holidaywht.png




git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@202903 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 542b83f2
This diff is collapsed.
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import javax.ejb.Local;
import org.w3c.dom.Document;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
@Local
public interface HolidayTableICLocal extends ValidatorLocal {
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn,String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1, Document dom2,String objContext, String currentColumn, String editFlag,String xtraParams) throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import javax.ejb.Remote;
import org.w3c.dom.Document;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
@Remote
public interface HolidayTableICRemote extends ValidatorRemote{
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn,String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1, Document dom2,String objContext, String currentColumn, String editFlag,String xtraParams) throws RemoteException, ITMException;
}
This diff is collapsed.
This diff is collapsed.
$PBExportHeader$d_holiday_table.srd
release 9;
datawindow(units=1 timer_interval=0 color=79741120 processing=1 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 grid.lines=0 )
header(height=19 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=41 color="536870912" )
table(column=(type=char(5) update=yes updatewhereclause=yes key=yes name=hol_tblno dbname="holiday.hol_tblno" )
column=(type=datetime update=yes updatewhereclause=yes key=yes name=hol_date dbname="holiday.hol_date" )
column=(type=char(1) updatewhereclause=yes key=yes name=hol_type dbname="holiday.hol_type" )
column=(type=char(20) update=yes updatewhereclause=yes name=descr dbname="holiday.descr" )
column=(type=decimal(1) update=yes updatewhereclause=yes name=no_days dbname="holiday.no_days" )
column=(type=datetime updatewhereclause=yes name=chg_date dbname="holiday.chg_date" )
column=(type=char(10) updatewhereclause=yes name=chg_user dbname="holiday.chg_user" )
column=(type=char(15) updatewhereclause=yes name=chg_term dbname="holiday.chg_term" )
column=(type=char(4000) updatewhereclause=yes name=day_name dbname="compute_0009" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"holiday~" ) COLUMN(NAME=~"holiday.hol_tblno~") COLUMN(NAME=~"holiday.hol_date~") COLUMN(NAME=~"holiday.hol_type~") COLUMN(NAME=~"holiday.descr~") COLUMN(NAME=~"holiday.no_days~") COLUMN(NAME=~"holiday.chg_date~") COLUMN(NAME=~"holiday.chg_user~") COLUMN(NAME=~"holiday.chg_term~") COMPUTE(NAME=~"day_name(hol_date)~")WHERE( EXP1 =~"HOLIDAY.HOL_DATE~" OP =~">=~" EXP2 =~":from_date~" LOGIC =~"and~" ) WHERE( EXP1 =~"HOLIDAY.HOL_DATE~" OP =~"<=~" EXP2 =~":to_date~" LOGIC =~"and~" ) WHERE( EXP1 =~"HOLIDAY.HOL_TBLNO~" OP =~"=~" EXP2 =~":hol_tblno~" ) ) ARG(NAME = ~"from_date~" TYPE = datetime) ARG(NAME = ~"to_date~" TYPE = datetime) ARG(NAME = ~"hol_tblno~" TYPE = string) " update="holiday" updatewhere=0 updatekeyinplace=no arguments=(("from_date", datetime),("to_date", datetime),("hol_tblno", string)) )
text(band=header alignment="2" text="Table No" border="6" color="0" x="2" y="1" height="16" width="60" 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" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="0" x="2" y="0" height="16" width="60" format="[general]" html.valueishtml="0" name=hol_tblno visible="1" edit.limit=5 edit.case=any edit.autoselect=yes edit.autohscroll=yes 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=header alignment="0" text="Description" border="6" color="0" x="64" y="1" height="16" width="205" html.valueishtml="0" name=descr_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=20 border="5" color="0" x="64" y="0" height="16" width="205" format="[general]" html.valueishtml="0" name=descr tag="Description." visible="1" edit.limit=20 edit.case=any edit.autoselect=yes edit.autohscroll=yes 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=header alignment="0" text="Date" border="6" color="0" x="271" y="1" height="16" width="56" html.valueishtml="0" name=hol_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=30 border="5" color="0" x="271" y="0" height="16" width="56" format="" html.valueishtml="0" name=hol_date tag="Holiday date." 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=header alignment="2" text="Type" border="6" color="33554432" x="329" y="1" height="16" width="46" html.valueishtml="0" name=hol_type_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="67108864" )
column(band=detail id=3 alignment="0" tabsequence=40 border="5" color="0" x="329" y="0" height="16" width="46" format="[general]" html.valueishtml="0" name=hol_type visible="1" edit.limit=0 edit.case=any edit.autoselect=yes 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=header alignment="0" text="Day" border="6" color="0" x="377" y="1" height="16" width="63" html.valueishtml="0" name=day_name_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="79741120" )
column(band=detail id=9 alignment="0" tabsequence=50 border="5" color="0" x="377" y="0" height="16" width="63" format="[general]" html.valueishtml="0" name=day_name 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=header alignment="2" text="No Days" border="6" color="0" x="442" y="1" height="16" width="60" html.valueishtml="0" name=no_days_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=5 alignment="1" tabsequence=60 border="5" color="0" x="442" y="0" height="16" width="60" format="[general]" html.valueishtml="0" name=no_days tag="Whether holiday is full day or half day." visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes 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=header alignment="0" text="change date" border="6" color="0" x="504" y="1" height="16" width="74" html.valueishtml="0" name=chg_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=6 alignment="0" tabsequence=70 border="5" color="0" x="504" y="0" height="16" width="74" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes 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" )
column(band=detail id=7 alignment="0" tabsequence=80 border="5" color="0" x="580" y="0" height="16" width="74" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=0 edit.case=any edit.autoselect=yes 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=header alignment="0" text="change user" border="6" color="0" x="580" y="1" height="16" width="74" html.valueishtml="0" name=chg_user_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=header alignment="0" text="change term" border="6" color="0" x="656" y="1" height="16" width="74" html.valueishtml="0" name=chg_term_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=8 alignment="0" tabsequence=90 border="5" color="0" x="656" y="0" height="16" width="74" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=0 edit.case=any edit.autoselect=yes 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" )
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