-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmyinfo_GBOPE.xml
37 lines (37 loc) · 1.82 KB
/
myinfo_GBOPE.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
29
30
31
32
33
34
35
36
37
<GroupBox cols="xs12 sm12 md12 lg12" Name="GBOPEusers_v" Size="100,100"><Ctrls>
<Button sqlpkinsert="" Text="create" ToolTip="ttp_createusers_v" Name="insertusers_v" Size="50,20">
<OnClick>
<DbDetails mode="insert" fcsm="1">
<DbTable>vtigercrm6.users_v</DbTable>
<Required>%{dataRequired}</Required>
<Requireless>%{dataRequireless}</Requireless>
<Data>user_name,fullname,rolename,first_name,last_name</Data>
<DataEx/>
<queryFormat>insert into %{table} %{data}</queryFormat></DbDetails>
<submit namelist="DbDetails"/><if cond="%{refreshAfterEdit}"><submit next="users_vLst"/></if>
</OnClick>
</Button><TAB/>
<Button Text="modify" ToolTip="ttp_modifyusers_v" Name="modifyusers_v" Size="50,20">
<OnClick>
<DbDetails mode="update" fcsm="1">
<DbTable>vtigercrm6.users_v</DbTable>
<Required>%{dataRequired}</Required>
<Requireless>%{dataRequireless}</Requireless>
<Data>user_name,fullname,rolename,first_name,last_name</Data>
<DataEx/>
<Where>user_name='%{users_vLst[user_name]}' and fullname='%{users_vLst[fullname]}' and rolename='%{users_vLst[rolename]}' and first_name='%{users_vLst[first_name]}' and last_name='%{users_vLst[last_name]}'</Where>
<queryFormat>update %{table} set %{data} where %{where}</queryFormat></DbDetails>
<submit namelist="DbDetails"/><if cond="%{refreshAfterEdit}"><submit next="users_vLst"/></if>
</OnClick>
</Button><TAB/>
<Button Text="reset" ToolTip="ttp_resetusers_v" Name="resetusers_v" Size="50,20">
<OnClick>
<submit next="GBDEDITusers_v" function="reset"/>
</OnClick>
</Button><TAB/>
<Button Text="gsearch" ToolTip="ttp_gsearchusers_v" Name="gsearchusers_v" Size="50,20" visible="false">
<OnClick>
<search next="users_vLst" listed="0" prefixwhere="0" inputed="1"><zone_id op="(" ref=""/></search><submit next="GBDEDITusers_v" namelist="search" function="search"/>
</OnClick>
</Button><TAB/>
</Ctrls></GroupBox>