d_tab_sales_order_items


demopfc.pbl   >   d_tab_sales_order_items   

Last Update 13/03/2008 09:54:46
Size 21 444 bytes
Data Source
 SELECT  	sales_order_items.id, 	sales_order_items.line_id, 	sales_order_items.prod_id, 	sales_order_items.quantity, 	sales_order_items.ship_date, 	product.name, 	product.unit_price, 	product.description, 	product.prod_size, 	product.color FROM 	product, 	sales_order_items WHERE ( 	product.id = sales_order_items.prod_id ) AND 	( ( sales_order_items.id = :sales_order_items_id ) )
detail
 detail
 - List of objects belonging to this band 
 amount of type DWCompute
 product_color of type field 
 product_description of type field 
 product_name of type field 
 product_size of type field 
 product_unit_price of type field 
 sales_order_items_line_id of type field 
 sales_order_items_prod_id of type field 
 sales_order_items_quantity of type field 
 sales_order_items_ship_date of type field 
 t_2 of type DWText
 t_3 of type DWText
 t_4 of type DWText
 
footer
 footer
 - List of objects belonging to this band 
 l_1 of type DWLine
 l_2 of type DWLine
 t_5 of type DWText
 total of type DWCompute
 
header
 header
 - List of objects belonging to this band 
 product_name_t of type DWText
 product_unit_price_t of type DWText
 sales_order_items_line_id_t of type DWText
 sales_order_items_prod_id_t of type DWText
 sales_order_items_quantity_t of type DWText
 sales_order_items_ship_date_t of type DWText
 t_1 of type DWText
 
summary
 summary
 
product_color
 Field
 - Field associated with column "product.color"
 - A maximum of 0 characters can be entered.
 - Required field.
 - Left aligned field.
 
product_description
 Field
 - Field associated with column "product.description"
 - A maximum of 0 characters can be entered.
 - Required field.
 - Left aligned field.
 
product_name
 Field
 - Field associated with column "product.name"
 - A maximum of 15 characters can be entered.
 - Required field.
 - Left aligned field.
 - Tag value: Name of the product
 
product_size
 Field
 - Field associated with column "product.prod_size"
 - A maximum of 0 characters can be entered.
 - Required field.
 - Left aligned field.
 
product_unit_price
 Field
 - Field associated with column "product.unit_price"
 - A maximum of 0 characters can be entered.
 - Required field.
 - Right aligned field.
 - Tag value: Unit price per product
 
sales_order_items_id
 Field
 - Field associated with column "sales_order_items.id"
 - Required field.
 - Left aligned field.
 
sales_order_items_line_id
 Field
 - Field associated with column "sales_order_items.line_id"
 - A maximum of 0 characters can be entered.
 - Required field.
 - Center aligned field.
 - Tag value: Line item Identification Number
 
sales_order_items_prod_id
 Dropdown Datawindow
 - Field associated with column "sales_order_items.prod_id"
 - Optional field.
 - A maximum of 0 characters can be entered.
 - Right aligned field.
 - Tag value: Product ID
 - Associated DropDownDatawindow: dddw_product
 - Displayed at: 300%
 
sales_order_items_quantity
 Field
 - Field associated with column "sales_order_items.quantity"
 - A maximum of 0 characters can be entered.
 - Required field.
 - Right aligned field.
 - Initial value: 1
 - Tag value: Quantity ordered
 
sales_order_items_ship_date
 Edit mask
 - Field associated with column "sales_order_items.ship_date"
 - Optional field.
 - Left aligned field.
 - Initial value: today
 - Tag value: Date shipped
 - Edit mask: DD/MM/YYYY
 
 
amount
 Compute
 - Expression:  sales_order_items_quantity *  product_unit_price 
 - Display type: #,##0.00
 
total
 Compute
 - Expression:  sum(  amount for all )
 - Display type: #,##0.00
 
l_1
 DWLine
l_2
 DWLine
product_name_t
 Static Text
product_unit_price_t
 Static Text
sales_order_items_line_id_t
 Static Text
sales_order_items_prod_id_t
 Static Text
sales_order_items_quantity_t
 Static Text
sales_order_items_ship_date_t
 Static Text
t_1
 Static Text
t_2
 Static Text
t_3
 Static Text
t_4
 Static Text
t_5
 Static Text

release 7;
datawindow(units=0 timer_interval=0 color=78682240 processing=0 HTMLDW=no print.documentname="" print.orientation = 0 print.margin.left = 110 print.margin.right = 110 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=80 color="-1" )
summary(height=0 color="536870912" )
footer(height=92 color="536870912" )
detail(height=136 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=sales_order_items_line_id dbname="sales_order_items.line_id" )
 column=(type=long update=yes updatewhereclause=yes name=sales_order_items_prod_id dbname="sales_order_items.prod_id" )
 column=(type=long update=yes updatewhereclause=yes name=sales_order_items_quantity dbname="sales_order_items.quantity" initial="1" )
 column=(type=datetime update=yes updatewhereclause=yes name=sales_order_items_ship_date dbname="sales_order_items.ship_date" initial="today" )
 column=(type=char(15) updatewhereclause=yes name=product_name dbname="product.name" )
 column=(type=decimal(0) updatewhereclause=yes name=product_unit_price dbname="product.unit_price" )
 column=(type=char(30) updatewhereclause=yes name=product_description dbname="product.description" )
 column=(type=char(18) updatewhereclause=yes name=product_size dbname="product.prod_size" )
 column=(type=char(6) updatewhereclause=yes name=product_color dbname="product.color" )
 retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"product~" )  TABLE(NAME=~"sales_order_items~" ) 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.name~") COLUMN(NAME=~"product.unit_price~") COLUMN(NAME=~"product.description~") COLUMN(NAME=~"product.prod_size~") COLUMN(NAME=~"product.color~")    JOIN (LEFT=~"product.id~"    OP =~"=~"RIGHT=~"sales_order_items.prod_id~" )WHERE(    EXP1 =~"( ( sales_order_items.id~"   OP =~"=~"    EXP2 =~":sales_order_items_id ) )~" ) ) ARG(NAME = ~"sales_order_items_id~" TYPE = number) " update="sales_order_items" updatewhere=0 updatekeyinplace=no arguments=(("sales_order_items_id", number))  sort="sales_order_items_line_id A " )
