Commit 60d10cb5 authored by pjain's avatar pjain

changed by sankara on 04/09/14 updated wavegenerationptc and shipmentprc and...

changed by sankara on 04/09/14 updated wavegenerationptc and shipmentprc and deallocartconf and docktranconf and docktranpos and wave task12 22 metadata and sql


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96162 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 05bf6db3
......@@ -49369,6 +49369,9 @@ function fn_wave_status(SI_WAVE_ID IN CHAR)
RETURN STATUS;
END;
-- changed by sankara on 29/07/14 for update deallocate status in wave task det and master pack hold sqls end
--changed by sankara on 03/09/14 update alter sql.
ALTER TABLE CARTON_MASTER ADD CLOSEOUT_DATE DATE;
commit;
......@@ -12,20 +12,10 @@ table(column=(type=char(12) update=yes updatewhereclause=yes key=yes name=wave_i
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="wave_task_det.status" )
column=(type=char(10) update=yes updatewhereclause=yes name=ptcn dbname="wave_task_det.ptcn" )
column=(type=char(10) update=yes updatewhereclause=yes name=sale_order dbname="wave_task_det.sale_order" )
column=(type=char(8) update=yes updatewhereclause=yes name=wave_status dbname="wave_status" values="CREATED C/VERIFIED V/WAITING W/" )
column=(type=decimal(0) updatewhereclause=yes name=priority dbname="wave_seq.priority" )
column=(type=char(4000) updatewhereclause=yes name=descr dbname="descr" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"wave_task_det~" ) TABLE(NAME=~"wave_seq~" ) COLUMN(NAME=~"wave_task_det.wave_id~") COLUMN(NAME=~"wave_task_det.line_no~") COLUMN(NAME=~"wave_task_det.ref_ser~") COLUMN(NAME=~"wave_task_det.ref_id~") COLUMN(NAME=~"wave_task_det.status~") COLUMN(NAME=~"wave_task_det.ptcn~") COLUMN(NAME=~"wave_task_det.sale_order~") COMPUTE(NAME=~"case when wave_status = 'C' then 'Created' when wave_status = 'V' then 'Verified' when wave_status = 'W' then 'Held' else ' ' end wave_status~") COLUMN(NAME=~"wave_seq.priority~") COMPUTE(NAME=~"FN_WAVE_DESCRIPTION(WAVE_TASK_DET.REF_SER,WAVE_TASK_DET.REF_ID,WAVE_TASK_DET.PTCN) AS descr~") JOIN (LEFT=~"wave_task_det.ref_ser~" OP =~"=~"RIGHT=~"wave_seq.ref_ser~" OUTER1 =~"wave_task_det.ref_ser~" )WHERE( EXP1 =~"wave_task_det.wave_id~" OP =~"=~" EXP2 =~":wave_id~" ) ) ORDER(NAME=~"wave_seq.priority~" ASC=yes ) ARG(NAME = ~"wave_id~" TYPE = string) " update="WAVE_TASK_DET" updatewhere=0 updatekeyinplace=no arguments=(("wave_id", string)) )
column(band=detail id=1 alignment="2" tabsequence=10 border="5" color="33554432" x="2" y="0" height="16" width="82" format="[general]" html.valueishtml="0" name=wave_id tag="Transaction ID of wave task" visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=2 font.face="Times New Roman" 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=2 alignment="2" tabsequence=20 border="5" color="33554432" x="86" y="0" height="16" width="72" format="[general]" html.valueishtml="0" name=line_no tag="Line Number of the Wave Task detail line" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" 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=3 alignment="2" tabsequence=30 border="5" color="33554432" x="160" y="0" height="16" width="64" format="[general]" html.valueishtml="0" name=ref_ser tag="Reference series of particular transaction (R-ORDH, P-ORDH, P-PACK, S-DSP)" visible="1" edit.limit=6 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" 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=4 alignment="2" tabsequence=50 border="5" color="33554432" x="431" y="0" height="16" width="82" format="[general]" html.valueishtml="0" name=ref_id tag="reference id (Transaction ID of Particular transaction (Replenishment, picking, pack, dispatch/shipment))" visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" 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="2" tabsequence=60 border="5" color="33554432" x="515" y="0" height="16" width="48" format="[general]" html.valueishtml="0" name=status tag="Status of wave task" visible="1" edit.limit=1 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" 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=6 alignment="0" tabsequence=70 border="5" color="33554432" x="565" y="0" height="16" width="81" format="[general]" html.valueishtml="0" name=ptcn visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" 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=80 border="5" color="33554432" x="648" y="0" height="16" width="111" format="[general]" html.valueishtml="0" name=sale_order visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" 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=8 alignment="0" tabsequence=90 border="5" color="33554432" x="761" y="0" height="16" width="77" format="[general]" html.valueishtml="0" name=wave_status visible="1" ddlb.limit=3 ddlb.allowedit=no ddlb.case=upper ddlb.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=100 border="5" color="33554432" x="840" y="0" height="16" width="62" format="[general]" html.valueishtml="0" name=priority 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=40 border="5" color="33554432" x="226" y="0" height="16" width="203" format="[general]" html.valueishtml="0" name=descr 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column=(type=char(11) update=yes updatewhereclause=yes name=wave_status dbname="wave_status" values="CREATED C/VERIFIED V/WAITING W/" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"wave_task_det~" ) TABLE(NAME=~"wave_seq~" ) COLUMN(NAME=~"wave_task_det.wave_id~") COLUMN(NAME=~"wave_task_det.line_no~") COLUMN(NAME=~"wave_task_det.ref_ser~") COLUMN(NAME=~"wave_task_det.ref_id~") COLUMN(NAME=~"wave_task_det.status~") COLUMN(NAME=~"wave_task_det.ptcn~") COLUMN(NAME=~"wave_task_det.sale_order~") COLUMN(NAME=~"wave_seq.priority~") COMPUTE(NAME=~"FN_WAVE_DESCRIPTION(WAVE_TASK_DET.REF_SER,WAVE_TASK_DET.REF_ID,WAVE_TASK_DET.PTCN) AS descr~") COMPUTE(NAME=~"case when wave_status = 'C' then 'Created' when wave_status = 'V' then 'Verified' when wave_status = 'W' then 'Held' when wave_status = 'D' then 'Deallocated' else ' ' end wave_status~") JOIN (LEFT=~"wave_task_det.ref_ser~" OP =~"=~"RIGHT=~"wave_seq.ref_ser~" OUTER1 =~"wave_task_det.ref_ser~" )WHERE( EXP1 =~"wave_task_det.wave_id~" OP =~"=~" EXP2 =~":wave_id~" ) ) ORDER(NAME=~"wave_seq.priority~" ASC=yes ) ARG(NAME = ~"wave_id~" TYPE = string) " update="WAVE_TASK_DET" updatewhere=0 updatekeyinplace=no arguments=(("wave_id", string)) )
text(band=header alignment="2" text="Wave ID" border="6" color="0" x="2" y="2" height="16" width="82" html.valueishtml="0" name=wave_id_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="1" background.color="536870912" )
text(band=header alignment="2" text="Line No" border="6" color="0" x="86" y="2" height="16" width="72" html.valueishtml="0" name=line_no_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="1" background.color="536870912" )
text(band=header alignment="2" text="Ref series" border="6" color="0" x="160" y="2" height="16" width="64" html.valueishtml="0" name=ref_ser_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="1" background.color="536870912" )
......@@ -36,6 +26,16 @@ text(band=header alignment="2" text="Sale Order" border="6" color="0" x="648" y=
text(band=header alignment="2" text="Task Status" border="6" color="0" x="761" y="2" height="16" width="77" html.valueishtml="0" name=wave_status_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="1" background.color="536870912" )
text(band=header alignment="0" text="Priority" border="6" color="0" x="840" y="2" height="16" width="62" html.valueishtml="0" name=priority_t visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Descr" border="6" color="0" x="226" y="2" height="16" width="203" 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="1" background.color="536870912" )
column(band=detail id=1 alignment="2" tabsequence=10 border="5" color="33554432" x="2" y="0" height="16" width="82" format="[general]" html.valueishtml="0" name=wave_id tag="Transaction ID of wave task" visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=2 font.face="Times New Roman" 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=2 alignment="2" tabsequence=20 border="5" color="33554432" x="86" y="0" height="16" width="72" format="[general]" html.valueishtml="0" name=line_no tag="Line Number of the Wave Task detail line" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" 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=3 alignment="2" tabsequence=30 border="5" color="33554432" x="160" y="0" height="16" width="64" format="[general]" html.valueishtml="0" name=ref_ser tag="Reference series of particular transaction (R-ORDH, P-ORDH, P-PACK, S-DSP)" visible="1" edit.limit=6 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" 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=4 alignment="2" tabsequence=50 border="5" color="33554432" x="431" y="0" height="16" width="82" format="[general]" html.valueishtml="0" name=ref_id tag="reference id (Transaction ID of Particular transaction (Replenishment, picking, pack, dispatch/shipment))" visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" 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="2" tabsequence=60 border="5" color="33554432" x="515" y="0" height="16" width="48" format="[general]" html.valueishtml="0" name=status tag="Status of wave task" visible="1" edit.limit=1 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" 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=6 alignment="0" tabsequence=70 border="5" color="33554432" x="565" y="0" height="16" width="81" format="[general]" html.valueishtml="0" name=ptcn visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" 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=80 border="5" color="33554432" x="648" y="0" height="16" width="111" format="[general]" html.valueishtml="0" name=sale_order visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" 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=90 border="5" color="33554432" x="761" y="0" height="16" width="77" format="[general]" html.valueishtml="0" name=wave_status visible="1" ddlb.limit=3 ddlb.allowedit=no ddlb.case=upper ddlb.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=8 alignment="0" tabsequence=100 border="5" color="33554432" x="840" y="0" height="16" width="62" format="[general]" html.valueishtml="0" name=priority 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=40 border="5" color="33554432" x="226" y="0" height="16" width="203" format="[general]" html.valueishtml="0" name=descr 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="2" 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 template=(comment="" encoding="UTF-8" name="d_wave_task12" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><d_wave_task12><d_wave_task12_row __pbband=~"detail~"><wave_id>wave_id</wave_id><line_no>line_no</line_no><ref_ser/><ref_id>ref_id</ref_id><ref_type>ref_type</ref_type><status>status</status><ptcn>ptcn</ptcn><sale_order>sale_order</sale_order><refser_descr/></d_wave_task12_row></d_wave_task12>"))
......
......@@ -11,13 +11,13 @@ table(column=(type=char(12) update=yes updatewhereclause=yes key=yes name=wave_i
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="wave_task_det.status" )
column=(type=char(10) update=yes updatewhereclause=yes name=ptcn dbname="wave_task_det.ptcn" )
column=(type=char(10) update=yes updatewhereclause=yes name=sale_order dbname="wave_task_det.sale_order" )
column=(type=char(8) update=yes updatewhereclause=yes name=wave_status dbname="wave_status" )
column=(type=char(4000) updatewhereclause=yes name=descr dbname="descr" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"wave_task_det~" ) COLUMN(NAME=~"wave_task_det.wave_id~") COLUMN(NAME=~"wave_task_det.line_no~") COLUMN(NAME=~"wave_task_det.ref_ser~") COLUMN(NAME=~"wave_task_det.ref_id~") COLUMN(NAME=~"wave_task_det.status~") COLUMN(NAME=~"wave_task_det.ptcn~") COLUMN(NAME=~"wave_task_det.sale_order~") COMPUTE(NAME=~"case when wave_status = 'C' then 'Created' when wave_status = 'V' then 'Verified' when wave_status = 'W' then 'Held' else ' ' end wave_status~") COMPUTE(NAME=~"FN_WAVE_DESCRIPTION(WAVE_TASK_DET.REF_SER,REF_ID,PTCN) AS DESCR~")WHERE( EXP1 =~"wave_task_det.wave_id~" OP =~"=~" EXP2 =~":wave_id~" LOGIC =~"And~" ) WHERE( EXP1 =~"wave_task_det.line_no~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"wave_id~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = number) " update="WAVE_TASK_DET" updatewhere=0 updatekeyinplace=no arguments=(("wave_id", string),("line_no", number)) )
column=(type=char(11) update=yes updatewhereclause=yes name=wave_status dbname="wave_status" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"wave_task_det~" ) COLUMN(NAME=~"wave_task_det.wave_id~") COLUMN(NAME=~"wave_task_det.line_no~") COLUMN(NAME=~"wave_task_det.ref_ser~") COLUMN(NAME=~"wave_task_det.ref_id~") COLUMN(NAME=~"wave_task_det.status~") COLUMN(NAME=~"wave_task_det.ptcn~") COLUMN(NAME=~"wave_task_det.sale_order~") COMPUTE(NAME=~"FN_WAVE_DESCRIPTION(WAVE_TASK_DET.REF_SER,REF_ID,PTCN) AS DESCR~") COMPUTE(NAME=~"case when wave_status = 'C' then 'Created' when wave_status = 'V' then 'Verified' when wave_status = 'W' then 'Held' when wave_status = 'D' then 'Deallocated' else ' ' end wave_status~")WHERE( EXP1 =~"wave_task_det.wave_id~" OP =~"=~" EXP2 =~":wave_id~" LOGIC =~"And~" ) WHERE( EXP1 =~"wave_task_det.line_no~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"wave_id~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = number) " update="WAVE_TASK_DET" updatewhere=0 updatekeyinplace=no arguments=(("wave_id", string),("line_no", number)) )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="255" x="321" y="16" height="16" width="78" format="[general]" html.valueishtml="0" name=line_no tag="Line Number of the Wave Task detail line" visible="1" edit.limit=4 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Line No:" border="0" color="0" x="238" y="16" height="16" width="77" html.valueishtml="0" name=line_no_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="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="199" y="40" height="16" width="200" format="[General]" html.valueishtml="0" name=descr 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="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="321" y="64" height="16" width="78" format="[general]" html.valueishtml="0" name=wave_status 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="199" y="40" height="16" width="200" format="[General]" html.valueishtml="0" name=descr 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="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="321" y="64" height="16" width="78" format="[general]" html.valueishtml="0" name=wave_status 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Task Status:" border="0" color="0" x="238" y="64" height="16" width="77" html.valueishtml="0" name=wave_status_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="1" background.color="536870912" )
text(band=detail alignment="1" text="Wave ID:" border="0" color="0" x="13" y="16" height="16" width="96" html.valueishtml="0" name=wave_id_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="1" background.color="536870912" )
text(band=detail alignment="1" text="Reference series:" border="0" color="0" x="13" y="40" height="16" width="96" html.valueishtml="0" name=ref_ser_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="1" background.color="536870912" )
......
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