Customize Standard Purchase Order template

We have requirement to customize the 'Standard Purchase Order Stylesheet', XSL template. I am trying to follow the below approach;
1. Use standard oracle template 'PO_STANDARD_XSLFO.xsl' and customize it as per client requirements.
2. Create a template definition 'XX Custom Purchase Order stylesheet' similar to 'Standard Purchase Order Stylesheet' in 'Purchasing' responsibility and upload my custom template.
3. Navigate to Purchasing Super User > Setup > Purchasing > Document Types > 'Purchase Order Standard' > Update Document Type layout > replace 'Standard Purchase Order Stylesheet' with 'XX Custom Purchase Order stylesheet'.
Please let me know if i have missed any steps.
Appreciate your time.

Another approach is to create a new RTF using the tags generated by the PO Output for Communication program. The tags are generated by the columns in the PO_XXX_XML views.
Sent from my iPhone

Similar Messages

  • How to add Signatre to Standard Purchase Order Template XSL-FO

    I need to add digital signature to the standard Purchase Order Template which is sent to supplier.
    could you let me know the process.
    thanks
    Edited by: 855902 on May 24, 2011 8:00 PM

    Thanks for your response.
    I tried to change the code in below format but it was giving error.
    Original code
    <xsl:value-of select="LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE"/>
    modified to
    <xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd/mmm/yyyy hh24:mi:ss',$_XDOLOCALE,$_XDOTIMEZONE)"/>
    also tried with
    <xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd-mmm-yyyy hh24:mi:ss',$_XDOLOCALE,$_XDOTIMEZONE)"/>
    also tried like
    <xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd/mmm/yyyy',$_XDOLOCALE,$_XDOTIMEZONE)"/>
    Tried above 3 methods but it didn't work.
    right now the date format in pdf file is 24-MAY-2011 21:56:24 i need to remove 21:56:24 and have only 24-MAY-2011
    any suggestions.
    thanks

  • How to modify date format for Standard Purchase Order  Template XSL-FO

    I am editing the XSL-FO for the Standard Purchase Order.
    I need to modify the promised date column to 'DD-MON-YYYY’' , tried to use substring in below line but it didn't work
    <xsl:value-of select="LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE"/>
    Any solution for this ?
    thanks
    Pravin

    Thanks for your response.
    I tried to change the code in below format but it was giving error.
    Original code
    <xsl:value-of select="LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE"/>
    modified to
    <xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd/mmm/yyyy hh24:mi:ss',$_XDOLOCALE,$_XDOTIMEZONE)"/>
    also tried with
    <xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd-mmm-yyyy hh24:mi:ss',$_XDOLOCALE,$_XDOTIMEZONE)"/>
    also tried like
    <xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd/mmm/yyyy',$_XDOLOCALE,$_XDOTIMEZONE)"/>
    Tried above 3 methods but it didn't work.
    right now the date format in pdf file is 24-MAY-2011 21:56:24 i need to remove 21:56:24 and have only 24-MAY-2011
    any suggestions.
    thanks

  • How to customize Standard Purchase Order?

    Hi,
    We have many company so i must put logo for every company .
    also i want to add some fields to the po output .
    i open the document from :
    1) Purchase order responsibility then open Purchase order sumamry/
    2) select one purchase order and do find.
    3) In tool menu click on Inquire and then do view document.
    4) this will opens one PDF .
    And i was have document before to modify PO document from oracle but i didn't find it now .
    so please any one can assist me on that  ?
    Thanks,
    Mohamed Badr

    Moderator Action:
    I have removed the link you placed into your update to this forum thread, and I have locked the thread.
      That document has an Oracle copyright and the link was to a non-Oracle URL .
    You did not show that you had permission to locate that document on the non-Oracle location.

  • How to get Information Template fields to Standard Purchase order Document.

    Hi Guy's
    I Created Information Templates to capture extra information to suit our business needs. But i dont know how to get populate those information into Standard Purchase order docuemnt. After Some research I found that we have to customize the PO_STANDARD_XSLFO.xsl. But i did not get how to get those information.
    If any one know knows or has done this type of customization let me know asap
    Thanks in advance
    Thanks & Regards
    Palakondaiah.U

    Hi,
    I resolved this as following :
    Since, i needed the Manufacturer Serial no. to be fetched in custom field at item level ( Enhanced via EEWB the item  ) , the moment there is a product  available in the sales doc header field.
    I wrote  badi implementation for definition : CRM_ORDERADM_I_BADI and utilized method  : CRM_ORDERADM_I_PRODUCT_DETERM . This method's signature if you check makes me available the header, item guids along with the product available in the field even before i save the sales document. There i fetch the serial number of product from custom table and then poulate the serial no. field in customer_i extension as follows:
      LS_CUSTOMER_I_COM-ZZCUSTOMER_I0803 = LV_MFR_SLNO.
      LS_CUSTOMER_I_COM-REF_GUID    = IV_ITEM.
      LS_CUSTOMER_I_COM-REF_HANDLE  = '0000000000'.
      LS_CUSTOMER_I_COM-MODE        = 'A'.
      APPEND LS_CUSTOMER_I_COM TO LT_CUSTOMER_I_COM.
      LS_FIELD_NAME_CUSTAB-FIELDNAME = 'ZZCUSTOMER_I0803'.
      APPEND LS_FIELD_NAME_CUSTAB TO LT_FIELD_NAME_CUSTAB.
      CALL FUNCTION 'CRM_CUSTOMER_I_MAINTAIN_OW'
        EXPORTING
          IS_CUSTOMER_I_COM    = LS_CUSTOMER_I_COM
    *        IV_EXTERNAL_CALL     = 'X'
        CHANGING
          CT_INPUT_FIELD_NAMES = LT_FIELD_NAME_CUSTAB
        EXCEPTIONS
          ITEM_CHANGE_ERROR    = 1
          ITEM_CREATE_ERROR    = 2
          ERROR_OCCURRED       = 3
          OTHERS               = 4.

  • Customized R12 Standard Purchase Order report with custom data and layout

    Hi all,
    We need to customize the seeded Purchase Order report in R12 to add an additional section to include cost data coming from our custom table. The key is that our customized report should be launched instead of the seeded report via various PO forms (e.g. View Document menu option, PO Communications form to email, fax and print PO, etc).
    I manually set up a custom Document Type Layout for the Document "Standard Purchase Order" to use my customized template so my custom layout is shown instead of the R12 layout, but according to Oracle support the report can only draw data from a set of seeded Oracle views like po_headers_xml,po_lines_xml etc.
    Any suggestions how we can add our custom data to PO report in R12?
    Thanks! Mike.

    Hi Mike
    thats a tough one, the PO generation is a bit restrictive to say the least when it comes to customizing. It sounds like you have worked out how to get your own template in there to render the PO.
    On the data front, all I can think of is to customize and replace the seeded PO view with one that incorporates your extra data.
    Or, get into the page customization world and write your own extract and format concurrent program/procedure and then hook it onto the buttons where you want to launch it.
    You might have more luch, response wise from the EBS PO forum.
    Procurement : Procurement
    OAF: OA Framework
    Regards
    Tim

  • How to run "Standard Purchase Order Stylesheet" in EBS

    Hi again,
    Please, anybody can give some clue for this?
    In a r12 instance I have the "Standard Purchase Order Data Source" Data Definitio.
    Related to this Data Definition there are 2 Templates
    - Standard Purchase Order Stylesheet
    - Standard Purchase Order Stylesheet with Logo
    my question is... how and were in Oracle Applications (EBS) can I run this report?
    where are defined the parameters?
    I have searched in the concurrent programs, but I have not been able to find it?
    Thanks and regards.
    Juanje

    The two purchase order stylesheets can be used by the "PO Output for Communication" (POXPOPDF) process found under the Purchasing Responsibilities.
    To designate which template you want the "PO Output for Communication" process to use, you can select the template from Purchasing Super User Responsibility > Setup > Purchasing > Document Types. Then select the document type you want to change the template for (i.e. Standard PO) and change the template in the LOV.
    This template is designed in the XSL-FO format, not RTF, so it is substantially more difficult to customize than normal XML Publisher templates unless you're proficient at working with code (it works a lot like HTML once you get used to it).
    I suggest reading the white paper posted under note: 387670.1 at Metalink ("Oracle Purchasing Document Printing and Communication"). It is a decent document about how the Purchase Order PDF process works and how you can approach customizing the template if desired.
    Also, these two (and many other) R12 templates do work in 11.5.10 if you upload them. However, I have not found any good reason to use the R12 template in this case over the 11.5.10 version. There is a lot of extra code specific to R12 functionality that just creates extra overhead (and no notable enhancements for 11i users).
    Regards,
    -Brian

  • 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
    ashok

    Ashok,
    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

  • Unable to preview Contract Terms for Standard Purchase Order

    Unable to preview View Contract Terms for Standard Purchase Order,displays error
    We have defined the same contract terms and Document type layouts to documents Contract Purchase Order and Standard Purchase Order.
    Created a Contract PO,Attached a template able to preview the contract template in PDF successfully
    Created a Standard PO,Attached a template not able to preview the contract template in PDF
    Displays the foll error
    Problem: The system could not generate the PDF document.
    Reason: The system detected an error in the following code/object.
    Code: XML
    Object: PO
    Action: Please contact the system administrator and try again
    ### Steps to Reproduce Problem ###
    Steups
    Created a custom XSL-FO template for Contract template and defined it for Standard PO and Contracts PO.
    Steps to Reproduce
    1.Create a PO,give any category of 100 Qty
    2.Click Terms and CLick Author Contract Terms\
    3.Select the custom Template ,Click Apply Template
    4.Click Preview.
    Following error displayed
    Problem: The system could not generate the PDF document.
    Reason: The system detected an error in the following code/object.
    Code: XML
    Object: PO
    Action: Please contact the system administrator and try again
    Please Note:The above scenario works for Contracts PO.
    The problem is only for Standard PO
    We have reviewed note:454479.1
    The file version of POXVCOMB.pls 115.69.11510.28
    But we have another test instance this also has the same version , the scenario works fine
    So we are confused why this is reproducible only for a particular instance with same file versions
    If anyone can suggest a solution pls give me a reply
    Already SR is logged for the same -SR 3-1272761221, awaiting reply from support

    Please reply if any update on the above query is present.

  • Custom Purchase Order template causes Error while generating PDF

    The standard XSLFO works, my custom one errors:
    History of the world:
    1) I downloaded the XML Publisher thing for Word, installed it no problems
    2) Downloaded the XML data definition for the Standard Purchase Order from XML Publisher Administrator
    3) Created a blank word document and created the purchase order layout from scratch using the XML Publisher plug-in
    4) Previewed it as a PDF in word - it looked fine (well, it was a start)
    5) Exported the XSLFO
    6) In XML Publisher created a new template and uploaded the XSLFO
    7) Assigned the new template to the document in Purchasing
    All good... the new template is defintately the one being used by the PO Output for Communication program. The problem of course is that it throws a useless error message :) - namely:
    PoPrintingUtil.getBlobPDF(input,input) - After initializing the FOProcessor
    PoPrintingUtil.getBlobPDF(input,input) - After setting the i/o stream and output format
    PoPrintingUtil.getBlobPDF(input,input) - Error while generating the PDForacle.apps.xdo.XDOException
    genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null
    java.lang.Exception: Error while generating PDF :null
    java.lang.Exception: Error while generating PDF :null
         at oracle.apps.po.communicate.PoGenerateDocument.genDoc(PoGenerateDocument.java:2011)
         at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:421)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    When I run POXPOPDF in Debug I get:
    getArchiveOn(): APPROVE
    After calling genDocThu May 18 12:50:05 EST 2006
    Adding the blob to vector
    java.lang.NullPointerException
    java.lang.NullPointerException
         at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
         at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:304)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    I know no one can magically fix this for me (I wish!) but does anyone have any suggestions on what to do next? I have no conditional formatting or any other more complex functionality, just a really boring PO layout with a logo.
    Any suggestions welcome, in the meantime I will keep trawling through Metalink in search of a clue ;)
    Thanks
    Jo

    Hi Jo,
    The first version for which the Template Builder was released is 5.0
    Well, I guess I am one of the few who has a backported 4.5 version of the template builder. I did that for testing exactly your case. I just replaced our xdocore.jar file with the 4.5 version and it worked. The core.jar is not easily available. The files are part of the 4.5 patch, but I think it is too much work to get them out.
    However, I would strongly recommend to upgrade to a later version of XML Publisher. We made huge improvements, since 4.5 - performance, translation, RTF template capabilities....
    I just checked the process of converting an RTF template to FO and uploading it to EBS with 5.6.2 and it still worked. So it seems you can go straight to the latest version.
    Hope that helps,
    Klaus

  • Logo on a Standard Purchase Order Stylesheet      Inquire -- View Document

    Hi
    I did add "LOGO" to Standard Purchase Order Stylesheet and customized required fields.but, something weird thing is happening.
    After changing the Setup to "Customized_Template" which is the new custom template in Document Types->Document type layout , I created new Purchase Order and when i opened document from Inquire -->View Document I see the PDF with the changes as implemented in custom template but i don't see the Log , the strange case is that when i copy this PO Tools-->Copy Document i will get a new PO here when i open the Inquire -->View Document i get the LOGO on the PDF document.
    Not sure why LOGO is not appearing for new purchase orders created, could you let me know how i can troubleshoot this?
    thanks
    praveen

    1. You don't create a new data definition. You create a new template and assign the seeded data definition to it. (XML Publisher Administrator).
    2. On our version of the EBS there is a parameter on the PO Output for Communication concurrent request which lets you specify the template to use. However for the normal day to day use you need to do the setup in Purchasing:
    Setup / Organizations / Purchasing Options / Control TAB / set 'PO Output Format' = 'PDF'
    setup / purchasing / document types / select "Standard Purchase Order" / Set the Document Type Layout to your new template.
    For the white paper on this see metalink doc id 387670.1 - Incidentally, when checking this I note that appendix C tells you how to change the logo in the XSL-FO template so that may give you a shortcut to your new PO Template. I haven't tried it though!
    Cheers,
    Dave

  • How to modify date format for Standard Purchase Order

    In the Standard Purchase Order I have been trying to modify the date format of the Need by and Promised Date. To display DD-MON-YYYY please could some advise.
    Thanks

    The varaibles and prarameters I am using are.
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:ora="http://www.oracle.com/XSL/Transform/java/" xmlns:xdofo="http://xmlns.oracle.com/oxp/fo/extensions" xmlns:xdoxslt="http://www.oracle.com/XSL/Transform/java/oracle.apps.xdo.template.rtf.XSLTFunctions" xmlns:xdoxliff="urn:oasis:names:tc:xliff:document:1.1">
    <xsl:param name="_XDOCALENDAR">GREGORIAN</xsl:param>
    <xsl:param name="_XDOLOCALE">en-US</xsl:param>
    <xsl:param name="_XDOTIMEZONE">GMT</xsl:param>
    <xsl:param name="_XDODFOVERRIDE">;</xsl:param>
    <xsl:param name="_XDOCTX">#</xsl:param>
    <xsl:variable name="_XDOXSLTCTX" select="xdoxslt:set_xslt_locale($_XDOCTX, $_XDOLOCALE, $_XDOTIMEZONE, $_XDOCALENDAR, $_XDODFOVERRIDE)" />

  • Adding Company Logo to a Standard Purchase Order

    Hi,
    I went throigh this forum and tried all the different variations that have been provided.
    With the following one,
    src="url({'${OA_MEDIA}/xxx.jpg'})", I am able to see the logo , when I preview it after I uploaded the xsl-fo file.
    I also updated the stylesheet under the Setup\Purchasing Options\Document types to use the new template that I have created for the Standard Purchase order type.
    But , the logo is still not getting printed, when I submit the Process "PO output for Communication" for a single PO.
    Am I missing a step anywhere in the process. How it is able to resolve the OA_MEDIA in the preview process, but not as part of the "PO output for Communication" Process.
    Any Help would be appreciated.
    Thanks,
    - Vasu -

    I found the other syntax in the forum
    url:{concat('$[OA_MEDIA]/',.//IMAGE_NAME)} where image_name is my xml variable. This didn't work.
    But when I hard code the name of the file as in the following syntax. It worked fine.
    url:{concat('$[OA_MEDIA]/','xxx.jpg')}
    Please let me know, where I am going wrong. This has been a really painful process to get it correct. We have spent lot of hours in resolving this.
    I would really appreciate your help.
    Thanks,
    - Vasu -

  • Adding a company logo to Standard Purchase Order Stylesheet

    Hi,
    On Metalink Note:352604.1 suggests notepad can be used for editing or is there better editing tools recommended. How could I using notepad or simular editing tool to add my companies logo to the Standard Purchase Order Stylesheet template?
    Thank you,
    Mark

    Hi Folks
    I really feel for you but this is not a limitation of XMLP. The standard template format is RTF that can be opened in MSWord with or without our plugin. What can be a more easier template building tool.
    the Purchasing team chose to go with the XSLFO format, admittedly when they started we did not have the RTF format but before they released the RTF templates were ready but they decided to go with XSLFO. that has left you stucj trying to find a visual XSLFO editor. There are some on the market out there but Im not sure that they are free.
    As a work around we have worked with a few customers whereby they build the template using our template builder in Word and then export it as an XSLFO template and then load that to the template manager and use that. You'll need to keep the RTF handy for any updates. But its definitely a viable workaround until the PO team support RTF templates.
    Regards, Tim

  • Add fields to Standard Purchase Order

    How can I change the standard order data definition. I need to add some fields that are not in the standard po definition.
    Must i add fields to po_headers_xml.
    But i think I also have to change the .xsd file. But how can I change them ?

    Nike,
    That is indeed the way of working but what I find strange is when you download the Standard Purchase order XSL-FO.
    You see that Oracle uses Boilerplate messages to fill up the labels on there PO
    print.
    These messages are hard coded in the procedure for generating the xml that is
    used for filling up the data of the database.
    For my customer it is useful to change the messages (labels) in the database
    and not in the template. Now why does the standard PO support this. It is build
    up with boilerplate messages ! And why can you not use these way of programming
    for your custom messages. Or will be this supported in the future?
    Maybe it is usefull to build up the part where the messages are selected in the
    PO_COMMUNICATION_PVT.POXMLGEN not hard coded but dynamicly. So you can set up
    which messages are used.Alse the part wich language the xml is generated based
    upon the language of the supplier. So that you can do View > Document in PO
    summary screen with the language of the supplier.
    These are the problems I have, it seems logical to me that the way the standard
    PO is presented, it also can be used in customisations.
    But these customisations are not supported.

Maybe you are looking for

  • RE: Using a notebook as extra monitor, RE: Using a notebook as extra monitor

    I'm trying to connect my previous notebook to my MBP as a second monitor. How does it works?

  • Useless Plists

    How can I erase the plists that are no longer in use? ie. I deleted the Tiger Woods PGA Tour game and still when I go to ~/Library/Preferences the .plist file is still there.. I COULD erase them one by one.. but i don't know which plist is of which p

  • Missing Info Objects and Business Content in IDES ECC6 with BI7.0

    Hi All, I do not see most of info objects like 0COMP_CODE, 0BUS_AREA, 0RESP_PERS etc. and lot of objects missing in Business Content too. I have IDES ECC6 with BI7.0. Could someone please help me to retrieve those objects. Thanks.

  • Sql Developer and Data Guard enabled instance

    I have version 1.1.2.25 SQL Developer and when I try to connect to Oracle 10gR2 instance which is data guard enabled and its logical standby it spits few message, and then connects, but data is not visible from any table. Is there any way to see data

  • HT2946 quit using external editor

    Currently using Photoshop elements as editor.  Photoshop Editor opens but photos do not open in editor. Either make photos ope , or just quit exporting.Help with either solution, please.