How to add Email Tab on Vtiger Related list with Sales Order module - vtiger

I need to add Email module tab on Sales Order module.
I have added one columns on vtiger_relatedlists table. i got tab on salesorder module but when i am click on that link. no data is display.
also i need to add Send Email Button on SalesOrder Module.
Please let me know if any one have idea one this
Thanks in advance

Step1: You have to copy below functions from Account module file (modules/accounts/account.php) to your module's main file
getRelatedContactsIds
get_emails
Step2: And run below query for your module
Query
insert into vtiger_relatedlists (relation_id, tabid, related_tabid, name, sequence, label, presence, actions) values('225','53','10','get_emails','4','Emails','0','add');

Related

Lowercase Redshift column names

When I import a table to Cognos Framework Manager (11.0.11), the default column names are lowercase. Is there a way to convert column names to upper case?
I set a session parameter describe_field_name_in_uppercase to on but that didn't resolve the issue.
It looks like describe_field_name_in_uppercase is a setting made in the database or connection, not a Cognos session parameter. You can try setting this in the data source connection properties.
Open Cognos Administration.
Go to the Configuration tab.
Click on the Set properties icon for the Data Source Connection.
Go to the Connection tab.
You'll probably want to set the Open session commands property.
You will want to read the docs.

How to provide permission to the user to access only one column in the created Microsoft Lists?

Am new to Microsoft Lists and trying to implement the library management system. Have prepared a list to show the book details using the 'From Excel' list. Need to restrict the permission based on the user role(admin, client).
For example, If a user needs to request a book, there might be a column to access for the user to send a request for the desired book. So that, an admin will get notified for the request and take action.
Similarly, from the list i created, i need to provide permission to the user to access only one column. The rest of the column can only be for view purposes.
Note: As i searched i found we can set permission like view, view, and edit, and stop sharing the list based on the roles of Members, Owners, and Visitors.
Could anyone please guide me on this?
Regards,
Vadivel
#Karthi,
It's not possible to configure column permission, the least permission is item-level. There is no column-level or view level permission.
Here are 2 possible solutions:
Make the target column read-only. Then develop another interface for the administrator to manage the data. For example, through SharePoint rest API, we can turn the column back to editable and post updates then immediately turn it to read-only.
Check Set List Column Read Only in SharePoint using PowerShell
How to update read only field
Hide the target column and make a calculated column then set its value equal to the target column. The user will only see those calculated columns, any updates on the target column will be reflected in calculated columns.
Check Make SharePoint Columns read-only without coding

How to add update buttons in rows of a Oracle Apex interactive report?

I created a report and a form separately rather than creating a "report with form" in my Oracle Apex application. Because of this there are no update buttons that appear on the left of every row in the report like it does when creating "report with form". How can I add these buttons such that I can use same form, which I am currently using just to create new records, to also update records?
I am assuming the report is in Interactive Report type.
Those are the ones which are normally created for report with form.
In which case if you go under the reports attributes the first one is Link,
by default it should be set to Exclude Link column. You should set it to Link to Custom Target, then define the link to go to your page and set the Primary key item.
And on your form page you also need to set an After Header process to fetch the row and fill the page items based on the filled Primary key. Or you can do something custom here, whatever floats your boat.

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

Check for available records in datasets

I have a HTML form with two details Name and category(it has three checkbox)
Name
category : Easy moderate high
submit button.
I have created dataset New that populate details of name and category whenever i click submit button.
For example if i give name as A and check easy option under category and click submit to create a dataset like below
Name Category
A Easy
After this if i again give the same entry second time like name as A and check easy option under category and click submit to create records in the dataset. It needs to verify the dataset New to check whether the entry is already available.
I need help such that it should not create the second records and should show message like it already available in ODS HTML output
It need to display the message like "new record created" if it is creating a new record.