$PBExportHeader$d_spl_sales_por_det_edit.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 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 )
header(height=6 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=309 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="spl_sales_por_det.tran_id" )
 column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="spl_sales_por_det.line_no" )
 column=(type=decimal(0) update=yes updatewhereclause=yes name=line_no__trace dbname="spl_sales_por_det.line_no__trace" )
 column=(type=char(10) update=yes updatewhereclause=yes name=item_code dbname="spl_sales_por_det.item_code" )
 column=(type=char(8) update=yes updatewhereclause=yes name=loc_code dbname="spl_sales_por_det.loc_code" )
 column=(type=char(15) update=yes updatewhereclause=yes name=lot_no dbname="spl_sales_por_det.lot_no" )
 column=(type=char(15) update=yes updatewhereclause=yes name=lot_sl dbname="spl_sales_por_det.lot_sl" )
 column=(type=char(40) update=yes updatewhereclause=yes name=bill_no dbname="spl_sales_por_det.bill_no" )
 column=(type=datetime update=yes updatewhereclause=yes name=bil_date dbname="spl_sales_por_det.bil_date" )
 column=(type=decimal(4) update=yes updatewhereclause=yes name=rate__inv dbname="spl_sales_por_det.rate__inv" )
 column=(type=decimal(4) update=yes updatewhereclause=yes name=rate__resale dbname="spl_sales_por_det.rate__resale" initial="0" )
 column=(type=decimal(3) update=yes updatewhereclause=yes name=quantity__inv dbname="spl_sales_por_det.quantity__inv" )
 column=(type=char(0) updatewhereclause=yes name=item_ser__prom dbname="item_ser__prom" )
 column=(type=char(0) updatewhereclause=yes name=prd_code dbname="prd_code" )
 column=(type=char(130) updatewhereclause=yes name=descr dbname="item.descr" )
 column=(type=char(100) update=yes updatewhereclause=yes name=remarks dbname="spl_sales_por_det.remarks" )
 column=(type=decimal(0) update=yes updatewhereclause=yes name=transit_day dbname="spl_sales_por_det.transit_day" )
 column=(type=decimal(3) update=yes updatewhereclause=yes name=debit_note_amt dbname="spl_sales_por_det.debit_note_amt" )
 column=(type=decimal(4) update=yes updatewhereclause=yes name=aprv_rate dbname="spl_sales_por_det.aprv_rate" )
 column=(type=decimal(3) update=yes updatewhereclause=yes name=quantity__resale dbname="spl_sales_por_det.quantity__resale" initial="0" )
 retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"spl_sales_por_det~" )  TABLE(NAME=~"item~" ) COLUMN(NAME=~"spl_sales_por_det.tran_id~") COLUMN(NAME=~"spl_sales_por_det.line_no~") COLUMN(NAME=~"spl_sales_por_det.line_no__trace~") COLUMN(NAME=~"spl_sales_por_det.item_code~") COLUMN(NAME=~"spl_sales_por_det.loc_code~") COLUMN(NAME=~"spl_sales_por_det.lot_no~") COLUMN(NAME=~"spl_sales_por_det.lot_sl~") COLUMN(NAME=~"spl_sales_por_det.bill_no~") COLUMN(NAME=~"spl_sales_por_det.bil_date~") COLUMN(NAME=~"spl_sales_por_det.rate__inv~") COLUMN(NAME=~"spl_sales_por_det.rate__resale~") COLUMN(NAME=~"spl_sales_por_det.quantity__inv~") COMPUTE(NAME=~"'' item_ser__prom~") COMPUTE(NAME=~"'' prd_code~") COLUMN(NAME=~"item.descr~") COLUMN(NAME=~"spl_sales_por_det.remarks~") COLUMN(NAME=~"spl_sales_por_det.transit_day~") COLUMN(NAME=~"spl_sales_por_det.debit_note_amt~") COLUMN(NAME=~"spl_sales_por_det.aprv_rate~") COLUMN(NAME=~"spl_sales_por_det.quantity__resale~")    JOIN (LEFT=~"item.item_code~"    OP =~"=~"RIGHT=~"spl_sales_por_det.item_code~" )WHERE(    EXP1 =~"spl_sales_por_det.tran_id~"   OP =~"=~"    EXP2 =~":tran_id~"    LOGIC =~"And~" ) WHERE(    EXP1 =~"spl_sales_por_det.line_no~"   OP =~"=~"    EXP2 =~":line_no~" ) ) ARG(NAME = ~"tran_id~" TYPE = string)  ARG(NAME = ~"line_no~" TYPE = number) " update="spl_sales_por_det" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string),("line_no", number)) )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="255" x="121" y="92" height="16" width="80" 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="67108864" )