text(band=header alignment="2" text="ID" border="6" color="33554432" x="18" y="12" height="56" width="224"  name=sales_order_items_line_id_t  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Product" border="6" color="33554432" x="256" y="12" height="56" width="297"  name=sales_order_items_prod_id_t  tag=""  font.face="Arial" font.height="-8" font.weight="700"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Description" border="6" color="33554432" x="567" y="12" height="56" width="974"  name=product_name_t  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Qty" border="6" color="33554432" x="1554" y="12" height="56" width="91"  name=sales_order_items_quantity_t  font.face="Arial" font.height="-8" font.weight="700"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Date" border="6" color="33554432" x="1659" y="12" height="56" width="379"  name=sales_order_items_ship_date_t  font.face="Arial" font.height="-8" font.weight="700"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Price" border="6" color="33554432" x="2053" y="12" height="56" width="306"  name=product_unit_price_t  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Amount" border="6" color="33554432" x="2373" y="12" height="56" width="320"  name=t_1  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="567" y="4" height="56" width="352" format="[general]"  name=product_name  tag="Name of the product" edit.limit=15 edit.case=any edit.autoselect=yes edit.autohscroll=yes  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="955" y="4" height="56" width="571" format="[general]"  name=product_description edit.limit=0 edit.case=any edit.autoselect=yes  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="0" text="Size :" border="0" color="33554432" x="567" y="72" height="56" width="137"  name=t_2  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="0" text="Color :" border="0" color="33554432" x="951" y="68" height="56" width="197"  name=t_3  font.face="Arial" font.height="-8" 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="0" color="33554432" x="1157" y="68" height="56" width="233" format="[general]"  name=product_color edit.limit=0 edit.case=any edit.autoselect=yes  font.face="Arial" font.height="-8" 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="0" color="33554432" x="718" y="68" height="56" width="197" format="[general]"  name=product_size edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=4 alignment="1" tabsequence=20 border="5" color="33554432" x="1554" y="4" height="124" width="96" format="[general]"  name=sales_order_items_quantity  tag="Quantity ordered" edit.limit=0 edit.case=any edit.autoselect=yes edit.required=yes edit.nilisnull=yes edit.autohscroll=yes  font.face="Arial" font.height="-8" font.weight="700"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=30 border="5" color="33554432" x="1669" y="4" height="124" width="375" format="[general]"  name=sales_order_items_ship_date  tag="Date shipped" editmask.required=yes editmask.spin=yes editmask.mask="DD/MM/YYYY" editmask.spinrange="~~" editmask.spinincr=1 editmask.focusrectangle=no  font.face="Arial" font.height="-8" font.weight="700"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="1" tabsequence=32766 border="5" color="33554432" x="2062" y="4" height="124" width="283" format="#,##0.00"  name=product_unit_price  tag="Unit price per product" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no  font.face="Arial" font.height="-8" font.weight="400"  font.family="1" font.pitch="1" font.charset="0" background.mode="1" background.color="553648127" )
compute(band=detail alignment="1" expression=" sales_order_items_quantity *  product_unit_price "border="5" color="33554432" x="2373" y="4" height="120" width="315" format="#,##0.00"  name=amount  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=3 alignment="1" tabsequence=10 border="5" color="33554432" x="251" y="4" height="124" width="288" format="[general]"  name=sales_order_items_prod_id  tag="Product ID" dddw.name=dddw_product dddw.displaycolumn=id dddw.datacolumn=id dddw.percentwidth=300 dddw.lines=0 dddw.limit=0 dddw.allowedit=no dddw.useasborder=yes dddw.case=any dddw.required=yes dddw.vscrollbar=yes  font.face="Arial" font.height="-8" font.weight="700"  font.family="2" font.pitch="2" font.charset="0" font.italic="1" background.mode="2" background.color="16777215" )
column(band=detail id=2 alignment="2" tabsequence=32766 border="5" color="33554432" x="18" y="4" height="124" width="210" format="[general]"  name=sales_order_items_line_id  tag="Line item Identification Number" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="0" text="" border="5" color="33554432" x="558" y="4" height="124" width="974"  name=t_4  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
line(band=footer x1="0" y1="8" x2="2793" y2="8"  name=l_1 pen.style="0" pen.width="5" pen.color="33554432"  background.mode="2" background.color="16777215" )
line(band=footer x1="0" y1="4" x2="2793" y2="4"  name=l_2 pen.style="0" pen.width="5" pen.color="33554432"  background.mode="2" background.color="16777215" )
text(band=footer alignment="0" text="Total :" border="0" color="33554432" x="2135" y="24" height="56" width="206"  name=t_5  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
compute(band=footer alignment="1" expression=" sum(  amount for all )"border="5" color="33554432" x="2373" y="24" height="52" width="315" format="#,##0.00"  name=total  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" )