$PBExportHeader$d_view_porcp_stock.srd
release 9;
datawindow(units=1 timer_interval=0 color=1073741824 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=20 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=23 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=item_code dbname="stock.item_code" )
 column=(type=char(5) update=yes updatewhereclause=yes key=yes name=site_code dbname="stock.site_code" )
 column=(type=char(8) update=yes updatewhereclause=yes key=yes name=loc_code dbname="stock.loc_code" )
 column=(type=char(15) update=yes updatewhereclause=yes key=yes name=lot_no dbname="stock.lot_no" )
 column=(type=char(15) update=yes updatewhereclause=yes key=yes name=lot_sl dbname="stock.lot_sl" )
 column=(type=decimal(6) update=yes updatewhereclause=yes name=quantity dbname="stock.quantity" )
 column=(type=char(3) update=yes updatewhereclause=yes name=unit dbname="stock.unit" )
 column=(type=datetime update=yes updatewhereclause=yes name=exp_date dbname="stock.exp_date" )
 column=(type=decimal(6) update=yes updatewhereclause=yes name=alloc_qty dbname="stock.alloc_qty" )
 column=(type=char(5) update=yes updatewhereclause=yes name=inv_stat dbname="stock.inv_stat" )
 column=(type=decimal(4) update=yes updatewhereclause=yes name=rate dbname="stock.rate" )
 column=(type=decimal(3) update=yes updatewhereclause=yes name=gross_weight dbname="stock.gross_weight" )
 column=(type=decimal(3) update=yes updatewhereclause=yes name=tare_weight dbname="stock.tare_weight" )
 column=(type=decimal(3) update=yes updatewhereclause=yes name=net_weight dbname="stock.net_weight" )
 column=(type=decimal(6) update=yes updatewhereclause=yes name=hold_qty dbname="stock.hold_qty" )
 column=(type=decimal(0) updatewhereclause=yes name=no_art dbname="stock.no_art" )
 retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"stock~" )  TABLE(NAME=~"porcpdet~" )  TABLE(NAME=~"porcp~" ) COLUMN(NAME=~"stock.item_code~") COLUMN(NAME=~"stock.site_code~") COLUMN(NAME=~"stock.loc_code~") COLUMN(NAME=~"stock.lot_no~") COLUMN(NAME=~"stock.lot_sl~") COLUMN(NAME=~"stock.quantity~") COLUMN(NAME=~"stock.unit~") COLUMN(NAME=~"stock.exp_date~") COLUMN(NAME=~"stock.alloc_qty~") COLUMN(NAME=~"stock.inv_stat~") COLUMN(NAME=~"stock.rate~") COLUMN(NAME=~"stock.gross_weight~") COLUMN(NAME=~"stock.tare_weight~") COLUMN(NAME=~"stock.net_weight~") COLUMN(NAME=~"stock.hold_qty~") COLUMN(NAME=~"stock.no_art~")    JOIN (LEFT=~"stock.item_code~"    OP =~"=~"RIGHT=~"porcpdet.item_code~" )    JOIN (LEFT=~"porcpdet.tran_id~"    OP =~"=~"RIGHT=~"porcp.tran_id~" )    JOIN (LEFT=~"stock.site_code~"    OP =~"=~"RIGHT=~"porcp.site_code~" )    JOIN (LEFT=~"stock.lot_sl~"    OP =~"=~"RIGHT=~"porcpdet.lot_sl~" )WHERE(    EXP1 =~"porcp.tran_id~"   OP =~"=~"    EXP2 =~":as_tranid~"    LOGIC =~"and~" ) WHERE(    EXP1 =~"stock.quantity~"   OP =~">~"    EXP2 =~"0~" ) ) ARG(NAME = ~"as_tranid~" TYPE = string) " update="stock" updatewhere=0 updatekeyinplace=no arguments=(("as_tranid", string)) )
