Delete more than 20 tickets in vtiger CRM - vtiger

Is there any possibility to delete bulk tickets (around 1000) in VTIGER CRM, either from application or from source code.

Please check the attached screenshot. I have marked the steps for bulk delete from application.
step 1 : from list view select the checkbox under delete button. which will select all the 20 records in list and at the same time a new link will appear says "select all 1000 records in trouble tickets. click on that "
step 2 : click delete button
if you want to delete records with specific criteria. for eg: delete closed tickets. then first create a filter for that and then do the steps for delete.
Delete from database
run this query
update vtiger_crmentity set deleted=1 where settype='HelpDesk'

its easy go to config_inc.php and put in $list_max_entries_per_page=1000 and go in vtiger crm list view you see 1000 records you can select 1000 and delete them go again to config_inc.php and restore $list_max_entries_per_page=20
see it in github
https://github.com/gothblade/vtiger/blob/master/config.inc.php

Related

Web services page to display purchase orders from last 2 years

I'm trying to make a web services page to display purchase orders from last 2 years
What I did right now is a table with the same fields as "Purchase Lines" and an automated process that will filter "Purchase Lines" from last 2 years, loop all lines and TRANSFERFIELDS to my new table. Then I just created a default page with the wizard for my new table and add it to web services.
Is it possible to specify a filter in the page for example in SourceTableView property to display only "Purchase Lines" from last 2 years so I can do just 1 page to get rid of the automated process and the extra table?
On the OnOpenPage trigger, you can specify this filter
Rec.SetRange("Order Date", CalcDate('<-2Y>', Today()), 0D);

Disable data refresh google data studio

Possible refresh frequency in Google Data Studio:
15 Minutes
1 Hour
4 Hours
12 Hours
Custom, however at least once every 12 hours
Can I disable refresh on my Datasources or make them less often?
The thing is that during the updating of data extra money is spent, and I would like this does not happen.
So, the possible solution is to create 'extracted data' from an existing data source.
Follow these steps:
Go to your Google Data Studio dashboard
Add new data source, you need 'Extract Data' in the connectors list
Select an existing data source to extract from
Select the dimensions and metrics to extract by dragging them from the Available Fields list onto the targets, or by clicking Add. All the fields you add appear in the list on the far right.
Click 'SAVE AND EXTRACT'
Here's the link
https://support.google.com/datastudio/answer/9019969?hl=en

Oracle APEX - report download Internal Server Error

I have an interactive grid that displays over 250k records and has more than 30 columns. When I attempt to download the report in csv format, I get an Internal Server Error. How can I get around that? Is there a way to limit the number of records (I know that when there are fewer records it works fine)? Is there a way to automatically split report in two parts and download two separate files?
You can always add filters to your SQL Query, that way the end user downloads the data they really need.
For example:
1. Create some items like Select List.
Enter the proper filter in your SQL Query, as follows:
Include the items in Page Items to Submit.
Create a Dynamic Action to refresh your IG when the end user selects a different value for the items

SharePoint 2013 List permission

I want to create a list in SharePoint 2013 that can be access by multiple users but shows to each user their records only.
For example: Time and Attendance list to show the records of the user only. And only the managers to view all the records.
In this case each list item would need to stop inheriting permissions from the parent and only assign the permissions for those that can edit and read the record.
Are you trying to do this through the UI or Code?
To do that that through the UI do the following:
1. From the list view, click the ellipses for the list item
2. Click Shared With -> Advanced
3. Click "Stop Inheriting Permissions" in the ribbon
4. Remove/Add the permissions you need
You can create a view on the list and add filter to show only items for the current user only.Sample:1
Or if you want to display only the items that were created by the user. Go to List settings > Advanced settings and set the item-level permission. Sample: 2
If you using SharePoint Designer 2013.
1) Create a SP2010 Workflow Called "Set Item Level Permission"
2) Trigger = When Item Created/Change
3) Add "Impersonation Step" -> Replace "Read/Write" permission to Current Item.
4) in your list item, you can select multiple people picker field to grant them with different permission when item created/change.
Example: "Name of Employee" is a people picker for my case.
for Manager, you can hardcode the "Manager Group" (sp group)

combine multiple sharepoint lists into one

I'm working with SharePoint 2007 and a group has asked me to help with managing their sites. They set up multiple sites (one for each team = 50 or so teams >_<) and each team has their own copy of the same list created from the same template.
Recently they decided that collecting the data from 50 different sites is too much and want to combine all the lists into one at the top level but they don't want all that data left behind on the old lists (1 per site) they want it all moved into the new list that will also use the same template to be created.
I tried exporting one of the sub-site's lists to Excel (2010) and copying it over into the new master list's empty exported to excel list and then using the "Export Table to SharePoint List..." option. Each time I try, I get an error "An unexpected error has occurred. Changes to your data cannot be saved."
I thought this might have to do with the Path field that shows up in the Excel spreadsheet versions of the list data so I modified it to what the new master list should have but no luck.
Any ideas?
Thanks for your help :)
I don't know what rights you need to do this, but go to each site and do the following instructions:
Click on Site Actions
Click Site Settings
Click Manage All Site Settings
Under the Site Administration Group, click Content and Structure
A window comes up that looks like Window's File Manager. You are in the current site, but you can see that you can browser to other sites in your site collection from the left panel.
Locate the list you want to copy items from and click the name. You will see all the items, or at least in pages of 100.
Change the paging quantity from 100 to 1000 in the top right, where it says "Show 100".
Select all the items you want to copy. There's an icon that looks like a stack of papers, to select all items on this page.
Click Actions in the toolbar, then click "Copy...". A dialog will come up of the current site collection.
Choose the destination then, click Ok.
Repeat this until you're done copying all items from the list.
Be patient while the copy process completes, then switch to the other 49 sites.
You cannot copy from one site collection to another. You can copy between subsites or sister sites.
If you can't see the Content and Structure link in the Site Settings page, use the 12 hive URL:
http://sitecollection/_layouts/sitemanager.aspx
You'll have the items copied in no time without the help of IT/development.