PO Output for Communication - R12

Hello;
Does anybody knows where is the XML file content for "PO Output Communication" in R12 is?
The data extraction generated by BI Publisher is named "Standard Purchase Order Data Source".
The template Standard Purchase Order Stylesheet (XSL) used for the reporting.
Thank you.
Shaun S.

This will enable you to review the XML generated.
Turn on debugging:
Enabling XML Publisher Debug Logging
The information here is taken from important Note 364547.1 Troubleshooting Oracle XML Publisher for Oracle Applications 11i; however, is briefly given again for use by Procurement System Administrators. Depending how the PO report is being generated (using concurrent manager or not) use the following steps to generate the XML Publisher Engine log output to analyze the problem in more depth.
i) For Online Report Generation (Note: this is also the only way to get the PO XML data file, as it is only stored as a temporary file).
Connect to iAS/Apache server as applmgr
Create directory $XDO_TOP/temp for log storage
Go to $OA_JRE_TOP/jre/lib/ and create file xdodebug.cfg with the following two lines:
LogLevel=STATEMENT
LogDir=[Full path of XDO_TOP]/temp
Restart iAS/Apache
Reproduce the issue
In $XDO_TOP/temp directory, the following files should now be available:
xdo.log = XML Publisher Engine log
[filename] .xsl = XSL-FO template files used
[filename].xml = data files used
[filename].fo = temporary file from FO engine
[filename].out = output file (not shown if is complete failure)
Cheers,
Dave

Similar Messages

  • 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

  • PO Output for Communication doesn't work for POs created from a requisition

    Hi gurus,
    When I create a PO using the standard PO form, I have no problem generating the xml tags in the log file when I run the PO Output for Communication (using Debug option).
    When I create a requisition from Iprocurement, it automatically generates a PO. If I run the PO Output for communication for this PO, it gives me a bunch of gibberish data in the log file. like little squares and symbols.
    Can anyone help me on this. We are using R12.
    Thanks in advanced!

    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

  • Problem with PO Output for Communication

    Hi,
    i have a problem with the pdf in R12.1.3. The rtf file we have is used in R11.5.10 and is working properly but after we sat up the R12 environment and we started the testing we can now see that the system don't create any pdf documents in View Document or when we sending email to supplier.
    When we check the log we just get the error message "genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null
    java.lang.Exception: Error while generating PDF :null"
    Any one having an idéa on what it could be. Is there major changes between R11 and R12 when it comes to BI Publisher.
    Thanks in advance!
    Lena Kudahl

    Hi Lena,
    Upon upgrading to release 12.1.3, the views used are not proper and cause issues.
    This is fixed in Patch 10388305:R12.PO.B.
    There are a few critical issues when moving to 12.1.3 -
    Note 1358356.1 - Recommended Patches for Purchase Order and Requisition Processing
    This note outlines some of the top issues - and recommends the patches.
    The exception however does seem to point to the ICX and XDO Numeric profiles. Please ensure these are set at the site level.
    Another common cause for this type of failure could be related to special characters - although it would show a message like this usually -
    genDoc() : PoPDFExceptionoracle.apps.po.communicate.PoPDFException: PO_PDF_XML_FAILED
    oracle.apps.po.communicate.PoPDFException: PO_PDF_XML_FAILED
    If you are seeing this - there is the following note -
    Note 1346198.1 - PO Output For Communicate Failed With ORA-31061
    This note describes how certain database versions (with a specific patch) can have an event set in the init.ora file which will allow the xml parser to
    take action against special characters. Its a nice alternative to having to debug the PO Output for communication.
    This note is very good - having screen prints - of how to debug the OPP - from a purchasing perspective.
    Note 1401101.1 - R12 How To Generate The XML And OPP Debug Log For PO Output For Communication?
    Hope these help.
    Thanks,
    Mike

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

    Hi All,
    I'm working on R12 'PO Output For Communication' report, it's xml report with executable as Java Concurrent program. I want to add additional fields to the report, since it's java concurrent program, how can i customize the report. Please help to customize the query of the report, where can i find the query, how to proceed.
    Kindly help at the earliest.
    Thanks

    The program is based on 4 views as below:
    PO_HEADERS_XML
    PO_LINES_XML
    PO_LINE_LOCATIONS_XML
    PO_DISTRIBUTIONS_XML
    for relases you may refer to:
    PO_RELEASES_XML
    You need to modify the above mentioned views to add new fields.
    Actually the field names in the views are converted to XML tag with the same name.
    Thanks,
    PS.

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

  • Cancel_flag in PO Output for Communication report

    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 but it doesn't always exist at all 3 levels. What do I call the field in my "IF" statement, so that it is looking at the correct field? Right now, if I am at the line level and I want to check the cancel_flag, if it doesn't exist, it looks at the cancel_flag at the shipment level.

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

  • 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

  • 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

  • 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

Maybe you are looking for

  • Can I use flash drive in Windows that install on Oracle VM Server

    Dear everyone, I install Windows server 2003 on Oracle VM Server x86. I can use .iso file by copy iso file to /OVS/iso_pools and add resource. But I want to use flash drive on Windows server 2003 that installed on Oracle VM. I don't know how to do or

  • Transfer settings "do not shuffle" and "remember position"

    All my audiobooks are marked with the 'do not shuffle' setting in iTunes. How do I get this to transfer to my nano (which thinks they are music) so I can play just music with 'shuffle all songs'? I haven't tested this yet, but the "remember position"

  • Unable to update adobe flash using my mac mini

    After many attempts to install Adobe Flash on my Mac Mini even though the prompts read the software is installed,  I am unable to access an application.  I have installed, uninstalled and shut down numerous times and have still been unsuccessful.  Pl

  • Bpeladmin cannot withdraw tasks, although being the owner

    Hi all, We are facing an issue when trying to withdraw a human task from inside of a BPEL process. According to the documentation, the task owner (which we understand by default should be bpeladmin ) is allowed to withdraw and reassign tasks. When ca

  • New iPod...can't get to setup assistant

    Okay, I'm not a computer genius so bear with my description of my problem: I am trying to setup my new iPod. I assume, from the Quick Start instructions, that once I get to the www.apple.com/ipod.start page a Setup Assistant will automatically start.