Commit 996c1871 authored by caluka's avatar caluka

srd changes done for calculate quantity in requirement wizard transaction[MF3KSUN005]


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95736 ce508802-f39f-4f6c-b175-0d175dae99d5
parent cc1106fe
......@@ -13,7 +13,8 @@ table(column=(type=char(5) updatewhereclause=yes name=site_code dbname="mps_orde
column=(type=decimal(3) updatewhereclause=yes name=quantity dbname="mps_order.quantity" )
column=(type=char(10) updatewhereclause=yes name=bom_code dbname="mps_order.bom_code" )
column=(type=char(0) updatewhereclause=yes name=mpsorder dbname="mpsorder" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"mps_order~" ) TABLE(NAME=~"item~" ) TABLE(NAME=~"bom~" ) COLUMN(NAME=~"mps_order.site_code~") COLUMN(NAME=~"mps_order.item_code~") COLUMN(NAME=~"item.descr~") COLUMN(NAME=~"mps_order.unit~") COMPUTE(NAME=~"0 no_of_batch~") COLUMN(NAME=~"mps_order.quantity~") COLUMN(NAME=~"mps_order.bom_code~") COMPUTE(NAME=~"'' as mpsorder~") JOIN (LEFT=~"mps_order.item_code~" OP =~"=~"RIGHT=~"item.item_code~" OUTER1 =~"mps_order.item_code~" ) JOIN (LEFT=~"mps_order.bom_code~" OP =~"=~"RIGHT=~"bom.bom_code~" )WHERE( EXP1 =~"mps_order.site_code~" OP =~"=~" EXP2 =~":site_code~" LOGIC =~"And~" ) WHERE( EXP1 =~"mps_order.item_code~" OP =~"=~" EXP2 =~":item_code~" LOGIC =~"And~" ) WHERE( EXP1 =~"mps_order.status~" OP =~"in~" EXP2 =~"('P','T','M')~" ) ) ARG(NAME = ~"site_code~" TYPE = string) ARG(NAME = ~"item_code~" TYPE = string) " arguments=(("site_code", string),("item_code", string)) )
column=(type=char(0) updatewhereclause=yes name=batch_qty dbname="batch_qty" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"mps_order~" ) TABLE(NAME=~"item~" ) TABLE(NAME=~"bom~" ) COLUMN(NAME=~"mps_order.site_code~") COLUMN(NAME=~"mps_order.item_code~") COLUMN(NAME=~"item.descr~") COLUMN(NAME=~"mps_order.unit~") COMPUTE(NAME=~"0 no_of_batch~") COLUMN(NAME=~"mps_order.quantity~") COLUMN(NAME=~"mps_order.bom_code~") COMPUTE(NAME=~"'' as mpsorder~") COMPUTE(NAME=~"'' as batch_qty~") JOIN (LEFT=~"mps_order.item_code~" OP =~"=~"RIGHT=~"item.item_code~" OUTER1 =~"mps_order.item_code~" ) JOIN (LEFT=~"mps_order.bom_code~" OP =~"=~"RIGHT=~"bom.bom_code~" )WHERE( EXP1 =~"mps_order.site_code~" OP =~"=~" EXP2 =~":site_code~" LOGIC =~"And~" ) WHERE( EXP1 =~"mps_order.item_code~" OP =~"=~" EXP2 =~":item_code~" LOGIC =~"And~" ) WHERE( EXP1 =~"mps_order.status~" OP =~"in~" EXP2 =~"('P','T','M')~" ) ) ARG(NAME = ~"site_code~" TYPE = string) ARG(NAME = ~"item_code~" TYPE = string) " arguments=(("site_code", string),("item_code", string)) )
text(band=header alignment="2" text="Quantity" border="6" color="0" x="680" y="2" height="16" width="87" html.valueishtml="0" name=quantity_t visible="1" font.face="Tahoma" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Batch Req" border="6" color="0" x="593" y="2" height="16" width="85" html.valueishtml="0" name=no_of_batch_t visible="1" font.face="Tahoma" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Unit" border="6" color="0" x="523" y="2" height="16" width="68" html.valueishtml="0" name=unit_t visible="1" font.face="Tahoma" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
......@@ -21,7 +22,8 @@ text(band=header alignment="2" text="Descr" border="6" color="0" x="242" y="2" h
text(band=header alignment="2" text="Item Code" border="6" color="0" x="127" y="2" height="16" width="113" html.valueishtml="0" name=item_code_t visible="1" font.face="Tahoma" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Site Code" border="6" color="0" x="2" y="2" height="16" width="123" html.valueishtml="0" name=site_code_t visible="1" font.face="Tahoma" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Bom Code" border="0" color="33554432" x="769" y="1" height="16" width="100" html.valueishtml="0" name=bom_code_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Mpsorder" border="0" color="33554432" x="871" y="1" height="17" width="256" html.valueishtml="0" name=mpsorder_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Mpsorder" border="0" color="33554432" x="871" y="1" height="17" width="106" html.valueishtml="0" name=mpsorder_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Batch Qty" border="0" color="33554432" x="979" y="1" height="17" width="91" html.valueishtml="0" name=batch_qty_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=6 alignment="1" tabsequence=40 border="5" color="0" x="680" y="2" height="16" width="87" format="[general]" html.valueishtml="0" name=quantity visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Tahoma" 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=30 border="5" color="0" x="593" y="1" height="16" width="85" format="[general]" html.valueishtml="0" name=no_of_batch visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Tahoma" 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=32766 border="5" color="0" x="523" y="2" height="16" width="68" format="[general]" html.valueishtml="0" name=unit visible="1" edit.limit=3 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Tahoma" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
......@@ -29,7 +31,8 @@ column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="0" x="
column(band=detail id=2 alignment="0" tabsequence=20 border="5" color="0" x="127" y="2" height="16" width="113" format="[general]" html.valueishtml="0" name=item_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Tahoma" 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=10 border="5" color="0" x="2" y="2" height="16" width="123" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Tahoma" 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="0" color="0" x="769" y="1" height="16" width="100" format="[general]" html.valueishtml="0" name=bom_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Tahoma" 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=32766 border="0" color="0" x="871" y="1" height="16" width="256" format="[general]" html.valueishtml="0" name=mpsorder visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Tahoma" 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=32766 border="0" color="0" x="871" y="1" height="16" width="106" format="[general]" html.valueishtml="0" name=mpsorder visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Tahoma" 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=50 border="0" color="0" x="979" y="1" height="16" width="91" format="[general]" html.valueishtml="0" name=batch_qty visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Tahoma" 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 )
......
......@@ -13,7 +13,8 @@ table(column=(type=char(10) updatewhereclause=yes name=tran_id dbname="mps_order
column=(type=char(3) updatewhereclause=yes name=unit dbname="mps_order.unit" )
column=(type=char(10) updatewhereclause=yes name=bom_code dbname="mps_order.bom_code" )
column=(type=char(0) updatewhereclause=yes name=mpsorder dbname="mpsorder" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"mps_order~" ) TABLE(NAME=~"item~" ) TABLE(NAME=~"bom~" ) COLUMN(NAME=~"mps_order.tran_id~") COLUMN(NAME=~"mps_order.site_code~") COLUMN(NAME=~"mps_order.item_code~") COLUMN(NAME=~"item.descr~") COLUMN(NAME=~"mps_order.quantity~") COLUMN(NAME=~"mps_order.due_date~") COLUMN(NAME=~"mps_order.unit~") COLUMN(NAME=~"mps_order.bom_code~") COMPUTE(NAME=~"'' as mpsorder~") JOIN (LEFT=~"mps_order.item_code~" OP =~"=~"RIGHT=~"item.item_code~" OUTER1 =~"mps_order.item_code~" ) JOIN (LEFT=~"mps_order.bom_code~" OP =~"=~"RIGHT=~"bom.bom_code~" )WHERE( EXP1 =~"mps_order.site_code~" OP =~"=~" EXP2 =~":site_code~" LOGIC =~"And~" ) WHERE( EXP1 =~"mps_order.item_code~" OP =~"=~" EXP2 =~":item_code~" LOGIC =~"And~" ) WHERE( EXP1 =~"mps_order.status~" OP =~"in~" EXP2 =~"('P','T','M')~" ) ) ARG(NAME = ~"site_code~" TYPE = string) ARG(NAME = ~"item_code~" TYPE = string) " arguments=(("site_code", string),("item_code", string)) )
column=(type=char(0) updatewhereclause=yes name=batch_qty dbname="batch_qty" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"mps_order~" ) TABLE(NAME=~"item~" ) TABLE(NAME=~"bom~" ) COLUMN(NAME=~"mps_order.tran_id~") COLUMN(NAME=~"mps_order.site_code~") COLUMN(NAME=~"mps_order.item_code~") COLUMN(NAME=~"item.descr~") COLUMN(NAME=~"mps_order.quantity~") COLUMN(NAME=~"mps_order.due_date~") COLUMN(NAME=~"mps_order.unit~") COLUMN(NAME=~"mps_order.bom_code~") COMPUTE(NAME=~"'' as mpsorder~") COMPUTE(NAME=~"'' as batch_qty~") JOIN (LEFT=~"mps_order.item_code~" OP =~"=~"RIGHT=~"item.item_code~" OUTER1 =~"mps_order.item_code~" ) JOIN (LEFT=~"mps_order.bom_code~" OP =~"=~"RIGHT=~"bom.bom_code~" )WHERE( EXP1 =~"mps_order.site_code~" OP =~"=~" EXP2 =~":site_code~" LOGIC =~"And~" ) WHERE( EXP1 =~"mps_order.item_code~" OP =~"=~" EXP2 =~":item_code~" LOGIC =~"And~" ) WHERE( EXP1 =~"mps_order.status~" OP =~"in~" EXP2 =~"('P','T','M')~" ) ) ARG(NAME = ~"site_code~" TYPE = string) ARG(NAME = ~"item_code~" TYPE = string) " arguments=(("site_code", string),("item_code", string)) )
text(band=detail alignment="1" text="Tran Id:" border="0" color="33554432" x="36" y="10" height="16" width="64" 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Site Code:" border="0" color="33554432" x="36" y="44" height="16" width="64" html.valueishtml="0" name=site_code_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="Item Code:" border="0" color="33554432" x="38" y="79" height="16" width="64" html.valueishtml="0" name=item_code_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" )
......@@ -28,9 +29,11 @@ column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="335544
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="33554432" x="105" y="140" height="16" width="77" format="[general]" html.valueishtml="0" name=unit 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="1" background.color="536870912" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="33554432" x="105" y="168" height="15" width="77" format="[general]" html.valueishtml="0" name=bom_code visible="1" 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Unit:" border="0" color="33554432" x="36" y="140" height="16" width="64" html.valueishtml="0" name=unit_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="Bom Code:" border="0" color="33554432" x="35" y="169" height="15" width="65" html.valueishtml="0" name=bom_code_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="Mps Order:" border="0" color="33554432" x="32" y="197" height="15" width="67" html.valueishtml="0" name=mpsorder_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="Bom Code:" border="0" color="33554432" x="34" y="169" height="15" width="65" html.valueishtml="0" name=bom_code_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="Mps Order:" border="0" color="33554432" x="31" y="197" height="15" width="67" html.valueishtml="0" name=mpsorder_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="Batch Qty:" border="0" color="33554432" x="30" y="225" height="15" width="67" html.valueishtml="0" name=t_1 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=9 alignment="0" tabsequence=32766 border="5" color="33554432" x="105" y="197" height="15" width="77" format="[general]" html.valueishtml="0" name=mpsorder visible="1" 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="1" background.color="536870912" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="33554432" x="105" y="225" height="15" width="77" format="[general]" html.valueishtml="0" name=batch_qty visible="1" 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="1" background.color="536870912" )
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 )
......
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