column(band=detail id=10 alignment="1" tabsequence=32766 border="5" color="255" x="121" y="115" height="16" width="80" format="[general]" html.valueishtml="0"  name=rate__inv 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="67108864" )
column(band=detail id=11 alignment="1" tabsequence=10 border="5" color="33554432" x="121" y="138" height="16" width="80" format="[General]" html.valueishtml="0"  name=rate__resale 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=8 alignment="0" tabsequence=30 border="5" color="33554432" x="121" y="161" height="16" width="80" format="0.00" html.valueishtml="0"  name=bill_no 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=19 alignment="1" tabsequence=32766 border="5" color="255" x="121" y="184" height="15" width="80" format="[general]" html.valueishtml="0"  name=aprv_rate 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="2" background.color="67108864" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="255" x="121" y="229" height="16" width="48" format="[general]" html.valueishtml="0"  name=item_ser__prom 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="2" background.color="67108864" )
column(band=detail id=16 alignment="0" tabsequence=50 border="5" color="0" x="121" y="252" height="16" width="330" format="[general]" html.valueishtml="0"  name=remarks 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="2" background.color="16777215" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="121" y="46" height="16" width="90" format="[general]" html.valueishtml="0"  name=tran_id 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="67108864" )
column(band=detail id=3 alignment="1" tabsequence=32766 border="5" color="255" x="121" y="69" height="16" width="80" format="[general]" html.valueishtml="0"  name=line_no__trace 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="67108864" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="255" x="371" y="46" height="16" width="80" format="[general]" html.valueishtml="0"  name=line_no 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="67108864" )
column(band=detail id=18 alignment="1" tabsequence=32766 border="5" color="255" x="371" y="69" height="15" width="80" format="[general]" html.valueishtml="0"  name=debit_note_amt 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="2" background.color="67108864" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="206" y="91" height="16" width="245" format="[general]" html.valueishtml="0"  name=descr 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="2" background.color="67108864" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="255" x="391" y="205" height="16" width="60" 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="2" background.color="67108864" )
text(band=detail alignment="1" text="Transaction Id:" border="0" color="33554432" x="21" y="46" height="16" width="98" 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="2" background.color="67108864" )
text(band=detail alignment="1" text="Line No  Trace:" border="0" color="33554432" x="21" y="69" height="16" width="98" html.valueishtml="0"  name=line_no__trace_t visible="1"  font.face="Arial" font.height="-10" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Item Code:" border="0" color="33554432" x="21" y="92" height="16" width="98" 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="2" background.color="67108864" )
text(band=detail alignment="1" text="Invoice Rate:" border="0" color="33554432" x="21" y="115" height="15" width="98" html.valueishtml="0"  name=rate__inv_t visible="1"  font.face="Arial" font.height="-10" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="End sale rate:" border="0" color="33554432" x="21" y="137" height="16" width="98" html.valueishtml="0"  name=rate__resale_t visible="1"  font.face="Arial" font.height="-10" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Stockist Bill No:" border="0" color="33554432" x="21" y="160" height="16" width="98" html.valueishtml="0"  name=bill_no_t visible="1"  font.face="Arial" font.height="-10" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Approved Rate:" border="0" color="33554432" x="17" y="183" height="15" width="102" html.valueishtml="0"  name=amount_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="Lot Sl:" border="0" color="33554432" x="76" y="206" height="16" width="43" 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="2" background.color="67108864" )
text(band=detail alignment="1" text="Item Ser Porm:" border="0" color="33554432" x="21" y="229" height="16" width="98" 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="2" background.color="67108864" )
text(band=detail alignment="1" text="Remarks:" border="0" color="33554432" x="43" y="252" height="15" width="76" html.valueishtml="0"  name=t_2 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=7 alignment="0" tabsequence=32766 border="5" color="255" x="121" y="206" height="16" width="80" 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="2" background.color="67108864" )
text(band=detail alignment="1" text="Lot No:" border="0" color="33554432" x="206" y="206" height="16" width="45" 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="2" background.color="67108864" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="255" x="252" y="206" height="16" width="70" 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="2" background.color="67108864" )
text(band=detail alignment="1" text="Loc Code:" border="0" color="33554432" x="326" y="206" height="16" width="62" 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="2" background.color="67108864" )
column(band=detail id=12 alignment="1" tabsequence=32766 border="5" color="255" x="371" y="114" height="16" width="80" format="[general]" html.valueishtml="0"  name=quantity__inv 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="67108864" )
column(band=detail id=20 alignment="1" tabsequence=20 border="5" color="33554432" x="371" y="137" height="16" width="80" format="[General]" html.valueishtml="0"  name=quantity__resale 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="0" tabsequence=40 border="5" color="33554432" x="371" y="160" height="16" width="80" format="[shortdate] [time]" html.valueishtml="0"  name=bil_date visible="1" editmask.mask="mm/dd/yy" editmask.imemode=0 editmask.focusrectangle=no  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=17 alignment="1" tabsequence=32766 border="5" color="255" x="371" y="183" height="15" width="80" format="[general]" html.valueishtml="0"  name=transit_day 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="2" background.color="67108864" )
text(band=detail alignment="1" text="Line No:" border="0" color="33554432" x="311" y="46" height="16" width="58" html.valueishtml="0"  name=line_no_t visible="1"  font.face="Arial" font.height="-10" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Debit Note Amount:" border="0" color="33554432" x="255" y="69" height="15" width="114" html.valueishtml="0"  name=t_3 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="Invoice Quantity:" border="0" color="33554432" x="271" y="114" height="15" width="98" html.valueishtml="0"  name=quantity__inv_t visible="1"  font.face="Arial" font.height="-10" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="POD Quantity:" border="0" color="33554432" x="271" y="137" height="16" width="98" html.valueishtml="0"  name=quantity__resale_t visible="1"  font.face="Arial" font.height="-10" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Stockist Bill Date:" border="0" color="33554432" x="259" y="160" height="16" width="110" html.valueishtml="0"  name=bil_date_t visible="1"  font.face="Arial" font.height="-10" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Transit Day(s):" border="0" color="33554432" x="284" y="183" height="15" width="85" html.valueishtml="0"  name=t_4 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" )
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_spl_sales_por_det_edit" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><d_spl_sales_por_det_edit><d_spl_sales_por_det_edit_row __pbband=~"detail~"><tran_id>tran_id</tran_id><line_no>line_no</line_no><line_no__trace>line_no__trace</line_no__trace><item_code>item_code</item_code><loc_code>loc_code</loc_code><lot_no>lot_no</lot_no><lot_sl>lot_sl</lot_sl><bill_no>bill_no</bill_no><bil_date>bil_date</bil_date><rate__inv>rate__inv</rate__inv><rate__resale>rate__resale</rate__resale><quantity__inv>quantity__inv</quantity__inv><quantity__resale>quantity__resale</quantity__resale><amount/><item_ser__prom>item_ser__prom</item_ser__prom><prd_code>prd_code</prd_code><descr>descr</descr><remarks>remarks</remarks><transit_day>transit_day</transit_day><debit_note_amt>debit_note_amt</debit_note_amt></d_spl_sales_por_det_edit_row></d_spl_sales_por_det_edit>"))
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
 