Concurrent program XML Data template error.

Internal Controls Manager: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XX_EMP module: xx_emp_cP
Current system time is 10-JAN-2009 08:41:41
XDO Data Engine Version No: 5.6.3
Resp: 20420
Org ID : 101
Request ID: 814249
All Parameters: p_DeptNo=10
Data Template Code: XX_EMP
Data Template Application Short Name: AMW
Debug Flag: N
{p_DeptNo=10}
Calling XDO Data Engine...
java.lang.NullPointerException
     at oracle.apps.xdo.oa.util.DataTemplate.getDataTemplate(DataTemplate.java:281)
     at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:133)
     at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:282)
     at oracle.apps.fnd.cp.request.Run.main(Run.java:157)

this is XML publisher error.
Please post the message in XML publisher forum
--Prjasanna                                                                                                                                                                                       

Similar Messages

  • Parameter Passing from Concurrent Program to XML Data Template

    Hi All,
    I have a xml data template which is attached to a data definition. The data template contains a SQL query and some parameter definitions. One of the parameters is p_emp_id. The data type of the parameter is "number" and the where clause that uses the parameter is as follows:
    AND employee_id in (:p_emp_id,DECODE(:p_emp_id,126,130,-99).
    The data definition is attached to a concurrent program which has a parameter based on a valueset. Format type of valueset is char. Validation type is table. Inside the table definition, the table is employees. value column is emp_name type is char. meaning column is emp_name type is char. ID column is emp_id type is number.
    The above where clause condition fails when the conc program is run. In the log file I can see that the value passed is 126 from the valueset. If the query is run independently in TOAD and value passed is 126, the where clause returns rows.
    Kindly let me know what could be the possible issue. Let me know if the question is not clear enough.
    Thanks,
    Amit

    Hi Ashish,
    Thanks for replying.
    I mentioned that the Id column of the VSet is emp_id right ? Isn't the Id column value passed ?
    Moreover I also mentioned that I could see in the log file that the emp_id value is being passed and not the name. I could see in the log file p_emp_id=126. There seems to be some problem with the data types and all.
    Thanks,
    Amit

  • XML Publisher Datasource XML Data Template

    Hello,
    I am trying to create function (Program Units) in my XML Data template, I get the following ERROR.
    XX Custom Application: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXTESTNEW module: XX TEST Report-New
    Current system time is 13-JUL-2012 15:34:09
    0.197: [GC 0.197: [DefNew: 1777K->191K(1984K), 0.0042507 secs] 1777K->242K(6080K), 0.0043329 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    0.330: [GC 0.330: [DefNew: 1983K->44K(1984K), 0.0054729 secs] 2034K->282K(6080K), 0.0055303 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
    0.536: [GC 0.536: [DefNew: 1836K->192K(1984K), 0.0053814 secs] 2074K->591K(6080K), 0.0054403 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
    0.695: [GC 0.695: [DefNew: 1984K->138K(1984K), 0.0036150 secs] 2383K->711K(6080K), 0.0036667 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    0.969: [GC 0.969: [DefNew: 1930K->92K(1984K), 0.0050182 secs] 2503K->802K(6080K), 0.0050735 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
    1.453: [GC 1.453: [DefNew: 1884K->192K(1984K), 0.0049133 secs] 2594K->1247K(6080K), 0.0049730 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
    1.493: [GC 1.493: [DefNew: 1962K->58K(1984K), 0.0025240 secs] 3018K->1301K(6080K), 0.0025808 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    1.501: [GC 1.501: [DefNew: 1847K->93K(1984K), 0.0014896 secs] 3090K->1337K(6080K), 0.0015390 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.507: [GC 1.507: [DefNew: 1860K->70K(1984K), 0.0006978 secs] 3103K->1313K(6080K), 0.0007453 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.514: [GC 1.514: [DefNew: 1849K->103K(1984K), 0.0004474 secs] 3093K->1346K(6080K), 0.0004883 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.595: [GC 1.596: [DefNew: 1895K->138K(1984K), 0.0020285 secs] 3138K->1437K(6080K), 0.0020863 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    1.673: [GC 1.673: [DefNew: 1930K->64K(1984K), 0.0014510 secs] 3229K->1496K(6080K), 0.0015049 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.759: [GC 1.759: [DefNew: 1856K->98K(1984K), 0.0014301 secs] 3288K->1530K(6080K), 0.0014835 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.827: [GC 1.827: [DefNew: 1890K->89K(1984K), 0.0010782 secs] 3322K->1572K(6080K), 0.0011340 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.880: [GC 1.880: [DefNew: 1881K->133K(1984K), 0.0011918 secs] 3364K->1616K(6080K), 0.0012450 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.936: [GC 1.936: [DefNew: 1925K->113K(1984K), 0.0012641 secs] 3408K->1670K(6080K), 0.0013197 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    1.990: [GC 1.990: [DefNew: 1905K->191K(1984K), 0.0022812 secs] 3462K->1976K(6080K), 0.0023401 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    XDO Data Engine Version No: 5.6.3
    Resp: 23202
    Org ID : 43
    Request ID: 22637028
    All Parameters:
    Data Template Code: XXTESTNEW
    Data Template Application Short Name: XX
    Debug Flag: N
    2.161: [GC 2.161: [DefNew: 1983K->192K(1984K), 0.0036382 secs] 3768K->2170K(6080K), 0.0036949 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    Calling XDO Data Engine...
    2.289: [GC 2.289: [DefNew: 1984K->192K(1984K), 0.0036540 secs] 3962K->2475K(6080K), 0.0037115 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    [071312_033411511][][EXCEPTION] java.lang.NullPointerException
         at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:334)
         at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:266)
         at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:140)
         at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:245)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:282)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    2.394: [GC 2.394: [DefNew: 1365K->143K(1984K), 0.0025966 secs]2.397: [Tenured: 2451K->2381K(4096K), 0.0798821 secs] 3648K->2381K(6080K), 0.0825759 secs] [Times: user=0.08 sys=0.01, real=0.08 secs]
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
         at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
         at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1796)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:331)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:286)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:348)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Heap
    def new generation total 1984K, used 250K [0xcc400000, 0xcc620000, 0xccb10000)
    eden space 1792K, 13% used [0xcc400000, 0xcc43ea98, 0xcc5c0000)
    from space 192K, 0% used [0xcc5c0000, 0xcc5c0000, 0xcc5f0000)
    to space 192K, 0% used [0xcc5f0000, 0xcc5f0000, 0xcc620000)
    tenured generation total 6104K, used 4381K [0xccb10000, 0xcd106000, 0xd0400000)
    the space 6104K, 71% used [0xccb10000, 0xccf57598, 0xccf57600, 0xcd106000)
    compacting perm gen total 12288K, used 7039K [0xd0400000, 0xd1000000, 0xd8400000)
    the space 12288K, 57% used [0xd0400000, 0xd0adfc88, 0xd0adfe00, 0xd1000000)
    ro space 8192K, 80% used [0xd8400000, 0xd8a73430, 0xd8a73600, 0xd8c00000)
    rw space 12288K, 59% used [0xd8c00000, 0xd9330510, 0xd9330600, 0xd9800000)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 13-JUL-2012 15:34:11
    Please see the following Data Template, I have copied the folloing
    <report name="anyname" DTDVersion="9.0.2.0.0">
    <data>
    <dataSource name="Q_1">
    <select>
    select 1 EMPLOYEE_ID, 'FIRST_NAME' FIRST_NAME,'LAST_NAME' LAST_NAME, 1 DEPARTMENT_ID ,2 SALARY, 2 COMMISSION_PCT from dual
    </select>
    <group name="G_EMPLOYEES">
    <dataItem name="EMPLOYEE_ID"/>
    <dataItem name="FIRST_NAME"/>
    <dataItem name="LAST_NAME"/>
    <dataItem name="HIRE_DATE"/>
    <dataItem name="SALARY"/>
    <dataItem name="COMMISSION_PCT"/>
    <dataItem name="DEPARTMENT_ID"/>
    <formula name="CF_REMUNERATION" source="cf_1formula"
    datatype="number" width="20" precision="10"/>
    </group>
    </dataSource>
    <summary name="CS_REPORT_LEVEL_SUMMARY" function="sum" width="20"
    precision="10" reset="report" compute="report"/>
    </data>
    <programUnits>
    <function name="cf_1formula" returnType="number">
    <textSource>
    <![CDATA[
    function CF_1Formula return Number is
    begin
    return (:salary + nvl(:commission_pct,0));
    end;
    ]]>
    </textSource>
    </function>
    </programUnits>
    </report>
    Note:
    I have taken this from the following documentation.
    http://docs.oracle.com/cd/E12839_01/bi.1111/b32121/pbr_xml003.htm
    Regards
    Ed

    Hi,
    To me it seems that format is used in BI Publisher usined iN OBI and not Oracle XML Publisher.
    Why dont you try to get the value in sql itself like (:salary + :pct_cimssion) as abcd

  • Report Based on XML Data Template is timing out

    Hi there,
    i have an XML publisher report based on an XML data template that i've written. The report is working fine except when there is huge data that is supposed to come out, its timing out. Ive set the db_fetch_size parameter to 20 and scalable_mode to on but its still timing out.
    If anyone has a solutiom or a thought it would be much appreciated.
    Thanks.

    Thanks for the reply.
    Well when i'm opening the report , i wait for about 15 seconds then 'Page Cannot be Displayed' appears on my browser. I'm having this case only when i'm expecting huge data. By huge data i mean that the report gets informations about a deal, when the deal has 10 categories the report runs fine, but when i add all catgories, about 1000, it gives me the 'Page cannot be displayed' error. I'm guessing its a time out issue since i've set the scalable_mode parameter to on. Any thoughts ???

  • Data template is invalid. Should be in XML-DATA-TEMPLATE format.

    Hi,
    I am trying to create & upload a Data Template for a Data Definition in XML Publisher. When I try to upload my data template, it shows me the error :-
    " The uploaded file PAFPURUP_TEMPLATE.xml is invalid. The file should be in XML-DATA-TEMPLATE format. "
    Can any please suggest me a possible resolution to this error? Below is my data template content :-
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
    <dataTemplate name="PAFPURUP_TEMPLATE" description="Data template for PAFPURUP" defaultPackage="PA_PAFPURUP_PKG" version="1.0">
    <parameters>
    <parameter name ="count" dataType="character" defaultValue="10"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[SELECT BUDGET_VERSION_ID, VERSION_NAME FROM PA_BUDGET_VERSIONS WHERE ROWNUM <= :count]]>
    </sqlStatement>
    </dataQuery>
    <dataTrigger name="beforeReport" source="PA_PAFPURUP_PKG.beforeReportTrigger"/>
    <dataStructure>
    <group name ="G_BUDGET_VERSIONS" source="Q1">
    <element name="Budget_Version_Id" value="budget_version_id"/>
    <element name="Version_Name" value="version_name"/>
    </group>
    </dataStructure>
    </dataTemplate>
    Many Thanks,
    Niranjan

    Hi Fred,
    Thanks for your response. The issue was actually with the xml format. I had missed '?' at the end of 1st line of the xml.
    Regards,
    Niranjan

  • Is it possible to use an XML Data Template to create a report in APEX?

    Hi,
    I have created an XML Data Template in BI Publisher passing one parameter and running two queries, then created an RTF Document Template to present the data.
    I can create a nice report in BI Publisher using the two elements. I have used RTF Document Templates to publish reports in APEX but the data comes from a Report region running a single query.
    I would like to run a report based in this kind of XML Data Template, in order to use several children queries related to a parent query. Is it possible to do it in APEX, or you have to use BI Publisher?
    Francisco
    ===========================
    Below is a simple data template definition:
    <dataTemplate name="cotizacion_template" description="Prueba de data template para cotizaciones" dataSourceRef="dbxprts">
         <parameters>
              <parameter name="p_id_cotizacion" dataType="character" defaultValue="1009" include_in_output="true"/>
         </parameters>
         <dataQuery>
              <sqlStatement name="header_query">
                   <![CDATA[select id_cotizacion, fecha_cotizacion, id_clipro from f_cotizaciones where id_cotizacion = :p_id_cotizacion]]>
              </sqlStatement>
              <sqlStatement name="detail_query">
                   <![CDATA[select id_cotizacion as id_cot_child, id_detalle_cotizacion, partida, cantidad, id_producto from f_detalle_cotizaciones where id_cotizacion = :id_cotizacion]]>
              </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="F_COTIZACIONES" source="header_query">
                   <element name="ID_COTIZACION" value="ID_COTIZACION"/>
                   <element name="ID_CLIPRO" value="ID_CLIPRO"/>
                   <element name="SUMA_CANTIDAD" value="F_DETALLE_COTIZACIONES.CANTIDAD" function="SUM()"/>
                   <group name="F_DETALLE_COTIZACIONES" source="detail_query">
                        <element name="PARTIDA" value="PARTIDA"/>
                        <element name="CANTIDAD" value="CANTIDAD"/>
                        <element name="ID_PRODUCTO" value="ID_PRODUCTO"/>
                   </group>
              </group>
         </dataStructure>
    </dataTemplate>

    Hi,
    I have the similar question. I used data templates in BI Publisher but now I want to use the same data template in Apex to print some reports.
    I tried to some examples but these were only using report queries. I also tried with the Web Service but this didn't work for me either maybe because I didn't
    used it in the right way. When I used the WS I received the binary of the report so the WS worked it was just the how and where to use it that didn't work for me.
    Now this older entry is BUMPED maybe we find a solution for our problem this way.
    regards,
    Steven

  • The file should be in XML-DATA-TEMPLATE format

    Hi,
    When I am trying to upload the Data Definition file in XML publisher with EBS 11.5.10.2, I got "The uploaded file GLPAYBDXDO.xml is invalid. The file should be in XML-DATA-TEMPLATE format". I have tried changing the file name to different names including XML-DATA-TEMPLATE but I could not succeed. I appreciate for any help.
    Thanks,
    Ram.

    What is the content of your xml file. Is this sample xml file or Data Template.

  • Need XML data template info

    We are using a xml data template that generates an output file which is also a .xml... how can I archive this output file by making changes in the data template xml.

    Edit the query in data template

  • Concurrent programs schedule ended in error or fails

    Gooday All,
    As a system Administrator,how can you be notified if any concurrent programs schedule ended in error or fails?. Does Oracle have that capabilities. Is there any mechanism that need to be turn on.

    Hi;
    Please check below thread:
    concurrent ouput to email
    concurrent ouput to email
    Also see:
    Note: 730657.1 - How To Send A Notification For A Failed Concurrent Request
    Note: 466935.1 - How To Setup System Alerts That Show Each Cost Worker Where Transaction(s) Failed Costing
    How to send R12 apps services errors and alerts into Email via OAM?
    Regard
    Helios

  • Formulas in XML data template

    Hi All,
    I am unable to keep some formulas in xml data template.
    My exact requirement:
    I want to keep some formula columns in xml data template so that i can show them in rtf.
    I have 6 columns
    1. ename
    2. dept
    3. job
    4. salary
    5. salary deposited till current year ( this is a formula column)
    6. total salary ( this is a formula column ==> salary * comm)
    I am able to keep all the 4 columns and data is being displayed correctly. But i am not knowing where and how to keep the below columns *(i.e., 5 & 6)
    Glad if anyone can provide me with some examples how to keep formula columns in xml data template
    Thanks

    user9092293,
    when you mean "unable to keep column formulas" in data template!!! are you not able to refer to them within the data structure element?? or are you trying to calculate them in the group elements and not able to???
    If you could explain further it might helps us visualize your issue....
    thanks
    -bifacts

  • XML Publisher generates PDF but concurrent program still completes in error

    Hello,
    I have a concurent program that is used everyday. It generates PDF output with an average of 500 pages. It completes normal majority of the times, but completes in error sporadicallly. Interestingly, when it completes in error, it still generates the PDF output successfully.
    Question is why does it complete in error when all is good?
    Please note that we just went live on R12 from 11i beginning of this year. This issue never occurred in 11i. Please advise what can be done to fix this issue.
    Below is a log from one such submission. The log was rather long, so I'm only posting chunks from the beginning and end of the log, stripping the middle portion:
    Receivables: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXBREG_RAXINV_NEW_XMLP module: Breg Invoice Print New Invoices - XMLP
    Current system time is 22-JAN-2013 06:46:58
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    p_order_by='TRX_NUMBER'
    p_cust_trx_class='INV'
    p_cust_trx_type_id='1'
    p_open_invoice='Y'
    p_check_for_taxyn='N'
    p_choice='NEW'
    p_header_pages='1'
    p_debug_flag='N'
    p_message_level='10'
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    MSG-00100: DEBUG: AfterPForm_Trigger +
    MSG-00100: DEBUG: Multi Org established.
    MSG-00100: DEBUG: AfterParam_Procs.Get_Country_Details
    MSG-00100: DEBUG: AfterParam_Procs.Switch_On_Debug
    MSG-00100: DEBUG: AfterParam_Procs.Get_Trx_Number_Low
    MSG-00100: DEBUG: AfterParam_Procs.Get_Trx_Number_High
    MSG-00100: DEBUG: AfterParam_Procs.Get_Tax_Option
    MSG-00100: DEBUG: AfterPForm_Trigger -
    MSG-00100: DEBUG: BeforeReport_Trigger +
    MSG-00100: DEBUG: BeforeReport_Procs.Populate_Printing_Option
    MSG-00100: DEBUG: BeforeReport_Procs.Populate_Tax_Printing_Option
    MSG-00100: DEBUG: BeforeReport_Trigger.Get_Message_Details
    MSG-00100: DEBUG: BeforeReport_Trigger.Get_Org_Profile.
    MSG-00100: DEBUG: Organization Id: 106
    MSG-00100: DEBUG: BeforeReport_Trigger.Build_Where_Clause
    MSG-00100: DEBUG: P_Choice: NEW
    MSG-00500: DEBUG: About to build WHERE clause.
    MSG-00500: DEBUG: WHERE clause built.
    MSG-00555: :p_choice:NEW
    MSG-00100: DEBUG: Choice is other than ADJ, setting ORDER BY.
    MSG-00555: :p_sel_trx_number:a.trx_number
    MSG-00555: :p_sel_trx_date:a.trx_date
    MSG-00555: :p_sel_trx_id:a.customer_trx_id
    MSG-00555: :p_sel_trx_type:types.type
    MSG-00555: :p_br_where_clause:
    MSG-00500: DEBUG: Table 1: AR_ADJUSTMENTS COM_ADJ,
    AR_PAYMENT_SCHEDULES P,
    RA_CUST_TRX_LINE_GL_DIST REC,
    RA_CUSTOMER_TRX A,
    HZ_CUST_ACCOUNTS B,
    RA_TERMS T,
    RA_TERMS_LINES TL,
    RA_CUST_TRX_TYPES TYPES,
    AR_LOOKUPS L_TYPES,
    HZ_PARTIES      PARTY,
    HZ_CUST_ACCT_SITES A_BILL,
    HZ_PARTY_SITES PARTY_SITE,
    HZ_LOCATIONS LOC,
    HZ_CUST_SITE_USES U_BILL
    MSG-00500: DEBUG: Table 2: RA_TERMS_LINES TL,
    RA_CUST_TRX_TYPES TYPES,
    AR_LOOKUPS L_TYPES,
         HZ_CUST_ACCOUNTS B,
    HZ_PARTIES      PARTY,
    HZ_CUST_SITE_USES U_BILL,
    HZ_CUST_ACCT_SITES A_BILL,
    HZ_PARTY_SITES PARTY_SITE,
    HZ_LOCATIONS LOC,
    AR_ADJUSTMENTS COM_ADJ,
    RA_CUSTOMER_TRX A,
    AR_PAYMENT_SCHEDULES P,
    RA_TERMS T
    MSG-00500: DEBUG: Where 1: A.BILL_TO_CUSTOMER_ID = B.CUST_ACCOUNT_ID
    AND REC.CUSTOMER_TRX_ID = A.CUSTOMER_TRX_ID
    AND REC.LATEST_REC_FLAG = 'Y'
    AND REC.ACCOUNT_CLASS = 'REC'
    AND P.PAYMENT_SCHEDULE_ID + DECODE(P.CLASS,
    'INV', 0,
    = COM_ADJ.PAYMENT_SCHEDULE_ID(+)
    AND COM_ADJ.SUBSEQUENT_TRX_ID IS NULL
    AND 'C' = COM_ADJ.ADJUSTMENT_TYPE(+)
    AND A.COMPLETE_FLAG = 'Y'
    AND A.CUST_TRX_TYPE_ID = TYPES.CUST_TRX_TYPE_ID
    AND L_TYPES.LOOKUP_TYPE = 'INV/CM/ADJ'
    AND A.PRINTING_OPTION IN ('PRI', 'REP')
    AND L_TYPES.LOOKUP_CODE =
    DECODE( TYPES.TYPE,'DEP','INV', TYPES.TYPE)
    AND NVL(P.TERMS_SEQUENCE_NUMBER,nvl(TL.SEQUENCE_NUM,0))=nvl(TL.SEQUENCE_NUM,nvl(p.terms_sequence_number,0))
    AND DECODE(P.PAYMENT_SCHEDULE_ID,'',0, NVL(T.PRINTING_LEAD_DAYS,0))=0
    AND A.BILL_TO_SITE_USE_ID = U_BILL.SITE_USE_ID
    AND U_BILL.CUST_ACCT_SITE_ID = A_BILL.CUST_ACCT_SITE_ID
    AND A_BILL.party_site_id = party_site.party_site_id
    AND B.PARTY_ID = PARTY.PARTY_ID
    AND loc.location_id = party_site.location_id
    AND NVL(LOC.LANGUAGE,'US') = 'US'
    AND NVL(P.AMOUNT_DUE_REMAINING,0) <> 0
    AND A.CUST_TRX_TYPE_ID = 1
    AND TYPES.TYPE = 'INV'
    AND A.TERM_ID = TL.TERM_ID(+)
    AND A.TERM_ID = T.TERM_ID(+)
    AND A.CUSTOMER_TRX_ID = P.CUSTOMER_TRX_ID(+)
    AND A.PRINTING_PENDING = 'Y'
    AND NVL(TL.SEQUENCE_NUM, 1) > NVL(A.LAST_PRINTED_SEQUENCE_NUM,0)
    MSG-00500: DEBUG: Where 2: A.BILL_TO_CUSTOMER_ID = B.CUST_ACCOUNT_ID
    AND P.PAYMENT_SCHEDULE_ID + DECODE(P.CLASS,
    'INV', 0,
    = COM_ADJ.PAYMENT_SCHEDULE_ID(+)
    AND COM_ADJ.SUBSEQUENT_TRX_ID IS NULL
    AND 'C' = COM_ADJ.ADJUSTMENT_TYPE(+)
    AND A.COMPLETE_FLAG = 'Y'
    AND A.CUSTOMER_TRX_ID = P.CUSTOMER_TRX_ID
    AND A.CUST_TRX_TYPE_ID = TYPES.CUST_TRX_TYPE_ID
    AND L_TYPES.LOOKUP_TYPE = 'INV/CM/ADJ'
    AND A.PRINTING_OPTION IN ('PRI', 'REP')
    AND L_TYPES.LOOKUP_CODE =
    DECODE( TYPES.TYPE,'DEP','INV', TYPES.TYPE)
    AND NVL(T.PRINTING_LEAD_DAYS,0) > 0
    AND A.BILL_TO_SITE_USE_ID = U_BILL.SITE_USE_ID
    AND U_BILL.CUST_ACCT_SITE_ID = A_BILL.CUST_ACCT_SITE_ID
    AND A_BILL.PARTY_SITE_ID = PARTY_SITE.PARTY_SITE_ID
    AND B.PARTY_ID = PARTY.PARTY_ID
    AND LOC.LOCATION_ID = PARTY_SITE.LOCATION_ID
    AND NVL(LOC.LANGUAGE,'US') = 'US'
    AND NVL(P.TERMS_SEQUENCE_NUMBER,TL.SEQUENCE_NUM)=TL.SEQUENCE_NUM
    AND NVL(P.AMOUNT_DUE_REMAINING,0) <> 0
    AND A.CUST_TRX_TYPE_ID = 1
    AND TYPES.TYPE = 'INV'
    AND T.TERM_ID = P.TERM_ID
    AND TL.TERM_ID(+) = T.TERM_ID
    AND A.PRINTING_PENDING = 'Y'
    AND P.TERMS_SEQUENCE_NUMBER > NVL(A.LAST_PRINTED_SEQUENCE_NUM,0)
    MSG-00100: DEBUG: BeforeReport_Trigger -
    MSG-05000: DEBUG: Trx No... 1010441
    MSG-00100: DEBUG: Get_Country_Description.
    MSG-00010: 06:47 1 Transaction: 1010441
    MSG-00001: Line type : Line
    MSG-00100: DEBUG: Get_Country_Description.
    MSG-00100: DEBUG: Get_Country_Description.
    MSG-05000: DEBUG: Remit To Address....
    MSG-05000: DEBUG: Address Style:
    MSG-05000: DEBUG: Address 1: PO Box 849991
    MSG-05000: DEBUG: Address 2:
    MSG-05000: DEBUG: Address 3:
    MSG-05000: DEBUG: Address 4:
    MSG-05000: DEBUG: City: Dallas
    MSG-05000: DEBUG: County:
    MSG-05000: DEBUG: State: TX
    MSG-05000: DEBUG: Province:
    MSG-05000: DEBUG: Postal Code: 75284
    MSG-05000: DEBUG: Territory:
    MSG-05000: DEBUG: Country_Code: US
    MSG-05000: DEBUG: Customer Name:
    MSG-05000: DEBUG: Bill To:
    MSG-05000: DEBUG: First Name:
    MSG-05000: DEBUG: Last Name:
    MSG-05000: DEBUG: Mail Stop:
    MSG-05000: DEBUG: Country Code: US
    MSG-05000: DEBUG: Country Desc:
    MSG-05000: DEBUG: Print Home Flag: N
    MSG-05000: DEBUG: Width: 40
    MSG-05000: DEBUG: Height Min: 6
    MSG-05000: DEBUG: Height Max: 6
    MSG-05000: DEBUG: Remit To Formatted... PO Box 849991
    Dallas TX 75284
    MSG-05000: DEBUG: Trx No... 1010442
    MSG-00100: DEBUG: Get_Country_Description.
    MSG-00010: 06:47 2 Transaction: 1010442
    MSG-05000: DEBUG: Bill To Address....
    MSG-05000: DEBUG: Address Style:
    MSG-05000: DEBUG: Address 1: 6560 W ROGERS CIR
    MSG-05000: DEBUG: Address 2: STE 19
    MSG-05000: DEBUG: Address 3:
    MSG-05000: DEBUG: Address 4:
    MSG-05000: DEBUG: City: BOCA RATON
    MSG-05000: DEBUG: County:
    MSG-05000: DEBUG: State: FL
    MSG-05000: DEBUG: Province:
    MSG-05000: DEBUG: Postal Code: 33487-2746
    MSG-05000: DEBUG: Territory:
    MSG-05000: DEBUG: Country_Code: US
    MSG-05000: DEBUG: Customer Name: THE BRACE SHOP
    MSG-05000: DEBUG: Bill To:
    MSG-05000: DEBUG: First Name: LORI
    MSG-05000: DEBUG: Last Name: ESCALANTE
    MSG-05000: DEBUG: Mail Stop:
    MSG-05000: DEBUG: Country Code: US
    MSG-05000: DEBUG: Country Desc:
    MSG-05000: DEBUG: Print Home Flag: N
    MSG-05000: DEBUG: Width: 40
    MSG-05000: DEBUG: Height Min: 8
    MSG-05000: DEBUG: Height Max: 8
    MSG-05000: DEBUG: Bill To Formatted... LORI ESCALANTE
    THE BRACE SHOP
    6560 W ROGERS CIR
    STE 19
    BOCA RATON FL 33487-2746
    MSG-05000: DEBUG: Ship To Address....
    MSG-05000: DEBUG: Address Style:
    MSG-05000: DEBUG: Address 1: 7014 E Appleton Circle
    MSG-05000: DEBUG: Address 2:
    MSG-05000: DEBUG: Address 3:
    MSG-05000: DEBUG: Address 4:
    MSG-05000: DEBUG: City: CENTENNIAL
    MSG-05000: DEBUG: County:
    MSG-05000: DEBUG: State: CO
    MSG-05000: DEBUG: Province:
    MSG-05000: DEBUG: Postal Code: 80112-1155
    MSG-05000: DEBUG: Territory:
    MSG-05000: DEBUG: Country_Code: US
    MSG-05000: DEBUG: Customer Name: Kenneth Grimm
    MSG-05000: DEBUG: Bill To:
    MSG-05000: DEBUG: First Name:
    MSG-05000: DEBUG: Last Name:
    MSG-05000: DEBUG: Mail Stop:
    MSG-05000: DEBUG: Country Code: US
    MSG-05000: DEBUG: Country Desc:
    MSG-05000: DEBUG: Print Home Flag: N
    MSG-05000: DEBUG: Width: 40
    MSG-05000: DEBUG: Height Min: 8
    MSG-05000: DEBUG: Height Max: 8
    MSG-05000: DEBUG: Ship To Formatted... Kenneth Grimm
    7014 E Appleton Circle
    CENTENNIAL CO 80112-1155
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00100: DEBUG: Get_Country_Description.
    MSG-00100: Oracle Error in call to arp_adds.location_description -6503
    MSG-05000: DEBUG: Remit To Address....
    MSG-05000: DEBUG: Address Style:
    MSG-05000: DEBUG: Address 1: PO Box 849991
    MSG-05000: DEBUG: Address 2:
    MSG-05000: DEBUG: Address 3:
    MSG-05000: DEBUG: Address 4:
    MSG-05000: DEBUG: City: Dallas
    MSG-05000: DEBUG: County:
    MSG-05000: DEBUG: State: TX
    MSG-05000: DEBUG: Province:
    MSG-05000: DEBUG: Postal Code: 75284
    MSG-05000: DEBUG: Territory:
    MSG-05000: DEBUG: Country_Code: US
    MSG-05000: DEBUG: Customer Name:
    MSG-05000: DEBUG: Bill To:
    MSG-05000: DEBUG: First Name:
    MSG-05000: DEBUG: Last Name:
    MSG-05000: DEBUG: Mail Stop:
    MSG-05000: DEBUG: Country Code: US
    MSG-05000: DEBUG: Country Desc:
    MSG-05000: DEBUG: Print Home Flag: N
    MSG-05000: DEBUG: Width: 40
    MSG-05000: DEBUG: Height Min: 6
    MSG-05000: DEBUG: Height Max: 6
    MSG-05000: DEBUG: Remit To Formatted... PO Box 849991
    Dallas TX 75284
    MSG-05000: DEBUG: Trx No... 1010930
    MSG-00100: DEBUG: Get_Country_Description.
    MSG-00010: 06:47 506 Transaction: 1010930
    MSG-05000: DEBUG: Bill To Address....
    MSG-05000: DEBUG: Address Style:
    MSG-05000: DEBUG: Address 1: 4412 MANILLA ROAD SE
    MSG-05000: DEBUG: Address 2: UNIT 7
    MSG-05000: DEBUG: Address 3:
    MSG-05000: DEBUG: Address 4:
    MSG-05000: DEBUG: City: CALGARY
    MSG-05000: DEBUG: County:
    MSG-05000: DEBUG: State:
    MSG-05000: DEBUG: Province: ALBERTA
    MSG-05000: DEBUG: Postal Code: T2G 4B7
    MSG-05000: DEBUG: Territory:
    MSG-05000: DEBUG: Country_Code: CA
    MSG-05000: DEBUG: Customer Name: MEDLINES INC DBA PRO CARE MEDICAL LTD
    MSG-05000: DEBUG: Bill To:
    MSG-05000: DEBUG: First Name:
    MSG-05000: DEBUG: Last Name:
    MSG-05000: DEBUG: Mail Stop:
    MSG-05000: DEBUG: Country Code: US
    MSG-05000: DEBUG: Country Desc:
    MSG-05000: DEBUG: Print Home Flag: N
    MSG-05000: DEBUG: Width: 40
    MSG-05000: DEBUG: Height Min: 8
    MSG-05000: DEBUG: Height Max: 8
    MSG-05000: DEBUG: Bill To Formatted... Attn: Accounts Payable
    MEDLINES INC DBA PRO CARE MEDICAL LTD
    4412 MANILLA ROAD SE
    UNIT 7
    CALGARY ALBERTA T2G 4B7
    Canada
    MSG-05000: DEBUG: Ship To Address....
    MSG-05000: DEBUG: Address Style:
    MSG-05000: DEBUG: Address 1: 4412 MANILLA ROAD SE Unit 7
    MSG-05000: DEBUG: Address 2: PH:403 287 0993
    MSG-05000: DEBUG: Address 3:
    MSG-05000: DEBUG: Address 4:
    MSG-05000: DEBUG: City: CALGARY
    MSG-05000: DEBUG: County:
    MSG-05000: DEBUG: State: ALBERTA
    MSG-05000: DEBUG: Province: ALBERTA
    MSG-05000: DEBUG: Postal Code: T2G 4B7
    MSG-05000: DEBUG: Territory:
    MSG-05000: DEBUG: Country_Code: CA
    MSG-05000: DEBUG: Customer Name: MEDLINES INC DBA PRO CARE MEDICAL LTD
    MSG-05000: DEBUG: Bill To:
    MSG-05000: DEBUG: First Name:
    MSG-05000: DEBUG: Last Name:
    MSG-05000: DEBUG: Mail Stop:
    MSG-05000: DEBUG: Country Code: US
    MSG-05000: DEBUG: Country Desc:
    MSG-05000: DEBUG: Print Home Flag: N
    MSG-05000: DEBUG: Width: 40
    MSG-05000: DEBUG: Height Min: 8
    MSG-05000: DEBUG: Height Max: 8
    MSG-05000: DEBUG: Ship To Formatted... MEDLINES INC DBA PRO CARE MEDICAL LTD
    4412 MANILLA ROAD SE Unit 7
    PH:403 287 0993
    CALGARY ALBERTA ALBERTA T2G 4B7
    Canada
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00001: Line type : Line
    MSG-00100: DEBUG: Get_Country_Description.
    MSG-05000: DEBUG: Remit To Address....
    MSG-05000: DEBUG: Address Style:
    MSG-05000: DEBUG: Address 1: PO Box 849991
    MSG-05000: DEBUG: Address 2:
    MSG-05000: DEBUG: Address 3:
    MSG-05000: DEBUG: Address 4:
    MSG-05000: DEBUG: City: Dallas
    MSG-05000: DEBUG: County:
    MSG-05000: DEBUG: State: TX
    MSG-05000: DEBUG: Province:
    MSG-05000: DEBUG: Postal Code: 75284
    MSG-05000: DEBUG: Territory:
    MSG-05000: DEBUG: Country_Code: US
    MSG-05000: DEBUG: Customer Name:
    MSG-05000: DEBUG: Bill To:
    MSG-05000: DEBUG: First Name:
    MSG-05000: DEBUG: Last Name:
    MSG-05000: DEBUG: Mail Stop:
    MSG-05000: DEBUG: Country Code: US
    MSG-05000: DEBUG: Country Desc:
    MSG-05000: DEBUG: Print Home Flag: N
    MSG-05000: DEBUG: Width: 40
    MSG-05000: DEBUG: Height Min: 6
    MSG-05000: DEBUG: Height Max: 6
    MSG-05000: DEBUG: Remit To Formatted... PO Box 849991
    Dallas TX 75284
    MSG-05000: DEBUG: Bill To Address....
    MSG-05000: DEBUG: Address Style:
    MSG-05000: DEBUG: Address 1: 8206 LEESBURG PIKE
    MSG-05000: DEBUG: Address 2: STE 409
    MSG-05000: DEBUG: Address 3:
    MSG-05000: DEBUG: Address 4:
    MSG-05000: DEBUG: City: VIENNA
    MSG-05000: DEBUG: County:
    MSG-05000: DEBUG: State: VA
    MSG-05000: DEBUG: Province:
    MSG-05000: DEBUG: Postal Code: 22182
    MSG-05000: DEBUG: Territory:
    MSG-05000: DEBUG: Country_Code: US
    MSG-05000: DEBUG: Customer Name: NOVA ORTHOPAEDIC AND SPORTS MEDICINE
    MSG-05000: DEBUG: Bill To:
    MSG-05000: DEBUG: First Name: TAYLOR
    MSG-05000: DEBUG: Last Name: CRIGLER
    MSG-05000: DEBUG: Mail Stop:
    MSG-05000: DEBUG: Country Code: US
    MSG-05000: DEBUG: Country Desc:
    MSG-05000: DEBUG: Print Home Flag: N
    MSG-05000: DEBUG: Width: 40
    MSG-05000: DEBUG: Height Min: 8
    MSG-05000: DEBUG: Height Max: 8
    MSG-05000: DEBUG: Bill To Formatted... TAYLOR CRIGLER
    NOVA ORTHOPAEDIC AND SPORTS MEDICINE
    8206 LEESBURG PIKE
    STE 409
    VIENNA VA 22182
    MSG-05000: DEBUG: Ship To Address....
    MSG-05000: DEBUG: Address Style:
    MSG-05000: DEBUG: Address 1: 8206 LEESBURG PIKE
    MSG-05000: DEBUG: Address 2: STE 409
    MSG-05000: DEBUG: Address 3:
    MSG-05000: DEBUG: Address 4:
    MSG-05000: DEBUG: City: VIENNA
    MSG-05000: DEBUG: County:
    MSG-05000: DEBUG: State: VA
    MSG-05000: DEBUG: Province:
    MSG-05000: DEBUG: Postal Code: 22182
    MSG-05000: DEBUG: Territory:
    MSG-05000: DEBUG: Country_Code: US
    MSG-05000: DEBUG: Customer Name: NOVA ORTHOPAEDIC AND SPORTS MEDICINE
    MSG-05000: DEBUG: Bill To:
    MSG-05000: DEBUG: First Name: TAYLOR
    MSG-05000: DEBUG: Last Name: CRIGLER
    MSG-05000: DEBUG: Mail Stop:
    MSG-05000: DEBUG: Country Code: US
    MSG-05000: DEBUG: Country Desc:
    MSG-05000: DEBUG: Print Home Flag: N
    MSG-05000: DEBUG: Width: 40
    MSG-05000: DEBUG: Height Min: 8
    MSG-05000: DEBUG: Height Max: 8
    MSG-05000: DEBUG: Ship To Formatted... TAYLOR CRIGLER
    NOVA ORTHOPAEDIC AND SPORTS MEDICINE
    8206 LEESBURG PIKE
    STE 409
    VIENNA VA 22182
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    MSG-00001: In Line frame trigger
    MSG-00001: Line Type: INV Source:OM Invoices
    REP-0069: Internal error
    REP-57054: In-process job terminated:Finished successfully
    MSG-00100: DEBUG: BeforeReport_Trigger +
    MSG-00100: DEBUG: BeforeReport_Procs.Populate_Printing_Option
    MSG-00100: DEBUG: BeforeReport_Procs.Populate_Tax_Printing_Option
    MSG-00100: DEBUG: BeforeReport_Trigger.Get_Message_Details
    MSG-00100: DEBUG: BeforeReport_Trigger.Get_Org_Profile.
    MSG-00100: DEBUG: Organization Id: 106
    MSG-00100: DEBUG: BeforeReport_Trigger.Build_Where_Clause
    MSG-00100: DEBUG: P_Choice: NEW
    MSG
    Report Builder: Release 10.1.2.3.0 - Production on Tue Jan 22 06:47:00 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 945196.
    Review your concurrent request log and/or report output file for more detailed information.
    Successfully resubmitted concurrent program XXBREG_RAXINV_NEW_XMLP with request ID 953242 to start at 23-JAN-2013 05:15:00 (ROUTINE=AFPSRS)
    Executing request completion options...
    Output file size:
    13010844
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 945196 on node EBSAPPPROD at 22-JAN-2013 06:49:36.
    Post-processing of request 945196 completed at 22-JAN-2013 06:49:59.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 22-JAN-2013 06:49:59
    Regards,
    Smita

    Hi,
    Since you said the behavior is sporadic and also the program was running good in 11i instance, I think its a problem with the data [or select query in the concurrent program] .
    Ideal scenario:
    1. Upon the concurrent program completing in error the pdf should not be generated in first place, since it misguides the obtained report. [Concurrent Program should be modified accordingly, before calling the pdf generation logic you need to check the status of the concurrent program].
    2. It is not likely that the pdf generation should error out upon concurrent program's error, since the concurrent program could have a soft closure of its schema definition [inspite of an uncaught/unhandled exception]
    eg:
    <schema def>
    <Xml element 1> </Xml element 1>
    <Xml element 2> </Xml element 2>
    <Xml element 3> </Xml element 3>
    *_ <while generating elements 4, 5 and so on concurrent program could have errored out, but still the schema definition is valid so the pdf is generated>_*
    </schema def>
    Solution:
    Next time when you get the same behaviour, try running the concurrent program and handle the exception for that scenario, this should resolve your issue.
    Regards,
    Yuvaraj

  • Copy Concurrent Program - XML Publisher Report

    I am running a xml publisher report and it is working fine when i submit directly, but when i use copy function to copy a concurrent program the template is not defaulted and program completes without an error, but when i try to view the output i am getting "Unable to find the published output for this request" error.

    Hi user;
    Please check this and this
    Hope it helps
    Regard
    Helios

  • Data template error while viewing DataSet

    Hi,
    I am trying to view DataSet{DS2}.
    The dataset is of type "Data template" {DT1}
    Pl. find below data template xml pasted in the text field
    <dataTemplate name="DT1" description="Application Details" dataSourceRef="dev100">
         <parameters>
              <parameter name="p_apl_id" dataType="number"/>
         </parameters>
         <dataQuery>
              <sqlStatement name="Q1">
                   <![CDATA[
       SELECT apl_id, apl_first_name, apl_last_name from applicants
                         where apl_id < nvl(:p_apl_id,apl_id)
      ]]>
              </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="G_APP" source="Q1">
                   <element name="apl_id" value="apl_id"/>
                   <element name="apl_first_name" value="apl_first_name"/>
                   <element name="apl_last_name" value="apl_last_name"/>
              </group>
         </dataStructure>
    </dataTemplate>
    The error I am getting while viewing dataset is as below. Appreciate quick response.
    [110906_042135613][][EXCEPTION] oracle.xml.parser.v2.XMLParseException: Expected name instead of .
    at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:205)
    at oracle.xml.parser.v2.XMLReader.scanNameChars(XMLReader.java:1001)
    at oracle.xml.parser.v2.XMLReader.scanQName(XMLReader.java:1639)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1170)
    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:227)
    at oracle.apps.xdo.dataengine.DataTemplateParser.<init>(DataTemplateParser.java:142)
    at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:504)
    at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:182)
    at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.callDataProcessor(AdvancedQueryBoundValue11.java:109)
    at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.getValue(AdvancedQueryBoundValue11.java:79)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:335)
    at oracle.apps.xdo.servlet.XDOProcessor.process(XDOProcessor.java:235)
    at oracle.apps.xdo.servlet.ReportImpl.renderBody(ReportImpl.java:251)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBody(ReportImpl.java:46)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:319)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:223)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:159)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:52)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    [110906_042258194][][EXCEPTION] java.lang.NullPointerException
    at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:326)
    at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:261)
    at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:511)
    at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:182)
    at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.callDataProcessor(AdvancedQueryBoundValue11.java:109)
    at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.getValue(AdvancedQueryBoundValue11.java:79)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:335)
    at oracle.apps.xdo.servlet.XDOProcessor.process(XDOProcessor.java:235)
    at oracle.apps.xdo.servlet.ReportImpl.renderBody(ReportImpl.java:251)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBody(ReportImpl.java:46)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:319)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:223)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:159)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:52)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    [110906_042258198][][EXCEPTION] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
    at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
    at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1449)
    at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:298)
    at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:264)
    at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:251)
    at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:192)
    at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:229)
    at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:336)
    at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.callDataProcessor(AdvancedQueryBoundValue11.java:126)
    at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.getValue(AdvancedQueryBoundValue11.java:79)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:335)
    at oracle.apps.xdo.servlet.XDOProcessor.process(XDOProcessor.java:235)
    at oracle.apps.xdo.servlet.ReportImpl.renderBody(ReportImpl.java:251)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBody(ReportImpl.java:46)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:319)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:223)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:159)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:52)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Regards,
    Nishi
    Message was edited by:
    user542026

    Hi Tim,
    Thanks for your quick response.
    I copied the text on XML publisher server. {http://server:15101/xmlpserver/servlet/report}
    Navigated to Report > DataModel > Data Template {text area}
    Regards,
    Nishi

  • Unable to debug the Data Template Error in the Log file

    Hi,
    I am unable to debug the log file error message Please can anybody explain me in detail where the error lies and how to solve the error.The log file shows the following message.
    XDO Data Engine ver 1.0
    Resp: 50554
    Org ID : 204
    Request ID: 2865643
    All Parameters: USER_ID=1318:REPORT_TYPE=Report Only:P_SET_OF_BOOKS_ID=1:TRNS_STATUS=Posted:P_APPROVED=Not Approved:PERIOD=Sep-05
    Data Template Code: ILDVAPDN
    Data Template Application Short Name: CLE
    Debug Flag: Y
    {TRNS_STATUS=Posted, REPORT_TYPE=Report Only, PERIOD=Sep-05, USER_ID=1318, P_SET_OF_BOOKS_ID=1, P_APPROVED=Not Approved}
    Calling XDO Data Engine...
    java.lang.NullPointerException
         at oracle.apps.xdo.dataengine.DataTemplateParser.getObjectVlaue(DataTemplateParser.java:1424)
         at oracle.apps.xdo.dataengine.DataTemplateParser.replaceSubstituteVariables(DataTemplateParser.java:1226)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:398)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:281)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:251)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:192)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:222)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:334)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:236)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:272)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    Start of log messages from FND_FILE
    Start of After parameter Report Trigger Execution..
    Gl Set of Books.....P
    Organization NameVision Operations
    Entering TRNS STATUS POSTED****** 648Posted
    end of the trns status..687 Posted
    currency_code 20USD
    P_PRECISION 272
    precision 332
    GL NAME 40Vision Operations (USA)
    Executing the procedure get format ..
    ExecutED the procedure get format and the Result..
    End of Before Report Execution..
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 2865643 on node AP615CMR at 28-SEP-2006 07:58:26.
    Post-processing of request 2865643 failed at 28-SEP-2006 07:58:38 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 28-SEP-2006 07:58:38
    Thanks & Regards
    Suresh Singh

    Generally the DBAs are aware of the OPP service log. They can tell you the cause of the problem.
    Anyway, how did you resolve the issue?

  • How to call a PL/SQL procedure from a xml Data Template

    We have a requirement in which we need to call a pl/sql package.(dot)procedure from a Data Template of XML Publisher.
    we have registered a Data Template & a RTF Template in the XML Publisher Responsibility in the Oracle 11.5.10 instance(Front End).
    In the Data Query part of the Data Template , we have to get the data from a Custom View.
    This view needs to be populated by a PL/SQL procedure.And this procedure needs to be called from this Data Template only.
    Can anybody suggest the solution.
    Thanks,
    Sachin

    Call the procecure in the After Parameter Form trigger, which can be scripted in the Data Template.
    BTW, there is a specialized XML Publisher forum:
    BI Publisher

Maybe you are looking for

  • Cycle count in IM

    does cycle count in IM at storage location level for serialized material allow the entry of serial numbers when enetering the count?

  • BBM and MSN aren't working

    Hello everyone, I've got a BB Curve 8520, and here is the problem: Im using wireless and my bbm and msn arent working even though I can browse the internet and i can log in through nimbuzz. I dont think its the wireless' problem because it was workin

  • Several issues after last update 10.1.0.273

    Facebook is not working anymore. Slow navigation on BlackBerry device. Rabobank App needs to be registered again, so many issues. And not to forget the really anoing info popup saving email is on the left and apps are still open on the left. Can this

  • My history does not totally clear out of Safari

    I have gone to settings and hit cleared history and cache buttons.  However, some sites did not clear and auto populate as I start typing.  Any other suggestions to totall clear history from Safari.  I also cleared what was there on the Safari page i

  • Apple Mail: Cannot receive mail from a specific sender.

    Mail from a long-time correspondent does not show up in my In Box. Nor in the Junk Mail Box. Sender sends e-mail to me to several of my addresses, but still no luck. Any ideas will be appreciated!