$PBExportHeader$d_spl_sales_por_hdr_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 )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=546 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="spl_sales_por_hdr.tran_id" )
 column=(type=datetime update=yes updatewhereclause=yes name=tran_date dbname="spl_sales_por_hdr.tran_date" )
 column=(type=char(10) update=yes updatewhereclause=yes name=invoice_id dbname="spl_sales_por_hdr.invoice_id" )
 column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="spl_sales_por_hdr.site_code" )
 column=(type=char(10) update=yes updatewhereclause=yes name=cust_code dbname="spl_sales_por_hdr.cust_code" )
 column=(type=char(5) update=yes updatewhereclause=yes name=curr_code dbname="spl_sales_por_hdr.curr_code" )
 column=(type=decimal(6) update=yes updatewhereclause=yes name=exch_rate dbname="spl_sales_por_hdr.exch_rate" )
 column=(type=decimal(3) update=yes updatewhereclause=yes name=amount dbname="spl_sales_por_hdr.amount" )
 column=(type=char(10) update=yes updatewhereclause=yes name=tran_id__drn dbname="spl_sales_por_hdr.tran_id__drn" )
 column=(type=char(1) update=yes updatewhereclause=yes name=confirmed dbname="spl_sales_por_hdr.confirmed" )
 column=(type=datetime update=yes updatewhereclause=yes name=conf_date dbname="spl_sales_por_hdr.conf_date" )
 column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__aprv dbname="spl_sales_por_hdr.emp_code__aprv" )
 column=(type=char(1) update=yes updatewhereclause=yes name=wf_status dbname="spl_sales_por_hdr.wf_status" initial="O" values="Open	O/Submit	S/Reject	R/" )
 column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="spl_sales_por_hdr.chg_date" )
 column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="spl_sales_por_hdr.chg_user" )
 column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="spl_sales_por_hdr.chg_term" )
 column=(type=char(40) updatewhereclause=yes name=cust_name dbname="customer.cust_name" )
 column=(type=char(60) updatewhereclause=yes name=site_descr dbname="site.descr" )
 column=(type=char(6) updatewhereclause=yes name=prd_code dbname="invoice.prd_code" )
 column=(type=decimal(3) update=yes updatewhereclause=yes name=debit_note_amt dbname="spl_sales_por_hdr.debit_note_amt" )
 retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"spl_sales_por_hdr~" )  TABLE(NAME=~"customer~" )  TABLE(NAME=~"site~" )  TABLE(NAME=~"invoice~" ) COLUMN(NAME=~"spl_sales_por_hdr.tran_id~") COLUMN(NAME=~"spl_sales_por_hdr.tran_date~") COLUMN(NAME=~"spl_sales_por_hdr.invoice_id~") COLUMN(NAME=~"spl_sales_por_hdr.site_code~") COLUMN(NAME=~"spl_sales_por_hdr.cust_code~") COLUMN(NAME=~"spl_sales_por_hdr.curr_code~") COLUMN(NAME=~"spl_sales_por_hdr.exch_rate~") COLUMN(NAME=~"spl_sales_por_hdr.amount~") COLUMN(NAME=~"spl_sales_por_hdr.tran_id__drn~") COLUMN(NAME=~"spl_sales_por_hdr.confirmed~") COLUMN(NAME=~"spl_sales_por_hdr.conf_date~") COLUMN(NAME=~"spl_sales_por_hdr.emp_code__aprv~") COLUMN(NAME=~"spl_sales_por_hdr.wf_status~") COLUMN(NAME=~"spl_sales_por_hdr.chg_date~") COLUMN(NAME=~"spl_sales_por_hdr.chg_user~") COLUMN(NAME=~"spl_sales_por_hdr.chg_term~") COLUMN(NAME=~"customer.cust_name~") COLUMN(NAME=~"site.descr~") COLUMN(NAME=~"invoice.prd_code~") COLUMN(NAME=~"spl_sales_por_hdr.debit_note_amt~")    JOIN (LEFT=~"customer.cust_code~"    OP =~"=~"RIGHT=~"spl_sales_por_hdr.cust_code~" )    JOIN (LEFT=~"site.site_code~"    OP =~"=~"RIGHT=~"spl_sales_por_hdr.site_code~" )    JOIN (LEFT=~"spl_sales_por_hdr.invoice_id~"    OP =~"=~"RIGHT=~"invoice.invoice_id~" )WHERE(    EXP1 =~"spl_sales_por_hdr.tran_id~"   OP =~"=~"    EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="spl_sales_por_hdr" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string)) )
