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.

Similar Messages

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

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

  • How to define PO Output for Communication Report

    Hi,
    I want to edit and add some features in the PO Output for Communication Report with 'POXPOPDF' short name by the xml publisher is there a way i read some where i found a document id Note:387670.1 but i found nothing but i want a detailed description to what i do exactly.
    Any Advice Will Be Approtiated.
    Thanks

    Hi,
    Depends on what you want to "edit and add".
    The document on note 387670.1 https://metalink.oracle.com/metalink/plsql/docs/Document_Printing_White_Paper.pdf has detailed instructions on what you need to do, plus examples.
    Please advise what you are trying to achieve.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

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

  • 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

    Need to change the format/layout for this report. Since this report doesn't generate a XML file, it needs to be modified at the xsl file level. I appreciate any suggestions/input as far as the best way to modify this report.

    Do you mean it can not generate XML data? Is it an Oracle Report based program? If so, it can generate XML, if not, then you will need to write some extract definition to get the data out - I'd recommend a data template to do this. Check the docs for more information
    Tim

  • How do you get an xml file from the PO Output for Communication report?

    Can anyone tell me how you've created an xml output fil for this program? When I run it, the View XML button doesn't light up, and the output file is empty.
    I can see the XML when I click the View Log button, but can't figure out how to save it so that the XMLP Desktop tool can load it properly.
    If you can tell me how to create this file, I'd be very appreciative.

    Hi,
    I can't see the xml in my log file. Maybe you have a different logging level. One issue I have had before is that the xml declaration had a strange character encoding. It should say something like: <?xml version="1.0" ?>. If it mentions anything about encoding you can remove it.
    One of our developers wrote a custom process to write the xml to a table when the document was generated as we couldn't find any other way of doing it.
    You can use the sample xml available from the data definition but this is missing fields.
    Probably not much help...
    Paul

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

  • 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

  • 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

  • Procurement Contracts: PO Output for Communication

    Hi All,
    "PO Output for Communication" is a seeded report in Procurement Contracts, which generate the PO Report followed by Terms and Conditions of Procurement Contracts module. Our requirement is that we want to customize the PO Report in our client's format. After doing some research, I found that it is a java program which uses XML Publisher technology. Can anybody give me some idea how we can customize it?
    Any help will be highly appreciated.
    Thanks & Regards,
    Neeraj

    Earlier thread answered by me :
    Re: XML Publisher
    XML Publisher Whitepaper which explains in detail :
    http://www.oracle.com/technology/products/xml-publisher/docs/XMLEBSRep.pdf

  • Excel Output For Standard Report In R12

    Hi Experts,
    My Client wants Excel Output for Standard Reports ( ex:-Open Purchase Order Report (by cost center)_xml)
    I changed the default output to Excel in Template of xml publisher administrator Responsibility.
    Now it is showing the Excel output, but The layout of report is not same as layout which in text output of standard report.
    Please guide me is there any solution to develop the reports layout in ms-excel using xml file rather than rtf template.
    Thanks
    Durga.

    Hi Alex,
    Thanks for your replay.
    Generating the new rtf template which is same as standard layout is difficult task for us. Actually we have 120 reports which have same requirement.
    Is there any other solution for this . please guide me
    Thanks
    Durga
    Edited by: 805567 on Jan 23, 2012 12:33 PM

Maybe you are looking for

  • Cross Reference, Paragraph Style conflict?

    I'm created an epub file and have a cross reference for one of my chapter titles. When I export it to ADE the final product has the cross reference in the file but the paragraph style for the text that I linked lost all of it's styling somehow. The p

  • How to get yahoo email to push in iPhone 4

    For the past 3 weeks my yahoo email is not pushing on my iphone 4. I have tried soft reset and even deleted my Yahoo account from my phone and set up again.  All this to no avail.  Prior to this period Yahoo would fail to push every now and then,  A

  • When I respond to certain messages, I get an error message "unknown host" or "unknown user." Why is this?

    Since the latest upgrade to 31.0, there are times when I will receive an e-mail, but when I send a reply, I get a response saying the message is undeliverable because of an unknown user, or an unknown host. These are messages, I'm replying to and hav

  • How do I transfer my ipod songs taken from CD's to a new iTunes library?

    My laptop needed to be restored back to store purchase and m y iTune's library was erased.  When I downloaded the iTunes and synced my ipod, it only added the purchased iTunes songs to my iTunes library.  How do I sync the songs on my ipod that were

  • TS3212 i tunes wont install correctly

    ive tried to download itunes three times to my windows laptop, the system runs and everything seems to work but when i then try to open it up it says the entry point wasnt found and then the itunes wasnt installed correctly. this is extremely annoyin