$PBExportHeader$d_requirement12.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 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=23 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=21 color="536870912" )
table(column=(type=char(5) updatewhereclause=yes name=site_code dbname="mps_order.site_code" )
 column=(type=char(10) updatewhereclause=yes name=item_code dbname="mps_order.item_code" )
 column=(type=char(120) updatewhereclause=yes name=item_descr dbname="item.descr" )
 column=(type=char(3) updatewhereclause=yes name=unit dbname="mps_order.unit" )
 column=(type=number updatewhereclause=yes name=no_of_batch dbname="no_of_batch" )
 column=(type=decimal(3) updatewhereclause=yes name=quantity dbname="mps_order.quantity" )
 retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"mps_order~" )  TABLE(NAME=~"item~" ) 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~")    JOIN (LEFT=~"mps_order.item_code~"    OP =~"=~"RIGHT=~"item.item_code~"    OUTER1 =~"mps_order.item_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="69" html.valueishtml="0"  name=quantity_t visible="1"  font.face="Times" font.height="-10" font.weight="400"  font.family="0" 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="15" width="85" html.valueishtml="0"  name=no_of_batch_t visible="1"  font.face="Times" font.height="-10" font.weight="400"  font.family="0" 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="Times" font.height="-10" font.weight="400"  font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Descr" border="6" color="0" x="242" y="2" height="16" width="279" html.valueishtml="0"  name=item_descr_t visible="1"  font.face="Times" font.height="-10" font.weight="400"  font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
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="Times" font.height="-10" font.weight="400"  font.family="0" 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="Times" font.height="-10" font.weight="400"  font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=6 alignment="1" tabsequence=32766 border="5" color="0" x="680" y="2" height="16" width="69" 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="Times" 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=32766 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="Times" 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="Times" 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="0" tabsequence=32766 border="5" color="0" x="242" y="2" height="16" width="279" format="[general]" html.valueishtml="0"  name=item_descr visible="1" edit.limit=120 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Times" 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="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="Times" 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="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="Times" 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 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
 