How to filter cancelled PO lines using XML publisher desktop

Hello,
I've created a new PO template for printing using XML Publisher Desktop for Word. Output format is in RTF. All data required was printed except when the user canceled a particular PO line, that line will also be printed out with quantity and total amount 0. How can I filter PO lines with "canceled" flag not be printed out? Is it possible to insert conditional statement within the table template? How to do that?
Thanks in advance

if you want only test it by XML publisher desktop
then you can use if statement
for example in field
<?if:TAG1='test?>then
<?TAG2?>then
<?end if?>for row between (for example)
<?for-each:G_GROUPNAME?>and
<?end for-each?>BTW use this method is not correct in my opinion
if you use "canceled" flag as parameter in concurrent program
then you may get xml for RTF template only with needed data

Similar Messages

  • How can i write the code in xml publisher desktop

    hi all
    How and where can i write the code in xml publisher desktop ???
    shall i know how to write xml code or what ??
    in which part can i write the code if i have more than one query ?

    hi dear
    Thanks for ur replay...
    What i mean is : i used to work on reports builder,so :
    1- i used to create more than query in some reports.
    2- create formulas ,procedures....
    NOW i want to create the same reports by using xml publisher desktop, so how can i do that...
    when i use {color:#ff0000}report wizard{color}, i can not or i don`t know how to use more than one query, create formulas or procedures.
    Please help me.
    Thanks again.

  • Getting error while running the XML file using XML Publisher Desktop

    Hi all,
    We have successfully loaded the XML file using XML Publisher Desktop. But when we preview the same using PDF format we are getting the following error.
    Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\smanmadh\Desktop\ProductCompensationDT.xml
    FOProcessor setLocale: en-us
    java.lang.NullPointerException
         at oracle.apps.xdo.template.fo.area.PageNumber.formatString(PageNumber.java:104)
         at oracle.apps.xdo.template.fo.IDManager.registerId(IDManager.java:44)
         at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageJoinSeq(AreaTree.java:1106)
         at oracle.apps.xdo.template.fo.area.AreaTree.incrementJoinSequenceIndex(AreaTree.java:219)
         at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageDocument(AreaTree.java:1089)
         at oracle.apps.xdo.template.fo.area.AreaTree.forceOutput(AreaTree.java:471)
         at oracle.apps.xdo.template.fo.elements.FORoot.end(FORoot.java:58)
         at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:386)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
         at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:279)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1022)
         at RTF2PDF.runRTFto(RTF2PDF.java:626)
         at RTF2PDF.runXDO(RTF2PDF.java:460)
         at RTF2PDF.main(RTF2PDF.java:251)
    Thanks in Advance.
    Sudeep.

    This is BI related. You will get a quicker answer from the BI Publisher forum
    BI Publisher

  • Error while running the XML file using XML Publisher Desktop

    Hi All,
    We have successfully loaded the XML file using XML Publisher Desktop.But when we try to preview it using the PDF format we are getting the following error.
    Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\smanmadh\Desktop\ProductCompensationDT.xml
    FOProcessor setLocale: en-us
    java.lang.NullPointerException
         at oracle.apps.xdo.template.fo.area.PageNumber.formatString(PageNumber.java:104)
         at oracle.apps.xdo.template.fo.IDManager.registerId(IDManager.java:44)
         at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageJoinSeq(AreaTree.java:1106)
         at oracle.apps.xdo.template.fo.area.AreaTree.incrementJoinSequenceIndex(AreaTree.java:219)
         at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageDocument(AreaTree.java:1089)
         at oracle.apps.xdo.template.fo.area.AreaTree.forceOutput(AreaTree.java:471)
         at oracle.apps.xdo.template.fo.elements.FORoot.end(FORoot.java:58)
         at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:386)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
         at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:279)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1022)
         at RTF2PDF.runRTFto(RTF2PDF.java:626)
         at RTF2PDF.runXDO(RTF2PDF.java:460)
         at RTF2PDF.main(RTF2PDF.java:251)
    Any pointers will be of great help.
    Thanks in Advance
    Sudeep.


    I had a similar error which when I searched, came up with this thread.
    My issue was resolved after I discovered that my RTF template was not really RTF. It was sill in MS Word DOC format. This was discovered by reviewing two templates in NOTEPAD. The MS-DOC files have a lot of "special" characters in them. My RTF was not really RTF.
    After doing a SAVE AS - RTF format, then the preview worked as expected.
    Just Sharing...
    --Tim                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • XML Publisher Desktop Db connect SQL Server Host:Port:Sid

    Brand new to XML Publisher. Set up XML Publisher Enterprise environment to work with SQL Server 2005 using both MS 2000 & 2005 JDBC drivers, so far no problem.
    However the XML Publisher Desktop Report Wizard will not connect to SQL Server 2005 using either MS 2000 & 2005 JDBC drivers. I provide the same data source name, user and pw that I use in the XML Publisher Enterprise environment but it is the 4th piece of information - the database portion (Host:Port:Sid) that I am having trouble with. SID is an Oracle invention not used in the SQL Server world. I have tried various combinations of the database string without sucess.
    Perhaps the XML Publisher Desktop does not work with SQL Server. Does anyone know how to use XML Publisher Desktop to create templates that will work with MS SQL Server?
    Thank you.
    BG...

    Shaun,
    Thanks for you comments. I belive I now have enough to use the HSGC-ODBC technique to make the template and then re-edit it to make it work with the original JDBC connection.
    That said, "Using ODBC-JDBC bridge connection is really poor in performance." I, more than anyone on the planet am aware of this issue and more.
    Being new to XMLPublisher I thought that having a JDBC connection to a SQL Server from XMLP Enterprise led me to beleive that the XMLP Desktop template creation tool would also work. "*** Pity the fool ***" for thinking that! (Thank-you Mr. T!!! <grin>).
    Because I had to engage a 'heterogeneous connectivity" solution to this problem indicates that the product is half-baked. That's not to say that it is not capable.
    Rushing software products to market quickly creates products that make the rest of us jump through hoops. I resent that!!! I have more import things to do than waste time!
    I demand more of a trusted vendor, do you? I have tortured myself with Oracle products thinking they were ready since the early nineties.
    Look we are in a "heterogeneous universe" and if the product pretends to work with "heterogeneous databases" on the Enterprise side than it damn well aught to work with them on the Desktop side. That's my opinion.
    Attention OTN: I am back!!!
    Justin, this needs to be fixed.
    Thanks!
    BG...

  • XML Publisher Desktop

    How can I download and install the XML Publisher Desktop that I need for the WORD and Excel add-ins?
    Edited by: laskowsj on Mar 17, 2011 12:20 PM

    If you are Oracle user then I would highly recommend you that you get this
    file from oracle support as it is the official source of information.
    I can see there is a patch 5887917 which gives you BIP Desktop 10.1.3.2 which is compatible
    with XMLP 5.6.3 plus additional functionality which are only applicable to the stand alone version
    of BI Publisher and are not intended for use with Ebusiness Suite.
    Good luck
    Jorge
    p.s. If this answers your question please grant the points and close this thread

  • How to print total amount in last page of purchase orde using xml publisher

    Hi
    I customizing purchase order report using xml publisher.
    i have to print total amount at last every purchse order.
    how to compare carry forward amount in xml publisher

    I think the guys overhere :
    BI Publisher
    can help you a lot better

  • How to send an email using XML Publisher

    Can any body help me how to send an email using XML Publisher.
    Regards,
    Suresh

    Sorry ,
    when a http://blogs.oracle.com/xmlpublisher/newsItems/departments/documentDelivery
    this it show this not answer the question.
    Thanks
    Welcome to Oracle Blogs
    Welcome to the Oracle blogging community, where Oracle executives, employees, and non-employees exchange views about customer requirements and best practices.
    We're sorry, the weblog you requested cannot be accessed.
    - You may not have the necessary permission for access the weblog.
    - This weblog does not exist.
    You may wish to try again using one of the tools below.
    - Check the URL and contact your System Administrator for access.
    - Or click here to go back to Oracle Blogs homepage.
    Powered by
    Movable Type and Oracle
    The views expressed on this blog are my own and do not necessarily reflect the views of Oracle. Terms of Use

  • How to do subtemplate Using XML Publisher Template Builder for Word 5.6.2

    Is it possible to do subtemplate (similar to subreport in crystal report) using XML Publisher Template Builder for Word 5.6.2?. If yes, can anyone explain how to call or import subtemplate from main template?
    Thank you
    V.Piraba

    Hi V. Piraba,
    Here is how it works for me in Microsoft Word 2003. I'm not sure if it will work in Word 5.6.2.
    Creating Subtemplates
    1) Make sure you fill in the “Territory” field when creating Subtemplates. Otherwise there will be no way to import the Subtemplate into another Template. The Import command requires the Territory field to call it from other Templates. You will get a big Java error if you try to import a Subtemplate that does not have the Terriroty field populated.
    Importing Subtemplates
    1) Place the following syntax at the beginning of your XML Publisher template to import a subtemplate (in Oracle Applications)
    <?import:xdo://XDO.[Template Code Name].English.US?>
    Example: <?import:xdo://XDO.WC_SUBTEMPLATE_LOGOS.English.US?>
    2) Use the following commands to importing Subtemplates from local/network drives (outside of Oracle Applications):
    <?import:file:C:/Temp/WC Subtemplate - Logos.rtf?>
    <?import:file:L://Templates/WC Subtemplate - Logos.rtf?>
    <?import: file:///C:WorkChemical.xsl?>
    You can email me at [email protected] if you have further questions.
    Hope this helps!
    Dan

  • Need to pass in line charges when cancel order line using API?

    Hi,
    Do we need to pass in line charges (charges, freight cost) when cancel order line using Oe_Order_Pub.Process_Order API?

    I found the answer to my own question:
    Yes it is a supported feature. It is documented on the following page:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeApp lication.html#event:invoke
    When you subscribe to the invoke event of the NativeApplication it will subsequently dispatch the event and you read the e.arguments Array object to get the startup arguments passed into the native application.

  • Three line family plan. How do I cancel the line that's about to complete its two-year contract?

    My phone is the primary line for a three-line family plan I share with my wife and brother. My two years is up this month, my wife's two years is up next month, and my brother's is up the month after that. As each contract expires, we want to cancel the family plan and switch over to month-to-month plans. One caveat: I'm abroad right now, so I simply want my service to lapse completely until I return in six months, and I'll worry about my phone then. How do I cancel my line when my contract expires this month? How do I switch my wife and brother's accounts over to month-to-month as their contracts expire?

    Hi,  I was just looking into similar circumstances but I want to keep my daughter's line and only suspend mine.  My question is that if I suspend my phone can I still upgrade my daughter's line?  I was laid off and if I don't find another job then I want to cancel my phone but keep her phone active.  Her last phone the screen shattered so I want to renew her contract to get a new phone.  I am thinking of going thru the edge plan since it seems the price with the discount works out to be the same if I go that way instead of paying the full discounted price outright.  Can I upgrade her phone without renewing the contract on my phone?
    Thank you so much!!

  • How to display smartforms table lines useing different background colour

    Hi all:
    How to display smartforms table lines useing different background colour .
    for example:
    line1:green
    line2:red
    line3:green
    line4:red
    line5:green
    line6:red
    line7:green
    line8:red
    Any help is highly appreciated!!
    启明星

    Hi,
    Create a two lines one for header and second for data in the table.
    1)In table painter we can find the pencil mark.
    2)select the pencil mark
    3)now select the line which you need to shade
    4) now select the shading colour in the table painter and the provide the resolution up to 100% and select table pattrn for that line.
    5) Now you can use this for the header now only the header gets shaded and the remaining gets unshaded.
    reward points if useful
    Thanks and Regards,
    Nishant

  • How to generate multiple sheets using xml publisher

    Hi,
    how to generate multiple sheets using xml publisher.
    Thanks,
    Nur

    http://lmgtfy.com/?q=how+to+generate+multiple+sheets+using+xml+publisher

  • How to inclulde digital signature in PDF outputs using XML Publisher

    I'm working on AR invoice print report which is a custom report. One of the requirements of this report is to include the digital signature in the output which is in PDF format.
    We have below code components for this custom report.
    Oracle Report (RDF) - to extract the invoice data
    RTF template - for report layout
    Bursting file - to split the output into individual PDFs
    Is there any document available to implement the digital signaure in my case?
    I'm looking for the steps to implement this in my custom report using XML Publisher.

    Take a look at the report designer's guide; section "Adding or Designating a Field for a Digital Signature" here:
    http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187.pdf
    Thanks,
    Bipuser
    If I am not mistaken, this would require using PDF templates and use of Adobe Acrobat Professional.. Maybe others can chime in with other/better options..
    Edited by: BIPuser on Aug 2, 2011 12:58 PM

  • Error while trying to update the XML template using XML Publisher Administrator

    Hello Folks,
    We are on R12.1.3
    I changed a condition in a report and trying to upload the new XML template using XML Publisher Administrator.
    when i click the Apply button, it is throwing an error 'Bad Request'
    Navigation : XML Publisher Administrator > Data Definitions > query the report
    Click on the name of the report > click 'Update file' besides Data Template > Choose file > Click Apply
    I am getting the below error
    Bad Request
    Your browser sent a request that this server could not understand.
    Now, i could not upload a new XML template.
    Am I doing anything wrong.
    regards,
    Kris

    user10163762 wrote:
    Thank you Eugen and Hussein.
    The problem is not with the template.
    It seems to be a problem in that particular instance.
    Uploaded it in a different instance.
    However once i run the program, i cannot view the output as the browser window flashes and disappears.
    My colleague says , it is to do with the trusted site to download something from the browser.
    Can you please guide me on how to fix this ?
    http://bit.ly/1k8e2vi
    Thanks,
    Hussein

Maybe you are looking for

  • Project won't open...need help!

    I'm in sort of a predicament. I've been working on this project for about 4 hours, consisting of editing out portions of a customer's home videos...scrubbing through 60 files that I've captured. When working on the project, Premiere 'encountered an e

  • Thread run and then start

    I'm trying to figure out what is the right answer for a following question: what will be the result of compiling and running the following program? public class TestThread extends Thread      private int i;      public void run()           i++;      

  • Newbie RAC question

    I have 3 production database servers with 2 databases on each server (6 databases total). Can I set up a RAC environment with just 1 additional node/server? Meaning can I have that clustered server serve all 6 database services while transparent to t

  • 10.4.7 has a negative impact on performance

    Hi all, After installing the latest update everything has been slower than on 10.4.6 - it boots slower and when scrolling in Safari it feels sluggish. Is it just me? Regards

  • Power Injector for WAP200

    Hello I need your advice on whether power Injector for Aironet AP's can be also used for SB WLAN products. Is AIR-PWRINJ4= compatible with WAP200?? Any advice would be very appreciated. Best Regards, Allan Kim