Attdance Sheet Report Query

Dear members
i want create a matrix report my following table
i have a attdance table
like
empno number,
adate date,
atime date,
atype varchar2(3) ( IN/OUT )
we have friday leave..i want to create a matrix report,report show result like that
if employee in friday then report show friday column "L"
if employee in other dates then show "P" if employee not in any day of month then show "A" and report show me all date with in a month
plz help me where i have create a query those show me result
Thanks
if any one have a soulation then plz mail me
[email protected]

help plz

Similar Messages

  • PCA Trial Balance Sheet Report

    Hi
    In GL module the transaction F.08 gives you a trial balance with debit & credit values by GL, is there a report which does the same in PCA?  there is a similar report in KE80 8a-PCA005G but this is only working for P&L accounts I need the report to work for balance sheet accounts.
    We are not using the new GL.
    thanks for your help

    Voodi,
    Description of problem
    - The <b>P&L statement node</b> amount is supposed to roll up to the <b>Profit/Loss current Year</b> node in the balance sheet
    - If amount is a profit, amount goes to <b>calculated profit node</b>
    - If amount is a loss, amount goes to <b>calculated loss node</b>
    - When I run a balance sheet report the <b>Profit/Loss current Year node</b> does not show at all. I assume because no data for leaves.
    - When the customer runs a FS report in ECC, they see the <b>Profit/Loss current Year node</b>
    - Also, the chart of accounts used is WACA, but the leaf for<b>calculated profit </b> is <b>0COA0BRESULT 2A</b> and the leaf for <b>calculated loss</b> is <b>0COA0BRESULT 1A</b>.
    - Where does this config take place in ECC for the FS hierarchy? I went into ECC and looked at FS item versions and don't see an item under calculated profit or loss.
    -  The customer expects these leaves to appear in query result.  I am trying to determine if some config is required in ECC for FS item or do I need to perform calculation in query
    - Not FI savvy

  • Balance sheet report

    Hi all,
    I have created a balance sheet report in FI using the hierarchy(based on 0GLACCEXT). The hierarchy looks as follows:
    Current Assets (Text node)
          ABC     (This is the GL account under current assets)
          DEF      (This is the GL account under current assets)
    The Query has 0balance as the key figure. Everything gets displayed on report correctly but there are 2 issues:
    1. I want to display the individual balance values (for each GL account) in one column and sum of balances of GL account (displayed for nodes) in next column.
    How can I achieve this? Right now, the summation at nodes is happening(since it is a hierarchy),
    but in the same column.
    2. How can I include a GL which does not exist in my development system but exists in production. 0GLACCEXT will only show the  GLs which are coming as master data. Users are saying that if a GL is not there in development system, it can appear in production system.
    Last question is: Is there any way to create Balance sheet reports (with a fixed layout) without using hierarchies?
    Thanks

    Hi
    You can achieve through SELECTIONS. do like this suppose you have the line item called Inventory(this inventory will capture the data from two or three GL accounts say ex: 123,456,789).you can create the selection with the name inventory and use these GLaccounts in that.when you see the report it will show
    Invantory            $1000
    Share Capital     $2000
    Deposits            $3000
    when drill down it will shoe GL account wise also.
    Regards,
    chandra.

  • Balance sheet report display

    Hello Gurus,
    I have a requirement from my user to change the display of the balance sheet report. The requirement looks very simple and I tried changing the query in few different ways and I'm not able to achieve this. Can you please help me on this? If your solution works I'll assign full points.
    Present the reports looks like this: (Note: please ignore the Balances I used in this example)
    GL_ACCT (Restricted to balance sheet hier)           Company_code                      Balance
    BALANCE SHEET(level1)                                       1111                                   0
                                                                                2222                                   0
                                                                                Result                                 0
       ASSETS(level2)                                                  1111                                   200
                                                                                2222                                   200
                                                                                 Result                                0
         CURRENT ASSETS(level3)                                1111                                   50
                                                                                 2222                                  50
                                                                                 Result                                0
            Cash and Cash Equiva(level 4)                        1111                                   25
                                                                                 2222                                  25
                                                                                 Result                                0
               Petty Cash    1000/111000                           1111                                  5
                                                                                 2222                                  5                                                                               
    Result                               10
               OPERATING  1000/113000                           1111                                  5
                                                                                 2222                                  5
                                                                                 Result                               10
               PAYABLES   1000/11300                            11111                                 5
                                                                                 2222                                  5
                                                                                 Result                               10
               MTL SVCS     1000/113010                          1111                                  5
                                                                                 2222                                  5
                                                                                 Result                              10        
    Requirement:
    GL_ACCT (Restricted to balance sheet hier)           Company_code                      Balance
    BALANCE SHEET(level1)                                                                                0
       ASSETS(level2)                                                 
         CURRENT ASSETS(level3)                               
            Cash and Cash Equiva(level 4)                                                                  40
               Petty Cash    1000/111000                           1111                                  5
                                                                                 2222                                  5    
               OPERATING  1000/113000                           1111                                  5
                                                                                 2222                                  5
               PAYABLES   1000/11300                            11111                                 5
                                                                                 2222                                  5
               MTL SVCS     1000/113010                          1111                                  5
                                                                                 2222                                  5
            Accounts Receivables (level 4)                                                                  10
           Total CURRENT ASSETS                                                                          50
           Total Assets                                                                                200
                                                                                    Bottomline is the user only want to see the company code at the detailed account level but not at the other accounting hierarchy levels
    Forgive me if I confused you...
    Regards,
    Seenu

    Hi Karthik,
    Thanks for reply.
    The output should be period wise, when user execute the report it should display period wise in the output.
    We are on 4.7 EE, so i have to go with GLT0 Table. Any other suggestions.
    Thanks.
    Regards,
    Raj

  • Get XSD from Report Query

    APEX 4.0.2
    Oracle 11.2.0.1.0
    Hello,
    We are trying to retrieve the XML Schema for a Report Query.
    The following code example is working, but the 'xsd' parameter for p_document_format is not documented.
    Is 'xsd' a supported parameter value for APEX_UTIL.GET_PRINT_DOCUMENT?
    v_blob := APEX_UTIL.GET_PRINT_DOCUMENT (
        p_application_id      => NV('APP_ID'),
        p_report_query_name   => 'test',
        p_report_layout_name => null,
        p_report_layout_type => null, 
        p_document_format     => 'xsd',
        p_print_server => null);Thank you in advance!

    Hi Eric,
    We have four different versions of apex_util.get_print_document, so depending on what you want to do, you can create PDFs and other document types based on your own XML data, your own style-sheets, or referencing pre-defined report-queries, with pre-defined layouts, or custom layouts. We support the output formats I've previously listed for all four versions. However the internal implementation of those APIs is different for the APIs that reference report queries and those that reference custom XML data. When referencing report queries, APEX first loads and executes those queries and generates the XML data, and then passes the XML on the the print rendering engine. The parsing and execution of those queries happens to use the same internal functions that are also used on the report query edit page, where you have buttons that allow for downloading XML and XML Schema representations of your report query. Those XML and XSD documents are intended to be used with the BI Publisher Word Plug-In or third-party XSL design tools to design report layouts. Now given that the same internal functions are used, you can actually generate XML Schema (XSD) documents using the apex_util.get_print_document API, but only with those versions that let you reference a pre-defined report query. This isn't officially supported, so I can guarantee that this behavior won't change in the future, though I don't see why we would change that. The main reason for supporting XML in those APIs is really to test the print functionality without requiring a print rendering engine. But looks like there are some other use cases for those output formats as well.
    Hope the helps,
    Regards,
    Marc

  • Balance sheet report - cube 0FIGL_C10 (NW04s)

    I am creating a balance sheet report using 0GL_ACCOUNT as a hierarchy. The infoprovider is 0FIGL_C10.
    The 0GL_ACCOUNT hierarchy has nodes:
    -> Stockholder's equity
         --> Profit/loss current year
               --> Calculated profit
               --> Calculated loss
    The nodes Calculated profit & Calculated loss have no leaves, so these hierarchy nodes don't show in query. However they show on ECC report.
    What is the link?
    I ran a delivered quey for virtual cube 0FIGL_V11 which uses 0GLACCEXT (financial statement item) and these nodes still don't show.

    Voodi,
    Description of problem
    - The <b>P&L statement node</b> amount is supposed to roll up to the <b>Profit/Loss current Year</b> node in the balance sheet
    - If amount is a profit, amount goes to <b>calculated profit node</b>
    - If amount is a loss, amount goes to <b>calculated loss node</b>
    - When I run a balance sheet report the <b>Profit/Loss current Year node</b> does not show at all. I assume because no data for leaves.
    - When the customer runs a FS report in ECC, they see the <b>Profit/Loss current Year node</b>
    - Also, the chart of accounts used is WACA, but the leaf for<b>calculated profit </b> is <b>0COA0BRESULT 2A</b> and the leaf for <b>calculated loss</b> is <b>0COA0BRESULT 1A</b>.
    - Where does this config take place in ECC for the FS hierarchy? I went into ECC and looked at FS item versions and don't see an item under calculated profit or loss.
    -  The customer expects these leaves to appear in query result.  I am trying to determine if some config is required in ECC for FS item or do I need to perform calculation in query
    - Not FI savvy

  • Need to create report query to get latest open and last closed period for given application

    Hi All,
    I need to create a report query to get below result displayed in report output.
    1)   -   Application name
    2)   -    Ledger name
    -o/  -Operating Unit
    3)   -  Last Closed Period
    4)   -  Current Open Period
    5)   -  Date Closed – Last Closed Period
    6)   -  Date Open – Current Open Period
    I tr I tried to create the query below is the same. Please let me know if it looks fine.
    SELECT *
      FROM (SELECT fav.application_name ,
                   hou.name Operating_Unit_Name,
                   gl.name Ledger_name,
                   gl.latest_opened_period_name,
                   gps.period_name Period_Name,
                   DECODE(gps.closing_status, 'O', 'Open', 'C', 'Closed') status,
                   gps.last_update_date Last_status_modified_date
              FROM gl_period_statuses gps,
                   gl_sets_of_books   gsob,
                   fnd_application_vl fav,
                   hr_operating_units hou,
                   gl_ledgers         gl
             WHERE gps.period_name = gps.period_name
               AND gps.closing_status ='C'
               AND fav.application_short_name =
                   NVL('&p_application_short_name', fav.application_short_name)
               AND gps.application_id = fav.application_id
               AND gsob.set_of_books_id = gps.set_of_books_id
               AND hou.set_of_books_id = gps.set_of_books_id
               AND gl.ledger_id = gsob.set_of_books_id
               AND hou.organization_id=NVL('&p_operating_unit',hou.organization_id)
               AND gl.ledger_id=NVL('&p_ledger_id',gl.ledger_id) 
             ORDER BY gps.last_update_date desc )WHERE ROWNUM = 1 
    UNION ALL
    SELECT *
      FROM (SELECT fav.application_name Application_Name,
                   hou.name Operating_Unit_Name,
                   gl.name Ledger_name,
                   gl.latest_opened_period_name,
                   gps.period_name Period_Name,
                   DECODE(gps.closing_status, 'O', 'Open', 'C', 'Closed') status,
                   gps.last_update_date Last_status_modified_date
              FROM gl_period_statuses gps,
                   gl_sets_of_books   gsob,
                   fnd_application_vl fav,
                   hr_operating_units hou,
                   gl_ledgers         gl
             WHERE gps.period_name = gps.period_name
               AND gps.closing_status = 'O'
               AND fav.application_short_name =
                   NVL('&p_application_short_name', fav.application_short_name)
               AND gps.application_id = fav.application_id
               AND gsob.set_of_books_id = gps.set_of_books_id
               AND hou.set_of_books_id = gps.set_of_books_id
               AND gl.ledger_id = gsob.set_of_books_id
               AND hou.organization_id=NVL('&p_operating_unit',hou.organization_id)
               AND gl.ledger_id=NVL('&p_ledger_id',gl.ledger_id) 
             ORDER BY gps.last_update_date desc)
             WHERE ROWNUM = 1

    It is within the table I believe (I'm not a DBA or a developer) since I created a BLOB column and then used the file browse feature to allow users to attach a resume to the table in order to be able to perform a search of the attached documents.
    I'm just having a hard time pointing the link in the search results report to the document in the blob column.
    The information on that page is great if you're trying to create a link to the document on the initial report.
    But I created a query using Oracle Text to run a report that does a boolean search of the attached word documents in the table.
    When it displays the search results, it doesn't create a link to the document and I can't figure out how to do it.
    Here's a link the the instructions I used to create the initial search report with Oracle Text, mind you I only created the index and query, I didn't add in all the link data since they're using documents on websites and I'm using documents in a table.
    http://www.oracle.com/technology/products/database/application_express/pdf/apex_text_application_v1.6.pdf
    If you can help me with this I'd really appreciate it.
    Thanks again.
    Greg
    Edited by: gjones77 on Dec 2, 2008 8:14 AM

  • Report-Query Value

    Hi Experts,
    Currently we are using one BW report in 3.5version(report query against multi provider).
    Current issue:
    Cube Fields:
    PO Number: 123
    Order value 100.
    Confirmation value 50
    Final Delivery Indicator: X (YES-No more confirmation is expected)
    Calculation on the Query:
    Outstanding Confirmed Value= Order Value - Net Confirmed Value
    Here Outstanding Confirmed Value = 100-50=50.So in the reports, Outstanding Confirmed Value shows 50.
    But the PO's Final Delivery Indicator is marked. So No more confirmation is expected
    Question:
    I am not able to create any formula against the filed Final Delivery Indicator. But i want to show in the report that if the PO's Final Delivery Indicator marked, then Outstanding Confirmed Value has to be 0(ZERO).
    Please help me achieve this result. Thanks.
    Advance Thanks.
    RR.

    Hi ,
    This can be achived in the following way.
    1. Create your formula
        "Outstanding Confirmed Value= Order Value - Net Confirmed Value" and hide it using the property.
    2. Create one more forumala which will check the condition. i.e. if the Final Delivery Indicator is marked then it will set the outstanding confirmed value as zero else it will show the value which we are getting by using above mentioned formula.
    put the following condition in the formula.
    [Final Delivery Indicator = = 0 ] * 0 + [Final Delivery Indicator <> 0]*Outstanding Confirmed Value
    This will work as follow.
    For example : Outstanding Confrimed Value is 50 and Final Delivery Indicator is marked.
    = [ 0 == 0 ] * 0 + [ 0 <> 0 ] * 50
    = 1* 0 + 0 * 50              " When the condition is satisfied its result is 1. here 0 == 0 condtion is satisfied so its return value is 1.
    = 0
    Hope this will help.
    - Jaimin

  • Vendor wise drill down in Trial Balance or Balance sheet report

    Dear Experts,
    Is there any report for Trial Balance or P&L/ Balance Sheet report where vendor wise drill down of amounts is possible?
    Please suggest.
    Regards
    Komal

    Hi Dear ,
    You can use F.08 for Trail Balance  and Vendor details - S_ALR_87012082 - Vendor Balances in Local Currency
    You can get cumulative balance for the vendor.
    Regards
    Radha

  • Performance issues when creating a Report / Query in Discoverer

    Hi forum,
    Hope you are can help, it involves a performance issues when creating a Report / Query.
    I have a Discoverer Report that currently takes less than 5 seconds to run. After I add a condition to bring back Batch Status that = ‘Posted’ we cancelled the query after reaching 20 minutes as this is way too long. If I remove the condition the query time goes back to less than 5 seconds.
    Please see attached the SQL Inspector Plan:
    Before Condition
    SELECT STATEMENT
    SORT GROUP BY
    VIEW SYS
    SORT GROUP BY
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    TABLE ACCESS BY INDEX ROWID GL.GL_CODE_COMBINATIONS
    AND-EQUAL
    INDEX RANGE SCAN GL.GL_CODE_COMBINATIONS_N2
    INDEX RANGE SCAN GL.GL_CODE_COMBINATIONS_N1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUES_N1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUE_SETS
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUE_SETS_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES_TL
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUES_TL_U1
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUE_NORM_HIER_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_LINES
    INDEX RANGE SCAN GL.GL_JE_LINES_N1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_HEADERS
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_DAILY_CONVERSION_TYPES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_SOURCES_TL
    INDEX UNIQUE SCAN GL.GL_JE_SOURCES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_CATEGORIES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    INDEX UNIQUE SCAN GL.GL_BUDGET_VERSIONS_U1
    INDEX UNIQUE SCAN GL.GL_ENCUMBRANCE_TYPES_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_BATCHES
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_PERIODS
    INDEX RANGE SCAN GL.GL_PERIODS_U1
    After Condition
    SELECT STATEMENT
    SORT GROUP BY
    VIEW SYS
    SORT GROUP BY
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    TABLE ACCESS FULL GL.GL_JE_BATCHES
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_HEADERS
    INDEX RANGE SCAN GL.GL_JE_HEADERS_N1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    INDEX UNIQUE SCAN GL.GL_ENCUMBRANCE_TYPES_U1
    INDEX UNIQUE SCAN GL.GL_DAILY_CONVERSION_TYPES_U1
    INDEX UNIQUE SCAN GL.GL_BUDGET_VERSIONS_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_SOURCES_TL
    INDEX UNIQUE SCAN GL.GL_JE_SOURCES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_CATEGORIES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_LINES
    INDEX RANGE SCAN GL.GL_JE_LINES_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    TABLE ACCESS BY INDEX ROWID GL.GL_CODE_COMBINATIONS
    INDEX UNIQUE SCAN GL.GL_CODE_COMBINATIONS_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_PERIODS
    INDEX RANGE SCAN GL.GL_PERIODS_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUES_N1
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUE_NORM_HIER_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES_TL
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUES_TL_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUE_SETS
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUE_SETS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    Is there anything i can do in Discoverer Desktop / Administration to avoid this problem.
    Many thanks,
    Lance

    Hi Rod,
    I've tried the condition (Batch Status||'' = 'Posted') as you suggested, but the qeury time is still over 20 mins. To test i changed it to (Batch Status||'' = 'Unposted') and the query was returned within seconds again.
    I’ve been doing some more digging and have found the database view that is linked to the Journal Batches folder. See below.
    I think the problem is with the column using DECODE. When querying the column in TOAD the value of ‘P’ is returned. But in discoverer the condition is done on the value ‘Posted’. I’m not too sure how DECODE works, but think this could be the causing some sort of issue with Full Table Scans. How do we get around this?
    Lance
    DECODE( JOURNAL_BATCH1.STATUS,
    '+', 'Unable to validate or create CTA',
    '+*', 'Was unable to validate or create CTA',
    '-','Invalid or inactive rounding differences account in journal entry',
    '-*', 'Modified invalid or inactive rounding differences account in journal entry',
    '<', 'Showing sequence assignment failure',
    '<*', 'Was showing sequence assignment failure',
    '>', 'Showing cutoff rule violation',
    '>*', 'Was showing cutoff rule violation',
    'A', 'Journal batch failed funds reservation',
    'A*', 'Journal batch previously failed funds reservation',
    'AU', 'Showing batch with unopened period',
    'B', 'Showing batch control total violation',
    'B*', 'Was showing batch control total violation',
    'BF', 'Showing batch with frozen or inactive budget',
    'BU', 'Showing batch with unopened budget year',
    'C', 'Showing unopened reporting period',
    'C*', 'Was showing unopened reporting period',
    'D', 'Selected for posting to an unopened period',
    'D*', 'Was selected for posting to an unopened period',
    'E', 'Showing no journal entries for this batch',
    'E*', 'Was showing no journal entries for this batch',
    'EU', 'Showing batch with unopened encumbrance year',
    'F', 'Showing unopened reporting encumbrance year',
    'F*', 'Was showing unopened reporting encumbrance year',
    'G', 'Showing journal entry with invalid or inactive suspense account',
    'G*', 'Was showing journal entry with invalid or inactive suspense account',
    'H', 'Showing encumbrance journal entry with invalid or inactive reserve account',
    'H*', 'Was showing encumbrance journal entry with invalid or inactive reserve account',
    'I', 'In the process of being posted',
    'J', 'Showing journal control total violation',
    'J*', 'Was showing journal control total violation',
    'K', 'Showing unbalanced intercompany journal entry',
    'K*', 'Was showing unbalanced intercompany journal entry',
    'L', 'Showing unbalanced journal entry by account category',
    'L*', 'Was showing unbalanced journal entry by account category',
    'M', 'Showing multiple problems preventing posting of batch',
    'M*', 'Was showing multiple problems preventing posting of batch',
    'N', 'Journal produced error during intercompany balance processing',
    'N*', 'Journal produced error during intercompany balance processing',
    'O', 'Unable to convert amounts into reporting currency',
    'O*', 'Was unable to convert amounts into reporting currency',
    'P', 'Posted',
    'Q', 'Showing untaxed journal entry',
    'Q*', 'Was showing untaxed journal entry',
    'R', 'Showing unbalanced encumbrance entry without reserve account',
    'R*', 'Was showing unbalanced encumbrance entry without reserve account',
    'S', 'Already selected for posting',
    'T', 'Showing invalid period and conversion information for this batch',
    'T*', 'Was showing invalid period and conversion information for this batch',
    'U', 'Unposted',
    'V', 'Journal batch is unapproved',
    'V*', 'Journal batch was unapproved',
    'W', 'Showing an encumbrance journal entry with no encumbrance type',
    'W*', 'Was showing an encumbrance journal entry with no encumbrance type',
    'X', 'Showing an unbalanced journal entry but suspense not allowed',
    'X*', 'Was showing an unbalanced journal entry but suspense not allowed',
    'Z', 'Showing invalid journal entry lines or no journal entry lines',
    'Z*', 'Was showing invalid journal entry lines or no journal entry lines', NULL ),

  • Report query with bind variable

    Trying to create a report query for xsl-fo print. For output format I pick "derive from item" then pick the item name from the list, on the next screen, I paste the query with the bind variable. on the next step test query, I always get "data not found" regardless what value I type in. This is the same query that I ran under sql commands without any issues.
    Does anyone run into the same issue as I have when attempted to create a query with bind var ? There is no problem creating a query without bind varibles. . thanks.
    Munshar

    Hi, please did you get any solution to this issue? I am having similar challenge right now.
    select     EMP.DEPTNO as DEPTNO,
         DEPT.DNAME as DNAME,
         EMP.EMPNO as EMPNO,
         EMP.ENAME as ENAME,
         EMP.JOB as JOB,
         EMP.MGR as MGR,
         EMP.HIREDATE as HIREDATE,
         EMP.SAL as SAL
    from     SCOTT.DEPT DEPT,
         SCOTT.EMP EMP
    where EMP.DEPTNO=DEPT.DEPTNO
    and      DEPT.DNAME =upper(:dname)
    This run perfectly in sql developer, toad, and even inside publisher if I login directly to publisher to create report.
    Generating this same query in shared component query builder and testing it returns no data found. If I remove the last line, it works. but with the last line, it return no data found. It seems no one has been able to provide solution to this issue

  • Performance problem with report query

    Hi,
    I am encountering a performance issue with a page returning a report.
    I have a page that has a region which joins 2 tables. One table has about 220,00 rows, while the other contains roughly 60,000 rows. In the region source of the report region, the query includes join condition with local variables. For example, the page is page 70, and some join conditions are:
    and a.id=:P70_ID
    and a.name like :P70_NAME
    I run the query that returns a large number of rows from sqlplus, and it takes less than 30 sec to complete.
    When I run the page, the report took about 3 minutes to return.
    In this case, :P70_NAME is initialized to '%' on the page.
    I then tried to substitute variable value directly in the query:
    and a.id=1000
    and a.name like '%'
    this time the report returned in about 30 sec.
    I then tried another thing which specified the region as "PL/SQL Function returning sql query", and modified the region as follows:
    l_sql := '.......';
    l_sql := l_sql || 'and a.id=' || v('P70_ID')
    and similar substituting :P70_NAME to v('P70_NAME') and append its value to the l_sql string.
    The report query page also returned in 30 sec.
    Is there any known performance issue with using the bind variable (:PXX_XXX) in the report region?

    If you are able.. flush the shared_pool, run your
    report then query the v$sql_area or v$sql_text tables.
    Or do a google query and look up Cary Milsap's piece on enabling extended trace .. there is your sure fire way of finding the problem sql. I am still learning htmldb but is there a way to alter session enable trace in some pre-query block?

  • Creating a print button to call a Report Query and pass filters

    If i use the REPORT QUERY option in APEX 4 to create an statement that is the same one used in an interactive report, can I create a link or button to the REPORT QUERY and pass all the session and filter information from the interactive report to the report query?
    This way I can have the interactive report screen where the user can do all sorts of modifications and such and then pass those to the REPORT QUERY so I can call that from a custom link or button.
    You may ask "why does he need another print button?"
    Answer: I am using a view that has some embedded HTML tags to format the output really nicely. The HTML download version created by the interactive reports works beautifully. The customer also wants a PDF version (meh) which does not render the HTML tags and actually echos them as part of the text. I found that I can create another view that uses the CHR function to create all the breaks and such I was doing with HTML and these do render properly in PDF. So, I figured just have 2 reports: 1 Interactive and 1 using a REPORT QUERY. I just want to call the REPORT QUERY version but use the Interactive Search form to set all the parameters.
    Or, am I over thinking this and there is an easier method?
    I made a previous post where I showed how I got the APEX printing to work and i hoped that helped someone out - fixing this issue would put the whole thing to rest.
    Thanks

    Is BI Publisher desktop (MS Word add-in) a possibility? This would allow you to use MS Word to create your output template (RTF) that would result in a properly formatted PDF. Of course, you'd have to right an updated version of the query without HTML embedded. Just thinking outside of the box.

  • Bind Variables and Shared Component Report Query

    I have a query in a region report which I have replicated to a shared component report query.
    Both queries reference page items as bind variables in the where clause.
    The report region on screen shows the correct results but the report query shows "no data". This is the case when running "Test Query" and "Download XML data" from the shared component report query definition. If I hardcode the variable names I get rows returned, If I use bind variables - and specify the values for these variables I get no data. THe XML file contains the tags for each bind variable I have specified but has no data between the tags. I have Ticked the box to include application and session state but it appears that the bind variables are not being used.
    When I use my report query in the application (URL tied to a button) I get the same problem, the binds are not being passed to the report query.
    Can someone please clarify if this is a bug or not? And if not, how can I get it to work.
    I am using Apex 4.0.2
    Thanks
    Kathryn

    Hi
    To confirm, yes I selected the bind variables. I used these in the report layout, but the xml file has them as empty i.e.
    <P0_START_DATE><P0_START_DATE/> with nothing in between.
    IN the Test Query section, if I put real values in the boxes for the bind variables, I get no data found. If I hardcode the values into the query, I get the data.
    I've repeated the create report query many times and have created a report layout in RTF. I can use the layout with my region - in the print attributes and the layout works with the query but I need to create a PDF using 2 queries - ROWSET1 and ROWSET2. I can generate the XML but the values in the rows are all empty. When I use the layout with a report query instead of the region, I get no data even though I have used the same sql and have selected the bind variables. I was using variables from page items on page zero but have also tried using page items on the current page, the result is the same.
    I need to use a report query and a report layout as I need data from 2 queries in the PDF.
    I looked at your demo - what happens if you add a second sql query to the report query - is there any chance I can look at the back end (developer access?)
    Thanks for your input
    Kathryn

  • Ora-06502 pl/sql numeric or value error in Report Query in oracle apex

    Hello all,
    I need your help...
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    I am using bi publisher to generate PDF reports in oracle apex.
    We were using APEX 4.0 and migrated to 4.2 just a week ago.
    Now we have apex 4.2.
    When I try to Create report query,
    Shared Components >> Report Queries then create.
    and test a report in a create wizard I am getting a error "ORA-06502: PL/SQL: numeric or value error: character string buffer too small".
    I have also applied a patch "16760897".
    This issue is because of number of columns in a query is more then 26.
    If I run a report with 26 or less number of columns then the is working fine, otherwise getting this error.
    My before migration report queries working perfectly even now, but not new queries.
    This issue is also in apex.oracle.com.
    You can see
    Not working  - http://apex.oracle.com/pls/apex/f?p=619:4
    Working - http://apex.oracle.com/pls/apex/f?p=619:2:
    Please give a solution.
    Thanks you.

    check the DB version compatibility with apex 4 or your DB version to apex 4.0 support for upgrade!
    Oracle Application Express Installation Requirements for 4.0

Maybe you are looking for

  • This iPod cannot be used because the Apple Mobile Device service is not started.

    When I plug into my computer and try to sync with iTunes, I get this message.  "This iPod cannot be used because the Apple Mobile Device service is not started."  I can not find away to start the Apple Mobile Device service.  I synced last on 2/4/12

  • Rm_init_adapter(0) failed errors cause xserver not to launch

    Hi guys, I'm having a problem with my Xorg configuration at the moment and I am tired of messing with it so I figured I would ask for some help after not being able to track down a fix on my own. As of this moment I am running a stock xorg.conf file

  • Mac mini audio resets to 44.1khz after boot

    Hi, I use my Mac mini with EyeTV sat and the best performance is reached by setting the audio out to 48khz. Now this is easy done with the midi program but I find it annoying that after a reboot the audio resets to 44.1khz. I searched for programs th

  • Can't view computers in My Network Places- WRT160N

    I just replaced a D-Link router with a WRT160N.  Now I can no longer see the other computers (all wired) in My Network Places.  All I see is the WRT160N.  What do I need to do to see the other computers on the network?

  • No ocijdbc8 in shared library path

    I'm working on HP UX 11. Trying to get Configurator 11i to work. My path variables look OK. Why are my "libcz.so" and "libczjni.so" files named "libcz.sl" and "libczjni.sl"? Is there a post-installation step I missed?