-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbom_header_Vv.xml
20 lines (20 loc) · 1.29 KB
/
bom_header_Vv.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<GroupBox Name="GBDVbom_header" cols="xs12 sm12 md12 lg12"><Ctrls>
<ListCtrl Name="bom_header_vLst" ToolTip="ttp_bom_header_v" Size="700,450" OnLoad="init" Heading="created_by,60;creation_date,150;last_update_by,60;last_update_date,150;bom_header_id,60;" loadedclick="0">
<DbDetails >
<Index>bom_header_id</Index>
<DbTable>mes_trace.bom_header b</DbTable>
<Data>b.created_by,b.creation_date,b.last_update_by,b.last_update_date,b.bom_header_id</Data>
<Order>bom_header_id</Order></DbDetails>
<operator refresh="1" initial="0" firstpage="0" prepage="0" nextpage="0">
<op text="modify"><DbDetails><Where>bom_header_id='%{bom_header_vLst[bom_header_id]}'</Where></DbDetails><submit namelist="DbDetails" next="$this.bom_header.bom_headerLst"/><assign name="$this.bom_header.frmwndctrl" expr="%{this}"/></op>
<op text="delete" needconfirm="1"><DbDetails>
<DbTable>mes_trace.bom_header</DbTable>
<Where>bom_header_id='%{bom_header_vLst[bom_header_id]}'</Where>
<queryFormat>delete from %{table} where %{where}</queryFormat></DbDetails>
<submit namelist="DbDetails"/><submit/></op>
</operator>
<OnChanged>
<assign name="pgcur_bom_header" expr="js(%{bom_header_vLst[currentpage]}+1)"/>
<assign name="pgscb_bom_header" expr="js(%{bom_header_vLst[currentpage]}+1)" function="SetSel"/>
</OnChanged></ListCtrl>
</Ctrls></GroupBox>