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

Similar Messages

  • 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

  • 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

  • Need to modify Standard Purchase Order Stylesheet (PO_STANDARD_XSLFO.xsl)

    Hi
    We need to modify Standard Purchase Order Stylesheet (po_standard_xslfo.xsl) . Current stylesheet generating PO like the following.
    <FOR-EACH>
    ITEM_NUM
    ITEM_DESCRIPTION
    <FOR-EACH>
    SHIP_TO_ADDRESS_LINE1 NEED_BY_DATE QUANTITY
    </FOR-EACH>
    </FOR-EACH>
    Based on this, we are getting the output like this:
    Item Num 1
    Itme Description 1
    Ship To: Needed: Quntity
    1234. A1 Avenue JUL 200
    SomeCity, CA 90706
    1234. A1 Avenue AUG 200
    SomeCity, CA 90706
    4567 B1 Avenue JUL 100
    City2 , CA
    Itme Description 2
    Ship To: Needed: Quntity
    5689. c1 Avenue JUL 200
    SomeCity, CA 90706
    Our requirement is like this:
    Item Num 1
    Itme Description 1
    Ship To: 1234. A1 Avenue, SomeCity, CA 90706
    Month: JUL AUG SEP
    Quantity: 200 200 100
    Ship To: VVV4567 B1 Avenue , SomeCity, CA 90706
    Month: JUL AUG SEP
    Quantity: 100 200 100
    So we need to add ship_to group (ITEM/SHIP_TO) .
    How can we use group by item, ship_to..
    <fo:block> <xsl:value-of select="ITEM_NUM"/> </fo:block>
    <fo:block> <xsl:value-of select="ITEM_DESCRIPTION"/> </fo:block>
    <xsl:for-each select="/PO_DATA/LINES/LINES_ROW/LINE_LOCATIONS/LINE_LOCATIONS_ROW">
    <fo:block> <xsl:value-of select="SHIP_TO_ADDRESS_LINE1"/> </fo:block>
    <fo:block> <xsl:value-of select="substring(NEED_BY_DATE,4,3)"/> </fo:block>
    <fo:block> <xsl:value-of select="QUANTITY"/> </fo:block>
    </xsl:for-each>
    </xsl:for-each>
    In the above code I need split the data by ITEM_NUM/ SHIP_TO_ADDRESS_LINE1.
    I am new to xsl-fo. I tried different ways,but ship_to_address_line1 is generating wiith each quanty and need_by_date.
    Please guide me.
    Thank you
    Raju
    Edited by: subbaraju on May 7, 2009 2:36 PM

    Hi Chandra
    Thank you very much for your suggestion.
    I tried that way, I created some sample xml file, I created sample rtf file and I generated xsl-fo file. I copied the part of code into my PO_STANDARD_PO.XSL. I am getting some error.
    I noticed PO_STANDARD_PO.XSL is xsl version 1.0 and the generated sample data is with xsl version 2.0.
    The generated code is using “for-each_group”, “sum()”, “current-group()” etc. Is these functions will work in xslt 1? Or do we need to code different way?
    We are in Oracle APPS 12.0.4.
    Thank you
    Raju
    Edited by: subbaraju on May 26, 2009 11:56 AM

  • Standard Purchase Order Stylesheet PO_STANDARD_XSLFO

    Just wondering how to call the Standard Purchase Order Stylesheet PO_STANDARD_XSLFO in the purchasing module from a concurrent request?
    There is the Printed Purchase Order Report Concurrent request, but I can't quite figure out run this request that uses the above PO_STANDARD_XSLFO.
    Has anyone done this already? What is the output format of the concurrent request? Is it XML?
    What is the short name of the concurrent request? Does it have to match the short name of the data definition? How does it all work?

    PO output for communication concurrent program uses PO_STANDARD_XSLFO.
    It is a java concurrent program that builds the xml and sends the PDF document to the supplier. Refer to Note 364177.1 on how to run the PO Output for Communication program and generate the XML.
    Thanks,
    Swetha

  • Multiple Shipment Info. Not showing Standard Purchase Order Stylesheet

    Hi
    I have multiple shipment lines for a PO. These are not showing as detail in PO Output for Communication request for Standard Purchase Order Stylesheet.
    I have also created custom template by using data definations "Standard Purchase Order Data Source". I have used following xml tags in template to show shipment information:
    <?for-each:LINE_LOCATIONS?>
    <?DROP_SHIP_FLAG?>
    Please help out, is there any setup required to show shipment detail on Standard Purchase Order through PO Output for Communication / Document View.
    Regards,
    Umar
    Edited by: 903119 on May 29, 2012 4:36 AM

    Hi Umar,
    It is <?for-each:LINE_LOCATIONS_ROW?> not <?for-each:LINE_LOCATIONS?> for PO shipments.
    Also make sure it is nested inside <?for-each:LINES_ROW?>.
    Thanks,
    PS.

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

  • How to round unit price in XSL-FO Standard Purchase Order

    I have been trying to round the unit price of the Standard Purchase Order stylesheet that is written in XSL-FO. Please could someone suggest I how I could achieve this? As my attempt have been unsuccessful. In the stylesheet the following line of code returns the unit price.
    <xsl:value-of select="UNIT_PRICE"/>
    Thank you,
    Mark

    I assume you are talking about number formatting:
    You can use the XPATH function format-number:
    <xsl:value-of select="format-number(UNIT_PRICE,"####.#")"/>
    This will ONLY work if UNIT_PRICE is a correct XSL number (meaning no thousand seperator). Otherwise you can probabley remove the , out of say 1,234,567 using the
    translate function translate(UNIT_PRICE,",","") - Please check any XSL reference for additional information.
    Hope that helps,
    Klaus

  • 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

  • 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)" />

  • Standard purchase order upload to oracle

    hi,
    we are on oracle apps 11i, database 9i.
    I have a custom requirement that requires importing purchase orders to Oracle Apps through database. I was advised to use the following interface tables:
    PO_HEADERS_INTERFACE
    PO_LINES_INTERFACE
    PO_LINE_LOCATIONS_INTERFACE
    PO_DISTRIBUTIONS_INTERFACE
    insert the data to these tables using a PLSQL procedure and then running the program IMPORT STANDARD PURCHASE ORDERS from front end.
    If someone confirms the above is the right method, it would be appreciated.
    thanks & regards

    Looks correct. Refer to the below links.
    http://docs.oracle.com/cd/E19509-01/820-4390/ggtjd/index.html
    http://api-wizard.blogspot.com/2012/10/purchase-order-import.html
    http://raghuoaf.blogspot.com/2012/03/po-creation-and-import-po.html
    Thanks
    Shree

  • 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

  • Import standard Purchase Order process and interface tables

    Hi all,
    We are populating three PO interface tables from our custom developed application. PO_HEADERS_INTERFACE, PO_LINES_INTERFACE and PO_DISTRIBUTIONS_INTERFACE. We are using 11.5.10.2 version of Oracle Apps.
    Initially we did not manage to populate the distributions interface table, but, now we are populating it. And after doing so, when we run the Import standard Purchase Order process for 'Approved' POs, the process_id for even the record which has correct distributions info also gets 'Rejected' as a value. The process is considering a mix of records : the approved POs that DO NOT HAVE distribution info in PO_DISTRIBUTIONS_INTERFACE (which we had not managed to populate) and the approved POs that HAVE distribution info in PO_DISTRIBUTIONS_INTERFACE.
    does the Import standard Purchase Order process populate partial data that could be good or it rejects the whole lot of records?
    Can anyone guide on this issue?
    Thanks and kind regards,
    Aparna
    Edited by: Aparna on Jul 24, 2009 3:45 AM
    Another piece of info I would like to share is
    I have run the process for an approved PO with distributions info in PO_DISTRIBUTIONS_INTERFACE. This time no mixed data. In PO_INTERFACE_ERRORS table, an entry was found: for column name : PO_DISTRIBUTION_ID in ERROR_MESSAGE column 'Error: Has no distributions'.
    Edited by: Aparna on Jul 24, 2009 8:03 AM
    After carrying out number of tests, I have found out that
    1) if the approval_status for the po is 'Approved' in the po_headers_interface table, it gives the above mentioned error and the process_id is 'rejected'.
    2) if the approval_status for the po is 'Incomplete' in the po_headers_interface table, the process add the 'accepted' value for the process_id. But, the charge account number is not populated in shipments.
    Edited by: Aparna on Jul 31, 2009 1:07 AM
    There has been some progress on this issue. The process sees distributions data into the PO_DISTRIBUTIONS_INTERFACE table. Yet the following errors are found in the process log file:
    Start dist default process
    before getting period name
    after getting period name
    -->Intfc error occurred ...PO_PDOI_INVALID_GL_ENC_PER
    before workflow
    unit price = 18.5, rate = , unit price in functional currency = 18.5
    after workflow
    Start dist creation process
    Start dist validation process
    -->Intfc error occurred ...PO_PDOI_INVALID_BUDGET_ACCT
    Start insert new record into po_distributions
    Distribution ID: 252
    dist num: 1
    last updated by: 1189
    po header id: 5283
    po line id: 5878
    line loc id: 5924
    sob id: 21
    cc id: 1560
    qty ordered: 10
    Req Header Ref num :
    Req line Ref num :
    Req dist id :
    ROW ID: AAHUc1AFPAAAQ04AAC
    call tax
    Rollback for the Last Errored Line: 10
    All Lines in error - Rolling back the header
    We opened new GL periods for the calendar and yet same errrors are seen. Can anyone suggest any solution?
    Kind regards,
    Aparna

    Hi
    Do you have a copy of your insert statement?
    regards

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

  • Re: Error in submitting Import Standard Purchase orders from Pl/Sql

    Hi All,
    Iam using the following code to submit a concurret program
    "Import Standard Purchase orders" from pl/sql
    Program is sucessfully submittted but it is Completing in error status i am stuck there please help me in resolving this
    My instance R12
    My Code
    ======
    DECLARE
    v_request_id VARCHAR2 (100);
    BEGIN
    mo_global.set_policy_context ('S', 204); --org_id for the operating unit which the purchase order records belong too
    mo_global.init ('PO'); -- sets the application
    FND_GLOBAL.APPS_INITIALIZE (1013436, 50578, 201); --Consists of the user_id, responsibility_id, responsibility_application_id which is 201 for purchasing
    v_request_id :=
    fnd_request.submit_request (application => 'PO',
    program => 'POXPOPDOI',
    description => NULL,
    start_time => NULL, -- To start immediately
    sub_request => FALSE,
    argument1 => '31348', -- Buyer_ID
    argument2 => 'STANDARD', -- Doc Type
    argument3 => '', -- doc subtype
    argument4 => 'N', -- update items
    argument5 => '', -- create sourcing rules not used
    argument6 => 'INCOMPLETE', -- Approval status
    argument7 => '', -- release generation method
    argument8 => '1021387', -- batch_id
    argument9 => '', -- operating unit null
    argument10 => '', -- global agreement null
    argument11 => '', -- enable sourcing null
    argument12 => '', -- sourcing level null
    argument13 => '', -- inv org enabled null
    argument14 => '' -- inv org null
    DBMS_OUTPUT.put_line ('Request submitted. ID = ' || v_request_id);
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.put_line (
    'Request set submission failed - unknown error: ' || SQLERRM
    END;
    output
    =====
    when i check output i am getting the follwing error
    DECLARE
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at line 133
    Log message
    ==========
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    31348
    STANDARD
    N
    INCOMPLETE
    1021387
    Start of log messages from FND_FILE
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 945297
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
    User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
    End of log messages from FND_FILE
    Thanks
    Manoj kumar

    Pass NULL instead of ''
    Check the flag
    SELECT multi_org_category
      FROM fnd_concurrent_programs
    WHERE concurrent_program_name = 'POXPOPDOI'Update it as per the below MOS Doc
    R12 / POXPOPDOI - 'ORA-01422' Error While Running 'Import Standard Purchase Orders' [ID 457628.1]
    Otherwise,
    Follow the below doc and insert values to the interface tables (headers, lines and distribution) and run the Import Standard Purchase Orders from the front end.
    How To Diagnose Problems With Importing Standard Purchase Orders [ID 781351.1]
    HTH
    Cheers,
    ND
    Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered.

Maybe you are looking for

  • Error while migrating 10G BPEL to 11G

    Hi All, I am trying to migrate BPEL 10G (10.1.3.5) project to 11G (11.1.1.5) using JDEV. I am opening the project in JDEV 11G and its taking forever, its also not giving any error. Has anyone faced issue like this. Please advice. Thanks Yatan

  • MacBook Pro and D Link DIR-655

    I just upgraded from a MacBook to a MacBook Pro, and I'm having trouble connecting to my D Link DIR-655 via the airport. When I try to connect through the menu bar, the airport tries to connect and then times out. I can only get online if I connect t

  • How do I select a language?

    QuestionHow do I select a language? AnswerWe're proud to announce that Tagged is now available in 21 languages, with even more to come in the future! If you'd rather use the site in another language, Tagged now supports: If you haven't done so alread

  • Report on process chains using SEM-BPS

    We are looking to develop a tool to: 1. Monitor data loads at the process chain level 2. Within in the same tool, enter error resolution /    action steps for all failed loads 3. Report out % of successful or failed loads, using the data captured by

  • Unable to scale a pic to "full size" when choosing a home & lock screen.

    Why can't I scale a picture when I'm given the opportunity to "move and scale" a picture when making it my home and lock screens? If I pinch it to include the whole picture, it snaps back to a zoomed in version and over half of it is cropped out. Is