Commit 7a1c4e51 authored by wansari's avatar wansari

D16JSUN0002 updated SRD for Sales contract GWT wizard for view mode by checking edit flag.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104678 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0c0f15ed
...@@ -5,7 +5,7 @@ summary(height=0 color="536870912" ) ...@@ -5,7 +5,7 @@ summary(height=0 color="536870912" )
footer(height=0 color="536870912" ) footer(height=0 color="536870912" )
detail(height=266 color="536870912" ) detail(height=266 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=contract_no dbname="scontract_appl.contract_no" ) table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=contract_no dbname="scontract_appl.contract_no" )
column=(type=char(3) update=yes updatewhereclause=yes key=yes name=line_no dbname="scontract_appl.line_no" ) column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="scontract_appl.line_no" )
column=(type=char(240) update=yes updatewhereclause=yes name=division dbname="scontract_appl.division" ) column=(type=char(240) update=yes updatewhereclause=yes name=division dbname="scontract_appl.division" )
column=(type=char(1) update=yes updatewhereclause=yes name=contract_scope dbname="scontract_appl.contract_scope" values="Controlled C/Non Controlled N/All Items A/Only contract Items S/" ) column=(type=char(1) update=yes updatewhereclause=yes name=contract_scope dbname="scontract_appl.contract_scope" values="Controlled C/Non Controlled N/All Items A/Only contract Items S/" )
column=(type=char(5) update=yes updatewhereclause=yes name=price_list dbname="scontract_appl.price_list" ) column=(type=char(5) update=yes updatewhereclause=yes name=price_list dbname="scontract_appl.price_list" )
...@@ -13,7 +13,8 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=contra ...@@ -13,7 +13,8 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=contra
column=(type=datetime update=yes updatewhereclause=yes name=valid_upto dbname="scontract_appl.valid_upto" ) column=(type=datetime update=yes updatewhereclause=yes name=valid_upto dbname="scontract_appl.valid_upto" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=discount dbname="scontract_appl.discount" ) column=(type=decimal(3) update=yes updatewhereclause=yes name=discount dbname="scontract_appl.discount" )
column=(type=char(1) updatewhereclause=yes name=contract_scope__descr dbname="contract_scope__descr" ) column=(type=char(1) updatewhereclause=yes name=contract_scope__descr dbname="contract_scope__descr" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"scontract_appl~" ) COLUMN(NAME=~"scontract_appl.contract_no~") COLUMN(NAME=~"scontract_appl.line_no~") COLUMN(NAME=~"scontract_appl.division~") COLUMN(NAME=~"scontract_appl.contract_scope~") COLUMN(NAME=~"scontract_appl.price_list~") COLUMN(NAME=~"scontract_appl.eff_from~") COLUMN(NAME=~"scontract_appl.valid_upto~") COLUMN(NAME=~"scontract_appl.discount~") COMPUTE(NAME=~"' ' as contract_scope__descr~")WHERE( EXP1 =~"~~~"SCONTRACT_APPL~~~".~~~"CONTRACT_NO~~~"~" OP =~"=~" EXP2 =~":contract_no~" LOGIC =~"And~" ) WHERE( EXP1 =~"~~~"SCONTRACT_APPL~~~".~~~"LINE_NO~~~"~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"contract_no~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = string) " update="SCONTRACT_APPL" updatewhere=1 updatekeyinplace=no arguments=(("contract_no", string),("line_no", string)) ) column=(type=char(1) updatewhereclause=yes name=edit_status dbname="edit_status" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"scontract_appl~" ) COLUMN(NAME=~"scontract_appl.contract_no~") COLUMN(NAME=~"scontract_appl.line_no~") COLUMN(NAME=~"scontract_appl.division~") COLUMN(NAME=~"scontract_appl.contract_scope~") COLUMN(NAME=~"scontract_appl.price_list~") COLUMN(NAME=~"scontract_appl.eff_from~") COLUMN(NAME=~"scontract_appl.valid_upto~") COLUMN(NAME=~"scontract_appl.discount~") COMPUTE(NAME=~"' ' as contract_scope__descr~") COMPUTE(NAME=~"' ' as edit_status~")WHERE( EXP1 =~"~~~"SCONTRACT_APPL~~~".~~~"CONTRACT_NO~~~"~" OP =~"=~" EXP2 =~":contract_no~" LOGIC =~"And~" ) WHERE( EXP1 =~"~~~"SCONTRACT_APPL~~~".~~~"LINE_NO~~~"~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"contract_no~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = string) " update="SCONTRACT_APPL" updatewhere=1 updatekeyinplace=no arguments=(("contract_no", string),("line_no", string)) )
text(band=detail alignment="1" text="Contract No:" border="0" color="33554432" x="27" y="29" height="15" width="94" html.valueishtml="0" name=contract_no_t visible="1" font.face="Arial" 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="Contract No:" border="0" color="33554432" x="27" y="29" height="15" width="94" html.valueishtml="0" name=contract_no_t visible="1" font.face="Arial" 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="33554432" x="411" y="28" height="15" width="94" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" 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="33554432" x="411" y="28" height="15" width="94" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" 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=2 alignment="0" tabsequence=32766 border="5" color="33554432" x="509" y="28" height="18" width="24" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=3 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=2 alignment="0" tabsequence=32766 border="5" color="33554432" x="509" y="28" height="18" width="24" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=3 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" )
...@@ -31,6 +32,7 @@ column(band=detail id=8 alignment="1" tabsequence=60 border="5" color="33554432" ...@@ -31,6 +32,7 @@ column(band=detail id=8 alignment="1" tabsequence=60 border="5" color="33554432"
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="345" y="127" height="15" width="188" format="[general]" html.valueishtml="0" name=contract_scope__descr 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="67108864" ) column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="345" y="127" height="15" width="188" format="[general]" html.valueishtml="0" name=contract_scope__descr 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="67108864" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="125" y="29" height="18" width="116" format="[general]" html.valueishtml="0" name=contract_no visible="1" edit.limit=10 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=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="125" y="29" height="18" width="116" format="[general]" html.valueishtml="0" name=contract_no visible="1" edit.limit=10 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=4 alignment="0" tabsequence=10 border="5" color="33554432" x="125" y="53" height="18" width="116" format="[general]" html.valueishtml="0" name=contract_scope visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.useasborder=yes 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=4 alignment="0" tabsequence=10 border="5" color="33554432" x="125" y="53" height="18" width="116" format="[general]" html.valueishtml="0" name=contract_scope visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.useasborder=yes 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=10 alignment="0" tabsequence=32766 border="5" color="255" x="124" y="153" height="15" width="73" format="[general]" html.valueishtml="0" name=edit_status 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="67108864" )
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 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
...@@ -12,10 +12,11 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=contra ...@@ -12,10 +12,11 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=contra
column=(type=char(1) update=yes updatewhereclause=yes name=cust_type dbname="scontact_cust.cust_type" values="Sold to Customer R/Group of Strategic Customer S/" ) column=(type=char(1) update=yes updatewhereclause=yes name=cust_type dbname="scontact_cust.cust_type" values="Sold to Customer R/Group of Strategic Customer S/" )
column=(type=char(20) updatewhereclause=yes name=city dbname="customer.city" ) column=(type=char(20) updatewhereclause=yes name=city dbname="customer.city" )
column=(type=char(1) updatewhereclause=yes name=cust_type__descr dbname="cust_type__descr" ) column=(type=char(1) updatewhereclause=yes name=cust_type__descr dbname="cust_type__descr" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"scontact_cust~" ) TABLE(NAME=~"customer~" ) COLUMN(NAME=~"scontact_cust.contract_no~") COLUMN(NAME=~"scontact_cust.line_no~") COLUMN(NAME=~"scontact_cust.cust_code~") COLUMN(NAME=~"customer.cust_name~") COLUMN(NAME=~"scontact_cust.drug_lic_no~") COLUMN(NAME=~"scontact_cust.cust_type~") COLUMN(NAME=~"customer.city~") COMPUTE(NAME=~"' ' as cust_type__descr~") JOIN (LEFT=~"scontact_cust.cust_code~" OP =~"=~"RIGHT=~"customer.cust_code~" )WHERE( EXP1 =~"SCONTACT_CUST.CONTRACT_NO~" OP =~"=~" EXP2 =~":ls_contract~" LOGIC =~"and~" ) WHERE( EXP1 =~"SCONTACT_CUST.LINE_NO~" OP =~"=~" EXP2 =~":li_lineno~" ) ) ARG(NAME = ~"ls_contract~" TYPE = string) ARG(NAME = ~"li_lineno~" TYPE = number) " update="SCONTACT_CUST" updatewhere=0 updatekeyinplace=no arguments=(("ls_contract", string),("li_lineno", number)) ) column=(type=char(1) updatewhereclause=yes name=edit_status dbname="edit_status" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"scontact_cust~" ) TABLE(NAME=~"customer~" ) COLUMN(NAME=~"scontact_cust.contract_no~") COLUMN(NAME=~"scontact_cust.line_no~") COLUMN(NAME=~"scontact_cust.cust_code~") COLUMN(NAME=~"customer.cust_name~") COLUMN(NAME=~"scontact_cust.drug_lic_no~") COLUMN(NAME=~"scontact_cust.cust_type~") COLUMN(NAME=~"customer.city~") COMPUTE(NAME=~"' ' as cust_type__descr~") COMPUTE(NAME=~"' ' as edit_status~") JOIN (LEFT=~"scontact_cust.cust_code~" OP =~"=~"RIGHT=~"customer.cust_code~" )WHERE( EXP1 =~"SCONTACT_CUST.CONTRACT_NO~" OP =~"=~" EXP2 =~":ls_contract~" LOGIC =~"and~" ) WHERE( EXP1 =~"SCONTACT_CUST.LINE_NO~" OP =~"=~" EXP2 =~":li_lineno~" ) ) ARG(NAME = ~"ls_contract~" TYPE = string) ARG(NAME = ~"li_lineno~" TYPE = number) " update="SCONTACT_CUST" updatewhere=0 updatekeyinplace=no arguments=(("ls_contract", string),("li_lineno", number)) )
groupbox(band=detail text=""border="5" color="33554432" x="35" y="4" height="156" width="597" name=gb_1 visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" ) groupbox(band=detail text=""border="5" color="33554432" x="35" y="4" height="156" width="597" name=gb_1 visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Line No:" border="0" color="33554432" x="236" y="13" height="16" width="131" 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=detail alignment="1" text="Line No:" border="0" color="33554432" x="236" y="13" height="16" width="131" 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=2 alignment="1" tabsequence=32766 border="5" color="255" x="372" y="13" height="16" width="56" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=5 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="67108864" ) column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="255" x="372" y="13" height="16" width="56" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=5 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="67108864" )
text(band=detail alignment="1" text="Contract No:" border="0" color="33554432" x="9" y="13" height="16" width="133" html.valueishtml="0" name=contract_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=detail alignment="1" text="Contract No:" border="0" color="33554432" x="9" y="13" height="16" width="133" html.valueishtml="0" name=contract_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=4 alignment="0" tabsequence=32766 border="5" color="255" x="231" y="41" height="16" width="313" format="[general]" html.valueishtml="0" name=cust_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 edit.displayonly=yes 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=4 alignment="0" tabsequence=32766 border="5" color="255" x="231" y="41" height="16" width="313" format="[general]" html.valueishtml="0" name=cust_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 edit.displayonly=yes 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=1 alignment="0" tabsequence=32766 border="5" color="255" x="148" y="13" height="16" width="76" format="[general]" html.valueishtml="0" name=contract_no 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="67108864" ) column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="148" y="13" height="16" width="76" format="[general]" html.valueishtml="0" name=contract_no 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="67108864" )
...@@ -28,6 +29,7 @@ column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="255" x ...@@ -28,6 +29,7 @@ column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="255" x
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="261" y="116" height="16" width="305" format="[general]" html.valueishtml="0" name=cust_type__descr visible="0" 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="67108864" ) column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="261" y="116" height="16" width="305" format="[general]" html.valueishtml="0" name=cust_type__descr visible="0" 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="67108864" )
column(band=detail id=5 alignment="0" tabsequence=20 border="5" color="0" x="148" y="88" height="16" width="146" format="[general]" html.valueishtml="0" name=drug_lic_no visible="1" edit.limit=30 edit.case=upper 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="16777215" ) column(band=detail id=5 alignment="0" tabsequence=20 border="5" color="0" x="148" y="88" height="16" width="146" format="[general]" html.valueishtml="0" name=drug_lic_no visible="1" edit.limit=30 edit.case=upper 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="16777215" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="148" y="116" height="16" width="105" format="[general]" html.valueishtml="0" name=cust_type 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="148" y="116" height="16" width="105" format="[general]" html.valueishtml="0" name=cust_type 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="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="255" x="147" y="140" height="16" width="104" format="[general]" html.valueishtml="0" name=edit_status visible="0" 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="67108864" )
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 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
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