-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathitem_properties_pick.xml
28 lines (28 loc) · 2.41 KB
/
item_properties_pick.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<WndTap Name="item_properties_pick" Text="item_properties_Pick">
<var name="searchtmpl"><property_id format="i.property_id='%{opvalue}'"/><property_value format="(i.property_value like '%%{opvalue}%')"/><created_by format="(i.created_by like '%%{opvalue}%')"/><creation_date format="(i.creation_date between '%{creation_date[datetime]}' and '%{creation_date[datetime2]}')"/><last_update_by format="(i.last_update_by like '%%{opvalue}%')"/><last_update_date format="(i.last_update_date between '%{last_update_date[datetime]}' and '%{last_update_date[datetime2]}')"/><idx format="(i.idx like '%%{opvalue}%')"/></var>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lan\item_properties.xml"/>
<Ctrls><GroupBox Name="GBitem_properties" id="item_properties" Text="item_properties" Size="100,100"><Ctrls>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="item_properties_Vs.xml"/>
<BR AutoHeight="1"/><GroupBox Name="GBOPVitem_properties" Size="100,20" cols="xs12 sm6 md4"><Ctrls>
<Button Text="reset" ToolTip="ttp_resetitem_properties" Name="resetitem_properties" Size="50,20">
<OnClick>
<submit next="GBDEDITitem_properties" function="reset"/>
</OnClick>
</Button><TAB/>
<Button Text="Search" ToolTip="ttp_gsearchitem_properties" Name="gsearchitem_properties" Size="50,20">
<OnClick>
<search next="item_properties_vLst" listed="0" prefixwhere="0" prefixand="0" inputed="1">%{searchtmpl}</search><submit next="GBDEDITitem_properties" namelist="search" function="search"/>
</OnClick>
</Button><TAB/></Ctrls></GroupBox>
<BR AutoHeight="1"/><GroupBox Name="GBDVitem_properties" cols="xs12 sm12 md12 lg12"><Ctrls>
<ListCtrl Name="item_properties_vLst" ToolTip="ttp_item_properties_v" Size="700,450" Heading="property_id,120;property_value,100;created_by,60;creation_date,150;last_update_by,60;last_update_date,150;idx,100;" loadedclick="0">
<DbDetails >
<Index>idx</Index>
<DbTable>bosa.item_properties i left join bosa.item_property i0 on i.property_id=i0.property_id</DbTable>
<Data>i0.prop_display_name property_id,i.property_value,i.created_by,i.creation_date,i.last_update_by,i.last_update_date,i.idx</Data>
<Order>idx</Order></DbDetails>
<OnClick><if cond="%{item_properties_vLst[idx]}"><DbDetails><Where>idx='%{item_properties_vLst[idx]}'</Where></DbDetails><submit namelist="DbDetails" next="$parent.%{frmwndctrl}"/><submit function="onok"/></if></OnClick>
</ListCtrl>
</Ctrls></GroupBox>
</Ctrls></GroupBox>
</Ctrls></WndTap>