text(band=header alignment="2" text="Quantity" border="0" color="33554432" x="450" y="2" height="16" width="72" html.valueishtml="0"  name=quantity_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=header alignment="2" text="Alloc Qty" border="0" color="33554432" x="524" y="2" height="16" width="72" html.valueishtml="0"  name=alloc_qty_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=header alignment="2" text="Rate" border="0" color="33554432" x="952" y="2" height="16" width="72" html.valueishtml="0"  name=rate_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=header alignment="2" text="Gross Weight" border="0" color="33554432" x="1026" y="2" height="16" width="80" html.valueishtml="0"  name=gross_weight_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=header alignment="2" text="Tare Weight" border="0" color="33554432" x="1108" y="2" height="16" width="72" html.valueishtml="0"  name=tare_weight_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=header alignment="2" text="Net Weight" border="0" color="33554432" x="1182" y="2" height="16" width="72" html.valueishtml="0"  name=net_weight_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=header alignment="2" text="Hold Qty" border="0" color="33554432" x="598" y="2" height="16" width="72" html.valueishtml="0"  name=hold_qty_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=header alignment="0" text="Item Code" border="0" color="33554432" x="2" y="2" height="16" width="66" 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" )
text(band=header alignment="0" text="Site Code" border="0" color="33554432" x="70" y="2" height="16" width="57" 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=header alignment="0" text="Location Code" border="0" color="33554432" x="129" y="2" height="16" width="55" html.valueishtml="0"  name=loc_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=header alignment="0" text="Lot No" border="0" color="33554432" x="186" y="2" height="16" width="124" html.valueishtml="0"  name=lot_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=header alignment="0" text="LPN Number" border="0" color="33554432" x="312" y="2" height="16" width="136" html.valueishtml="0"  name=lot_sl_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=header alignment="0" text="Unit" border="0" color="33554432" x="740" y="2" height="16" width="31" 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=header alignment="0" text="Expiry Date" border="0" color="33554432" x="773" y="2" height="16" width="132" html.valueishtml="0"  name=exp_date_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=header alignment="0" text="Inv Stat" border="0" color="33554432" x="907" y="2" height="16" width="43" html.valueishtml="0"  name=inv_stat_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=header alignment="1" text="Articles" border="0" color="33554432" x="672" y="1" height="16" width="66" html.valueishtml="0"  name=no_art_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" )
column(band=detail id=1 alignment="0" tabsequence=10 border="0" color="33554432" x="2" y="2" height="19" width="66" 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="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=20 border="0" color="33554432" x="70" y="2" height="19" width="57" 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="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=3 alignment="0" tabsequence=30 border="0" color="33554432" x="129" y="2" height="19" width="55" format="[general]" html.valueishtml="0"  name=loc_code visible="1" edit.limit=8 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=4 alignment="0" tabsequence=40 border="0" color="33554432" x="186" y="2" height="19" width="124" format="[general]" html.valueishtml="0"  name=lot_no visible="1" edit.limit=15 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=5 alignment="0" tabsequence=50 border="0" color="33554432" x="312" y="2" height="19" width="136" format="[general]" html.valueishtml="0"  name=lot_sl visible="1" edit.limit=15 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=6 alignment="1" tabsequence=60 border="0" color="33554432" x="450" y="2" height="19" width="72" 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="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=7 alignment="0" tabsequence=100 border="0" color="33554432" x="740" y="2" height="19" width="31" 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=110 border="0" color="33554432" x="773" y="2" height="19" width="132" format="[shortdate] [time]" html.valueishtml="0"  name=exp_date visible="1" edit.limit=0 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=9 alignment="1" tabsequence=70 border="0" color="33554432" x="524" y="2" height="19" width="72" format="[general]" html.valueishtml="0"  name=alloc_qty visible="1" edit.limit=0 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=10 alignment="0" tabsequence=120 border="0" color="33554432" x="907" y="2" height="19" width="43" format="[general]" html.valueishtml="0"  name=inv_stat visible="1" edit.limit=5 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=11 alignment="1" tabsequence=130 border="0" color="33554432" x="952" y="2" height="19" width="72" format="[general]" html.valueishtml="0"  name=rate visible="1" edit.limit=0 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=12 alignment="1" tabsequence=140 border="0" color="33554432" x="1026" y="2" height="19" width="80" format="[general]" html.valueishtml="0"  name=gross_weight visible="1" edit.limit=0 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=13 alignment="1" tabsequence=150 border="0" color="33554432" x="1108" y="2" height="19" width="72" format="[general]" html.valueishtml="0"  name=tare_weight visible="1" edit.limit=0 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=14 alignment="1" tabsequence=160 border="0" color="33554432" x="1182" y="2" height="19" width="72" format="[general]" html.valueishtml="0"  name=net_weight visible="1" edit.limit=0 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=15 alignment="1" tabsequence=80 border="0" color="33554432" x="598" y="2" height="19" width="72" format="[general]" html.valueishtml="0"  name=hold_qty visible="1" edit.limit=0 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=16 alignment="1" tabsequence=90 border="0" color="33554432" x="672" y="1" height="15" width="66" format="[general]" html.valueishtml="0"  name=no_art visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
 