📄 d_add_sales_order_items.srd
字号:
$PBExportHeader$d_add_sales_order_items.srd
$PBExportComments$DataWindow to add items to a sales order
release 8;
datawindow(units=0 timer_interval=0 color=73955432 processing=0 HTMLDW=no print.documentname="" print.orientation = 0 print.margin.left = 107 print.margin.right = 107 print.margin.top = 97 print.margin.bottom = 97 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no )
header(height=116 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=248 color="536870912" )
table(column=(type=long update=yes updatewhereclause=yes key=yes name=sales_order_items_id dbname="sales_order_items.id" )
column=(type=long update=yes updatewhereclause=yes key=yes name=line_id dbname="sales_order_items.line_id" )
column=(type=long update=yes updatewhereclause=yes name=prod_id dbname="sales_order_items.prod_id" )
column=(type=long update=yes updatewhereclause=yes name=quantity dbname="sales_order_items.quantity" )
column=(type=datetime update=yes updatewhereclause=yes name=ship_date dbname="sales_order_items.ship_date" )
column=(type=char(30) updatewhereclause=yes name=product_description dbname="product.description" )
column=(type=decimal(2) updatewhereclause=yes name=product_unit_price dbname="product.unit_price" )
column=(type=char(255) updatewhereclause=yes name=product_picture_name dbname="product.picture_name" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"sales_order_items~" ) TABLE(NAME=~"product~" ) COLUMN(NAME=~"sales_order_items.id~") COLUMN(NAME=~"sales_order_items.line_id~") COLUMN(NAME=~"sales_order_items.prod_id~") COLUMN(NAME=~"sales_order_items.quantity~") COLUMN(NAME=~"sales_order_items.ship_date~") COLUMN(NAME=~"product.description~") COLUMN(NAME=~"product.unit_price~") COLUMN(NAME=~"product.picture_name~") JOIN (LEFT=~"product.id~" OP =~"=~"RIGHT=~"sales_order_items.prod_id~" )) " update="sales_order_items" updatewhere=0 updatekeyinplace=no )
text(band=header alignment="0" text="产品" border="0" color="41943040" x="183" y="24" height="72" width="215" html.valueishtml="0" name=sales_order_items_prod_id_t visible="1" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="运输日期" border="0" color="41943040" x="494" y="24" height="72" width="416" html.valueishtml="0" name=sales_order_items_ship_date_t visible="1" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" )
text(band=header alignment="1" text="数量" border="0" color="41943040" x="1006" y="24" height="72" width="229" html.valueishtml="0" name=sales_order_items_quantity_t visible="1" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" )
text(band=header alignment="1" text="总价" border="0" color="41943040" x="1787" y="24" height="72" width="174" html.valueishtml="0" name=t_1 visible="1" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" )
text(band=header alignment="1" text="单价" border="0" color="41943040" x="1349" y="24" height="72" width="338" html.valueishtml="0" name=product_unit_price_t visible="1" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="187" y="156" height="96" width="1065" format="[general]" html.valueishtml="0" name=product_description visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="73955432" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="0" color="33554432" x="14" y="28" height="72" width="133" format="[general]" html.valueishtml="0" name=line_id tag="Line item Identification Number" visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="33554432" x="187" y="28" height="84" width="210" format="[general]" html.valueishtml="0" name=prod_id tag="Product Identification Number" visible="1" edit.name="Products" dddw.name=d_dddw_products dddw.displaycolumn=id dddw.datacolumn=id dddw.percentwidth=650 dddw.lines=0 dddw.limit=0 dddw.allowedit=no dddw.useasborder=no dddw.case=any dddw.imemode=0 dddw.vscrollbar=yes font.face="MS Sans Serif" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="73955432" )
column(band=detail id=5 alignment="0" tabsequence=10 border="5" color="33554432" x="498" y="28" height="72" width="411" format="[general]" html.valueishtml="0" name=ship_date tag="Date shipped" visible="1" edit.name="MM/DD/YY" editmask.mask="yyyy/mm/dd" editmask.imemode=0 editmask.focusrectangle=no font.face="MS Sans Serif" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1089535999" )
column(band=detail id=4 alignment="1" tabsequence=20 border="5" color="33554432" x="1006" y="28" height="72" width="233" format="[general]" html.valueishtml="0" name=quantity tag="Quantity ordered" visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1089535999" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="41943040" x="2199" y="28" height="180" width="233" format="[general]" html.valueishtml="0" name=product_picture_name tag=".bmp filename that shows what the product looks like" visible="1" bitmapname=yes edit.limit=255 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
compute(band=detail alignment="1" expression="quantity * product_unit_price "border="5" color="33554432" x="1797" y="28" height="72" width="347" format="[currency]" html.valueishtml="0" name=total_cost visible="1" font.face="MS Sans Serif" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="73955432" )
column(band=detail id=7 alignment="1" tabsequence=32766 border="5" color="33554432" x="1358" y="28" height="72" width="329" format="$#,##0.00;[RED]($#,##0.00)" html.valueishtml="0" name=product_unit_price tag="Unit price per product" visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="73955432" )
htmltable(border="0" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" netscapelayers="0" )
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -