PO Output for Communication :: Modified XSL-FO not reflecting

Hi,
As per the requirement we need to add some fields in the PO Output for Communication report.
I have modified the Standard PO XSL-FO and I am able to see the changes in the first page but the changes are not reflecting in the remaining pages. I have verified that the remaining pages also haivng Standard PO only.
Kindly help!!!
Thanks in advance.
Edited by: AppsDeveloper on Nov 28, 2011 1:03 PM

Any help will appreciable..!!!

Similar Messages

  • How to add a logo to 'PO Output for Communication' report

    Dear All,
    There is a Standard Concurrent Program 'PO Output for Communication' in PO module.
    Can you please let me know which rtf template is being used for this report?
    Actually I need to add a company logo to this report, but I am not able to find out the layout where we need to place the logo.
    Thanks in adavance.

    Hi,
    There is a Standard Concurrent Program 'PO Output for Communication' in PO module.
    Can you please let me know which rtf template is being used for this report?
    Actually I need to add a company logo to this report, but I am not able to find out the layout where we need to place the logo.What is the application release?
    Please see these docs.
    POXPOPDF Seeded RTF Templates for the PO Output for Communication [ID 549508.1]
    How to modify XSLFO report to add Logos and also watermark the draft for non approved PO print reports which are possible in XML? [ID 420671.1]
    New Template Not Picked By PO Output For Communication [ID 416578.1]
    POXPOPDF PO Output For Communication Completes In Error when using RTF template [ID 434774.1]
    R12 : PO Output For Communication: Logo File Does Not Show Up in PDF output [ID 1121811.1]
    Thanks,
    Hussein

  • PO Output For communication does not Show 'Purchase Order Layout' parameter

    Hi,
    I am working on Implementing PO PDF with XML data and RTF Template. I have created a new template in XML Publisher and followed the following set up steps
    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.
    When I view the document from PO Summary > inquire > View Document, I get an adobe reader error
    'File does not begin with '%PDF-', how ever when I preview it from the template definition, it opens fine.
    I tried running PO Output for communication with my custom template but I don't see the parameter 'Purchase Order Layout'. The last parameter in the list is 'Include Blanket'.
    Am I missing any set up steps? However when I use the standard Purchase Order Layout in Document Types set up, the Inquire > View Document created a PDF output.
    Any help is greatly appreciated.
    Thanks,
    Sharmila

    Hi,
    I am not using a barcode font. I am using RenderX's XSL stylesheets to generate the barcode. As I said, the barcode generate's fine in the PDF on my computer but does not appear in the PDF when the code is moved to Oracle.
    Thanks,
    Suzanne

  • XML PO Output for Communication does not show barcode on PDF

    Hi,
    I am attempting to add a barcode to the PO Output for Communication XSL style sheet. I am doing this by calling 2 RENDERX XSL style sheets, the second containing an SVG template.
    I have successfully accomplished this locally on my personal computer using FOP to generate the PDF (barcode appears perfectly). When I transfer the files to Oracle (the new custom PO XSL-FO style sheet in a template, along with 2 new templates for the 2 RenderX XSL stylesheets. The RenderX style sheets appear to be imported at runtime using calls similar to: <xsl:import href="xdo://PO.ALKS_CODE128_BARCODE.en.US/"/>
    The PO Output for Communication report runs successfully with no errors or warnings, and all of the output appears EXCEPT for the barcode (remember this is SVG). Same thing happens when I View Document from the PO form.
    Why does my SVG barcode not appear on the PO Output for Communication within Oracle, yet the same code runs perectly on my PC. I've looked into the Adobe SVG Viewer plug-in, but I do not have that on my local machine yet the barcode appears fine in the PDF. It seems the PDF should be able to show any image anyway.
    Any suggestions would be greatly appreciated.
    Thanks,
    Suzanne

    Hi,
    I am not using a barcode font. I am using RenderX's XSL stylesheets to generate the barcode. As I said, the barcode generate's fine in the PDF on my computer but does not appear in the PDF when the code is moved to Oracle.
    Thanks,
    Suzanne

  • Need XSL-FO landscape template for POXPOPDF (PO Output for Communication)

    Hi,
    I'm new to xml publisher technology. I need guidance to customize the standard "PO Output for Communication" report using XSL-FO.
    The satndard report generates a PDF in portrai mode. I need it to be generated in landscape mode as well as I need to make some modifications like adding the company logo re-aligning the components on the lay out.
    Can somebody guide me how to customize usinf XSL-FO templates?

    Hi
    Create new Template(RTF) instead of modifying XSL-FO template
    Thanks
    Rahul

  • PO Output For Communication Program is not Submitting in Background PO appr

    Hi Gurus,
    We are working on "PO Output For Communication" Program.We created a Standard Purchase Order and Approved it through the "E-Mail" option checked."PO Output For Communication" program was not submitted in the background.
    From the workflow we found that it was stucked at PO new Communication Process.
    As the value of column "po_output_format" is NULL in the "PO_SYSTEM_PARAMETERS" table it is not submitting in background.
    Already in the front end
    Purchasing responsibility->setup->organizations->purchasing options
    under Documnet control we assigned Output format column as "PDF".
    Will you please provide us your valuable solution as soon as possible.
    Thanks in Advance,
    RS

    This Program "PO Output for Communication" does effects in other parts.
    I mean that this program actually sends an email (or fax or print) along with the PO in PDF attachment or in the TEXT format.
    This program does other part than the above mentioned point also.If yes then provide me the information in which other parts this program effects.I believe it is only the part you mentioned above.
    PO Output for Communication
    http://docs.oracle.com/cd/E18727_01/doc.121/e13410/T446883T443960.htm#srs.poxpopdf
    PO Output for Communication Search
    http://www.oracle.com/pls/ebs121/search?word=PO+Output+for+Communication&format=ranked&remark=quick_search
    Thanks,
    Hussein

  • Customize Output of the PO Output for Communication program R12

    I have a requirement to change the output of the seeded PO Output for Communication program, so that it uses a custom RTF template to produce the documents.
    To do this, I have registered this template in XML Publisher under the Purchasing application. I then navigated to Purchasing Super User > Setup > Purchasing > Document Types, and from the window opened, selected to update the Purchase Order Standard Type. From here, I updated the document name and the document type layout as my new custom template.
    However, once I run the program, it completes with an error. The log file is pages and pages (that I won’t post here unless requested as necessary) but at the bottom is section produced that I think may be useful:
    Updated PRINT_COUNT 1
    doc Identifier: PO
    Document ID:14004
    Revision Num0
    Document SubTypeSTANDARD
    Document TypePO
    GenerateDocument::2nd Constructor()
    setFileName- m_documentType:PO, m_documentId:14004
    setFileName- m_fileName:PO_84_700000049_0_US.pdf
    GenerateDocument::Finished 3rd Constructor()
    Setting PO template Code
    Setting OKC template Code
    Before calling genDocTue Jan 22 17:02:01 GMT 2013
    Changed GenerateDocument::Inside the gendoc method
    Calling the getDocument method
    GenerateDocument::getDocument()- Set the Org Context
    GenerateDocument::getDocument()
    GenerateDocument::getDocument() - Searching in the repository
    After Calling the getDocument method
    Calling the getPOXsl method
    Before setting the bind variables for the default layout in getPOXSL()
    Document Template Code :NCC_STD_PO_RTF
    Language Code :US
    Document XSL Contents Tue Jan 22 17:02:01 GMT 2013
    Retrieved the Document XSL Tue Jan 22 17:02:01 GMT 2013
    Calling the getPOXml method
    GenerateDocument::getPOXml() : l_exists 1
    GenerateDocument::getPOXml() : m_whichTables MAIN
    GenerateDocument::getPOXml()- Calling the POXMLGEN method Tue Jan 22 17:02:01 GMT 2013
    Generated the Document XML Tue Jan 22 17:02:01 GMT 2013
    Document XML Contents Tue Jan 22 17:02:01 GMT 2013
    Calling the print util method:Tue Jan 22 17:02:01 GMT 2013
    Passing Params to getBlobPDF :Tue Jan 22 17:02:01 GMT 2013
    m_AppNames :PO
    m_TemplateCodes :NCC_STD_PO_RTF
    m_Languages :en
    m_Territories :US
    genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null
    java.lang.Exception: Error while generating PDF :null
    rolling back the complete program
    As you can see it's definitely picking up my custom template (NCC_STD_PO_RTF), and it appears to error when tryign to generate it as PDF.
    I have attempted to attach the seeded xsl template to my template definition - to test if the error is due to the program expecting a certain template format - but, as the seeded template is in that particular format, and my definition is expecting rdf, it will not let me.
    I am wondering if anyone has a solution for this requirement. We would like to keep the business process the same as it was in 11i, by using the seeded program, but with a custom template. But I understand that in R12, creating a custom program replicated from the seeded may be the only viable solution.
    This is on Oracle Applications version 12.1.3.
    Any suggestions would be much appreciated, and if you think that any more information is required, let me know.
    Thanks.

    Publisher version is 10.1.3.4.2.
    It seemed to be a data issue. When a certain test PO with a insufficient amount of data in the XML output was put through the template, and hit these clauses, it failed, and the concurrent program errored.

  • Adding logo to the standard PO Output for communication program

    Hello All.
    I need to add company logo to the Standard PO Output for Communication program. Can someone please tell me a way to do this. I went into applications and see its a Java Concurrent program. I even went into these forums and I saw there is a way to uncomment out the line in the XSL file and add the logo there , but how do I upload back to the template. The Upload Button is disabled for this template.
    Can we use the Standard Purchase Order Stylesheet for this?
    If so how to make changes and how can I upload it back?
    Should I do an RTF temnplate?
    Can someone pl help me here. We are on R12 and I am not much familiar with exposting RTF to XSF FO.
    Thanks
    Vidhya

    We took the standard PO document XSL-FO template and enhanced for our own needs. The first of those is to utilize the company's logo. Search for 'external-graphic' in the xsl-fo template. The first hit will be the section for the logo. The comments in the template provide some guidance on what to change. For our company, I changed the URL to point to a .gif file on the Apps server ($OA_MEDIA/company_logo.gif) .
    The one downside that I have found so far, is that I am have to hard-code the entire document path. This path will change between instances. So I once our production instance is defined, I will set it to that path.
    - Scott

  • 12.1.1 PO Output for Communication errors all POs created after upgrade

    Hi All -
    We are in the middle of upgrade testing and have encountered a critical issue with "PO Output for Communication (POXPOPDF)." All POs created after the upgrade are completing with error. We are able to generate pdf output for POs generated in 11.5.10.2 before the upgrade. This error is occurring even with seeded "PO_STANDARD_XSLFO.xsl" template as well.
    The log file has the following message towards the end.
    getArchiveOn(): APPROVE
    getArchiveOn()=APPROVE m_viewOrCommunicate=Communicate
    getArchiveOn(): APPROVE
    After calling genDocThu Jan 28 12:51:47 EST 2010
    Adding the blob to vector
    java.lang.NullPointerException
    rolling back the complete program
    PO is getting archived properly, so it is definitely an issue with document generation. We have had a SR logged for over three weeks, but there has been not much progress on this. Support has logged a new bug for this. We are unable to view bug transcript, so I am not certain as who is working this bug.
    Any help or pointers will be much appreciated.
    Thanks
    Abhishek

    Pl see if MOS Doc 433600.1 (PO Output for Communication Fails When Item Description Contains Special Characters) is relevant in your case. The error message is similar to your case.
    HTH
    Srini

  • Add new font to PO Output for Communication Report

    I'm trying to add a new font (Edwardian Script ITC) to the PO Output Communication report. I have added the font file through XML Publisher Administrator, and I have an RTF template report and a test XSL-FO report both correctly displaying the font. The PO Output for Communication report is not displaying the font and I believe it has something to do with the fact that it is a java concurrent program.
    Any ideas on what additional steps need to be done to get this font to show up on the PO Output for Communication? Has anyone been successful in adding a different font to this report?
    Thanks,
    Suzanne

    My RTF template is showing the font, and my test XSL-FO template is showing the font. The PO Output for Communication XSL-FO template is NOT showing the font.
    I even tested by replacing the PO Output for Communication template file with my test template file. When I do that the font not applied in the PO Output for Communication report, even though it was applied using the same template in a test report.

  • PO OUTPUT FOR COMMUNICATION COMPLETING ERROR

    PO OUTPUT for COMMUNICATION is completing with error. I tried with XDO & ICX profile values... no effect..From the log file,
    Document Template Code :PO_STANDARD_XSLFO
    Language Code :US
    Document XSL Contents Wed Jun 13 12:31:07 IST 2012
    Retrieved the Document XSL Wed Jun 13 12:31:07 IST 2012
    Calling the getPOXml method
    GenerateDocument::getPOXml() : l_exists 1
    GenerateDocument::getPOXml() : m_whichTables MAIN
    GenerateDocument::getPOXml()- Calling the POXMLGEN method Wed Jun 13 12:31:07 IST 2012
    Generated the Document XML Wed Jun 13 12:31:14 IST 2012
    Document XML Contents Wed Jun 13 12:31:14 IST 2012
    Calling the print util method:Wed Jun 13 12:31:14 IST 2012
    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) - After calling the generate Method
    After printutil method:Wed Jun 13 12:31:17 IST 2012
    m_pdf is not null
    Calling StorePDF()
    Preparing to archive the PDF..
    getArchiveOn(): null
    getArchiveOn()=null m_viewOrCommunicate=View
    getArchiveOn(): null
    genDoc() : Exceptionjava.lang.NullPointerException
    java.lang.Exception
    rolling back the complete program
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 4) PLSQL   -------------
    Executing PL/SQL. (REQUEST ID=5822592) (STEP ID=3)
    PL/SQL completed with return code of: 0
    Please advice..
    Thanks,
    Ranjith
    Edited by: user8108877 on Jun 13, 2012 1:18 PM

    ICX was already checked.... The Issue got resolved when I select the check box "Can Change Forward-To" in the Setup --> purchasing --> Document type window for Standard Purchase Order.
    Thanks,
    Ranjith

  • CANCEL_FLAG in PO Output for Communication

    I'm trying to build logic into an RTF template for the "PO Output for Communication" report to handle cancelled lines. The cancel_flag can be set to "Y" at any of 3 levels - PO Header, PO Line and PO shipment. The field is called the same thing (cancel_flag) at all 3 levels.
    In my rtf template, I have a row in a table to display each PO line using the for-each clause. I do not want to display lines which are cancelled (ie where CANCEL_FLAG (at line level) = 'Y'.
    How do I reference the CANCEL_FLAG specifally at line level (not header, and shipment line)??
    My xml is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <PO_DATA>
    <TYPE_LOOKUP_CODE>STANDARD</TYPE_LOOKUP_CODE>
    <SEGMENT1>33832</SEGMENT1>
    <REVISION_NUM>0</REVISION_NUM>
    <PRINT_COUNT>0</PRINT_COUNT>
    <CREATION_DATE>10-DEC-2009 17:42:27</CREATION_DATE>
    <DOCUMENT_BUYER_FIRST_NAME>Happiness</DOCUMENT_BUYER_FIRST_NAME>
    <DOCUMENT_BUYER_LAST_NAME>Makeleni</DOCUMENT_BUYER_LAST_NAME>
    <DOCUMENT_BUYER_TITLE>MS.</DOCUMENT_BUYER_TITLE>
    <DOCUMENT_BUYER_AGENT_ID>4588</DOCUMENT_BUYER_AGENT_ID>
    <CONFIRMING_ORDER_FLAG>N</CONFIRMING_ORDER_FLAG>
    <ACCEPTANCE_REQUIRED_FLAG>N</ACCEPTANCE_REQUIRED_FLAG>
    <CURRENCY_CODE>ZAR</CURRENCY_CODE>
    <CURRENCY_NAME>Rand</CURRENCY_NAME>
    <PAYMENT_TERMS>30 Days 2.5% Discount</PAYMENT_TERMS>
    <VENDOR_NUM>LAP005</VENDOR_NUM>
    <VENDOR_NAME>LAPACK (PTY) LTD</VENDOR_NAME>
    <VENDOR_ADDRESS_LINE1>P O Box 1082</VENDOR_ADDRESS_LINE1>
    <VENDOR_CITY>Isando</VENDOR_CITY>
    <VENDOR_STATE>RSA</VENDOR_STATE>
    <VENDOR_POSTAL_CODE>1600</VENDOR_POSTAL_CODE>
    <VENDOR_COUNTRY>South Africa</VENDOR_COUNTRY>
    <VENDOR_PHONE>9741531</VENDOR_PHONE>
    <SHIP_TO_LOCATION_ID>71695</SHIP_TO_LOCATION_ID>
    <SHIP_TO_LOCATION_NAME>23M CS Isando Personal Care</SHIP_TO_LOCATION_NAME>
    <SHIP_TO_ADDRESS_LINE1>23M CS Isando Personal</SHIP_TO_ADDRESS_LINE1>
    <SHIP_TO_ADDRESS_LINE2>22 Purlin Road</SHIP_TO_ADDRESS_LINE2>
    <SHIP_TO_ADDRESS_INFO>Isando, GP 1600</SHIP_TO_ADDRESS_INFO>
    <SHIP_TO_COUNTRY>South Africa</SHIP_TO_COUNTRY>
    <BILL_TO_LOCATION_ID>78573</BILL_TO_LOCATION_ID>
    <BILL_TO_LOCATION_NAME>Tiger Brands Consumer Manufacturing</BILL_TO_LOCATION_NAME>
    <BILL_TO_ADDRESS_LINE1>P O Box 527</BILL_TO_ADDRESS_LINE1>
    <BILL_TO_ADDRESS_INFO>Paarl, 7620</BILL_TO_ADDRESS_INFO>
    <BILL_TO_COUNTRY>South Africa</BILL_TO_COUNTRY>
    <VENDOR_SITE_ID>95462</VENDOR_SITE_ID>
    <PO_HEADER_ID>711318</PO_HEADER_ID>
    <APPROVED_FLAG>N</APPROVED_FLAG>
    <VENDOR_ID>73269</VENDOR_ID>
    <CLOSED_CODE>OPEN</CLOSED_CODE>
    <ORG_ID>1296</ORG_ID>
    <FIRM_STATUS_LOOKUP_CODE>N</FIRM_STATUS_LOOKUP_CODE>
    <FROZEN_FLAG>N</FROZEN_FLAG>
    <CREATED_BY>7794</CREATED_BY>
    <TERMS_ID>10006</TERMS_ID>
    <RATE_DATE>10-DEC-2009 00:00:00</RATE_DATE>
    <AUTHORIZATION_STATUS>N</AUTHORIZATION_STATUS>
    <LAST_UPDATE_DATE>10-DEC-2009 17:50:02</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>7794</LAST_UPDATED_BY>
    <SUMMARY_FLAG>N</SUMMARY_FLAG>
    <ENABLED_FLAG>Y</ENABLED_FLAG>
    <LAST_UPDATE_LOGIN>52339081</LAST_UPDATE_LOGIN>
    <CONTERMS_EXIST_FLAG>N</CONTERMS_EXIST_FLAG>
    <PENDING_SIGNATURE_FLAG>N</PENDING_SIGNATURE_FLAG>
    <OU_NAME>CS Consumer National (A90)</OU_NAME>
    <OU_ADDR1>Corporate Hill Office Park</OU_ADDR1>
    <OU_ADDR2>William Nicholl Drive</OU_ADDR2>
    <OU_TOWN_CITY>Bryanston</OU_TOWN_CITY>
    <OU_REGION2>GP</OU_REGION2>
    <OU_POSTALCODE>1768</OU_POSTALCODE>
    <OU_COUNTRY>South Africa</OU_COUNTRY>
    <BUYER_LOCATION_ID>71695</BUYER_LOCATION_ID>
    <BUYER_ADDRESS_LINE1>23M CS Isando Personal</BUYER_ADDRESS_LINE1>
    <BUYER_ADDRESS_LINE2>22 Purlin Road</BUYER_ADDRESS_LINE2>
    <BUYER_CITY_STATE_ZIP>Isando, GP 1600</BUYER_CITY_STATE_ZIP>
    <BUYER_CONTACT_EMAIL>[email protected]</BUYER_CONTACT_EMAIL>
    <VENDOR_FAX>3925820</VENDOR_FAX>
    <TOTAL_AMOUNT>246,321.92</TOTAL_AMOUNT>
    <BUYER_COUNTRY>South Africa</BUYER_COUNTRY>
    <VENDOR_AREA_CODE>011</VENDOR_AREA_CODE>
    <LE_NAME>AI Health Care (Pty) LTD</LE_NAME>
    <LE_ADDR1>Coprporate Hill Office Park</LE_ADDR1>
    <LE_ADDR2>Willima Nicholl Drive</LE_ADDR2>
    <LE_TOWN_CITY>Bryanston</LE_TOWN_CITY>
    <LE_STAE_PROVINCE>GP</LE_STAE_PROVINCE>
    <LE_POSTALCODE>1768</LE_POSTALCODE>
    <LE_COUNTRY>South Africa</LE_COUNTRY>
    <DOCUMENT_CREATION_METHOD>AUTOCREATE</DOCUMENT_CREATION_METHOD>
    <DOCUMENT_TYPE>Standard Purchase Order</DOCUMENT_TYPE>
    <TEST_FLAG>D</TEST_FLAG>
    <DIST_SHIPMENT_COUNT>1</DIST_SHIPMENT_COUNT>
    <DOCUMENT_NAME>Standard Purchase Order 33832, 0</DOCUMENT_NAME>
    <SIGNED>F</SIGNED>
    <AMENDMENT_PROFILE>Y</AMENDMENT_PROFILE>
    <WITH_TERMS>N</WITH_TERMS>
    <IS_ATTACHED_DOC>Y</IS_ATTACHED_DOC>
    <HEADER_SHORT_TEXT>
    </HEADER_SHORT_TEXT>
    <LINES>
    <LINES_ROW>
    <ITEM_REVISION>0</ITEM_REVISION>
    <LINE_NUM>1</LINE_NUM>
    <ITEM_DESCRIPTION>Jar Labelled EA Purity Perf P/Jelly 350ml</ITEM_DESCRIPTION>
    <CANCEL_FLAG>Y</CANCEL_FLAG>
    <UNIT_MEAS_LOOKUP_CODE>Each</UNIT_MEAS_LOOKUP_CODE>
    <ORDER_TYPE_LOOKUP_CODE>QUANTITY</ORDER_TYPE_LOOKUP_CODE>
    <UNIT_PRICE>1.31</UNIT_PRICE>
    <QUANTITY>188032</QUANTITY>
    <PO_HEADER_ID>711318</PO_HEADER_ID>
    <PO_LINE_ID>1198098</PO_LINE_ID>
    <ITEM_ID>114606</ITEM_ID>
    <PRICE_TYPE_LOOKUP_CODE>FIXED</PRICE_TYPE_LOOKUP_CODE>
    <CLOSED_CODE>OPEN</CLOSED_CODE>
    <ORG_ID>1296</ORG_ID>
    <QTY_RCV_TOLERANCE>0</QTY_RCV_TOLERANCE>
    <OVER_TOLERANCE_ERROR_FLAG>WARNING</OVER_TOLERANCE_ERROR_FLAG>
    <FIRM_STATUS_LOOKUP_CODE>N</FIRM_STATUS_LOOKUP_CODE>
    <NEGOTIATED_BY_PREPARER_FLAG>N</NEGOTIATED_BY_PREPARER_FLAG>
    <LAST_UPDATE_DATE>10-DEC-2009 17:42:27</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>7794</LAST_UPDATED_BY>
    <LINE_TYPE_ID>1</LINE_TYPE_ID>
    <LAST_UPDATE_LOGIN>52339081</LAST_UPDATE_LOGIN>
    <CREATION_DATE>10-DEC-2009 17:42:27</CREATION_DATE>
    <CREATED_BY>7794</CREATED_BY>
    <CATEGORY_ID>1935</CATEGORY_ID>
    <LIST_PRICE_PER_UNIT>1.31</LIST_PRICE_PER_UNIT>
    <TAX_NAME>Std Vat 14%</TAX_NAME>
    <LINE_TYPE>QUANTITY</LINE_TYPE>
    <PURCHASE_BASIS>GOODS</PURCHASE_BASIS>
    <ITEM_NUM>53-60401-</ITEM_NUM>
    <LINE_AMOUNT>246,321.92</LINE_AMOUNT>
    <MATCHING_BASIS>QUANTITY</MATCHING_BASIS>
    <PRICE_DIFF>
    </PRICE_DIFF>
    <LINE_SHORT_TEXT>
    </LINE_SHORT_TEXT>
    <LINE_LOCATIONS>
    <LINE_LOCATIONS_ROW>
    <SHIPMENT_NUM>1</SHIPMENT_NUM>
    <DUE_DATE>22-JAN-2010 00:00:00</DUE_DATE>
    <QUANTITY>188032</QUANTITY>
    <PRICE_OVERRIDE>1.31</PRICE_OVERRIDE>
    <QUANTITY_CANCELLED>0</QUANTITY_CANCELLED>
    <TAXABLE_FLAG>Y</TAXABLE_FLAG>
    <PO_HEADER_ID>711318</PO_HEADER_ID>
    <PO_LINE_ID>1198098</PO_LINE_ID>
    <LINE_LOCATION_ID>1107035</LINE_LOCATION_ID>
    <SHIPMENT_TYPE>STANDARD</SHIPMENT_TYPE>
    <CONSIGNED_FLAG>N</CONSIGNED_FLAG>
    <RECEIVING_ROUTING_ID>2</RECEIVING_ROUTING_ID>
    <ACCRUE_ON_RECEIPT_FLAG>Y</ACCRUE_ON_RECEIPT_FLAG>
    <ORG_ID>1296</ORG_ID>
    <INSPECTION_REQUIRED_FLAG>N</INSPECTION_REQUIRED_FLAG>
    <RECEIPT_REQUIRED_FLAG>Y</RECEIPT_REQUIRED_FLAG>
    <QTY_RCV_TOLERANCE>0</QTY_RCV_TOLERANCE>
    <QTY_RCV_EXCEPTION_CODE>WARNING</QTY_RCV_EXCEPTION_CODE>
    <ENFORCE_SHIP_TO_LOCATION_CODE>WARNING</ENFORCE_SHIP_TO_LOCATION_CODE>
    <ALLOW_SUBSTITUTE_RECEIPTS_FLAG>N</ALLOW_SUBSTITUTE_RECEIPTS_FLAG>
    <DAYS_EARLY_RECEIPT_ALLOWED>0</DAYS_EARLY_RECEIPT_ALLOWED>
    <DAYS_LATE_RECEIPT_ALLOWED>0</DAYS_LATE_RECEIPT_ALLOWED>
    <RECEIPT_DAYS_EXCEPTION_CODE>WARNING</RECEIPT_DAYS_EXCEPTION_CODE>
    <INVOICE_CLOSE_TOLERANCE>0</INVOICE_CLOSE_TOLERANCE>
    <RECEIVE_CLOSE_TOLERANCE>0</RECEIVE_CLOSE_TOLERANCE>
    <SHIP_TO_ORGANIZATION_ID>1282</SHIP_TO_ORGANIZATION_ID>
    <CLOSED_CODE>OPEN</CLOSED_CODE>
    <ENCUMBERED_FLAG>N</ENCUMBERED_FLAG>
    <APPROVED_FLAG>N</APPROVED_FLAG>
    <LAST_UPDATE_DATE>10-DEC-2009 17:42:27</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>7794</LAST_UPDATED_BY>
    <LAST_UPDATE_LOGIN>52339081</LAST_UPDATE_LOGIN>
    <CREATION_DATE>10-DEC-2009 17:42:27</CREATION_DATE>
    <CREATED_BY>7794</CREATED_BY>
    <QUANTITY_RECEIVED>0</QUANTITY_RECEIVED>
    <QUANTITY_ACCEPTED>0</QUANTITY_ACCEPTED>
    <QUANTITY_REJECTED>0</QUANTITY_REJECTED>
    <QUANTITY_BILLED>0</QUANTITY_BILLED>
    <UNIT_MEAS_LOOKUP_CODE>Each</UNIT_MEAS_LOOKUP_CODE>
    <TAX_USER_OVERRIDE_FLAG>N</TAX_USER_OVERRIDE_FLAG>
    <MATCH_OPTION>R</MATCH_OPTION>
    <TAX_CODE_ID>10430</TAX_CODE_ID>
    <CALCULATE_TAX_FLAG>N</CALCULATE_TAX_FLAG>
    <VMI_FLAG>N</VMI_FLAG>
    <AMOUNT>246,321.92</AMOUNT>
    <AMOUNT_RECEIVED>0.00</AMOUNT_RECEIVED>
    <AMOUNT_BILLED>0.00</AMOUNT_BILLED>
    <AMOUNT_CANCELLED>0.00</AMOUNT_CANCELLED>
    <AMOUNT_ACCEPTED>0.00</AMOUNT_ACCEPTED>
    <AMOUNT_REJECTED>0.00</AMOUNT_REJECTED>
    <DROP_SHIP_FLAG>N</DROP_SHIP_FLAG>
    <SHIP_TO_LOCATION_ID>71695</SHIP_TO_LOCATION_ID>
    <SHIP_TO_LOCATION_NAME>23M CS Isando Personal Care</SHIP_TO_LOCATION_NAME>
    <SHIP_TO_ADDRESS_LINE1>23M CS Isando Personal</SHIP_TO_ADDRESS_LINE1>
    <SHIP_TO_ADDRESS_LINE2>22 Purlin Road</SHIP_TO_ADDRESS_LINE2>
    <SHIP_TO_ADDRESS_INFO>Isando, GP 1600</SHIP_TO_ADDRESS_INFO>
    <SHIP_TO_COUNTRY>South Africa</SHIP_TO_COUNTRY>
    <NEED_BY_DATE>22-JAN-2010 00:00:00</NEED_BY_DATE>
    <LINE_LOC_SHORT_TEXT>
    </LINE_LOC_SHORT_TEXT>
    <DISTRIBUTIONS>
    <DISTRIBUTIONS_ROW>
    <AMOUNT_DELIVERED>0.00</AMOUNT_DELIVERED>
    <AMOUNT_CANCELLED>0.00</AMOUNT_CANCELLED>
    <DISTRIBUTION_TYPE>STANDARD</DISTRIBUTION_TYPE>
    <PROJECT_ACCOUNTING_CONTEXT>No</PROJECT_ACCOUNTING_CONTEXT>
    <ACCRUE_ON_RECEIPT_FLAG>Y</ACCRUE_ON_RECEIPT_FLAG>
    <ORG_ID>1296</ORG_ID>
    <DESTINATION_TYPE_CODE>INVENTORY</DESTINATION_TYPE_CODE>
    <DESTINATION_ORGANIZATION_ID>1282</DESTINATION_ORGANIZATION_ID>
    <ACCRUAL_ACCOUNT_ID>57175</ACCRUAL_ACCOUNT_ID>
    <VARIANCE_ACCOUNT_ID>117936</VARIANCE_ACCOUNT_ID>
    <PREVENT_ENCUMBRANCE_FLAG>N</PREVENT_ENCUMBRANCE_FLAG>
    <PO_DISTRIBUTION_ID>1160340</PO_DISTRIBUTION_ID>
    <LAST_UPDATE_DATE>10-DEC-2009 17:42:27</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>7794</LAST_UPDATED_BY>
    <PO_HEADER_ID>711318</PO_HEADER_ID>
    <PO_LINE_ID>1198098</PO_LINE_ID>
    <LINE_LOCATION_ID>1107035</LINE_LOCATION_ID>
    <SET_OF_BOOKS_ID>1</SET_OF_BOOKS_ID>
    <CODE_COMBINATION_ID>57172</CODE_COMBINATION_ID>
    <QUANTITY_ORDERED>188032</QUANTITY_ORDERED>
    <LAST_UPDATE_LOGIN>52339081</LAST_UPDATE_LOGIN>
    <CREATION_DATE>10-DEC-2009 17:42:27</CREATION_DATE>
    <CREATED_BY>7794</CREATED_BY>
    <QUANTITY_DELIVERED>0</QUANTITY_DELIVERED>
    <QUANTITY_BILLED>0</QUANTITY_BILLED>
    <QUANTITY_CANCELLED>0</QUANTITY_CANCELLED>
    <REQ_DISTRIBUTION_ID>1124422</REQ_DISTRIBUTION_ID>
    <DELIVER_TO_LOCATION_ID>71695</DELIVER_TO_LOCATION_ID>
    <DELIVER_TO_PERSON_ID>4585</DELIVER_TO_PERSON_ID>
    <RATE_DATE>10-DEC-2009 00:00:00</RATE_DATE>
    <AMOUNT_BILLED>0.00</AMOUNT_BILLED>
    <ACCRUED_FLAG>N</ACCRUED_FLAG>
    <ENCUMBERED_FLAG>N</ENCUMBERED_FLAG>
    <RECOVERABLE_TAX>34,485.07</RECOVERABLE_TAX>
    <NONRECOVERABLE_TAX>0.00</NONRECOVERABLE_TAX>
    <RECOVERY_RATE>100.00</RECOVERY_RATE>
    <DESTINATION_CONTEXT>INVENTORY</DESTINATION_CONTEXT>
    <DISTRIBUTION_NUM>1</DISTRIBUTION_NUM>
    <CHARGE_ACCOUNT>53-230-999-84-7220-0000</CHARGE_ACCOUNT>
    <FULL_NAME>Mokoena, Johanna</FULL_NAME>
    <EMAIL_ADDRESS>[email protected]</EMAIL_ADDRESS>
    <REQUESTER_DELIVER_FIRST_NAME>Johanna</REQUESTER_DELIVER_FIRST_NAME>
    <REQUESTER_DELIVER_LAST_NAME>Mokoena</REQUESTER_DELIVER_LAST_NAME>
    </DISTRIBUTIONS_ROW>
    </DISTRIBUTIONS>
    </LINE_LOCATIONS_ROW>
    </LINE_LOCATIONS>
    </LINES_ROW>
    </LINES>
    <ADDRESS_DETAILS>
    <ADDRESS_DETAILS_ROW>
    <LOCATION_ID>71695</LOCATION_ID>
    <ADDRESS_STYLE>ZA_GLB</ADDRESS_STYLE>
    <ADDR_LABEL_1>Address Line 1</ADDR_LABEL_1>
    <ADDR_LABEL_2>Address Line 2</ADDR_LABEL_2>
    <ADDR_LABEL_3>Address Line 3</ADDR_LABEL_3>
    <ADDR_LABEL_4>Address Line 4</ADDR_LABEL_4>
    <ADDR_LABEL_5>Town / City</ADDR_LABEL_5>
    <ADDR_LABEL_6>Postal Code</ADDR_LABEL_6>
    <ADDR_LABEL_7>Province</ADDR_LABEL_7>
    <ADDR_LABEL_8>Country</ADDR_LABEL_8>
    <ADDR_DATA_1>23M CS Isando Personal</ADDR_DATA_1>
    <ADDR_DATA_2>22 Purlin Road</ADDR_DATA_2>
    <ADDR_DATA_5>Isando</ADDR_DATA_5>
    <ADDR_DATA_6>1600</ADDR_DATA_6>
    <ADDR_DATA_7>GP</ADDR_DATA_7>
    <ADDR_DATA_8>ZA</ADDR_DATA_8>
    </ADDRESS_DETAILS_ROW>
    <ADDRESS_DETAILS_ROW>
    <LOCATION_ID>78573</LOCATION_ID>
    <ADDRESS_STYLE>ZA_GLB</ADDRESS_STYLE>
    <ADDR_LABEL_1>Address Line 1</ADDR_LABEL_1>
    <ADDR_LABEL_2>Address Line 2</ADDR_LABEL_2>
    <ADDR_LABEL_3>Address Line 3</ADDR_LABEL_3>
    <ADDR_LABEL_4>Address Line 4</ADDR_LABEL_4>
    <ADDR_LABEL_5>Town / City</ADDR_LABEL_5>
    <ADDR_LABEL_6>Postal Code</ADDR_LABEL_6>
    <ADDR_LABEL_7>Province</ADDR_LABEL_7>
    <ADDR_LABEL_8>Country</ADDR_LABEL_8>
    <ADDR_DATA_1>P O Box 527</ADDR_DATA_1>
    <ADDR_DATA_5>Paarl</ADDR_DATA_5>
    <ADDR_DATA_6>7620</ADDR_DATA_6>
    <ADDR_DATA_8>ZA</ADDR_DATA_8>
    </ADDRESS_DETAILS_ROW>
    <ADDRESS_DETAILS_ROW>
    <LOCATION_ID>71715</LOCATION_ID>
    <ADDRESS_STYLE>ZA_GLB</ADDRESS_STYLE>
    <ADDR_LABEL_1>Address Line 1</ADDR_LABEL_1>
    <ADDR_LABEL_2>Address Line 2</ADDR_LABEL_2>
    <ADDR_LABEL_3>Address Line 3</ADDR_LABEL_3>
    <ADDR_LABEL_4>Address Line 4</ADDR_LABEL_4>
    <ADDR_LABEL_5>Town / City</ADDR_LABEL_5>
    <ADDR_LABEL_6>Postal Code</ADDR_LABEL_6>
    <ADDR_LABEL_7>Province</ADDR_LABEL_7>
    <ADDR_LABEL_8>Country</ADDR_LABEL_8>
    <ADDR_DATA_1>Corporate Hill Office Park</ADDR_DATA_1>
    <ADDR_DATA_2>William Nicholl Drive</ADDR_DATA_2>
    <ADDR_DATA_5>Bryanston</ADDR_DATA_5>
    <ADDR_DATA_6>1768</ADDR_DATA_6>
    <ADDR_DATA_7>GP</ADDR_DATA_7>
    <ADDR_DATA_8>ZA</ADDR_DATA_8>
    </ADDRESS_DETAILS_ROW>
    <ADDRESS_DETAILS_ROW>
    <LOCATION_ID>71699</LOCATION_ID>
    <ADDRESS_STYLE>ZA_GLB</ADDRESS_STYLE>
    <ADDR_LABEL_1>Address Line 1</ADDR_LABEL_1>
    <ADDR_LABEL_2>Address Line 2</ADDR_LABEL_2>
    <ADDR_LABEL_3>Address Line 3</ADDR_LABEL_3>
    <ADDR_LABEL_4>Address Line 4</ADDR_LABEL_4>
    <ADDR_LABEL_5>Town / City</ADDR_LABEL_5>
    <ADDR_LABEL_6>Postal Code</ADDR_LABEL_6>
    <ADDR_LABEL_7>Province</ADDR_LABEL_7>
    <ADDR_LABEL_8>Country</ADDR_LABEL_8>
    <ADDR_DATA_1>Coprporate Hill Office Park</ADDR_DATA_1>
    <ADDR_DATA_2>Willima Nicholl Drive</ADDR_DATA_2>
    <ADDR_DATA_5>Bryanston</ADDR_DATA_5>
    <ADDR_DATA_6>1768</ADDR_DATA_6>
    <ADDR_DATA_7>GP</ADDR_DATA_7>
    <ADDR_DATA_8>ZA</ADDR_DATA_8>
    </ADDRESS_DETAILS_ROW>
    </ADDRESS_DETAILS>
    </PO_DATA>
    I'm really stumped. I tried using the choose when clause but it doesn't work as I think it isreading the wrong cancel flag.
    Any help will be much appreciated.
    Thanks, Ash

    have to see your for-each statements.
    and you can do it, by using .. to go up one level
    example from current level to go up4 level up ../../../../CUSTOM_FLAG
    ../../../CUSTOM_FLAG three lvl up.
    Need to know the cancel_flag element you said, i can see only one :) in the given xml.

  • Sorting of PO Line Attachments in PO Output for Communication

    Hi,
    I have created a RTF template to generate PDF output of the "PO Output for Communication" program. The Short text and Long Text attachments of PO Line are appearing correctly but not in the same sequence as user has entered in the Purchase Order.
    Example:
    PO# - 4444
    Po Line Attachments entered by user and this is the expected output as well:
    Seq 10: Short Text1
    Seq 20: Long Text1
    Seq 30: Short Text2
    Seq 40: Long Text2
    Present Report Output:
    PO# - 4444
    PO Line Attachments:
    Short Text1
    Short Text2
    Long Text1
    Long Text2
    Actually the Short Text and Long Text attachments are generated as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <PO_DATA>
    <TYPE_LOOKUP_CODE>STANDARD</TYPE_LOOKUP_CODE>
    <SEGMENT1>24687</SEGMENT1>
    <REVISION_NUM>0</REVISION_NUM>
    <PRINT_COUNT>3</PRINT_COUNT>
    <CREATION_DATE>29-APR-2009 14:28:52</CREATION_DATE>
    <NOTE_TO_VENDOR>this is a test po to supplier in terms window</NOTE_TO_VENDOR>
    <DOCUMENT_BUYER_FIRST_NAME>Sanjay</DOCUMENT_BUYER_FIRST_NAME>
    <DOCUMENT_BUYER_LAST_NAME>Kumar</DOCUMENT_BUYER_LAST_NAME>
    <DOCUMENT_BUYER_AGENT_ID>8756</DOCUMENT_BUYER_AGENT_ID>
    <CANCEL_FLAG>N</CANCEL_FLAG>
    <CONFIRMING_ORDER_FLAG>N</CONFIRMING_ORDER_FLAG>
    <ACCEPTANCE_REQUIRED_FLAG>N</ACCEPTANCE_REQUIRED_FLAG>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <CURRENCY_NAME>US dollar</CURRENCY_NAME>
    <PAYMENT_TERMS>NET 30</PAYMENT_TERMS>
    <CUSTOMER_NUM>1244</CUSTOMER_NUM>
    <VENDOR_NUM>RR10</VENDOR_NUM>
    <VENDOR_NAME>OFFICE DEPOT</VENDOR_NAME>
    <VENDOR_ADDRESS_LINE1>PO BOX 31533</VENDOR_ADDRESS_LINE1>
    <VENDOR_CITY>HARTFORD</VENDOR_CITY>
    <VENDOR_STATE>CT</VENDOR_STATE>
    <VENDOR_POSTAL_CODE>06150-1533</VENDOR_POSTAL_CODE>
    <SHIP_TO_LOCATION_ID>88</SHIP_TO_LOCATION_ID>
    <SHIP_TO_LOCATION_NAME>US CORPORATE HDQTRS</SHIP_TO_LOCATION_NAME>
    <SHIP_TO_ADDRESS_LINE1>123 JFK RD</SHIP_TO_ADDRESS_LINE1>
    <SHIP_TO_ADDRESS_INFO>Broadway, WA 02421</SHIP_TO_ADDRESS_INFO>
    <SHIP_TO_COUNTRY>United States</SHIP_TO_COUNTRY>
    <BILL_TO_LOCATION_ID>88</BILL_TO_LOCATION_ID>
    <BILL_TO_LOCATION_NAME>US CORPORATE HDQTRS</BILL_TO_LOCATION_NAME>
    <BILL_TO_ADDRESS_LINE1>123 JFK RD</BILL_TO_ADDRESS_LINE1>
    <BILL_TO_ADDRESS_INFO>Broadway, WA 02421</BILL_TO_ADDRESS_INFO>
    <BILL_TO_COUNTRY>United States</BILL_TO_COUNTRY>
    <ATTRIBUTE1>MA</ATTRIBUTE1>
    <VENDOR_SITE_ID>9983</VENDOR_SITE_ID>
    <PO_HEADER_ID>27162</PO_HEADER_ID>
    <APPROVED_FLAG>N</APPROVED_FLAG>
    <VENDOR_ID>826</VENDOR_ID>
    <ORG_ID>29</ORG_ID>
    <COMMENTS>Test PO to test template</COMMENTS>
    <FIRM_STATUS_LOOKUP_CODE>N</FIRM_STATUS_LOOKUP_CODE>
    <FROZEN_FLAG>N</FROZEN_FLAG>
    <CREATED_BY>3349</CREATED_BY>
    <TERMS_ID>10001</TERMS_ID>
    <RATE_DATE>29-APR-2009 00:00:00</RATE_DATE>
    <AUTHORIZATION_STATUS>N</AUTHORIZATION_STATUS>
    <NOTE_TO_RECEIVER>this is a test po to receiver in terms window</NOTE_TO_RECEIVER>
    <LAST_UPDATE_DATE>29-APR-2009 14:30:52</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>3349</LAST_UPDATED_BY>
    <SUMMARY_FLAG>N</SUMMARY_FLAG>
    <ENABLED_FLAG>Y</ENABLED_FLAG>
    <LAST_UPDATE_LOGIN>1250381</LAST_UPDATE_LOGIN>
    <SUPPLY_AGREEMENT_FLAG>N</SUPPLY_AGREEMENT_FLAG>
    <PENDING_SIGNATURE_FLAG>N</PENDING_SIGNATURE_FLAG>
    <OU_NAME>ABC LTD</OU_NAME>
    <OU_ADDR1>123 JFK RD</OU_ADDR1>
    <OU_TOWN_CITY>Broadway</OU_TOWN_CITY>
    <OU_REGION2>WA</OU_REGION2>
    <OU_POSTALCODE>44421</OU_POSTALCODE>
    <OU_COUNTRY>United States</OU_COUNTRY>
    <BUYER_ADDRESS_LINE1>123 JFK RD</BUYER_ADDRESS_LINE1>
    <BUYER_CITY_STATE_ZIP>Broadway, WA 44421</BUYER_CITY_STATE_ZIP>
    <BUYER_CONTACT_PHONE>322-445-4533</BUYER_CONTACT_PHONE>
    <TOTAL_AMOUNT>6,000.00</TOTAL_AMOUNT>
    <BUYER_COUNTRY>United States</BUYER_COUNTRY>
    <DOCUMENT_CREATION_METHOD>ENTER_PO</DOCUMENT_CREATION_METHOD>
    <DOCUMENT_TYPE>Standard Purchase Order</DOCUMENT_TYPE>
    <COVER_MESSAGE>This document has important legal consequences. </COVER_MESSAGE>
    <AMMENDMENT_MESSAGE>This document has important legal consequences.
    </AMMENDMENT_MESSAGE>
    <TEST_FLAG>D</TEST_FLAG>
    <DIST_SHIPMENT_COUNT>1</DIST_SHIPMENT_COUNT>
    <DOCUMENT_NAME>Standard Purchase Order 24687, 0</DOCUMENT_NAME>
    <SIGNED>F</SIGNED>
    <AMENDMENT_PROFILE>Y</AMENDMENT_PROFILE>
    <WITH_TERMS>N</WITH_TERMS>
    <IS_ATTACHED_DOC>Y</IS_ATTACHED_DOC>
    <MESSAGE>
    <MESSAGE_ROW>
    <MESSAGE>PO_FO_AGREEMENT_CANCELED</MESSAGE>
    <TEXT>This agreement CANCELED on</TEXT>
    </MESSAGE_ROW>
    <MESSAGE_ROW>
    <MESSAGE>PO_WF_NOTIF_VENDOR_NO</MESSAGE>
    <TEXT>Supplier No.</TEXT>
    </MESSAGE_ROW>
    </MESSAGE>
    <HEADER_SHORT_TEXT>
    </HEADER_SHORT_TEXT>
    <LINES>
    <LINES_ROW>
    <LINE_NUM>1</LINE_NUM>
    <ITEM_DESCRIPTION>test po</ITEM_DESCRIPTION>
    <CANCEL_FLAG>N</CANCEL_FLAG>
    <NOTE_TO_VENDOR>This is a test PO. do not ship.</NOTE_TO_VENDOR>
    <UNIT_MEAS_LOOKUP_CODE>Unit</UNIT_MEAS_LOOKUP_CODE>
    <ORDER_TYPE_LOOKUP_CODE>QUANTITY</ORDER_TYPE_LOOKUP_CODE>
    <ATTRIBUTE1>N</ATTRIBUTE1>
    <UNIT_PRICE>5000</UNIT_PRICE>
    <QUANTITY>1</QUANTITY>
    <PO_HEADER_ID>27162</PO_HEADER_ID>
    <PO_LINE_ID>53995</PO_LINE_ID>
    <ORG_ID>29</ORG_ID>
    <UNORDERED_FLAG>N</UNORDERED_FLAG>
    <CLOSED_FLAG>N</CLOSED_FLAG>
    <TAXABLE_FLAG>N</TAXABLE_FLAG>
    <CAPITAL_EXPENSE_FLAG>N</CAPITAL_EXPENSE_FLAG>
    <NEGOTIATED_BY_PREPARER_FLAG>N</NEGOTIATED_BY_PREPARER_FLAG>
    <LAST_UPDATE_DATE>29-APR-2009 14:29:36</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>3349</LAST_UPDATED_BY>
    <LINE_TYPE_ID>1000</LINE_TYPE_ID>
    <LAST_UPDATE_LOGIN>1250381</LAST_UPDATE_LOGIN>
    <CREATION_DATE>29-APR-2009 14:28:52</CREATION_DATE>
    <CREATED_BY>3349</CREATED_BY>
    <CATEGORY_ID>224</CATEGORY_ID>
    <ALLOW_PRICE_OVERRIDE_FLAG>N</ALLOW_PRICE_OVERRIDE_FLAG>
    <LIST_PRICE_PER_UNIT>5000</LIST_PRICE_PER_UNIT>
    <LINE_TYPE>QUANTITY</LINE_TYPE>
    <PURCHASE_BASIS>GOODS</PURCHASE_BASIS>
    <LINE_AMOUNT>5,000.00</LINE_AMOUNT>
    <MANUAL_PRICE_CHANGE_FLAG>N</MANUAL_PRICE_CHANGE_FLAG>
    <MATCHING_BASIS>QUANTITY</MATCHING_BASIS>
    <PRICE_DIFF>
    </PRICE_DIFF>
    *<LINE_SHORT_TEXT>*
    *<LINE_SHORT_TEXT_ROW>*
    *<PO_LINE_ID>53995</PO_LINE_ID>*
    *<SHORT_TEXT>Short Text1</SHORT_TEXT>*
    *</LINE_SHORT_TEXT_ROW>*
    *<LINE_SHORT_TEXT_ROW>*
    *<PO_LINE_ID>53995</PO_LINE_ID>*
    *<SHORT_TEXT>Short Text2</SHORT_TEXT>*
    *</LINE_SHORT_TEXT_ROW>*
    *</LINE_SHORT_TEXT>*
    <LINE_LOCATIONS>
    <LINE_LOCATIONS_ROW>
    <SHIPMENT_NUM>1</SHIPMENT_NUM>
    <DUE_DATE>15-MAY-2009 00:00:00</DUE_DATE>
    <QUANTITY>1</QUANTITY>
    <PRICE_OVERRIDE>5000</PRICE_OVERRIDE>
    <QUANTITY_CANCELLED>0</QUANTITY_CANCELLED>
    <CANCEL_FLAG>N</CANCEL_FLAG>
    <TAXABLE_FLAG>N</TAXABLE_FLAG>
    <PO_HEADER_ID>27162</PO_HEADER_ID>
    <PO_LINE_ID>53995</PO_LINE_ID>
    <LINE_LOCATION_ID>53678</LINE_LOCATION_ID>
    <SHIPMENT_TYPE>STANDARD</SHIPMENT_TYPE>
    <RECEIVING_ROUTING_ID>3</RECEIVING_ROUTING_ID>
    <ACCRUE_ON_RECEIPT_FLAG>N</ACCRUE_ON_RECEIPT_FLAG>
    <ORG_ID>29</ORG_ID>
    <RECEIPT_REQUIRED_FLAG>N</RECEIPT_REQUIRED_FLAG>
    <QTY_RCV_TOLERANCE>10</QTY_RCV_TOLERANCE>
    <QTY_RCV_EXCEPTION_CODE>WARNING</QTY_RCV_EXCEPTION_CODE>
    <ENFORCE_SHIP_TO_LOCATION_CODE>NONE</ENFORCE_SHIP_TO_LOCATION_CODE>
    <ALLOW_SUBSTITUTE_RECEIPTS_FLAG>N</ALLOW_SUBSTITUTE_RECEIPTS_FLAG>
    <DAYS_EARLY_RECEIPT_ALLOWED>5</DAYS_EARLY_RECEIPT_ALLOWED>
    <DAYS_LATE_RECEIPT_ALLOWED>5</DAYS_LATE_RECEIPT_ALLOWED>
    <RECEIPT_DAYS_EXCEPTION_CODE>WARNING</RECEIPT_DAYS_EXCEPTION_CODE>
    <INVOICE_CLOSE_TOLERANCE>2</INVOICE_CLOSE_TOLERANCE>
    <RECEIVE_CLOSE_TOLERANCE>100</RECEIVE_CLOSE_TOLERANCE>
    <SHIP_TO_ORGANIZATION_ID>208</SHIP_TO_ORGANIZATION_ID>
    <CLOSED_CODE>OPEN</CLOSED_CODE>
    <LAST_ACCEPT_DATE>09-MAY-2009 00:00:00</LAST_ACCEPT_DATE>
    <ENCUMBERED_FLAG>N</ENCUMBERED_FLAG>
    <FIRM_STATUS_LOOKUP_CODE>N</FIRM_STATUS_LOOKUP_CODE>
    <LAST_UPDATE_DATE>29-APR-2009 14:31:31</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>3349</LAST_UPDATED_BY>
    <LAST_UPDATE_LOGIN>1250381</LAST_UPDATE_LOGIN>
    <CREATION_DATE>29-APR-2009 14:28:53</CREATION_DATE>
    <CREATED_BY>3349</CREATED_BY>
    <QUANTITY_RECEIVED>0</QUANTITY_RECEIVED>
    <QUANTITY_ACCEPTED>0</QUANTITY_ACCEPTED>
    <QUANTITY_REJECTED>0</QUANTITY_REJECTED>
    <QUANTITY_BILLED>0</QUANTITY_BILLED>
    <UNIT_MEAS_LOOKUP_CODE>Unit</UNIT_MEAS_LOOKUP_CODE>
    <TAX_USER_OVERRIDE_FLAG>N</TAX_USER_OVERRIDE_FLAG>
    <MATCH_OPTION>P</MATCH_OPTION>
    <CALCULATE_TAX_FLAG>Y</CALCULATE_TAX_FLAG>
    <NOTE_TO_RECEIVER>this is a note in shipments receiver</NOTE_TO_RECEIVER>
    <AMOUNT>5,000.00</AMOUNT>
    <SHIP_TO_LOCATION_ID>88</SHIP_TO_LOCATION_ID>
    <SHIP_TO_LOCATION_NAME>US CORPORATE HDQTRS</SHIP_TO_LOCATION_NAME>
    <SHIP_TO_ADDRESS_LINE1>123 JFK RD</SHIP_TO_ADDRESS_LINE1>
    <SHIP_TO_ADDRESS_INFO>Broadway, WA 02421</SHIP_TO_ADDRESS_INFO>
    <SHIP_TO_COUNTRY>United States</SHIP_TO_COUNTRY>
    <NEED_BY_DATE>15-MAY-2009 00:00:00</NEED_BY_DATE>
    <PROMISED_DATE>04-MAY-2009 00:00:00</PROMISED_DATE>
    <LINE_LOC_SHORT_TEXT>
    </LINE_LOC_SHORT_TEXT>
    <DISTRIBUTIONS>
    <DISTRIBUTIONS_ROW>
    <DISTRIBUTION_TYPE>STANDARD</DISTRIBUTION_TYPE>
    <ACCRUE_ON_RECEIPT_FLAG>N</ACCRUE_ON_RECEIPT_FLAG>
    <ORG_ID>29</ORG_ID>
    <DESTINATION_TYPE_CODE>EXPENSE</DESTINATION_TYPE_CODE>
    <DESTINATION_ORGANIZATION_ID>208</DESTINATION_ORGANIZATION_ID>
    <ACCRUAL_ACCOUNT_ID>1037</ACCRUAL_ACCOUNT_ID>
    <VARIANCE_ACCOUNT_ID>22148</VARIANCE_ACCOUNT_ID>
    <PREVENT_ENCUMBRANCE_FLAG>N</PREVENT_ENCUMBRANCE_FLAG>
    <PO_DISTRIBUTION_ID>55228</PO_DISTRIBUTION_ID>
    <LAST_UPDATE_DATE>29-APR-2009 14:32:23</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>3349</LAST_UPDATED_BY>
    <PO_HEADER_ID>27162</PO_HEADER_ID>
    <PO_LINE_ID>53995</PO_LINE_ID>
    <LINE_LOCATION_ID>53678</LINE_LOCATION_ID>
    <SET_OF_BOOKS_ID>25</SET_OF_BOOKS_ID>
    <CODE_COMBINATION_ID>22148</CODE_COMBINATION_ID>
    <QUANTITY_ORDERED>1</QUANTITY_ORDERED>
    <LAST_UPDATE_LOGIN>1250381</LAST_UPDATE_LOGIN>
    <CREATION_DATE>29-APR-2009 14:28:54</CREATION_DATE>
    <CREATED_BY>3349</CREATED_BY>
    <QUANTITY_DELIVERED>0</QUANTITY_DELIVERED>
    <QUANTITY_BILLED>0</QUANTITY_BILLED>
    <QUANTITY_CANCELLED>0</QUANTITY_CANCELLED>
    <DELIVER_TO_LOCATION_ID>89</DELIVER_TO_LOCATION_ID>
    <DELIVER_TO_PERSON_ID>5324</DELIVER_TO_PERSON_ID>
    <RATE_DATE>29-APR-2009 00:00:00</RATE_DATE>
    <ENCUMBERED_FLAG>N</ENCUMBERED_FLAG>
    <RECOVERY_RATE>0.00</RECOVERY_RATE>
    <TAX_RECOVERY_OVERRIDE_FLAG>N</TAX_RECOVERY_OVERRIDE_FLAG>
    <DESTINATION_CONTEXT>EXPENSE</DESTINATION_CONTEXT>
    <DISTRIBUTION_NUM>1</DISTRIBUTION_NUM>
    <CHARGE_ACCOUNT>05-3002-7050-000-000</CHARGE_ACCOUNT>
    <FULL_NAME>Devine, Alison</FULL_NAME>
    <EMAIL_ADDRESS>[email protected]</EMAIL_ADDRESS>
    <REQUESTER_DELIVER_FIRST_NAME>Karen</REQUESTER_DELIVER_FIRST_NAME>
    <REQUESTER_DELIVER_LAST_NAME>MA</REQUESTER_DELIVER_LAST_NAME>
    </DISTRIBUTIONS_ROW>
    </DISTRIBUTIONS>
    </LINE_LOCATIONS_ROW>
    </LINE_LOCATIONS>
    </LINES_ROW>
    </LINES>
    *<LINE_ATTACHMENTS>*
    *<TEXT>Long Text1</TEXT>*
    *<ID>53995</ID>*
    *<TEXT>Long Text2</TEXT>*
    *<ID>53995</ID>*
    *</LINE_ATTACHMENTS>*
    <ADDRESS_DETAILS>
    <ADDRESS_DETAILS_ROW>
    <LOCATION_ID>88</LOCATION_ID>
    <ADDRESS_STYLE>US_GLB</ADDRESS_STYLE>
    <ADDR_LABEL_1>Address Line1</ADDR_LABEL_1>
    <ADDR_LABEL_2>Address Line2</ADDR_LABEL_2>
    <ADDR_LABEL_3>Address Line3</ADDR_LABEL_3>
    <ADDR_LABEL_4>City</ADDR_LABEL_4>
    <ADDR_LABEL_5>County</ADDR_LABEL_5>
    <ADDR_LABEL_6>State</ADDR_LABEL_6>
    <ADDR_LABEL_7>Zip Code</ADDR_LABEL_7>
    <ADDR_LABEL_8>Country</ADDR_LABEL_8>
    <ADDR_LABEL_9>Telephone</ADDR_LABEL_9>
    <ADDR_LABEL_10>Fax</ADDR_LABEL_10>
    <ADDR_LABEL_11>Sales Tax Override</ADDR_LABEL_11>
    <ADDR_LABEL_12>Inside City Limits</ADDR_LABEL_12>
    <ADDR_DATA_1>123 JFK RD</ADDR_DATA_1>
    <ADDR_DATA_4>Broadway</ADDR_DATA_4>
    <ADDR_DATA_6>WA</ADDR_DATA_6>
    <ADDR_DATA_7>33444</ADDR_DATA_7>
    <ADDR_DATA_8>US</ADDR_DATA_8>
    <ADDR_DATA_9>322-588-4534</ADDR_DATA_9>
    </ADDRESS_DETAILS_ROW>
    </ADDRESS_DETAILS>
    </PO_DATA>
    Can you please advice whether we can have the attachments as user entered in the Purchase Order.
    Thanks for your help.
    Pranit.

    See...
    http://blogs.oracle.com/xmlpublisher/2008/07/po_line_description_quandary.html

  • How to customize the Java Concurrent Program(PO Output for Communication)

    Hi,
    How to customize the Java Concurrent Program(PO Output for Communication)
    I need to add the Line level Ship To Address ,Line Notes and Extended Price fields on Java Concurrent Program.
    Please any body help/guide me in this regard.

    Hi,
    Changing Java Conc. program for "PO Output for Communication" is difficult.
    Actually, if you observe closely, "PO Output for Communication" program uses PO<HEADER/LINES..>_XML views.
    So if you could change these views and add your requireed columns to it, you can automatically see your changes in XML data file.
    See if the following link will you to get there.. http://chandramatta.blogspot.com/
    thanks,
    Matt

  • PO Output for Communication Parameter Values

    I've created a custom RTF template to print PO's, which is working fine except for one thing: I can't get the parameter values from the PO Output for Communication concurrent program. I've tried:
    <?param@begin:P_report_type?>
    but it doesn't seem to return a value. Has anybody had any luck getting the parameter values from this program? Does param@begin only work with Oracle Reports programs but not java concurrent programs?
    Thanks,
    Gary

    ICX was already checked.... The Issue got resolved when I select the check box "Can Change Forward-To" in the Setup --> purchasing --> Document type window for Standard Purchase Order.
    Thanks,
    Ranjith

Maybe you are looking for

  • Memory leak using thin client

    Subject: Memory Leak while using thin client. From: [email protected] (Alon Albert) Newsgroups: weblogic.developer.interest.jndi I have a small test program that causes a memory leak while connecting to a weblogic server. The code is appended to the

  • IPod Notes deleted

    All my iPod 'Notes' disappeared (in front of my eyes). Tried to get them back by syncing with my iMac, but no luck. Anyone know how I can get them back?

  • Games not playing on facebook

    I bought a new laptop trying to play games on facebook, some work some doesn't. The ones that doesn't states flash player needs to be updated and when we try it states it is not needed flash player is part of internet explorer.  I don't understand wh

  • Financial Reporting: One prompt for all reports in a book

    I want to prompt once for all reports in the book for year and month. Right now it prompts for each report. I see that you can select to "respond at book level" but I don't know if that will solve the problem and I can't see how to make that drop dow

  • Streaming and viewing a screensaver from my iPhoto

    I have just switched to streaming from my Apple TV. It appears I can no longer choose a photo album from iPhoto as a screen saver, is this the case?