$PBExportHeader$d_inventorydet11.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=36 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=23 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=item_code dbname="stock.item_code" )
 column=(type=char(120) updatewhereclause=yes name=descr dbname="item.descr" )
 column=(type=char(5) updatewhereclause=yes name=site_code dbname="stock.site_code" )
 column=(type=char(15) updatewhereclause=yes name=lot_no dbname="stock.lot_no" )
 column=(type=char(5) updatewhereclause=yes name=lot_sl dbname="stock.lot_sl" )
 column=(type=char(8) updatewhereclause=yes name=loc_code dbname="stock.loc_code" )
 column=(type=char(5) updatewhereclause=yes name=item_ser dbname="stock.item_ser" )
 column=(type=decimal(6) updatewhereclause=yes name=quantity dbname="stock.quantity" )
 column=(type=char(3) updatewhereclause=yes name=unit dbname="stock.unit" )
 column=(type=datetime updatewhereclause=yes name=mfg_date dbname="stock.mfg_date" )
 column=(type=datetime updatewhereclause=yes name=exp_date dbname="stock.exp_date" )
 column=(type=decimal(6) updatewhereclause=yes name=alloc_qty dbname="stock.alloc_qty" )
 column=(type=char(5) updatewhereclause=yes name=site_code__mfg dbname="stock.site_code__mfg" )
 column=(type=char(10) updatewhereclause=yes name=supp_code__mfg dbname="stock.supp_code__mfg" )
 column=(type=decimal(6) updatewhereclause=yes name=hold_qty dbname="stock.hold_qty" )
 retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"stock~" )  TABLE(NAME=~"item~" ) COLUMN(NAME=~"stock.item_code~") COLUMN(NAME=~"item.descr~") COLUMN(NAME=~"stock.site_code~") COLUMN(NAME=~"stock.lot_no~") COLUMN(NAME=~"stock.lot_sl~") COLUMN(NAME=~"stock.loc_code~") COLUMN(NAME=~"stock.item_ser~") COLUMN(NAME=~"stock.quantity~") COLUMN(NAME=~"stock.unit~") COLUMN(NAME=~"stock.mfg_date~") COLUMN(NAME=~"stock.exp_date~") COLUMN(NAME=~"stock.alloc_qty~") COLUMN(NAME=~"stock.site_code__mfg~") COLUMN(NAME=~"stock.supp_code__mfg~") COLUMN(NAME=~"stock.hold_qty~")    JOIN (LEFT=~"item.item_code~"    OP =~"=~"RIGHT=~"stock.item_code~" )WHERE(    EXP1 =~"fn_lock_exists(lot_no)~"   OP =~">~"    EXP2 =~"0~" ) ) " )
text(band=header alignment="2" text="Item Code" border="6" color="33554432" x="2" y="2" height="16" width="77" 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="Descr" border="6" color="33554432" x="81" y="2" height="16" width="272" html.valueishtml="0"  name=descr_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="33554432" x="355" y="2" height="16" width="62" 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="2" text="Lot No" border="6" color="33554432" x="419" y="2" height="16" width="112" html.valueishtml="0"  name=lot_no_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="LPN No" border="6" color="33554432" x="533" y="2" height="16" width="81" html.valueishtml="0"  name=lot_sl_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="Location" border="6" color="33554432" x="616" y="2" height="16" width="97" html.valueishtml="0"  name=loc_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="Item Series" border="6" color="33554432" x="715" y="2" height="16" width="89" html.valueishtml="0"  name=item_ser_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="Quantity" border="6" color="33554432" x="806" y="2" height="16" width="84" 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="Unit" border="6" color="33554432" x="892" y="2" height="16" width="35" 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" )
text(band=header alignment="2" text="Mfg Date" border="6" color="33554432" x="929" y="2" height="16" width="93" html.valueishtml="0"  name=mfg_date_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="Expiry Date" border="6" color="33554432" x="1024" y="2" height="16" width="153" html.valueishtml="0"  name=exp_date_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="Allocated Qty" border="6" color="33554432" x="1179" y="2" height="16" width="84" html.valueishtml="0"  name=alloc_qty_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  Mfg" border="6" color="33554432" x="1265" y="2" height="16" width="94" html.valueishtml="0"  name=site_code__mfg_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="Supplier Code  Mfg" border="6" color="33554432" x="1361" y="2" height="16" width="131" html.valueishtml="0"  name=supp_code__mfg_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="Hold Qty" border="6" color="33554432" x="1494" y="2" height="16" width="84" html.valueishtml="0"  name=hold_qty_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" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="2" y="2" height="16" width="77" 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="1" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="33554432" x="81" y="2" height="16" width="272" format="[general]" html.valueishtml="0"  name=descr visible="1" edit.limit=120 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="1" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="33554432" x="355" y="2" height="16" width="62" 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="1" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="33554432" x="419" y="2" height="16" width="112" 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="Tahoma" font.height="-10" font.weight="400"  font.family="2" font.pitch="1" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="33554432" x="533" y="2" height="16" width="81" format="[general]" html.valueishtml="0"  name=lot_sl 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="1" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="616" y="2" height="16" width="97" 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="Tahoma" font.height="-10" font.weight="400"  font.family="2" font.pitch="1" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="33554432" x="715" y="2" height="16" width="89" format="[general]" html.valueishtml="0"  name=item_ser 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="1" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=8 alignment="1" tabsequence=32766 border="5" color="33554432" x="806" y="2" height="16" width="84" 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="1" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="33554432" x="892" y="2" height="16" width="35" 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="1" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="33554432" x="929" y="2" height="16" width="93" format="[shortdate] [time]" html.valueishtml="0"  name=mfg_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no  font.face="Tahoma" font.height="-10" font.weight="400"  font.family="2" font.pitch="1" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="33554432" x="1024" y="2" height="16" width="153" format="[shortdate] [time]" html.valueishtml="0"  name=exp_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no  font.face="Tahoma" font.height="-10" font.weight="400"  font.family="2" font.pitch="1" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=12 alignment="1" tabsequence=32766 border="5" color="33554432" x="1179" y="2" height="16" width="84" 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="Tahoma" font.height="-10" font.weight="400"  font.family="2" font.pitch="1" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="33554432" x="1265" y="2" height="16" width="94" format="[general]" html.valueishtml="0"  name=site_code__mfg 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="1" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="33554432" x="1361" y="1" height="16" width="131" format="[general]" html.valueishtml="0"  name=supp_code__mfg 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="1" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=15 alignment="1" tabsequence=32766 border="5" color="33554432" x="1494" y="2" height="16" width="84" 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="Tahoma" font.height="-10" font.weight="400"  font.family="2" font.pitch="1" 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  template=(comment="" encoding="UTF-8" name="d_inventorydet11" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><untitled><untitled_row __pbband=~"detail~"><stock_item_code>item_code</stock_item_code><item_descr>descr</item_descr><stock_site_code>site_code</stock_site_code><stock_lot_no>lot_no</stock_lot_no><stock_lot_sl>lot_sl</stock_lot_sl><stock_loc_code>loc_code</stock_loc_code><stock_item_ser>item_ser</stock_item_ser><stock_quantity>quantity</stock_quantity><stock_unit>unit</stock_unit><stock_mfg_date>mfg_date</stock_mfg_date><stock_exp_date>exp_date</stock_exp_date><stock_alloc_qty>alloc_qty</stock_alloc_qty><stock_site_code__mfg>site_code__mfg</stock_site_code__mfg><stock_supp_code__mfg>supp_code__mfg</stock_supp_code__mfg><stock_hold_qty>hold_qty</stock_hold_qty></untitled_row></untitled>"))
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
 