Web services page to display purchase orders from last 2 years - microsoft-dynamics

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);

Related

Oracle Apex - Master Detail - How to add another report region using the master detail datepicker

I have a Master Detail* report page created using the App Builder -> Create Page. The master report shows customer orders (ORDERS table). The detail report shows the products that the customer ordered (ORDER_ITEMS table).
The master report (ORDERS table) has a date column (ORDER_DATE). In the report, the date column header is a datepicker item in which you can select an dropdown of past dates to sort the report.
I would like to include another report region at the bottom of this page to show the total dollars from the range. (Ex: if a user selects Last Month, then I want the report to show the sum of the total dollars from last month).
I've been able to do this in a custom page that I've built using by adding two datepicker items.
However, in a 'pre-built' Master Detail page using App Builder, I don't see the datepicker item to manipulate.
How can I grab the datepicker item and access it's functions (to query results for the additional report) and dynamic actions (region refresh)
That column header is not a page item, it is the native column filter functionality from the interactive grid component. It's not possible to "Grab it and put it elsewhere". There are a couple of options.
Create a separate date picker item in a region above the report where the user selects the from date or range and refresh master region when values change. Make sure to disable column filtering then in the interactive grid region.
Another option is to add a dynamic sum at the bottom of the report. That is described here. Or calculate the sum and put it in a page item. The post above references an example in the interactive grid cookbook that you can use.

Create multiple PDF's based on user selections- paginated report in report builder

We have a report that has a drop down list of 50 countries, based on the user selection, say the user selects 10 countries, 10 sets of information comes up one for each country.
What I need is based on grouping of each country
Report view showing one country detail separated by page break. So at least 10 pages.
When exported or printed or saved, there will be 10 different PDF's named by country name. So 10 pdf's.
Is that something doable in power BI paginated reports under report builder? I am more interested in knowing if 10 pds's can be created upon export based on group selected.
Thanks
-Sarah

Power BI report help finilizing

enter code hereI am trying to make equipments availability report from 3 tables linked together by specific date, say for example (03/03/2019).
That date will return the jobs that we did in some equipments. When run the report I got only the equipments that have jobs on that day say I have 10 machines and I did only 3 jobs on that day so my result report will have only 3 rows I want my reporThe image show samplet to have 10 rows with only 3 rows with information about the jobs.
On that day but I need my report to show all the equipments even those has no job on that day. In Access it is easy by editing the relationship properties and chose keep all records from first table.

Delete more than 20 tickets in vtiger CRM

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

I've got 6 related tables. I would like to display information from all these tables on one page

Table 1 : Company Information
Table 2 : Financial
Table 3 : Media
Table 4 : SWOT Analysis
Table 5 : Events
Table 6 : Interests
I will like to create one page to display all these tables in Oracle Application Express.
However,I do not want all the rows of data to be displayed. I will only like to see related data when a specific company is selected.
For example,
select Ansa Mcal (then all the information from the tables relating to ANSA Mcal will display)
select Nedcom (then all the information from the tables relating to Nedcom will display).
Thank you for your help.
Please be as detailed as possible as I am a beginner in APEX.
The first step is to make a new blank page with the name of ABC.2nd step is to click on edit and add 6 regions in the same page with the names of your tables respectively.
Create Report for your each table while selecting the region of your desired table to be displayed i-e if you want to show the information of Financial table then you have to select the financial Region for that table.
Regards,