groupbox(band=detail text="Basic"border="2" color="33554432" x="7" y="4" height="248" width="558"  name=gb_1 visible="1"  font.face="Marlett" font.height="-10" font.weight="400"  font.family="0" font.pitch="2" font.charset="2" background.mode="2" background.color="67108864" )
groupbox(band=detail text="Others"border="2" color="33554432" x="6" y="264" height="92" width="558"  name=gb_2 visible="1"  font.face="Symbol" font.height="-10" font.weight="400"  font.family="1" font.pitch="2" font.charset="2" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Change Date:" border="0" color="33554432" x="16" y="294" height="16" width="82" html.valueishtml="0"  name=chg_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="553648127" )
text(band=detail alignment="1" text="Change User:" border="0" color="33554432" x="195" y="294" height="16" width="80" html.valueishtml="0"  name=chg_user_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="553648127" )
text(band=detail alignment="1" text="Change Term:" border="0" color="33554432" x="373" y="294" height="16" width="85" html.valueishtml="0"  name=chg_term_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="553648127" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="255" x="102" y="294" height="16" width="90" format="[shortdate] [time]" html.valueishtml="0"  name=chg_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="67108864" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="278" y="294" height="16" width="90" format="[general]" html.valueishtml="0"  name=chg_user 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=16 alignment="0" tabsequence=32766 border="5" color="255" x="462" y="294" height="16" width="90" format="[general]" html.valueishtml="0"  name=chg_term 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="Transaction Id:" border="0" color="33554432" x="15" y="29" height="16" width="97" 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="1" background.color="553648127" )
text(band=detail alignment="1" text="Currency Code:" border="0" color="33554432" x="15" y="121" height="16" width="97" html.valueishtml="0"  name=curr_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="553648127" )
text(band=detail alignment="1" text="Amount:" border="0" color="33554432" x="15" y="144" height="16" width="97" 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="553648127" )
text(band=detail alignment="1" text="Exchange Rate:" border="0" color="33554432" x="327" y="121" height="16" width="97" html.valueishtml="0"  name=exch_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="553648127" )
text(band=detail alignment="1" text="Tran Id  Drn:" border="0" color="33554432" x="327" y="144" height="16" width="97" html.valueishtml="0"  name=tran_id__drn_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="553648127" )
column(band=detail id=7 alignment="1" tabsequence=32766 border="5" color="255" x="428" y="121" height="16" width="90" format="[general]" html.valueishtml="0"  name=exch_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="2" background.color="67108864" )
text(band=detail alignment="1" text="Emp Code  Aprv:" border="0" color="33554432" x="15" y="190" height="16" width="97" html.valueishtml="0"  name=emp_code__aprv_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="553648127" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="428" y="144" height="16" width="90" format="[general]" html.valueishtml="0"  name=tran_id__drn 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" )
text(band=detail alignment="1" text="Status:" border="0" color="33554432" x="48" y="167" height="16" width="65" html.valueishtml="0"  name=wf_status_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="553648127" )
text(band=detail alignment="1" text="Confirmed:" border="0" color="33554432" x="208" y="167" height="16" width="68" html.valueishtml="0"  name=confirmed_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="553648127" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="279" y="167" height="16" width="50" format="[general]" html.valueishtml="0"  name=confirmed visible="1" edit.limit=1 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="Confirmed Date:" border="0" color="33554432" x="333" y="167" height="16" width="97" html.valueishtml="0"  name=conf_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="553648127" )
text(band=detail alignment="1" text="Period Code:" border="0" color="33554432" x="328" y="190" height="16" width="97" html.valueishtml="0"  name=prd_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="553648127" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="255" x="428" y="167" height="16" width="90" format="[shortdate] [time]" html.valueishtml="0"  name=conf_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="67108864" )
column(band=detail id=19 alignment="0" tabsequence=32766 border="5" color="255" x="428" y="190" height="16" width="90" format="[general]" html.valueishtml="0"  name=prd_code 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=2 alignment="0" tabsequence=32766 border="5" color="255" x="428" y="29" height="16" width="90" format="[shortdate] [time]" html.valueishtml="0"  name=tran_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="67108864" )
text(band=detail alignment="1" text="Transaction Date:" border="0" color="33554432" x="322" y="29" height="16" width="102" html.valueishtml="0"  name=tran_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="553648127" )
text(band=detail alignment="1" text="Site Code:" border="0" color="33554432" x="15" y="52" height="16" width="97" 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="553648127" )
column(band=detail id=18 alignment="0" tabsequence=32766 border="5" color="255" x="213" y="52" height="16" width="305" format="[general]" html.valueishtml="0"  name=site_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" )
text(band=detail alignment="1" text="Customer Code:" border="0" color="33554432" x="15" y="75" height="16" width="97" html.valueishtml="0"  name=cust_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="553648127" )
text(band=detail alignment="1" text="Invoice Id:" border="0" color="33554432" x="15" y="98" height="16" width="97" html.valueishtml="0"  name=invoice_id_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="553648127" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="116" y="29" height="16" width="100" 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=6 alignment="0" tabsequence=32766 border="5" color="255" x="116" y="121" height="16" width="90" format="[general]" html.valueishtml="0"  name=curr_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="67108864" )
column(band=detail id=8 alignment="1" tabsequence=32766 border="5" color="255" x="116" y="144" height="16" width="90" format="[general]" html.valueishtml="0"  name=amount 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=13 alignment="0" tabsequence=40 border="5" color="0" x="116" y="167" height="16" width="90" format="[general]" html.valueishtml="0"  name=wf_status visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.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="5" color="255" x="116" y="190" height="16" width="90" format="[general]" html.valueishtml="0"  name=emp_code__aprv 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=4 alignment="0" tabsequence=10 border="5" color="0" x="116" y="52" height="16" width="90" format="[general]" html.valueishtml="0"  name=site_code visible="1" edit.limit=5 edit.case=upper 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=20 border="5" color="0" x="116" y="75" height="16" width="90" format="[general]" html.valueishtml="0"  name=cust_code visible="1" edit.limit=10 edit.case=upper 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=30 border="5" color="33554432" x="116" y="98" height="16" width="90" format="[general]" html.valueishtml="0"  name=invoice_id visible="1" edit.limit=10 edit.case=upper 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" )
text(band=detail alignment="1" text="Debit Note Amount:" border="0" color="33554432" x="311" y="98" height="15" width="114" 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="1" background.color="553648127" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="5" color="255" x="213" y="75" height="16" width="305" format="[general]" html.valueishtml="0"  name=cust_name 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=20 alignment="1" tabsequence=32766 border="5" color="255" x="428" y="98" height="15" width="90" 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" )
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_hdr_edit" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><d_spl_sales_por_hdr_edit><d_spl_sales_por_hdr_edit_row __pbband=~"detail~"><tran_id/><tran_date>tran_date</tran_date><invoice_id>invoice_id</invoice_id><site_code/><cust_code>cust_code</cust_code><curr_code>curr_code</curr_code><exch_rate>exch_rate</exch_rate><amount>amount</amount><tran_id__drn>tran_id__drn</tran_id__drn><confirmed>confirmed</confirmed><conf_date>conf_date</conf_date><emp_code__aprv>emp_code__aprv</emp_code__aprv><wf_status>wf_status</wf_status><chg_date>chg_date</chg_date><chg_user>chg_user</chg_user><chg_term>chg_term</chg_term><cust_name>cust_name</cust_name><site_descr>site_descr</site_descr><prd_code>prd_code</prd_code><debit_note_amt>debit_note_amt</debit_note_amt></d_spl_sales_por_hdr_edit_row></d_spl_sales_por_hdr_edit>"))
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
 