-
Notifications
You must be signed in to change notification settings - Fork 1
/
vtiger_activity_Vv.xml
21 lines (21 loc) · 2.23 KB
/
vtiger_activity_Vv.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<GroupBox Name="GBDVvtiger_activity" cols="xs12 sm12 md12 lg12"><Ctrls>
<ListCtrl Name="vtiger_activity_vLst" ToolTip="ttp_vtiger_activity_v" Size="700,450" OnLoad="init" Heading="subject,500;semodule,100;activitytype,120;date_start,90;due_date,90;time_start,150;time_end,150;sendnotification,20;duration_hours,640;duration_minutes,640;status,640;eventstatus,640;priority,640;location,640;notime,20;visibility,250;recurringtype,640;activityid,95;created_by,55;creation_date,150;last_update_by,55;last_update_date,150;" loadedclick="0">
<DbDetails >
<Index>activityid</Index>
<DbTable>vtigercrm6.vtiger_activity v left join vtigercrm6.vtiger_activitytype v0 on v.activitytype=v0.activitytypeid left join vtigercrm6.vtiger_users v1 on v.created_by=v1.id left join vtigercrm6.vtiger_users v2 on v.last_update_by=v2.id</DbTable>
<Data>v.subject,v.semodule,v0.activitytype activitytype,v.date_start,v.due_date,v.time_start,v.time_end,v.sendnotification,v.duration_hours,v.duration_minutes,v.status,v.eventstatus,v.priority,v.location,v.notime,v.visibility,v.recurringtype,v.activityid,v1.user_name created_by,v.creation_date,v2.user_name last_update_by,v.last_update_date</Data>
<Order>activityid</Order></DbDetails>
<DbDetails><queryFormat xml:base="d:\Program Files (x86)\3UCS\3UCS Server\layout\biztools\mysqlcfg.xml" id="tbpages">select %{data} from %{dbtable} %{where} limit %{StartRow},%{PgSize}</queryFormat></DbDetails>
<operator refresh="1" firstpage="1" prepage="1" nextpage="1">
<op text="modify"><DbDetails><Where>activityid='%{vtiger_activity_vLst[activityid]}'</Where></DbDetails><submit namelist="DbDetails" next="$this.vtiger_activity.vtiger_activityLst"/><assign name="$this.vtiger_activity.frmwndctrl" expr="%{this}"/></op>
<op text="delete" needconfirm="1"><DbDetails>
<DbTable>vtigercrm6.vtiger_activity</DbTable>
<Where>activityid='%{vtiger_activity_vLst[activityid]}'</Where>
<queryFormat>delete from %{table} where %{where}</queryFormat></DbDetails>
<submit namelist="DbDetails"/><submit/></op>
</operator>
<OnChanged>
<assign name="pgcur_vtiger_activity" expr="js(%{vtiger_activity_vLst[currentpage]}+1)"/>
<assign name="pgscb_vtiger_activity" expr="js(%{vtiger_activity_vLst[currentpage]}+1)" function="SetSel"/>
</OnChanged></ListCtrl>
</Ctrls></GroupBox>