Modifying customer report
Hi,
iam modifying one customer report.This report lists vendor and customer changes.This report to determine the number of creates/changes occuring on a daily basis for all vendor/customer account groups.We need to enhance the report to identify vendor/customer partner function area and add a unique transaction count.
All creates for one vendor/customer(for different company codes,purchasing organization and sales organization) will be considered together as one unique count.
All changes for one vendor/customer will be condisdered together as one unique count.
All making/unmaking for deletion of one vendor/customer will be considered as one unique count.
Please give me logic.How to conidered the unique count.
Thanks,
sairam
Hi
There may be Lot of creations for the same Vendor/Customer for different Company codes/SO's/Porgn etc but creation of a Customer/vendor is considereed as one unique record.
So Customer No/Vendor number is Unique record.
for a single customer or vendor there may be more number of creations/Changes/deletions, but only once they have to be considered.
Reward points if useful
Regards
Anji
Similar Messages
-
How to add a specific parameter in custom report
hi,
I have created a custom report in OIM 10g. I have three input parameters. startdate, enddate and resource object name,. With start date and end date the report is displaying correctly. when i add the resource object name as the third specific parameter is throwing the below exception
java.sql.SQLException: Missing IN or OUT parameter at index:: 15
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1869)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3858)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
at com.thortech.xl.dataaccess.tcDataBase.readPartialStoredProcedure(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.readStoredProcedure(Unknown Source)
at com.thortech.xl.dataobj.CallableStatementUtil.execute(Unknown Source)
at com.thortech.xl.ejb.beansimpl.ReportOperationsBean.getPagedReportData(Unknown Source)
I have given the input parameter correctly in meta data also. anywhere else we need to mention the specific parameter?
ThanksHey,
From OIM 9.1.0.2 Reports you have two options:
With OIMReports:
1- Including in XML files the parameters as section: Examples of InputParameter tags and ReturnColumns tag
2-And Creating a New Entry in the REP Table.
http://docs.oracle.com/cd/E10391_01/doc.910/e10365/reporting.htm
Section: How to create Report in OIM 9.1.0.2.
With BIPublisher(easiest way-license is needed):
Once you downloaded and install BIPub in your application server you will have access to all OIM report definitions.Then it is just a matter of learning how to change a report definition. It's very simple.
It has a 'desktop tool' that you can install in your desktop. This specifc tool provides an extension to MS Word(MACRO) and you can even work with Word to generate report templates.
Descriptions:
0- deploy BIPublisher and OIM reports to your apps server
1- Install the BIPublisher desktop tools in your desktop
2- Modify the report query using the BIPub interface and add your UDF fields
3- Run the report you want to modify from BIPub and export the generated data as XML
4- Download the report template in RTF format
5- With RTF file(open it) in your MS Word
6- Load the XML file you generated in step 4 in your MS Word
7- You could load this specif xml change what you want. (word will have a 'BI Publisher' menu with different operations you can do)
7- With Report template(save it).
8- Update the report template in the report definition(using the BIPub web interface
9- Run the report again
It means that front end page you need to edit this in Word page.
The sources are here: http://www.oracle.com/technetwork/testcontent/oim-reports-9102-130923.zip
I hope this helps,
Thiago Leoncio. -
How to register custom report under Custom Development Application
Hi 2 all
How to register custom report under the Custom Development application in R12 vision DB, and also confirm location/folder of Custom Development application in R12.
Thanks
ZulqarnainHi,
You may or may not need to "register" the workflow - it depends on the changes that you made and which Item Type you modified. Some applications are essentially hard-coded to use a specific item type and process, some hard-coded to use an item type but you can configure the process to use, and some allow you to specify which item type and which process to use.
Without knowing exactly what you have done, though, there is no specific advice that anyone can give you here on what you need to do, apart from to ensure that you have saved the new definition to the database.
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://www.workflowfaq.com/blog ?
WorkflowFAQ support forum: http://forum.workflowfaq.com -
Need to submit custom report when email option chkd and po approved
Hi All,
We use R12, our requirment is to submit a custom report when PO is approved.
Not in all cases we need this. when user select 'Approve' option for a Manually created PO,
and in the Approval form, when the User selects 'Email' check box and approves it.
Irrespective of value that is given in email field, when that Email check box is checked and PO is approved, then the custom report should get submitted.
For this our funtional team is requesting to copy the PO approval Workflow and write a event there.
But I feel this can be achived in much easier way. But not getting any ideas.
Can anyone let me know what could be the best and effective way than modifying Workflow.
Can we do with custom.pll.
where I would check if the email check box is checked in the box and if the approve button is pressed then to launch the custom report.
One more doubt, can we get the values that are being enterd in the form. I mean, if the po number is 55, in the custom.pll
can we get that value into our custom.pll code, which i need pass as a prameter to the report.
Please through any ideas. Thanks
Edited by: 834095 on May 4, 2011 9:05 PMPl do not post duplicates - Submit Custom Report in PO Approval Process
Srini -
Short dump in custom report in production
Hi Experts,
I have a custom report which is run through SM37 as a background job. it takes long time to run and then get canceled with short dump in production but it runs fine in development.
description of short dump.
Runtime Errors DBIF_RSQL_SQL_ERROR
Exception CX_SY_OPEN_SQL_DB
Date and Time 03.05.2010 11:33:06
Short text
| SQL error in the database when accessing a table.Hi,
Please go through the below notes
[Note 1379839 - RuntimeError DBIF_RSQL_SQL_ERROR Exception CX_SY_OPEN_SQL_DB|https://service.sap.com/sap/support/notes/1379839]
[Note 1098183 - RunErr dbif_rsql_sql_error with exception CX_SY_OPEN_SQL_DB|https://service.sap.com/sap/support/notes/1098183]
[Note 1410849 - Runtime error DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"|https://service.sap.com/sap/support/notes/1410849]
This is mainly program error and need corrections...
Compare the Patch level on both DEV and PRD server. Also make sure, whether program you are using on developement is modified (Corrected) or standard one.
If you search for the SAP Notes with "DBIF_RSQL_SQL_ERROR Exception CX_SY_OPEN_SQL_DB" string, you will get several hits. See the notes which are applicable in your scenario...
Regards.
Sumit Nene -
Printer- custom report not printing
HI,
Apps 11.5.10.2
RDBMS 9i
Am able to get print from appliaction for stanadard reports.
If i give custom report.. its printing but content is not same as output..
OUTPUT is coming in one line..
%PDF-1.1
1 0 OBJ
<< 0
/Creator (Developer 2000)
etc
ThanksHI,
Am getting output like follwing
Please run the test in (Note: 264118.1 - 11i : Pasta Pasta Printing Setup Test) to verify that PASTA is configured properly.------------- Test Result Summary -------------
Total Tests: 1
Success Count: 0
Error count: 1
Test Names Status
oracle.apps.izu.fnd.diag.FNDPastaDiag Succeeded with Warnings
----------- End Test Result Summary -----------
============= Test Result =============
Test Class Name: oracle.apps.izu.fnd.diag.FNDPastaDiag
Application Code: FND
Group Name: Setup
Status: Succeeded with Warnings
Time: 2010-07-06 11:57:07.0
Time Consumed: 8154
Test Version: 115.8
Tool Version: 115.131
Install Version: Base: none Upgrade: none
Mode: 1
Index: 1
Tested Class Name Tested Class Version
oracle.apps.izu.fnd.diag.FNDRequestIDLov 115.4
oracle.apps.jtf.regress.qatool.base.DBUtility 115.1
oracle.apps.jtf.regress.qatool.base.DiagBase 115.2
oracle.apps.jtf.regress.qatool.base.FileUtility 115.1
oracle.apps.jtf.regress.qatool.base.HRInfo 115.0
oracle.apps.jtf.regress.qatool.base.OSUtility 115.5
oracle.apps.jtf.regress.qatool.base.SessionHelper 115.0
oracle.apps.jtf.regress.qatool.fnd.FNDUtility 115.10
Input Names Input Values
Responsibility ID 50300
Request Id 320444
Diagnostic Test Executed By SYSADMIN
Dependent Class Names
Report:
Oracle Diagnostics Information Product Installation Status and Patchset Level Parameters
Generic Tests Language Information Pasta Driver Settings
Concurrent Node Environment Variables Pasta Viewer Settings to View Bi-Directional Reports Bi-Directional Specific Settings
Retrieving Log and Configuration Files for Support References
Database Information [Top]
Server = rofdbs5
Version = Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
Name/SID = STAGE
Language = AMERICAN
Character Set = US7ASCII
Application Information [Top]
Release = 11.5.10.2
Application = Projects (275) with status of INSTALLED
Responsibility = RI_Projects Superuser (50300)
MultiOrg Flag = Y
Operating Unit = RI Operating Unit (104)
Security Group = Standard
Oracle Diagnostics Information [Top]
Patch Oracle Diagnostics 2.5 RUP A (5914893) is installed
Patch Oracle E-Business Suite 11i Diagnostic Tools, Nov 2008 - 8.11 (7530017) is installed
Metalink Document Id = 264118.1
Product Installation Status and Patchset Level [Top]
Application Short Name Id Installation Status Patch Level
Application Object Library FND 0 Installed 11i.FND.H
Applications DBA AD 50 Shared 11i.AD.I.6
System Administration SYSADMIN 1 Installed Not Available
XML Publisher XDO 603 Not Installed 11i.XDO.H
4 rows retrieved
Parameters [Top]
Username = SYSADMIN
Responsibility = RI_Projects Superuser (50300)
Request Id = 320444
Generic Tests [Top]
Node Information
Tiers = Admin, Web, Forms, Concurrent
Pasta Executable Version
Version = 3.0.4.0(patch
Oracle Reports Version
Detected version 6.0.8.28.0 is >= expected version 6.0.8.18
Language Information [Top]
Installed Languages
Language Code Installed Flag NLS Language
US Base AMERICAN
1 row retrieved
Database Character Set
Database character set = US7ASCII
Pasta Driver Settings [Top]
Printer Name = CD1230
Printer Style = PORTRAIT
WARNING - Driver PORTRAITHPLJ3-A4 is not defined for pasta printing
ACTION - For pasta printing please modify printer driver PORTRAITHPLJ3-A4 to have FNDPSTAX as program.
Reference: Oracle Applications System Administrator's Guide
Pasta PrintForms
The printforms feature is not used. To insert a company logo or background image in a concurrent report please refer to PASTA 3.0 Release Information
Pasta Configuration File
The pasta executable chooses the non default configuration file defined as a driver argument '-F' using the following rules (in the following order):
1. Configuration file associated to the specific printer
2. Configuration file for all the printers
Current settings
The PASTA variable is not set
The file '/stageAPP/stageappl/fnd/11.5.0/resource/pasta_CD1230.cfg' does not exist
The file '/stageAPP/stageappl/fnd/11.5.0/resource/pasta.cfg' exists
Configuration file in use = /stageAPP/stageappl/fnd/11.5.0/resource/pasta.cfg
Concurrent Node Environment Variables [Top]
NLS_LANG Variables
Database = AMERICAN_AMERICA.US7ASCII
OS environment = AMERICAN_AMERICA.US7ASCII
Concurrent Request = AMERICAN_AMERICA.US7ASCII
Pasta Environment Variables
LANG =
PASTA =
IX_PRINTING =
IX_RENDERING =
APPLLCSP Environment Variable for Bitmap Report Printing
APPLLCSP =
Pasta Viewer Settings to View Bi-Directional Reports [Top]
Bi-Directional Mime Type
WARNING - The mime type 'apps/bidi' is missing
ACTION - Create a new mime type as mentioned in the PASTA Users Guide 3.0. See also PASTA 3.0 Release Information
Profile Options
Viewer: Application for Text (FS_MIME_TEXT) = null
Viewer: Text (EDITOR_CHAR) = Browser
Bi-Directional Specific Settings [Top]
The current database character set does not require bi-directional settings
Retrieving Log and Configuration Files for Support [Top]
Adding file '/stageAPP/stageappl/fnd/11.5.0/resource/pasta.cfg' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
This test cannot get the IX Library configuration file (ixlib.cfg) because environment variable IX_PRINTING is not set. For more information see note Oracle Reports 6i Setup Guide for Oracle Applications 11i
This test cannot collect the IX Display configuration file (ixlib.cfg) because environment variable IX_RENDERING is not set. See note Oracle Reports 6i Setup Guide for Oracle Applications 11i
Adding file '/stageAPP/stageora/8.0.6/guicommon6/tk60/admin/uiprint.txt' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
Adding file '/stageAPP/stageora/8.0.6/guicommon6/tk60/admin/Tk2Motif.rgb' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
Adding file '/stageAPP/stageora/8.0.6/guicommon6/tk60/admin/uifont.ali' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
Adding file '/stageAPP/stageappl/fnd/11.5.0/reports/HPP.prt' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
Adding file '/stageAPP/stagecomn/admin/log/STAGE_rofdbs5/l320444.req' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
Adding file '/stageAPP/stagecomn/admin/out/STAGE_rofdbs5/o320444.out' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
Please upload the generated output file (/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip) when creating the service request
References [Top]
Note 239196.1 PASTA 3.0 Release Information
Note 240864.1 Activating and Configuring IX Library
Note 189708.1 Oracle Reports 6i Setup Guide for Oracle Applications 11i
If you are experiencing any issues regarding this diagnostic test, please use Metalink to log an iTAR (Service Request) for product "Support Diagnostics Project" (ID=1332).
If you have any question related to support diagnostic tools (installation, execution, usage or availability), you can ask us using the Support Diagnostics Project forum on Metalink.
We would also appreciate your feedback regarding the usefulness of this test, however, there will be no replies to feedback emails.
Error Message: 0 errors and 2 warnings were found.
Fix Info: Please review the test summary for more information.
============ End Test Result ============ -
How can i modify my report to print in duplex mode ?
Hello, I have a report to print orders (i use vb6 and CR XI-R2 at runtime with CrystalActiveXReportViewer object) but now i must print the payment conditions on the back of each order. What is the way to modify my report to do that.
(Is there somewhere examples of duplex printing report?).
Thanks in advance.Hi Ludek,
I have imported the reg key but i have the same problem: you must install SP2 or SP4 before.
Here is my reg key :
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{94FB0978-D094-40C7-91D7-834D39220D4A}]
"AuthorizedCDFPrefix"=""
"Comments"=""
"Contact"=""
"DisplayVersion"="11.5.8.82627"
"HelpLink"=hex(2):68,00,74,00,74,00,70,00,3a,00,2f,00,2f,00,73,00,75,00,70,00,\
70,00,6f,00,72,00,74,00,2e,00,62,00,75,00,73,00,69,00,6e,00,65,00,73,00,73,\
00,6f,00,62,00,6a,00,65,00,63,00,74,00,73,00,2e,00,63,00,6f,00,6d,00,2f,00,\
00,00
"HelpTelephone"=""
"InstallDate"="20080416"
"InstallLocation"=""
"InstallSource"="C:
CRXIR2SP2Full
win32
"ModifyPath"=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,78,\
00,65,00,20,00,2f,00,49,00,7b,00,39,00,34,00,46,00,42,00,30,00,39,00,37,00,\
38,00,2d,00,44,00,30,00,39,00,34,00,2d,00,34,00,30,00,43,00,37,00,2d,00,39,\
00,31,00,44,00,37,00,2d,00,38,00,33,00,34,00,44,00,33,00,39,00,32,00,32,00,\
30,00,44,00,34,00,41,00,7d,00,00,00
"Publisher"="Business Objects"
"Readme"=hex(2):68,00,74,00,74,00,70,00,3a,00,2f,00,2f,00,73,00,75,00,70,00,70,\
00,6f,00,72,00,74,00,2e,00,62,00,75,00,73,00,69,00,6e,00,65,00,73,00,73,00,\
6f,00,62,00,6a,00,65,00,63,00,74,00,73,00,2e,00,63,00,6f,00,6d,00,2f,00,00,\
00
"Size"=""
"EstimatedSize"=dword:001bcc81
"UninstallString"=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,\
78,00,65,00,20,00,2f,00,49,00,7b,00,39,00,34,00,46,00,42,00,30,00,39,00,37,\
00,38,00,2d,00,44,00,30,00,39,00,34,00,2d,00,34,00,30,00,43,00,37,00,2d,00,\
39,00,31,00,44,00,37,00,2d,00,38,00,33,00,34,00,44,00,33,00,39,00,32,00,32,\
00,30,00,44,00,34,00,41,00,7d,00,00,00
"URLInfoAbout"=""
"URLUpdateInfo"=""
"VersionMajor"=dword:0000000b
"VersionMinor"=dword:00000005
"WindowsInstaller"=dword:00000001
"Version"=dword:0b050008
"Language"=dword:00000000
"DisplayName"="Crystal Reports XI Release 2"
Hope this helps you.
Just a precision : the message 'can't load data' not occures on all PC with runtime, At work i have installed runtime on 3 PC's (XP) and it works, problem occures when i 'm connecting to my customer's server (windows 2003 server SP2) via tse. -
Facing Problem while Debugging a custom report using LDB
Hi Gurus,
I have requirement to modify a custom report program related to FI. This program used Logical database ZDF ( Copied original DDF) for data fetching.
when i am trying to see the data in debugging mode, its not allowing to check in start-of-selection event. only in the initialization & end-of-selection i could able to debug.
when i put breakpoint in initialization, it is allowing to see the flow till a Get Event occurs in the code, once a Get event occur the debugger is coming out and displaying the report.
If anybody faced this kind of problem when debugging a report using LDB, please share how you resolved it. If there are any other ways to debug a program of this kind please help me.
Thanks,
NandaHi Amith,
I checked that way also, i put break point in database program of the copied LDB, but its not allowing to check the flow in that program also.
Please suggest any other ways.
Thanks,
Nanda -
Issue in Modifying custom table
Hi Experts
Program Y00_MM modifying custom table Y00_IFS074 using internal table.
we have a sales company code field in table.
Internal table company code value is 00021345 .
But in custom table it updated as 21345. It should be 00021345.
few days back no problem with table updation. Now only i'am getting this issue. There is no changes in Report.
Kindly help me.Hi,
Please use the below FM for the field BUKRS.
FM : CONVERSION_EXIT_ALPHA_OUTPUT.
This FM will add the leading zeros according to the field length.
Hope this will resolve your problem... -
Is there anyone at all here who has successfully compiled and deployed an SSRS custom report item in VS2012? Is there a demo out there that actually works in VS2012? Is there anyone who has actually been able to compile and deploy that
apparently obsolete Polygons demo? (Pardon my impatience but I'm running a bit short of time here.)
After much hacking and googling I was able to get Polygons to compile but I still can't deploy it to the toolbox. ('The custom report item type PolygonsDesigner is not installed'). I've modified the RSReportDesigner.config
as instructed but I have no rssrvpolicy.config file on my local machine and
as yet I have no idea if that is necessary for local development.
In order to get it to compile I first added the reference C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.ReportingServices.ProcessingCore.dll to both projects.
To the PolygonsDesigner Project I also added the references:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.ReportDesigner.Controls.dll
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.ReportingServices.Designer.11.0.dll
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\Microsoft.ReportingServices.Interfaces.dll
Are these the correct references?
Exactly what software do you need installed on your local machine in addition to VS2012 in order to create a custom control?
(Designer.11.0 was added per the instructions in reference: https://connect.microsoft.com/VisualStudio/feedback/details/783391/unable-to-integrate-previously-working-ssrs-custom-report-item-to-vs-2012s-toolbox
After that I added the alias RSDesigner to it's properties and extern alias RSDesigner; at the top of the PolygonsDesigner.cs file. )
As of now, the top of the PolygonsDesigner.cs is as follows. I don't recall making any other changes to the code. As far as I can remember this is all I did in order to be able to compile the code in VS2012.
extern alias RSDesigner;
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
using Microsoft.ReportDesigner;
using Microsoft.ReportDesigner.Design;
using Microsoft.ReportingServices.Interfaces;
using Microsoft.ReportingServices.RdlObjectModel;
using System.Xml;
using System.Xml.Xsl;
using System.Xml.XPath;
[LocalizedName("Polygons")]
[Editor(typeof(CustomEditor), typeof(ComponentEditor))]
[ToolboxBitmap(typeof(PolygonsDesigner), "Polygons.ico")]
[CustomReportItem("Polygons")]
[ToolboxItem(typeof(RSDesigner::Microsoft.ReportDesigner.Shell.CRIToolboxItem))]
[System.CLSCompliant(false)]
public class PolygonsDesigner : CustomReportItemDesigner
{ etc...Just fixed this myself.
It appears the documentation online is wrong and the sample code is missing a reference to a reporting services dll and an attribute.
What you need to do to get it working in VS2012 is add a reference to: Microsoft.ReportingServices.designer.11.0.dll to the PolygonsDesigner project and then add the following attribute to the PolygonsDesigner class: [ToolboxItem(typeof(Microsoft.ReportDesigner.Shell.CRIToolboxItem))]
I also removed the [System.CLSCompliant(false)] attribute.
You then recompile and place both dlls in C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies directory and the PolygonsDesigner.dll into the C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\bin
or what ever is you reporting services path.
You also need to change the Microsoft example for the rereportserver.config file to:
<ReportItemDesigner>
<ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsDesigner, PolygonsDesigner" />
</ReportItemDesigner>
<ReportItems>
<ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsCRI,PolygonsCRI"/>
</ReportItems>
Notice that I changed the namespaces and class to what is in the actual code so if you change it make sure you change it here.
And here in the RSReportDesigner.config:
<ReportItems>
<ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsCustomReportItem,PolygonsCRI" />
</ReportItems>
<ReportItemDesigner>
<ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsDesigner, PolygonsDesigner" />
</ReportItemDesigner>
<ReportItemConverter>
<Converter Source="Chart" Target="Polygons" Type="PolygonsCRI.PolygonsConverter, PolygonsDesigner" />
</ReportItemConverter>
Notice I haven't changed the last part as I didn't know what the PolygonsCRI.PolygonsConverter was.
And make sure the rssrvpolicy.config looks like this:
<CodeGroup class="UnionCodeGroup" version="1" PermissionSetName="FullTrust" Description="This code group grants PolygonsCRI.dll FullTrust permission. ">
<IMembershipCondition class="UrlMembershipCondition" version="1" Url="C:\Program Files\Microsoft SQL Server\MSRS10_50.SQLSERVER\Reporting Services\ReportServer\bin\PolygonsCRI.dll" />
</CodeGroup>
After a restart of ssrs and relaunch of VS2012 I opened a test project and added the PolygonsDesigner.dll to the toolbox and it works.
Jamie -
Custom Report Layout in APEX 3.0 PDF
How much freedom do we have when developing a custom report layout using BI Publisher when we create the template file using the Word XML add-on?
Why I am asking is, I am trying to replicate several Crystal based reports that use multiple lines of for data. They group on several columns and display the grouped data on separate lines in the report.
Grouping 1 Line one has customer detail information
Next grouping 1 or more lines are provider of service line information
Last Line count of detail lines for customer
Or would I be better off porting these reports to Oracle Reports?
Thank you!
Tony Miller
UTMB/EHNMarc, I was able to create reports based on a layout and a report query...Is it possible to let the end user (not apex developers) download the report layout, make modifications and load it again. They will only be changing the text and very rarely will modify the fields..
Thanks
Ashlee
update: i found the following logic in the f4000 app on page 1405 for download
declare
l_report_document blob;
l_file_ext varchar2(255);
l_mime_type varchar2(255);
begin
for c1 in (
select *
from wwv_flow_report_layouts
where id = :P1405_ID
) loop
if c1.report_layout_type = 'RTF_FILE' then
l_mime_type := 'application/rtf';
l_file_ext := 'rtf';
else
l_mime_type := 'application/xml';
l_file_ext := 'xml';
end if;
l_report_document := wwv_flow_utilities.clob_to_blob(c1.page_template,wwv_flow_lang.get_db_charset);
sys.owa_util.mime_header (l_mime_type ,false);
sys.htp.p('Content-Disposition: attachment; filename='||lower(replace(c1.report_layout_name,' ','_'))||'.'||l_file_ext);
wpg_docload.download_file( l_report_document );
end loop;
end;
and 1406 for upload
declare
l_report_layout clob;
l_report_layout_id number;
begin
for c1 in (
select blob_content from wwv_flow_files
where name = :P1406_LAYOUT_FILE
) loop
l_report_layout_id := wwv_flow_id.next_val;
l_report_layout := wwv_flow_utilities.blob_to_clob(c1.blob_content);
insert into wwv_flow_report_layouts (
id,
flow_id,
report_layout_name,
report_layout_type,
page_template
) values (
l_report_layout_id,
:FB_FLOW_ID,
:P1406_REPORT_LAYOUT_NAME,
'RTF_FILE',
l_report_layout
end loop;
end;
are these the tables/apis i could use ? -
Hi,
I have a Custom Report Template, it is a Named Column(Row) Report that I have created. It seems I can get the look and feel I want on a per row basis. But when I try and convert it to be able to loop through for a specific type, like a break on the first column, it gets all messed up. I was wondering if someone might be able to shed some light for me on this I have tried everything
Here is the row template
<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
<tr class="Tabledetail">
<td class="SectionHeading" width="100%" bgcolor="#336699" valign="middle">
<img src="spacer.gif" width="1" height="1"> <b>#1#</b>
</td>
</tr>
<tr class="Tabledetail">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor=white>
<tr class="Tabledetail">
<td>
<img src="spacer.gif" width="5" height="1">
</td>
<td class=formlabel>
#2#
</td>
<td>
<img src="spacer.gif" width="5" height="1">
</td>
<td colspan=4 class="SectionHeading" bgcolor="#336699" align=middle valign="bottom">
<b>Evaluation Trips</b>
</td>
<td>
<img src="spacer.gif" width="10" height="1">
</td>
<td colspan=4 class="SectionHeading" bgcolor="#336699" align=middle valign="bottom">
<b>All Other Trips</b>
</td>
</tr>
<tr class="Tabledetail">
<td>
<img src="spacer.gif" width="5" height="1">
</td>
<td class=formlabel>
#3#
</td>
<td align=right class=formlabel>
<img src="spacer.gif" width="5" height="1">
</td>
<td align=right class=formlabel>
#4#
</td>
<td align=right class=formlabel>
#5#
</td>
<td align=right class=formlabel>
#6#
</td>
<td align=right class=formlabel>
#7#
</td>
<td>
<img src="spacer.gif" width="10" height="1">
</td>
<td align=right class=formlabel>
#4#
</td>
<td align=right class=formlabel>
#5#
</td>
<td align=right class=formlabel>
#6#
</td>
<td align=right class=formlabel>
#7#
</td>
</tr>
<tr class="Tabledetail" width=50%>
<td>
<img src="spacer.gif" width="5" height="1">
</td>
<td class=formlabel>
#8#
</td>
<td class=formlabel>
<img src="spacer.gif" width="5" height="1">
</td>
<td align=right>
#9#
</td>
<td align=right>
#10#
</td>
<td align=right >
#11#
</td>
<td align=right >
#12#
</td>
<td>
<img src="spacer.gif" width="10" height="1">
</td>
<td align=right >
#13#
</td>
<td align=right >
#14#
</td>
<td align=right >
#15#
</td>
<td align=right >
#16#
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><img src="spacer.gif" width="1" height="10"> </td>
</tr>
<tr>
<td>Here is the before rows
<table cellpadding="0" border="0" cellspacing="0" summary="" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#">
#TOP_PAGINATION#
<tr>
<td>
<table cellpadding="0" border="0" cellspacing="0" summary="" class="report-standard">Here is the after rows
</table>
</td>
</tr>
#PAGINATION#
</table>But when I try and pull the upper level html tables out of the row template the format goes to heck. Anyone have any ideas?
Thanks in advance!goochable wrote:
Thanks for the input! Yeah it is based on a query from a collection as all this data is summations that i am pre-populating.
Yes this html is probably from 1998 or 1999 I think they told me actually lol
So there is no way to accomplish what I am trying to do then?
There is no way I could use a break on first column and modify the header info to get the same sort of look and feel?Still not really clear what you are trying to accomplish, and in my view there are so many problems with the "look and feel" that it's not worth perpetuating.
Making a lot of assumptions, I've come up with the kind of HTML structure I'd use when marking up this kind of data. I added a page 2 to your example on apex.oracle.com, showing a basic presentation of this structure alongside the original for comparison, and another styled using the default theme L&F.
<li>Given the requirement to use multi-level headers (and because I prefer to have total control over the HTML), I stayed with a custom report template rather than trying to utilise column breaking with a generic column report template. This also permits use of more advanced table structures than can be supported by standard templates, such as s<tt>colgroup</tt>s to organize the table columns as well as the rows:
Before Rows
<table cellpadding="0" border="0" cellspacing="0" summary="" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#">
#TOP_PAGINATION#
<tr>
<td>
<table class="fish">
<caption>Some fishy summaries</caption>
<colgroup span="1"></colgroup>
<colgroup span="4" class="evaluation-trips" align="right"></colgroup>
<colgroup span="4" class="other-trips" align="right"></colgroup>
After Rows
</table>
</td>
</tr>
#PAGINATION#
</table><li>Rather than separate tables, the report is contained in one HTML table, utilizing the <tt>tbody</tt> element to subdivide this into separate row groups to meet the "break on first column" requirement. This is achieved using conditional row templates, with PL/SQL Expressions based on the values of metadata columns added to the query:
Row Template 1
Header rows and first data row for each row group. <tt>scope</tt> attributes are added to multi-column headers for improved accessibility:
<tbody>
<tr>
<th colspan="9" scope="rowgroup">#C1#</th>
</tr>
<tr>
<th></th>
<th colspan="4" scope="colgroup">Evaluation Trips</th>
<th colspan="4" scope="colgroup">All Other Trips</th>
</tr>
<tr>
<th>#C2#</th>
<th>#C4#</th>
<th>#C5#</th>
<th>#C6#</th>
<th>#C7#</th>
<th>#C4#</th>
<th>#C5#</th>
<th>#C6#</th>
<th>#C7#</th>
</tr>
<tr class="#ALT#">
<td class="desc">#C8#</td>
<td>#C9#</td>
<td>#C10#</td>
<td>#C11#</td>
<td>#C12#</td>
<td>#C13#</td>
<td>#C14#</td>
<td>#C15#</td>
<td>#C16#</td>
</tr>
#CLOSE_ROW_GROUP#
Row Template 1 Expression
This template is used when the row metadata shows that the current row is in a different row group from the previous row:
#ROW_GROUP# != #PREVIOUS_ROW_GROUP#
Row Template 2
This is the "default" template, used for any subsequent data rows in the row group:
<tr class="#ALT#">
<td class="desc">#C8#</td>
<td>#C9#</td>
<td>#C10#</td>
<td>#C11#</td>
<td>#C12#</td>
<td>#C13#</td>
<td>#C14#</td>
<td>#C15#</td>
<td>#C16#</td>
</tr>
#CLOSE_ROW_GROUP#Both templates make use of a <tt>#CLOSE_ROW_GROUP#</tt> column value conditionally generated in the query that returns a <tt></tbody></tt> tag if the current row is the last data row in the row group. (Mixing logic and structure in this way is not good practice, but APEX only allows up to 4 conditional row templates, which is completely insufficient for any moderately complex structure.)
<li>Several metadata columns (incorporating heavy use of analytic functions) are added to the report query for use in the report template or CSS presentation:
with fish as (
select
c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16
Generate a fixed order for separate report sections/row groups.
(This is a guess as the actual requirement is not specified.)
, case c1
when 'OTC Summary' then 1
when 'Retained Catch Summary' then 2
when 'Discarded Catch Summary' then 3
when 'Discarded Species Composition Summary' then 4
when 'Retained Species Composition Summary' then 5
when 'Priority Species Biospecimen Summary - Discarded Catch' then 6
when 'Other Species Biospecimen Summary - Discarded Catch' then 7
when 'Dissection Summary - Discarded Catch' then 8
end row_group
Calculate row number within row group.
Copes with row order in some row groups being determined
numerically, while others used standard character semantics.
, row_number()
over (
partition by c1
order by to_number(regexp_replace(c8, '[^[:digit:]]')) nulls last
, c8) group_rn
Calculate number of rows in row group.
, count(*)
over (
partition by c1) group_rows
from
test)
select
c1
Not clear on meaning of "Weight"/"Method" values: assumed this is
column heading equivalent to "Species".
Combine both source DB columns into one for HTML heading, dealing
with various null/space/blank issues...
, nullif(c2 || ' ', ' ') || c3 c2
, ' ' c3
, c4
, c5
, c6
, c7
, c8
, c9
, c10
, c11
, c12
, c13
, c14
, c15
, c16
, row_group
Get the rowgroup for the previous row
, lag(row_group, 1, 0)
over (
order by row_group) previous_row_group
, group_rn
, group_rows
Determine odd/even row number: used for standard or alternate style.
, mod(group_rn, 2) alt
Generate a closing element if the row is the last row in the
row group.
, case
when group_rn = group_rows
then
'</tbody>'
else
end close_row_group
from
fish
order by
row_group
, group_rnThis makes major assumptions about the sort order(s) and break(s) required in the report.
<li>Finally, the visual presentation is applied using CSS rather than (mainly deprecated) HTML attributes, via an embedded style sheet in the page HTML Header:
<style type="text/css">
.fish {
empty-cells: show;
border-collapse: collapse;
.fish tbody tr:first-child th {
border-top: 1px solid #fff;
font-weight: bold;
.fish th,
.fish td {
padding: 3px 6px;
.fish th {
border-bottom: 1px solid #fff;
border-left: 1px solid #fff;
background-color: #275096;
color: #fff;
font-weight: 300;
text-align: left;
.fish td {
text-align: right;
.fish tr.\30 td {
background-color: #dde;
.fish td:first-child {
text-align: left;
</style>The default theme L&F report adds vertical borders to separate columns and column groups (latter may not be fully effective on IE: I'm not wasting my time on quirks mode fixes for that).
The resulting report uses 60% less vertical space, and 87% less HTML code[1] than the original. Usability and accessibility are improved by eliminating nested tables and useless table cells and shim images, increasing the contrast between text and background colours, and using alternating row backgrounds for better visual tracking.
[1] Including whitespace, but neither template is compressed in any way: both are in fully readale format including normal whitespace indentation. -
Can you filter a custom report by postcode? I want to send an email marketing campaign to customers within a postcode range. How do you do this? Thanks.
Hey RP in Oz,
You can run a contacts report and select 'Default Address Type' as an 'Address Details Field' which will include the zip code a customer has inputted. You can then export the report, open it up in Excel (or similar) and filter based on the postcode. Once you have modified the list in excel, formatted it correctly and are satisfied, you can then import the report as a mailing list via E-Mail Marketing > Mailing Lists. -
The program I'm working on has to create a test report. I use an Office-XP word document, provided by my client, as pattern for this report, in which strings, tables and graphs from my program are to be inserted.
My program is made using LabWindows/CVI 7.0. For the test process and report generation I plan to use TestStand 3.0.
My question now is, if and how it is possible, to realize such a custom report in TestStand 3.0?
(I've already learned that all TestStand sequences and process models can be modified to match my individual needs, but the steps in the report generation sequences are a bit cryptic and I can't find any manuals covering this topic in detail.)Hi,
There is no extra documentation detailing the breakdown of the TestStand report generation, other than the highlevel detail of the different callbacks for the Header, footer and body of the report as found in the Teststand manuals.
But, the flow the the report sequencefile is fairly straight forward, once you are familier to the component parts of the a step.
The easies way to help the understanding is to single step through an small example and watch some of the variables.
Where most of the work is done is the sequence PutOneResultInReport found in the sequencefile reportgen_[xml|html|txt].seq. (note there's a different report generation sequencefile for xml, html and txt.)
For simple modification to the report you make use of the Callback overrides and
there's one for the Header part, one for the Footer and another for the Body.
There is an example in the TS3.0 manual using the Header callback.
If you are making big changes to the report then you will need to change the actual report sequencefile.
Alternatively,
you could try Www.emodularsolutions.com, they have produced a Report Generation package called DocFlex.
Or
Log your results to a database and then use some external package to pull the information and package to a defined stlye sheet. I am sure there are software package that will do this.
Sorry that the answers are a bit general but I hope it gets you started.
Regards
Ray Farmer
Regards
Ray Farmer -
Custom Report - Show Deployed, But Not Installed, Security Updates
I'm trying to create a custom report that will show all patches that have been deployed, but have not been installed for a particular collection. Any ideas?
Answered my own question.
This will pull all Security Updates that have been Deployed but are still Required (not installed) for the All Systems collection (SMS00001). You can directly modify the code to limit it to the All Servers or All Workstations depending on your site code. You
can also change the CategoryInstanceName filter to see different Update Classifications.
select distinct
sys.Name0,
ui.BulletinID as BulletinID,
ui.ArticleID as ArticleID,
ui.Title as Title,
catinfo.CategoryInstanceName as Vendor,
catinfo2.CategoryInstanceName as UpdateClassification,
CASE ((ui.IsDeployed))
When 0 Then 'No'
Else 'Yes' End as 'Deployed',
CASE((ui.Severity))
When 2 Then 'Low'
When 6 Then 'Moderate'
When 8 Then 'Important'
When 10 Then 'Critical'
Else 'NA' End as 'Severity'
from v_UpdateComplianceStatus css
join v_UpdateInfo ui on ui.CI_ID=css.CI_ID
join v_R_System sys on css.ResourceID=sys.ResourceID
join v_ClientCollectionMembers ccm on ccm.ResourceID=sys.ResourceID
join v_CICategories_All catall on catall.CI_ID=ui.CI_ID
join v_CategoryInfo catinfo on catall.CategoryInstance_UniqueID = catinfo.CategoryInstance_UniqueID and catinfo.CategoryTypeName='Company'
join v_CICategories_All catall2 on catall2.CI_ID=ui.CI_ID
join v_CategoryInfo catinfo2 on catall2.CategoryInstance_UniqueID = catinfo2.CategoryInstance_UniqueID and catinfo2.CategoryTypeName='UpdateClassification'
where css.Status=2
and ccm.CollectionID='SMS00001'
and ui.isDeployed=1
and catinfo2.CategoryInstanceName='Security Updates'
and catinfo.CategoryInstanceName = 'Microsoft'
order by sys.Name0, ui.ArticleID
select distinct
sys.Name0,
ui.BulletinID as BulletinID,
ui.ArticleID as ArticleID,
ui.Title as Title,
catinfo.CategoryInstanceName as Vendor,
catinfo2.CategoryInstanceName as UpdateClassification,
CASE ((ui.IsDeployed))
When 0 Then 'No'
Else 'Yes' End as 'Deployed',
CASE((ui.Severity))
When 2 Then 'Low'
When 6 Then 'Moderate'
When 8 Then 'Important'
When 10 Then 'Critical'
Else 'NA' End as 'Severity'
from v_UpdateComplianceStatus css
join v_UpdateInfo ui on ui.CI_ID=css.CI_ID
join v_R_System sys on css.ResourceID=sys.ResourceID
join v_ClientCollectionMembers ccm on ccm.ResourceID=sys.ResourceID
join v_CICategories_All catall on catall.CI_ID=ui.CI_ID
join v_CategoryInfo catinfo on catall.CategoryInstance_UniqueID = catinfo.CategoryInstance_UniqueID and catinfo.CategoryTypeName='Company'
join v_CICategories_All catall2 on catall2.CI_ID=ui.CI_ID
join v_CategoryInfo catinfo2 on catall2.CategoryInstance_UniqueID = catinfo2.CategoryInstance_UniqueID and catinfo2.CategoryTypeName='UpdateClassification'
where css.Status=2
and ccm.CollectionID='SMS00001'
and ui.isDeployed=1
and catinfo2.CategoryInstanceName='Security Updates'
and catinfo.CategoryInstanceName = 'Microsoft'
order by sys.Name0, ui.ArticleID
Maybe you are looking for
-
Xcode Keeps Crashing on Launch
Whenever I try to launch Xcode 3 it will appear to be loading (bouncing icon), but then it will crash and give me an error window. I don't know what caused it. I have tried reinstalling Xcode as well as repairing permissions and all the usual trouble
-
"insufficient bandwidth" error when seemingly all is OK
after months of flawless iChatAV sessions between me in Los Angeles and my brother in NYC, we recently started getting an error message that there is insufficient bandwidth to make the connection. Yet all tests (and even an in-house visit today from
-
How to hard reset C6-01?
As subject says, the question is: how can I perform a hard reset on C6-01? Not the one with 7370 code, the phisical one. By the way, it's a very nice and good device! Solved! Go to Solution.
-
Can't Read NTFS External HDD after Quick Tip Execution
I've recently shifted from Windows to OS X - and I wanted to use my 1TB Seagate External to transfer data from my old laptop to my Macbook Pro. I was aware that OS X cannot write to an NTFS drive and hence I executed the Quick Tip from this article t
-
Where to buy parts for MBP Retina
So I was wondering if it was possible to buy the individual keys for a MBP retina 15". I spilled literally a drop of orange juice on the - key and I thought I had soaked up most of it, but about two days later that key got extremely sticky to use so