$PBExportHeader$d_stock_allocation_cust_brow.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=21 color="536870912" )
summary(height=0 color="536870912" )
footer(height=5 color="536870912" )
detail(height=23 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes name=cust_code dbname="sorder.cust_code" )
 column=(type=char(40) updatewhereclause=yes name=cust_name dbname="customer.cust_name" )
 column=(type=char(3) updatewhereclause=yes name=line_no dbname="sorddet.line_no" )
 column=(type=char(10) update=yes updatewhereclause=yes key=yes name=sale_order dbname="sorder.sale_order" )
 column=(type=datetime update=yes updatewhereclause=yes name=due_date dbname="sorder.due_date" )
 column=(type=char(10) updatewhereclause=yes name=item_code dbname="sorditem.item_code" )
 column=(type=char(120) updatewhereclause=yes name=item_descr dbname="item.descr" )
 column=(type=decimal(3) updatewhereclause=yes name=quantity dbname="sorditem.quantity" )
 column=(type=number updatewhereclause=yes name=pending_quantity dbname="pending_quantity" )
 column=(type=number updatewhereclause=yes name=stock_quantity dbname="stock_quantity" )
 column=(type=decimal(3) updatewhereclause=yes name=qty_alloc dbname="sorditem.qty_alloc" )
 column=(type=char(120) updatewhereclause=yes name=pack_instr dbname="sorddet.pack_instr" )
 column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="sorddet.site_code" )
 column=(type=char(20) updatewhereclause=yes name=exp_lev dbname="sorditem.exp_lev" )
 column=(type=char(10) updatewhereclause=yes name=last_col dbname="last_col" )
 retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"sorddet~" )  TABLE(NAME=~"customer~" )  TABLE(NAME=~"item~" )  TABLE(NAME=~"sorder~" )  TABLE(NAME=~"sorditem~" ) COLUMN(NAME=~"sorder.cust_code~") COLUMN(NAME=~"customer.cust_name~") COLUMN(NAME=~"sorddet.line_no~") COLUMN(NAME=~"sorder.sale_order~") COLUMN(NAME=~"sorder.due_date~") COLUMN(NAME=~"sorditem.item_code~") COLUMN(NAME=~"item.descr~") COLUMN(NAME=~"sorditem.quantity~") COMPUTE(NAME=~"SORDITEM.QUANTITY-SORDITEM.QTY_DESP  PENDING_QUANTITY~") COMPUTE(NAME=~"0 stock_quantity~") COLUMN(NAME=~"sorditem.qty_alloc~") COLUMN(NAME=~"sorddet.pack_instr~") COLUMN(NAME=~"sorddet.site_code~") COLUMN(NAME=~"sorditem.exp_lev~") COMPUTE(NAME=~"'          '  LAST_COL~")    JOIN (LEFT=~"sorddet.sale_order~"    OP =~"=~"RIGHT=~"sorder.sale_order~" )    JOIN (LEFT=~"sorder.sale_order~"    OP =~"=~"RIGHT=~"sorditem.sale_order~" )    JOIN (LEFT=~"sorddet.line_no~"    OP =~"=~"RIGHT=~"sorditem.line_no~" )    JOIN (LEFT=~"sorditem.item_code__ord~"    OP =~"=~"RIGHT=~"item.item_code~" )    JOIN (LEFT=~"sorder.cust_code~"    OP =~"=~"RIGHT=~"customer.cust_code~" )    JOIN (LEFT=~"sorddet.site_code~"    OP =~"=~"RIGHT=~"sorditem.site_code~" )) " update="sorder" updatewhere=0 updatekeyinplace=no )
