Customize Print Quote stylesheet ASOPRINT.xsl
Hi,
I have a requirement where I need to check if we can use the existing Print Quote functionality to generate custom Quote Reports. As i see we can create new XML templates by making changes to the standard style sheet ASOPRINT.XSL. According to what is mentioned in the oracle quoting guide we can add company logo, change height width etc.. of the report by modifying this style sheet. I need to know how do we cusomize the style sheet to include static text or add new tables etc.. I am very new to XSL so do not have much idea as to where is the data fetched from and where is the static text present.
Thnaks
AM
Hi,
Thanks a lot for the response. I went through the documents and they mainly talk about customizing the Quote report by including the company logo, Title and disclaimer. How can we add static text to the ASOPRINT.XSl style sheet in order to customize it and attach it to a custom tempalate. I am very new to this so do not have much idea. can we add the static test directly in the style sheet or is it fetched from somewhere?
Regard
AM
Similar Messages
-
Dynamically set template for Print Quote report
We need to customize "Print Quote" in Quoting
As part of this we will be having 2 custom templates (will be related to data definition "Quote Printing", ASOPRT).
These two templates have to be defaulted based on the quote status - one for status "Approved", and the other template for other non "Approved" statuses.
How can this be achieved dynamically? (OAF CO customization / personilization)
There doesn't seem to be any setup for assigning different templates based on status.
Profile option "ASO: Default Layout Template" can be utilized to change the default template, but we need this template to be defaulted dynamically based on the Quote status.
Thanks,
Sumanth
Edited by: user1131947 on Oct 25, 2011 3:51 AMIf you want to create a custom report using concurrent program then refer:
http://apps2fusion.com/apps/apps/63-xml-publisher-concurrent-program-xmlp
If you want to create a custom report using OAF page then refer:
http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework
-Anand -
How to Create the Custom print Quote Report ?
Hi All,
I want to create the custom Print Quote report . I know the below details and referred the below metalinks .
Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
Note: 468982.1 - How To Customize The Asoprint.Xsl
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1.
Oracle Metalink:
Note: To add a column to the print quote report, following files need to be updated:
LinesVO.xml --- xml files containing the sql query and attribute definition
LinesVORowImpl.class - public class extending the framework class OAViewRowImpl.
This class contains the set and get for the attributes defined in xml file.
ASOPRINT.xsl - this is the xsl stylesheet file used to describe the report layout.
This file needs to be modified to include the new column being added to the report
QUESTION :
My question is,
1. wether my approach (below iare the details)of trying to extend the PromptVO is the right way or is there any other way to add the new columns.
I want to add new fields on to the report . When i looked into the it says the below
Here we find that to add a new column, oracle says to update the LINESVO.xml, do they really mean to update the base files.
This report uses following VO's
PROMPTVO
HEADERVO,
LINESVO.
To create new Headers & Prompts, i tried extending the PROMPTVO. Once the extended VO is substitued , i dont even get the data for standard oracle Prompts. is this the right way to add columns?
ThanksHi All,
I want to create the custom Print Quote report . I know the below details and referred the below metalinks .
Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
Note: 468982.1 - How To Customize The Asoprint.Xsl
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1.
Oracle Metalink:
Note: To add a column to the print quote report, following files need to be updated:
LinesVO.xml --- xml files containing the sql query and attribute definition
LinesVORowImpl.class - public class extending the framework class OAViewRowImpl.
This class contains the set and get for the attributes defined in xml file.
ASOPRINT.xsl - this is the xsl stylesheet file used to describe the report layout.
This file needs to be modified to include the new column being added to the report
QUESTION :
My question is,
1. wether my approach (below iare the details)of trying to extend the PromptVO is the right way or is there any other way to add the new columns.
I want to add new fields on to the report . When i looked into the it says the below
Here we find that to add a new column, oracle says to update the LINESVO.xml, do they really mean to update the base files.
This report uses following VO's
PROMPTVO
HEADERVO,
LINESVO.
To create new Headers & Prompts, i tried extending the PROMPTVO. Once the extended VO is substitued , i dont even get the data for standard oracle Prompts. is this the right way to add columns?
Thanks -
Print Quote the report is in PDF but need to be new RTF template
We have 11.5.10 apps, the Quote screen is an OAF screen.
When clicking Print Quote the report is in PDF, They want to include a new RTF template for printing instead of PDF.
The new RTF template is created. But what I do not know is how the quote screen will take the new template. I can use XMLP to upload the RTF template but that may not be sufficient to make it appear in the Quote screen.
I am looking at the profile ASO:Default Layout Template. Am I headed the right way?Hi,
Please refer to the following documents, it should be helpful.
Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
Note: 468982.1 - How To Customize The Asoprint.Xsl
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1
Regards,
Hussein -
Hi,
Since we'r doing a customization on the Seeded "Print Quote", Is there any possible way to retrieve the XML file (Source file) for the "Print Quote"?
Thanks in advance,
MuruMuru,
I too have the same requirement of customising the quote report.
Could you please let me know which approach u are taking, i mean customising the RDF report and its template or the xsl-fo template.
As far as I have understood from the docs, we can either customise the ASOPQTEL.rdf and its layout or customize the seeded xsl-fo ie, ASOPRINT.xsl.
Just an idea, probably you can run the ASOPQTEL.rdf and take the xml output.
Satrajit -
Hi All,
I have a requirement to develop the custom print Quote Report. When i review the standard pring quote report ,I found a call like <?call-template:TermsTemplate?>.
This statment itself is getting all the Terms and Conditions for that report. when i looked in the ASOPRTXSL.xsl, I see the below statement
<xsl:template name="TermsTemplate">
<xsl:call-template name="PrintContractTerms"/>
</xsl:template>
I am pretty new to XSL, dont know what's happening here. Please help me ASAP
I have also posted this question in BI Publisher but did not get any respose . Please Help
ThanksIf you want to create a custom report using concurrent program then refer:
http://apps2fusion.com/apps/apps/63-xml-publisher-concurrent-program-xmlp
If you want to create a custom report using OAF page then refer:
http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework
-Anand -
Queation Regaring Print Quote Report
Hi All,
I have a requirement to develop the custom print Quote Report. When i review the standard pring quote report ,I found a call like <?call-template:TermsTemplate?>.
This statment itself is getting all the Terms and Conditions for that report. when i looked in the ASOPRTXSL.xsl, I see the below statement
<xsl:template name="TermsTemplate">
<xsl:call-template name="PrintContractTerms"/>
</xsl:template>
I am pretty new to XSL, dont know what's happening here. Please help me ASAP
ThanksCan anyone answer this please. This is urgent . Thanks
-
Questions on Print Quote report
Hi,
I'm fairly new to Oracle Quoting and trying to get familiar with it. I have a few questions and would appreciate if anyone answers them
1) We have a requirement to customize the Print Quote report. I searched these forums and found that this report can be defined either as a XML Publisher report or an Oracle Reports report depending on a profile option. Can you please let me know what the name of the profile option is?
2) When I select the 'Print Quote' option from the Actions drop down in the quoting page and click Submit I get the report printed and see the following URL in my browser.
http://<host>:<port>/dev60cgi/rwcgi60?PROJ03_APPS+report=/proj3/app/appltop/aso/11.5.0/reports/US/ASOPQTEL.rdf+DESTYPE=CACHE+P_TCK_ID=23731428+P_EXECUTABLE=N+P_SHOW_CHARGES=N+P_SHOW_CATG_TOT=N+P_SHOW_PRICE_ADJ=Y+P_SESSION_ID=c-RAuP8LOvdnv30grRzKqUQs:S+P_SHOW_HDR_ATTACH=N+P_SHOW_LINE_ATTACH=N+P_SHOW_HDR_SALESUPP=N+P_SHOW_LN_SALESUPP=N+TOLERANCE=0+DESFORMAT=RTF+DESNAME=Quote.rtf
Does it mean that the profile in our case is set to call the rdf since it has reference to ASOPQTEL.rdf in the above url?
3) When you click on submit button do we have something like this in the jsp code: On click call ASOPQTEL.rdf. Is the report called using a concurrent program? I want to know how the report is getting invoked?
4) If we want to customize the jsp pages can you please let me know the steps involved in making the customizations and testing them.
Thanks and Appreciate your patience
-PC1) We have a requirement to customize the Print Quote report. I searched these forums and found that this report can be defined either as a XML Publisher report or an Oracle Reports report depending on a profile option. Can you please let me know what the name of the profile option is?
I think I posted it in one of the threads2) When I select the 'Print Quote' option from the Actions drop down in the quoting page and click Submit I get the report printed and see the following URL in my browser.
http://<host>:<port>/dev60cgi/rwcgi60?PROJ03_APPS+report=/proj3/app/appltop/aso/11.5.0/reports/US/ASOPQTEL.rdf+DESTYPE=CACHE+P_TCK_ID=23731428+P_EXECUTABLE=N+P_SHOW_CHARGES=N+P_SHOW_CATG_TOT=N+P_SHOW_PRICE_ADJ=Y+P_SESSION_ID=c-RAuP8LOvdnv30grRzKqUQs:S+P_SHOW_HDR_ATTACH=N+P_SHOW_LINE_ATTACH=N+P_SHOW_HDR_SALESUPP=N+P_SHOW_LN_SALESUPP=N+TOLERANCE=0+DESFORMAT=RTF+DESNAME=Quote.rtf
Does it mean that the profile in our case is set to call the rdf since it has reference to ASOPQTEL.rdf in the above url?
Yes, your understanding is correct.3) When you click on submit button do we have something like this in the jsp code: On click call ASOPQTEL.rdf. Is the report called using a concurrent program? I want to know how the report is getting invoked?
No, there is no conc program getting called, you can directly call a report in a browser window, Oracle reports server will execute the report and send the HTTP response to the browser.4) If we want to customize the jsp pages can you please let me know the steps involved in making the customizations and testing them.
This is detailed in many threads.Thanks
Tapash -
Generate xml source file for Oracle Order Capture Print Quote
Hi,
I am new to xml and need to work on creating templates for Print Quote.
I am trying to generate the xml source file for which I enabled the report in system administrator and set the output to XML and assigned to Quoting Reports responsiblity. I then assigned XML Report Publisher to the same responsiblity.
I ran the report (Print Quote) and then I am trying to run the XML Report Publisher but I cannot get the request id in the list of values.
I am able to generate xml source file for other reports like Printed Purchase Order etc.,
The view output for the (Print Quote) report is as follows:
<?xml version="1.0" ?>
- <!-- Generated by Oracle Reports version 6.0.8.26.0
-->
<ASOPQTER />
How do I get the xml source file? Or are there seeded templates that I can use to create more templates? Any help would be appreciated. Thanks RaviHi, I am in the same position - did this issue ever ger resolved by anyone. I have done a few XMLP reports successfully now using the Word add-in, but customising the Quote output differs from other standard reports.
If you look at the data definition for Quote it is a 'dummy' definition and has no XML file attached. Does anyone know how I can get the XML format for the report output?
Also the template uses XSL-FO ?!?!?! rather than RTF - not sure how to work with this, the Oracle docs are not very helpful in this regard either.
Has anyone successfully managed to customise the Quote print report? Many thanks,
Roger -
Is it possible to call the Print Quote functionality from Custom ADF page
Hi,
We are researching if it is possible to call the Print Quote functionality from the Custom ADF application.
Goal is to pop up the PDF report upon clicking the Print Quote button on the custom page. Is it possible ?
Atleast advice on the direction to go forward is appreciated.
Thanks
SaiHi ,
Please check following thread on forum -
Re: ADF: Calling OAF Page from ADF page
Check this may also be useful-
https://blogs.oracle.com/shay/entry/to_adf_or_oaf_or
I have not tried yet but Steven Chan (Sr. Director OATG) suggest following methodolgy for this-
https://blogs.oracle.com/stevenChan/entry/appsdatasource_jaas_ebs
Thanks,
Ashish -
Customize printed purchase order report
Hi all
i need to customize Printed purchase order report
i need to add supplier item number to printed purchase order report
where(group) i need to add item number i think it g_lines right?
item number is sengment from tml_system_items_b is it correct
ple reply it is urgent
ashokAshok,
Try to get a sample and understand the concern from your users. See if that is already customized to not show the supplier item number (as far as I remember I don't think there are any conditions in the standard report that qulify the printing of the supplier item number, it should print as long as it is entered in the supplier item number field in the PO lines). So see where your users are entering this in PO lines.
Yes it is vendor_product_num in PO lines table.
Thanks
Nagamohan -
YES! How to make PRINT QUOTAS WORK with 10.4
How to make PRINT QUOTAS WORK in 10.4
After struggling for quite some time, I finally found a pretty simple way to make print quotas work.
First, I’ll tell you our setup. We have 3 different computer centers with a variety of eMacs and new Intel iMacs, all clients are running 10.4.8, and each of those 3 centers has its own HP Laserjet 4200 printer. Our dual G5 server is running Server v.10.4.8. Client computers and printers have static IP addresses. All clients are bound to the server with the standard WorkGroup Manager/ LDAPv3 Directory Access scheme - such that all students login to the clients with their network username/password to mount their home directory on the client.
Next, I’ll tell you what does not work. IF YOU WANT PRINT QUOTAS TO WORK, you cannot use Workgroup Manager to assign a printer to any managed user account, user group, or computer group. Why? Because when you go to a client, and Show Info on the printer that is being pushed by Workgroup Manager, you’ll see that the queue name is not the queue that you’ve setup in Server Admin. Instead, you’ll see the queue name is “MCX” or something along those lines. Even if you manually edit the Workgroup print preference file that is being pushed to clients, it still will not work.
Drawbacks of my technique: In my case, students will see all 3 printers (1 from each lab) available to them no matter which lab they are in. Not the best, but for now I think it’ll be worth it to be able to control wasteful printing. Students may be able to move/delete the preference file (see below), but they’ll only be hurting themselves, as they won’t have any printers at all then.
Okay, here’s how I did it:
1. If you have setup any printers to be pushed out via Workgroup Manager’s preference enforcement to individual users, usergroups, or computer groups, turn those preferences off and leave them off.
2. Delete any existing printers in your Printer Setup Utility and/or Server Admin. Add and setup a new printer queue using the Server Admin> Print service. I added the printer through the Server Admin application, not Printer Setup Utility (may not matter). However, I did go into that latter utility to set the model of the printer. Now, back in Server Admin, edit the printer queue to turn on these services IPP, LPR (bonjour off), and of course check off the enforce quotas box. (No student Windows clients, so I didn’t tinker with SMB print service). I went ahead and specified the standard cover sheet – it will be handy while troubleshooting.
3. In Workgroup Manager, select the users that you want to enforce quotas upon, go to the Printer Quota tab (not the preference pane) and, in my case, I selected All Queues and specified a quota, and clicked Save.
4. Delete all printers that appear in the Printer Setup Utility from each client computer (I know, UGH).
5. For all network users, you need to edit a preference file and put it into each user’s home directory. That file is “com.apple.print.favorites.plist” and as you guessed, it needs to go into the Library> Preferences folder of every one of your network users’ home directories. Now, the content of that file is crucial… what it should show is the name of the queue(s) you created in Server Admin above, and be immediately followed by an “@” and the address of the server that is hosting that queue. For example, my queue’s name is TCStudentQ and the server’s address is student.mydomain.org… so my preference file has this entry: [email protected]. If you have more than one queue, you’ll have more entries. Be sure that the network user has at least Read level access under Group or Others. I’d recommend making the server System account the Owner of the file, and be sure to lock the file so the users can’t easily trash it. If you don’t know how to create this file in the first place, what you can do is go to a client computer, and log into the client with a dummy network account. Then open Printer Setup Utility, and you should see the queue you created in step 2. Add that printer, and then the file will be created in your dummy account’s home directory under Library> Preferences. Now you can use that file to distribute to other user’s folders… but don’t forget that each user needs Read level access.
6. That’s it. Works for me. When they exceed the quota, all that spits out is the cover page. It’d be nice if there was a quota monitor utility on the client side so users can see how many pages they have remaining and when the quota will automatically reset. I plan to start the quota on a Monday morning and go on a weekly duration. Not sure what a good starting point is… perhaps 25 pages every school week.
7. Hey Apple Computer, Inc. Server Developers & Project Managers, I truly hope you’re reading this and can explain why print quotas don’t function as you have documented and advertised. I don’t mean to toot my own horn, but I’ve spent way too much time discovering this workaround, and I know it will help thousands of others with the same problem. I can see where your Print Quota system breaks down, and I think you need to fix these issues or at least document them. Don’t forget to fix serious 10.4 Server bugs before leaving it behind for 10.5 Server – many of us will continue using 10.4 Server for at least another year or two.David,
Your assumption that I didn't read the documentation is incorrect. I read that 10.4 documentation over and over - followed it to the letter to no avail. Perhaps it was updated in the last few weeks? So, do you have a fully operable printer quota system in conjunction with a managed computer or user group that has a managed printer pushed to the group via Workgroup Manager? I can push a managed printer to a managed group without a problem, but the quotas won't be enforced unless I use the workaround above and cut Workgroup Manager's managed/pushed printer out of the picture.
I know this is a user-to-user forum - however, I'm also aware that Apple tech support often chime in here, so it doesn't hurt to post a message to them in the context of a larger posting about a 'known issue'. I have used the server feedback form... hasn't seemed to me to be very helpful in the past. -
ASO: How to set up Quoting and XML to Print Quote in R12?
Which are the steps to set up Oracle Quoting and XML in order to Print a Quote in R12?
Hi,
Please refer the Note : How to Create a Custom Print Quote Template in Oracle Quoting ? (Doc ID 780722.1)
Thanks & Regards,
Sridhar -
In which folder oracle print quote concurrent program save pdf files
Hi,
IN oracle print quote functionality, where is the path of the directory where are files are saved.I have checked with so many documents but not found the solution
I have checked the aso profile option for setting directory path also but the profile option is not available in our EBSplz re-check $APPLCSF/$APPLOUT
what is
cd $APPLCSF/$APPLOUT
pwdis it blank for you?
did you set env before check $APPLCSF/$APPLOUT ?
also check $APPLPTMP
concurrent request output $APPLCSF/$APPLOUT and log $APPLCSF/$APPLLOG
How To Change The Log And Output Location For Concurrent Managers? [ID 872766.1]
Concurrent Processing - Concurrent Manager Generic Platform Questions and Answers [ID 105133.1]
On A Multi-node / RAC Installation Is $APPLCSF And $APPLPTMP An NFS Mount Point [ID 371896.1]
Concurrent Processing - Concurrent Requests Fail with FDPSTP failed due to ORA-20100: File o0002712.tmp creation for FND_FILE [ID 148262.1]
Reports Cache Directory in Oracle E-Business R12 is Growing Rapidly [ID 859255.1]
Knowledge Management: How To Find Output File For Knowledge Management Solution Export Program [ID 292922.1] -
How to call print Quote functionality in istore
Hi ,
We need to call template Print Quote functionality from istore, like print quote template in oracle quoting.
Thanks,
lsp .Hi,
We solve that issue by using plsql concurrent programs.
The plsql will call oracle standard print quote API, then it will generate the the pdf file.
Tx,
Maybe you are looking for
-
How can I burn more than 1 movie onto a DVD? Once 1 movie is burned successfully to the disc, I try to burn another movie and Premiere wants to overwrite the first movie. One movie is 1.2 GB, second is 2.3; so there is room on a 4.7 GB DVD-RW.
-
Flex Builder 3 Beta 2 Expires early when using Flex 2 key, and new SDK
I was told to use my Flex 2 key to extend the Beta period for Flex Builder 3, this worked, today it said I have 99 days left. but When I installed the latest SDK and restarted Flex Builder 3 Beta 2, it says it expires in 15 days. If I put the origina
-
Win Vista -, iTunes won't display my iPhone
I've turned off firewall, WinPatrol and my antivirus - I can see the iPhone in My Computer... but the sync and backup buttons are greyed out in iTunes. I can see it with no problem in the other computers. I've uninstalled and reinstalled iTunes - P
-
Epson WP4525 scanner not working anymore with Mavericks
After updating to Mavericks the scanning option for my Epson WP-4525 has disappeared. looks like a driver issue ? Anyone had similar issue ? Epson does not offer Mavericks update for the drivers ... at least not yet. Got a solution or alternate scann
-
What is the cost of the 4th Generation IPad
What is the cost of the new 4th Generation IPad? I was told that the IPad Air is no longer available. Is that correct? What are the different sizes avvailable?What will it cost me to have the new 4th Generation IPad deliverd to South Africa?