R12 AP TB Query

Hello All,
Please Can any one send me the R12 AP Trial Balance Query, Its Very urgent.
Thanks in Advance
Regards,
Muthu
[email protected]

Please do not create duplicate posts -- R12 AP TB Query

Similar Messages

  • R12 Invoice Workbench query

    Hi All,
    We upgrade the system form 11.5.10 to R12.1.3
    Please can you tell me if it is possible to display the net amount of an invoice in the lines tab in the invoice workbench. Net amount is currently shown in the distributions screen.
    Regards,
    Raju.G

    Hi.
    I'm on 11.5 so i cannot give you the exact steps for the field and block names are probably different in rel 12.
    The idea is to use a not used field (Description) to display the net amount. It will be something like:
    Condition
    Trigger Event-> WHEN-NEW-ITEM-INSTANCE
    Trigger Object->INV_SUM_FOLDER.DESCRIPTION
    Action
    Type->Property
    Object Type->Item
    Target Object-> INV_SUM_FOLDER.DESCRIPTION
    Property Name->Value
    Value->=:INV_SUM_FOLDER.APPROVED_AMOUNT
    Note:Pay attention to colon and don't forget that the field and block names may differ.
    Octavio

  • R12 Payables: SQL Query to List Invoices along with their Validation Status

    Hi All,
    I am looking for a SQL query that gives me the list of all AP Invoices and their Validation Status.
    Thanks,
    Anil

    select invoice_id, invoice_num, invoice_amount, invoice_currency_code, approval_status_lookup_code from AP_INVOICES_V ;
    --Prasanna                                                                                                                                                                                                                                                                           

  • R12 Menu Updates Query

    On
    System Administrator > Application > Menu I can update a menu attached to a responsibility.
    On saving, the "Compile Security Menu" concurrent request runs.
    When I log in again and view the responsibility whose menu I updated, often the change is not reflected.
    If I wait 10 mins, or 20 or 30 mins, the update is visible.
    I wonder what else might be running in the background to push through these menu changes, because while testing it would help me a lot to be able to run that process manually instead of wait around for some random background thing to run.
    This is an issue on Release 12.1.1 - didn't used to be a problem on 11.5.10.2
    Any advice much appreciated
    Thanks

    Thanks Srini.
    Today I added 2 functions to a menu which previously wasn't working.
    After that, the menu worked, and I could launch a form correctly from the menu.
    I delete both functions, and have just cleared the cache as detailed in the note.
    On checking the menu again, I find it still works, even though both the functions have been deleted from the menu, and the only things left on the menu are the things that were there initially, when it didn't work properly.
    A colleague has had the same issue with another menu.
    It feels like something else is going on in the background, but I have no idea what.
    We can't really add stuff to menus and then delete them, just to get stuff to work on production, which the deleted menu items have somehow granted access to.
    It's very strange.
    Thanks

  • Discoverer report with PO_RELEASES in R12

    Hi all,
    I'm migrating a Discoverer report from 11i to R12. The query of the folder uses the po_releases and this join condition "and rcv_transactions.po_release_id = po_releases.po_release_id(+)". When I run the report I get the error "invalid number" but when I tried the same query but using the po_releases_all it seems to work. Is this ok? I saw that in R12 po_releases is just a synonym, is this correct? I would appreciate your comments.
    Thanks in advance.
    Gabriela

    Thanks Hussein. Yes, I've checked the document you recomend, but the problem seems to be when I try to use po_releases, the synomy) and I don't know why it work with the _all table but not work with the synonym.                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Quote Query Issues

    Hi,
    I am working in R12
    When I Query in the quoting sales manager Responsibility i am not able to get the query result Please tell the what profile options are need to add for this .
    Thanks
    G.N

    Hi,
    I am working in R12
    ------->Navigation: Quoting sale manager responsibility---->customer search
    -------->Enter the Quote Name and press seach option its not getting the values .
    ------->And also When i am trying to get the details of a quoting page not able to get the values.
    And i set the following mandatory proifile options for quoting:
    ASO: Category Set
    ASO: Require Service Reference on Add to Quote
    ASO: Filter Service Reference by End Customer
    ASO: Maximum Days in Expiration Date Range
    ASO : Default IB Search Results
    ASO: Enable interMedia Search
    ASO: Enable Credit Check
    ASO: Enable Intermedia Search
    ASO: Automatic Sales Credit Allocation
    ASO: Calculate Projected Commission
    ASO: Enable Defaulting Rule
    ASO: Enable Approvals
    ASO: Enable Line Level Billing
    ASO: Enable Sales Supplement
    ASO: Enable Web Publishing
    ASO: Automatic Sales Team Assignment
    ASO: Create New Customer
    ASO: Enable Submit Button
    ASO: Discounting Privilege
    ASO: Price List Override
    ASO: Modify Sales Credits
    ASO: View Sales Credits
    ASO: Manager Role Access
    ASO: Allow Quantity Updates for Component Item
    ASO: Allow Quantity Updates for Top Level Model Item
    ASO: Allow Skip Approvers
    ASO: Enable Line Type
    ASO: Enable Manual Warehouse Selection
    ASO: Enable Promotional Good Price Override
    ASO: New Quote Security
    ASO: Status Override
    ASO: Update Sales Team
    ASO: Operating Unit Override
    ASO: OM Access
    ASO: Update Customer
    And whether i need to setting any further setup for this .
    Thanks
    G.N

  • SQL to get  Accounted PO (Encumbered) and AP (encumbr liquidated) in R12

    Hi,
    Can anyone help with the query that can be used to get the PO amt and the AP (invoice) amt that have been posted in GL.
    For 11i, I used the below query. Since the line for PO had the invoice against which it was matched things were simple. Not sure how to achieve the same in R12.
    11i query for reference
    SELECT gl.reference_4 po_number,
    gl.code_combination_id ccid,
    gl.creation_date,
    gl.effective_date je_date,
    DECODE (je_source,'Payables',gl.reference_5,'') invoice_number,
    DECODE (je_source,'Purchasing',NVL(gl.accounted_dr,0)- NVL(gl.accounted_cr,0)) po_amt,
    DECODE (je_source,'Payables', NVL(gl.accounted_dr,0) - NVL(gl.accounted_cr,0)) liq_amt,
    NVL(gl.accounted_dr,0) - NVL(gl.accounted_cr,0) po_balance,
    FROM gl_je_lines gl,
    gl_je_headers je,
    po_headers_all poh
    WHERE gl.je_header_id = je.je_header_id
    AND gl.reference_4 = poh.segment1
    AND je.actual_flag = 'E'
    AND je.encumbrance_type_id = '1001'
    AND gl.status = 'P'
    AND poh.type_lookup_code IN ('STANDARD', 'BLANKET', 'PLANNED')
    ) A, ap.ap_suppliers aps,
    per_all_people_f hr,
    gl_code_combinations cc,
    gl_periods per
    WHERE a.code_combination_id = cc.code_combination_id
    AND a.period_name = per.period_name
    AND a.agent_id = hr.person_id
    AND sysdate between hr.effective_start_date and hr.effective_end_date
    AND a.vendor_id = aps.vendor_idSELECT gl.reference_4 po_number,
    gl.code_combination_id ccid,
    gl.creation_date,
    gl.effective_date je_date,
    poh.comments,
    DECODE (je_source,'Payables',gl.reference_5,'') invoice_number,
    DECODE (je_source,'Purchasing',NVL(gl.accounted_dr,0)- NVL(gl.accounted_cr,0)) po_amt,
    DECODE (je_source,'Payables', NVL(gl.accounted_dr,0) - NVL(gl.accounted_cr,0)) liq_amt,
    NVL(gl.accounted_dr,0) - NVL(gl.accounted_cr,0) po_balance,
    'N' carryfwd_code,
    poh.agent_id,
    poh.vendor_id,
    gl.period_name,
    gl.code_combination_id
    FROM gl_je_lines gl,
    gl_je_headers je,
    po_headers_all poh
    WHERE gl.je_header_id = je.je_header_id
    AND gl.reference_4 = poh.segment1
    AND je.actual_flag = 'E'
    AND je.encumbrance_type_id = '1001'
    AND gl.status = 'P'
    AND poh.type_lookup_code IN ('STANDARD', 'BLANKET', 'PLANNED')
    ) A, ap.ap_suppliers aps,
    per_all_people_f hr,
    gl_code_combinations cc,
    gl_periods per
    WHERE a.code_combination_id = cc.code_combination_id
    AND a.period_name = per.period_name
    AND a.agent_id = hr.person_id
    AND sysdate between hr.effective_start_date and hr.effective_end_date
    AND a.vendor_id = aps.vendor_id

    I've read the docs thanks they are very good at helping me understand MOAC but they do not really answer the question.
    I am thinking that now that a responsibility can access more than one org that org it is very likely to be a parameter on the report to give users the choice of what org data to report on. If there is a parameter is there a point of using the secure views? Because the report can look at the all table and then be restricted by org_id = &org_id. If this holds then it would be best to report from the all tables rather than the secure views.
    So if I was asked to develop a report to show self billing invoices for example - what should I use ap_invoices_all with org_id as a parameter or ap_invoices without the parameter?
    Thanks for the help in advance - I'm new in r12 and think this is a bit of fundamental point and it appears to me that both ways can be used but there is probably reasons to adopt one approach over another.

  • Customer Opening Balance

    Hi
    Pls help me in getting the customer opening balance for the customer statment report in R12.
    any sample query will be very helpful.
    Regards
    Yram

    solved issue thanks

  • Apps not showing correct version

    hello masters,
    i would like to know how to check exact version of oracle applications R12. i have applied patch delta6 and RUP6 but don't know it is applied or not......how can i check that patch is applied successfully???
    when i query
    SQL> select product_version,patch_level
      2  from fnd_product_installations
      3  where patch_level like '%AD%';
    PRODUCT_VERSION                PATCH_LEVEL
    12.0.0                          R12.AD.A.6it shows me same version as it was showing before applying RUP 6,as i applied DELTA 6 (which prerequisite for applying RUP 6) so how can i confirm that RUP 6 has been applied successfully????
    any suggestion will be highly appreciated
    thanks and regards
    VD
    Edited by: vikrant dixit on May 18, 2009 12:22 AM

    Hi,
    i would like to know how to check exact version of oracle applications R12.Use this query:
    SQL> select release_name
    from fnd_product_groups;
    i have applied patch delta6 and RUP6 but don't know it is applied or not......how can i check that patch is applied successfully???Query AD_BUGS table to find out whether you have the patch applied or not.
    To know the patchset level for each module, please refer to:
    Note: 139684.1 - Oracle Applications Current Patchset Comparison Utility - patchsets.sh
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=139684.1
    Regards,
    Hussein

  • Patch 8576725  on 11.5.10.2 error

    I am doing an upgrade from 11.5.10.2 to 12.1.1 and at the stage of applying the American English upgrade patch 6678700
    I have seen lots of notes saying apply Patch 8576725 for bug fixes. However , when I try to apply it ,I am getting:
    AutoPatch error:
    adprdf(): At line 3 in file u8576725.drv:
    This patch cannot be applied to your current release.
    Patch's intended release is "12.0.0"
    Your current release is "11.5.10.2"
    I am running this patch from the newly installed R12 appl_top.
    I believe someone has seen this or have the solution. Please advice me on way forward.
    Thanks

    patch 6678700 failed with an error that partitioning option was not installed. So I stopped all the workers and enabled partitioning on the database. During that time , I discovered that there is a "good need" to apply Patch 8576725. It was then that I was getting the error that the release is still 11.5.10.2.
    As far as it is, the system is still 11.5.10.2. because it has not been upgraded.
    A quick question? If it is said that one should apply 8576725 to avoid errors on 6678700. Doesn't that mean that 8576725 will be applied on 11.5.10.2? Then patch 6678700 which I believe upgrade the system from 11 to R12.
    The query:
    select release_name
    from fnd_product_groups; 2
    RELEASE_NAME
    11.5.10.2

  • Looking for a form in the VIS demo database with lots of data

    Hi all,
    I am looking for a form in the VIS demo database (that ships with Oracle Applications) that contains a lot (1 MB or more) of data. Specifically, when I perform some type of search in the form, I would like more than 1 MB of data to be transferred over the network to the client.
    With Oracle Applications 11i, I was using this form: CRM Resource Manager, Vision Enterprises → Resources
    This was nice because searching for all resources resulted in 4.6 MB of data being sent by the server. However, in Oracle Applications R12, the same query in the same form only sends about 100 KB of data. :-(
    Does anyone know any other forms that have lots of data in them?
    - Kyle

    Thanks for that - I found the form. However, it appears the database table is empty - when I perform a search for all jobs, no records are returned.Nevermind, after some trial and error I found a site that had lots of jobs defined. Thanks for the pointer!
    I'm still running into the same problem I was seeing with the previous form I was using. This is what I'm doing:
    1. Open the form.
    2. Search for all records.
    3. Jump to the very last record.
    In Oracle Applications 11i, this would cause a large amount of data to be transferred over the network (4.6 MB for the previous form I was using and 2.6 MB for this new "Discrete Jobs" form I'm trying). However, the behavior is different in Oracle Applications R12. When I perform the same steps in the same forms, only a fraction of the data is transferred over the network (~100 KB).
    Ideally, I would like a set of steps (and a form) that will produce the same results in both 11i and R12. More realistically, I just need a form (or a new test procedure) in R12 that will spit out more than 1 MB of data.

  • Query change from 11i to R12

    Hi,
    Please help me out from the below query.....
    In 11i we are using the below Query.
    SELECT a.AE_HEADER_ID,a.AE_LINE_NUMBER,
    a.AE_LINE_ID, a.AE_LINE_TYPE_CODE,a.CODE_COMBINATION_ID,
    a.CURRENCY_CODE,a.ENTERED_DR,a.ENTERED_CR,a.ACCOUNTED_DR,a.ACCOUNTED_CR,a.SOURCE_TABLE,
    a.SOURCE_ID,a.LAST_UPDATE_DATE FROM
    AP_AE_LINES_ALL a,
    AP_AE_LINES_Local_table e, ap_invoice_distributions d
    WHERE a.source_table = 'AP_INVOICE_DISTRIBUTIONS'
    AND a.source_id = d.invoice_distribution_id AND
    a.last_update_date -(sysdate - 10) > 0
    AND a.AE_LINE_ID = e.AE_LINE_ID(+)
    I need to change this query related to R12 changes.
    Please help me whether i need to use xla_ae_lines table from R12. if yes there are AE_LINE_ID, AE_LINE_TYPE_CODE columns are not there in xla_ae_lines table. Pls let me know where to refer the AE_LINE_ID, AE_LINE_TYPE_CODE columns in R 12.

    Hi,
    In R12 ae_line_id replaced with ae_line_num,
    Pls. find the sample query.
    SELECT a.ae_header_id, a.ae_line_num, a.accounting_class_code,
    a.code_combination_id, a.currency_code, a.entered_dr, a.entered_cr,
    a.accounted_dr, a.accounted_cr, a.source_table, a.source_id,
    a.last_update_date
    FROM xla_ae_lines a, apps.ap_invoice_distributions_all d
    WHERE a.source_table = 'AP_INVOICE_DISTRIBUTIONS'
    AND a.source_id = d.invoice_distribution_id

  • AP Subledger Trial Balance query in R12

    I have to display below columns in the output(AP Subledger Trial Balance) in R12:
    GL_CODE_COMBINATIONS(Segment1,segment3,segment4)
    GL_PERIODS(END_DATE)
    XLA_TRIAL_BALANCES(remaining amount)
    I have written a sql query but i need to satisfy below conditions in the below query. I am facing issues with the joins.can any one please help me to solve issue.
      ‘Accounting Period’ parameter needs to be added in the below query.
    The sql query will generate the AP subledger balance data for the particular operating unit from where the report is run.
    The report will give ‘at point in time’ data for the entire period for which the extract is run.
    Example:
    When the report is run on 01-Jul-2014 for the period ‘JUL-14′, then the report will extract all the data for JUL-14 at that point in time , i.e. the sysdate would be considered
    SELECT gcc.segment1,
    gcc.segment3,
    gcc.segment4,
    tb1.diff remaining_amount,
    glp.end_date –join condition required
    FROM gl_code_combinations gcc,
    gl_periods glp,
    (SELECT tb.code_combination_id,tb.ledger_id,
    SUM (NVL (tb.acctd_rounded_cr, 0)),
    SUM (NVL (tb.acctd_rounded_dr, 0)),
    SUM (NVL (tb.acctd_rounded_cr, 0))
    – SUM (NVL (tb.acctd_rounded_dr, 0)) diff,
    tb.gl_date
    FROM xla_trial_balances tb
    WHERE tb.definition_code IN(‘XX_US’,’XX_CA’)
    AND TRUNC(tb.gl_date) <= TRUNC(SYSDATE) –TO_DATE ('1-JUN-2014')
    GROUP BY tb.code_combination_id,
    tb.gl_date,tb.ledger_id
    HAVING SUM (NVL (tb.acctd_rounded_cr, 0))
    SUM (NVL (tb.acctd_rounded_dr, 0))) tb1
    WHERE tb1.code_combination_id = gcc.code_combination_id
    –Join condition required for gl_periods table to display end_date column.
    –org_id and period_name parameters are required

    Hi Vamsi,
    I've recreated the standard oracle Trial balance package & XML file . Now i'm able to populate the data into custom table as well as standard table . But the report out doesn't show data in it . it just shows report title, columns bUT NO DATA. the xml file itself doesnt contain data. The custom report completes in 2 mins. But standard report completes in 7 mins
    Steps
    1. Create custom package similar to oracle standard package & added new insert statement to populate trial balance data into custom table.
    2. created new datadefinition with new datatemplate(refering custom package) similar to oracle standard datatemplate.
    3. create template same as standard template.
    4. copy of standard conc program with custom application
    5. Ran the report ...able to populate data into custom table .....but unable to see data in the report.
    Please let me know if i'm missing anythng.

  • How to use this query in R12

    the query below , i am using in valueset :
    select * from AR_LOCATION_VALUES
    Where ar_location_values.location_segment_qualifier =
    'COUNTRY' and ar_location_values.location_structure_id in ( select location_structure_id from ar_system_parameters )
    how to use this query to set in R12?
    Thanks

    hi
    i am using the following query in 11i and i want to use the same in R12 :
    SELECT ar_location_values.location_segment_description,ar_location_values.location_segment_value,location_segment_id
    FROM AR_LOCATION_VALUES
    WHERE ar_location_values.location_segment_qualifier = 'COUNTRY'
    AND ar_location_values.location_structure_id IN
    (SELECT location_structure_id FROM ar_system_parameters)
    note: the table ar_location_values is obsolette in R12 so what is the replacement table in R12 for this?

  • Query or Profile Option to find Current logged in user in oracle apps R12

    Query or Profile Option to find Current logged in user in oracle apps R12.
    I want to get value of current user who is logged in to that particular session, based on the value of user_id or user_name returned i have to do a Forms Personalization.
    Plz help.
    Regards,
    Sadiya P.

    Hi Sadiya,
    do you have the answer for this? please send it to me because i am also have same requirement. so plz post it here....

Maybe you are looking for

  • 9.1.3 pretty much ruined (32/64 bit) Logic performance?

    I've had a look around through some threads and it seems that a lot of people are having similar problems. Ever since updating to 9.1.3, Logic has gone horribly wrong, making the CPU spike for no reason, causing freezing on playback, random clicks an

  • Chmod operation not permitted

    I tried to burn a data DVD, got Error code 0x80020000, and the Finder created a burn folder (although I NEVER set my preferences for this and hate it) that is locked and the √ for Locked is greyed. I want to ditch the burn folder because I always lik

  • White is grey in CMYK jpg - ideas?

    I'm using Illustrator in CS2. I have a logo that sits on a white background. I need to distribute it for a variety of uses and one of the formats I've selected is jpg (principally for people creating desktop documents and making presentations). Becau

  • SYSADMIN - Assigning printer to a specific user only

    Hello, We use a specific printer for the purpose of printing checks. However, several times it has happened that users select this printer for printing other reports resulting in Spoiled checks. We want to restrict only specific user to print on this

  • Mac book pro with retina with software

    hey everyone, i am looking at buying a macbook pro 15inch with retina and i was wondering can you buy the computer with extra software like final cut pro and logic so that we i get the computer it already has it all on it ready to go. and just one mo