text(band=header alignment="0" text="Customer Code" border="6" color="33554432" x="2" y="2" height="16" width="99" html.valueishtml="0"  name=cust_code_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="2" background.color="67108864" )
text(band=header alignment="2" text="Line No" border="6" color="33554432" x="351" y="2" height="16" width="45" 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="2" background.color="67108864" )
text(band=header alignment="2" text="Item Code" border="6" color="33554432" x="564" y="2" height="16" width="66" html.valueishtml="0"  name=item_code_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="2" background.color="67108864" )
text(band=header alignment="0" text="Description" border="6" color="33554432" x="632" y="2" height="16" width="343" html.valueishtml="0"  name=item_descr_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="2" background.color="67108864" )
text(band=header alignment="1" text="Qty Alloc" border="6" color="33554432" x="1242" y="2" height="16" width="72" html.valueishtml="0"  name=qty_alloc_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="2" background.color="67108864" )
text(band=header alignment="1" text="Stock Qty" border="6" color="33554432" x="1153" y="2" height="16" width="87" html.valueishtml="0"  name=stock_quantity_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="2" background.color="67108864" )
text(band=header alignment="2" text="Sale Order" border="6" color="33554432" x="398" y="2" height="16" width="86" html.valueishtml="0"  name=sale_order_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="2" background.color="67108864" )
text(band=header alignment="2" text="Due Date" border="6" color="33554432" x="486" y="2" height="16" width="76" html.valueishtml="0"  name=due_date_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="2" background.color="67108864" )
text(band=header alignment="0" text="Packing Instruction" border="6" color="33554432" x="1316" y="2" height="16" width="299" html.valueishtml="0"  name=pack_instr_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="2" background.color="67108864" )
text(band=header alignment="2" text="Site Code" border="6" color="33554432" x="1617" y="2" height="16" width="57" html.valueishtml="0"  name=site_code_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="2" background.color="67108864" )
text(band=header alignment="0" text="Exp Lev" border="6" color="33554432" x="1676" y="2" height="16" width="71" html.valueishtml="0"  name=exp_lev_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="2" background.color="67108864" )
text(band=header alignment="1" text="Quantity" border="6" color="33554432" x="977" y="2" height="16" width="72" html.valueishtml="0"  name=quantity_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="2" background.color="67108864" )
text(band=header alignment="1" text="Pending Qty" border="6" color="33554432" x="1051" y="2" height="16" width="100" html.valueishtml="0"  name=pending_quantity_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="2" background.color="67108864" )
text(band=header alignment="0" text="Customer Name" border="6" color="33554432" x="103" y="2" height="16" width="246" html.valueishtml="0"  name=cust_name_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="2" background.color="67108864" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="2" y="2" height="15" width="99" format="[general]" html.valueishtml="0"  name=cust_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="2" background.color="16777215" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="103" y="2" height="15" width="246" format="[general]" html.valueishtml="0"  name=cust_name visible="1" edit.limit=40 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=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="351" y="2" height="15" width="45" 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=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="398" y="2" height="15" width="86" format="[general]" html.valueishtml="0"  name=sale_order 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=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="486" y="2" height="15" width="76" format="[shortdate] [time]" html.valueishtml="0"  name=due_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="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="564" y="2" height="15" 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="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="632" y="2" height="15" width="343" 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="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=8 alignment="1" tabsequence=32766 border="0" color="33554432" x="977" y="2" height="15" 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="2" background.color="16777215" )
column(band=detail id=11 alignment="1" tabsequence=10 border="0" color="33554432" x="1242" y="2" height="15" width="72" format="[general]" html.valueishtml="0"  name=qty_alloc 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="2" background.color="16777215" )
column(band=detail id=9 alignment="1" tabsequence=32766 border="0" color="33554432" x="1051" y="2" height="15" width="100" format="[general]" html.valueishtml="0"  name=pending_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="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="0" color="33554432" x="1153" y="2" height="15" width="87" format="[general]" html.valueishtml="0"  name=stock_quantity 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="2" background.color="16777215" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="0" color="33554432" x="1316" y="2" height="15" width="299" format="[general]" html.valueishtml="0"  name=pack_instr visible="1" edit.limit=120 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=13 alignment="0" tabsequence=32766 border="0" color="33554432" x="1617" y="2" height="15" 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="2" background.color="16777215" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="33554432" x="1676" y="2" height="15" width="71" format="[general]" html.valueishtml="0"  name=exp_lev visible="1" edit.limit=0 edit.case=any 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=15 alignment="0" tabsequence=32766 border="0" color="33554432" x="1749" y="1" height="16" width="1" format="[general]" html.valueishtml="0"  name=last_col 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="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(usetemplate="" headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0  template=(comment="" encoding="UTF-8" name="xx" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><untitled><untitled_row __pbband=~"detail~"><sorder_cust_code>cust_code</sorder_cust_code><customer_cust_name>cust_name</customer_cust_name><sorddet_line_no>line_no</sorddet_line_no><sorder_sale_order>sale_order</sorder_sale_order><sorder_due_date>due_date</sorder_due_date><sorditem_item_code>item_code</sorditem_item_code><item_descr>item_descr</item_descr><sorditem_quantity>quantity</sorditem_quantity><stosc_quantity/><sorditem_qty_alloc>qty_alloc</sorditem_qty_alloc><sorddet_pack_instr>pack_instr</sorddet_pack_instr><sorddet_site_code>site_code</sorddet_site_code><pending_quantity>pending_quantity</pending_quantity></untitled_row></untitled>"))
import.xml(usetemplate="" )
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
 