AP Trial Balance R12

Hi,
We are using Automatic Offset option set to Natural Account.
In R12 for AP Trial balance open balances template definition we need to give the liability account combinations. But, when we are using Automatic Offset we will be using new natural accounts every time. So, will these new Combinations will be automatically added to Open balances template or we need to add it manually.
Or will these new account combinations will appear on Trial balance by default.
Thank You,
Ramana.

Hi Ramana
Although the account code combination will be different but the natual account for liability will be fixed. As such the best option is to define by segment and not by accounting flexfield. So you select the type as Segment and select the segment as natural account. Then specify the liability accounts for which the trial balance is required.
In case if at any point in time, a new natural account for liability is added to your chart of account segment value, then you need to come back to the defintion and update the same. Then rebuild the trial balance. But these scenarios are very rare to occur.
Hope this helps.
Thanks
Vinit

Similar Messages

  • R12 Trial Balance

    Hello All,
    I am trying to customize/recreate the trial balance insert statement in the XLA_TB-AP_REPORT_PVT package (R12.1.3). However, I am not able to figure out how the insert statement is constructed in the package (frankly not able to locate where it is).
    Can any one help me find it?
    Cheers,
    Monkey

    I ran the "Accounts Payable Trial Balance" detail report with the layout as: "Accounts Payable Trial Balance - Group by Account". The request completed ok...but there is no output file. Any one know why it does not produce an out put? In the log it says, that it inserted 1794278 rows in the GT table. However, when I look in the table xla_trial_balances_gt, it is empty)
    Pls. help. Totally lost
    Thanks,
    Monkey
    Edited by: OAF_Monkey on Feb 15, 2012 11:26 AM

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

  • Customize AP Trial Balance Report in R12.1.3

    Hi
    I have to customize AP Trial Balance Report in R12 Version 12.1.3.
    Can any one please provide some pointers how do we do it?
    Here is some background for AP Trial Balance Report:
    Its an XML Publisher Report with XDODTEXE Executable. XLAAPRPT.xml is the file uploaded to data definition(Code: APTBRPT) for Accounts Payable Trial Balance . XML template XDODTEXE calls oracle’ s seeded XML template “XLAAPRPT.xml ", this template further calls package XLA_TB_AP_REPORT_PVT for Trial balance.
    Our customiztion has to populate trial balance data in to our custom table instead of global temp table . XLA_TB_AP_REPORT_PVT package has a private procedure populate_trial_balance_gt which populates trial balance data into xla_trial_balances_GT.
    Please provide some ideas for customization of standard XML publisher reports in R12.1.3.
    Any ideas are appreciated.
    Thanks
    Theja R

    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.

  • SRKIM: R12: Accounts Payable Trial Balance issue troubleshoot

    Purpose
    R12 에서 AP Trial Balance Report 확인 시 데이터가 비정상적일 경우 check 해야 하는 내용에 대해 확인 해 보도록 한다.
    Question
    R12 에서 invoice 생성 후 gl 로 transfer 하였으나 ap trial balance report 의 데이터가 비정상적인 것으로 확인 된다.
    어떤 내용을 확인 해야 하는가.
    Answer
    1. APList Diagnostics Script 을 해당 invoice 에 대해 수행 하여 아래의 내용을 확인한다.
    - Accounting 이 생성되어 gl로 모두 transfer 되었는지 여부.
    - Accounting Date 가 Trial Balance Report 의 start date 와 as of date 안에 포함 되는지 여부
    2.위의 내용에 문제가 없다면 아래 sql 로 데이터를 확인 해 보도록 한다.
    select *
    from xla_trial_balances
    where source_entity_id in (
    select entity_id
    from xla.xla_transaction_entities xte
    where application_id = 200
    and (
    (entity_code = 'AP_INVOICES' and source_id_int_1 in (&invoice_id))
    OR
    applied_to_entity_id in (
    select entity_id
    from xla.xla_transaction_entities xte
    where application_id = 200
    and (
    (entity_code = 'AP_INVOICES' and source_id_int_1 in (&invoice_id))
    3.GL 에 실제 해당 데이터가 존재 하는지 아래 sql 로 확인 해 보도록 한다.
    SELECT distinct aeh.*
    FROM gl_je_lines gjl, GL_IMPORT_REFERENCES gir, gl_je_headers gjh, GL_JE_BATCHES gjb, XLA_AE_LINES
    ael,
    XLA_AE_HEADERS aeh, XLA_EVENTS aea, xla.xla_transaction_entities xte
    WHERE ael.gl_sl_link_id = gir.gl_sl_link_id
    and gjh.je_batch_id= gjb.je_batch_id
    and gjl.je_header_id = gjh.je_header_id
    and gjl.je_header_id = gir.je_header_id
    and gjl.je_line_num = gir.je_line_num
    AND gir.gl_sl_link_table in ('XLAJEL')
    and ael.gl_sl_link_table in ('XLAJEL')
    AND aea.application_id = 200
    AND aea.event_id = aeh.event_id
    AND aeh.ae_header_id = ael.ae_header_id
    AND gjb.je_batch_id = gir.je_batch_id
    and xte.application_id = 200
    and xte.entity_id = aea.entity_id
    and gjh.je_header_id = gir.je_header_id
    and gjh.je_source = 'Payables'
    and (
    (xte.entity_code = 'AP_PAYMENTS' and xte.source_id_int_1 = &check_id)
    OR
    (xte.entity_code = 'AP_INVOICES' and xte.source_id_int_1 = &invoice_id)
    SELECT distinct gjl.*
    FROM gl_je_lines gjl, GL_IMPORT_REFERENCES gir, gl_je_headers gjh, GL_JE_BATCHES gjb, XLA_AE_LINES
    ael,
    XLA_AE_HEADERS aeh, XLA_EVENTS aea, xla.xla_transaction_entities xte
    WHERE ael.gl_sl_link_id = gir.gl_sl_link_id
    and gjh.je_batch_id= gjb.je_batch_id
    and gjl.je_header_id = gjh.je_header_id
    and gjl.je_header_id = gir.je_header_id
    and gjl.je_line_num = gir.je_line_num
    AND gir.gl_sl_link_table in ('XLAJEL')
    and ael.gl_sl_link_table in ('XLAJEL')
    AND aea.application_id = 200
    AND aea.event_id = aeh.event_id
    AND aeh.ae_header_id = ael.ae_header_id
    AND gjb.je_batch_id = gir.je_batch_id
    and xte.application_id = 200
    and xte.entity_id = aea.entity_id
    and gjh.je_header_id = gir.je_header_id
    and gjh.je_source = 'Payables'
    and (
    (xte.entity_code = 'AP_PAYMENTS' and xte.source_id_int_1 = &check_id)
    OR
    (xte.entity_code = 'AP_INVOICES' and xte.source_id_int_1 = &invoice_id)
    4.위의 sql 을 통해 Trial Balance Table 의 데이타가 잘 못 생성 되었음이 확인 되면 해당 Trial balance table 의 데이타를 recreate 하는 작업을 수행 해야 한다.
    Reference
    Note. 553484.1 - THE R12 ACCOUNTS PAYABLE TRIAL BALANCE DATA IS
    INCORRECT/WRONG

    Follow the below steps and Run the Trial Blance and let me know if it helps.
    Thanks
    Girish
    How to Rebuild Trial Balance Data (repopulate XLA_TRIAL_BALANCES)
    1. Navigate: Payables Responsibility > Setup > Accounting Setups > Subledger Accounting Setups > Open Account Balances Listing Definitions
    2. Query up your Report Definition: select Defined By = Accounting Flexfield or Segment (whichever applies in your case), click “Go”
    3. Click on Update icon in the "Actions" column – the definition's update page opens.
    4. "Touch" the definition by simply clicking "Apply" button (without making any change).
    This should start the “Open Account Balances Data Manager” concurrent processes

  • R12(Payments)--Accounts Payable Trial Balance Report, Need Info.

    Hi All,
    We are trying to use the report Accounts Payable Trial Balance Report.
    This is an XML Report in R12 now and has 4 different RTF Templates.
    Can you please explain me how this report can be used in R12 and how does it selects the RTF template( from 4 different templates present) at run time.?
    Thanks,

    Hi,
    In 11i we use to have a parameter to give the report in Summary or Detail
    In R12 we have 4 options in templates to have Summary by Account, Summary by Supplier, Detail by Account and Detail by Supplier.
    Report will not select the template automatically. The user needs to select the template before submitting the report.
    Hope it helps
    Regards,
    Sridhar

  • R12 AP Trial Balance definition cod

    Hi all,
    We are trying create a New/Copied definition as follow :
    Payables Responsibility > Setup > Accounting Setups > Subledger Accounting
    Setups > Open Account Balances Listing Definitions
    Query the Report Definition Code
    Note: To search for Report Definitions created by the upgrade, select Defined By = Accounting Flexfield.
    And upgraded report definitions are created by the apintbal.sql script during the upgrade with a definition code in the following format: AP_200_' || T.ledger_id
    When I am searching the definition code in the following format : AP_200_' || T.ledger_id which is AP_200_2021. I am not getting any results. The message was no record found.
    SELECT * 2 FROM XLA_TB_DEFINITIONS_B;
    DEFINITION_CODE OBJECT_VERSION_NUMBER LEDGER_ID E BALANCE_SIDE_CODE DEFINED_BY_CODE DEFINITION_STATUS_CODE CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_D OWNER_CODE
    PH_OPEN_BALANCES 1 2021 Y C SEGMENT CHANGED 22-02-2008 09:32 1130 22-02-2008 09:32 1130 46722 C
    1 row selected.
    Any idea?
    Thanks,
    Miguel.

    Hi Ramana
    Although the account code combination will be different but the natual account for liability will be fixed. As such the best option is to define by segment and not by accounting flexfield. So you select the type as Segment and select the segment as natural account. Then specify the liability accounts for which the trial balance is required.
    In case if at any point in time, a new natural account for liability is added to your chart of account segment value, then you need to come back to the defintion and update the same. Then rebuild the trial balance. But these scenarios are very rare to occur.
    Hope this helps.
    Thanks
    Vinit

  • RTF Template for AP Trial Balance Report   in R12

    Hi
    when i opened AP Trial Balance RTF Template (word doc) i see only the below statement & when i double clicked & open Form text field i see the Tag
    <?call-template:XLAAPRPT06?> Any idea where the actual template is stored? since i have to build new one i need to look at it for reference.
    Import Template XLAAPRPT06Call Template XLAAPRPT06
    Thanks
    Pravin

    You can navigate to 'Xml Publisher Administrator' responsibility --> Templates
    Give the code as 'XLAAPRPT06' and then 'Go'
    You will get a template, from where you can download the RTF document - XLAAPRPT06.rtf
    I've checked that the template is complete.
    Alternatively, you can read it from -
    select * -- file_date
    from apps.xdo_lobs
    where LOB_CODE = (select data_source_code
    from apps.xdo_templates_b
    where template_code = 'XLAAPRPT06');cheers,
    VB
    Edited by: VB on Oct 5, 2011 3:19 PM

  • R12 Accounts Payable Trial balance is reporting incorrectly (urgent)

    the trial balance is reporting penny amounts on invoices that are fully paid how do I correct this issue

    Follow the below steps and Run the Trial Blance and let me know if it helps.
    Thanks
    Girish
    How to Rebuild Trial Balance Data (repopulate XLA_TRIAL_BALANCES)
    1. Navigate: Payables Responsibility > Setup > Accounting Setups > Subledger Accounting Setups > Open Account Balances Listing Definitions
    2. Query up your Report Definition: select Defined By = Accounting Flexfield or Segment (whichever applies in your case), click “Go”
    3. Click on Update icon in the "Actions" column – the definition's update page opens.
    4. "Touch" the definition by simply clicking "Apply" button (without making any change).
    This should start the “Open Account Balances Data Manager” concurrent processes

  • AP Invoice Aging Report by GL Date (using: Accounts Payable Trial Balance)

    Hi
    Need some suggestions:
    I need to develop a custom report in (R12).
    Account Payable Trial Balance Report, does have the capability to run as of a particular date but it does not show aging buckets. This custom report is to be developed to meet the requirements from a Payables detail perspective as well as to reconcile.
    The report should show the balance due as of the report date selected. If As of Date = 5/31/11, then when the report is run on 6/15/11, it gives the results as it existed on 5/31/11. If we run it again on 8/31/11 for As of Date = 5/31/11, and again on 1/13/12, we get the EXACT SAME results each and every time except for the following fields: Current Status, Date Paid and Payment Reference Number.
    The end result should be this report ties to the penny to Oracle GL as of the date selected EXCEPT for any JEs posted to the account.
    Thanks
    Pravin

    Hi Pravin,
    For all transactions in Oracle, you will have GL dates (Accounting Dates) associated to it. If you use this date in your query to filter data, then you will get correct aging data as on a given date.
    To tally with GL, you also must check if the selected transaction has been accounted?
    Raajkumar G

  • What is the query for Accounts Payable Trial Balance (APXTRBAL) in 11.5.10?

    Hi Guys,
    What is the query for Accounts Payable Trial Balance (APXTRBAL) in 11.5.10?
    I have to write an AP Invoice Aging Report in Discoverer to show all unpaid invoices that have been transferred into GL... Business wants it to match one-to-one with the AP Trial Balance standard report...
    Business wants to run the report for any date in a past...
    The report has two parameters:
    As Of Date - the same as As of Date for the AP Trial Report
    Trial Balance Run Date - the date when Trial Balance was run...
    Conditions are:
    TRUNC(Invoice Date) <=TRUNC(NVL(TO_DATE(:As Of Date),SYSDATE))
    TRUNC(NVL(Payment Date,'01-JAN-5000')) > TRUNC(NVL(TO_DATE(:As Of Date),SYSDATE))
    TRUNC(Invoice Creation Date) <= TRUNC(NVL(TO_DATE(:Trial Balance Run Date),SYSDATE))
    Distr Accounting Date <= TRUNC(NVL(TO_DATE(:As Of Date),SYSDATE))
    NVL(Distr Creation Date,Invoice Creation Date) <= TRUNC(NVL(TO_DATE(:Trial Balance Run Date),SYSDATE))
    Show_Flag = 'YES', where:
    Show_Flag = CASE WHEN ( NVL(Cancelled Date,'01-JAN-1901') > NVL(:As Of Date,SYSDATE) AND NVL(Inv Amount Aud,0) = 0 ) THEN 'YES' ELSE ( CASE WHEN NVL(Inv Amount Aud,0) = 0 THEN 'NO' ELSE 'YES' END ) END
    There is a difference between the logic of my report, and the logic of AP Trial Balance...
    Could you please advise what I'm missing?
    Thanks,
    Iana

    What is the query for Accounts Payable Trial Balance (APXTRBAL) in 11.5.10? You can get the code by opening the report in Reports Builder and get the query.
    Or, enable trace/debug as per (FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]).
    Thanks,
    Hussein

  • Customize AP Trial Balance XML Data Definition for adding Aging Buckets

    Hi
    I have to customize AP Trial Balance Report XML Data Definition Template for adding Aging Buckets & Supplier details in R12 , Could you let me know how i can modify XML file?
    Thanks
    Pravin

    Hi,
    My requirement is different from the one which is in below link.
    I need to add Aging Buckets & Supplier details to AP Trial Balance report (R12) , here i need to modify the XML Data definition template.
    Please help me, very urgent.
    Thanks
    Pravin

  • AP Trial Balance - File is massive and takes a long time to open up

    Hello,
    We are upgrading from 11.5.10 to 12.1.3 and are running into some serioud problems with the Accounts Payables Trial Balance report in Detail Mode.
    1. The Report takes upwards of 10 minutes to open up - and in many cases does not.
    2. On further research we see that the report output file is > 500MB whereas comparable 11i Trial Balance files are only 19MB.
    3. We tried running in various formats Text, PDF, HTML with no luck.
    4. In fact HTML and Text formats gave “Authentication failed” errors when we tried to open the report.
    My questions are:
    1. Why is there a such a large increase in file size? Is this expected going to R12?
    2. Is there a way to speed up the opening of the large files or create smaller files? - (summary mode, and smaller date ranges are not options as per business needs). Even a 2 month date range give the same problems.
    3. We noticed that the XLA_TRIAL_BALANCES table has 36,521,125 records...LARGE.
    4. We compared the ap_liability_balance records between 11i and R12. We have 29,171,382 in 11i and 37,769,034 in R12. But this is expected as we purge regularly in 11i production and I don't think this difference (about 30%) in the size of the tables should cause such a large difference in the size of the report files (nearly 2000%!!!).
    5. Why are we getting Authentication failed errors? Just for these reports?
    Of course we opened an SR, but you know how SRs go :-) and this is a time critical project with our deadlines nearing.
    Any help or pointers from the experts here is greatly appreciated.
    Thanks
    Edited by: user11992646 on Jan 27, 2012 2:12 AM

    Hi Hussein,
    Thanks for your prompt reply and my apologies for the substantial delay in mine.
    We did some trouble shooting since then.
    We repolved the problem by choosing a pdf format instead of the seeded RTF format. This opened up the output in a couple of minutes because the pdf formatted output was about 50mb vs the RTF output which was 300MB+.
    But the ORIGINAL problem still remains. The xml tagged .out file is still huge with a size of nearly 1gb!
    My earlier questions here now boil down to the following questions.
    Q1. Is the huge XML Publisher's .out file expected in R12?  It really is massive!  The text file from 11i was just 19MB
    Q2. Oracle does not seem to offer the option to format the output in plain text ...We see PDF, RTF but no plain ugly text.  I would expect plain text file to be much smaller.  How can we get the output in plain text?
    1.Yes our stats are upto date. Let me emphasize that we do not have a performance problem with the report itself. The issue we are having is opening up the output.
    2. The authentication error is resolved. It was because of formatting the reports incorrectly.
    3. We did not use the usual tuning procedures such as tkprof because we do not have a performance problem.
    4. We checked the OPP file and there are none. I reiterate, The report does complete without issues. It is just that the output takes a long time to open up in the RTF
    I will appreciate if others  can share any experiences if you have faced this situation and how you have handled it.
    Thanks in advance for your time!

  • AP Trial Balance Query.

    I'm trying to re-create the AP Trial Balance report so I can add additional info for the Accountants allowing them to analyze the data better.
    we are in R12.1.3
    Can any anyone provide query that gives the same data as 'Accounts Payable Trial Balance'.
    Please in urgent need....
    Gurus help me out...
    Thanks,
    Raj.

    Hi,
    Were u able to create customized version of AP trial balance report. Please provide somepointers if so.
    Thanks
    TR

  • AP Trial Balance shows invoices already paid

    Hello Experts!
    I need your help on this please...
    There are invoices which were already paid in full that appears in our AP Trial Balance and the amount shown is equal to the invoice's withholding tax line.
    Example:
    Invoice Workbench---
    Invoice Number: 123
    Invoice Date: 06-FEB-2012
    Invoice Header Amount: 1,170.00
    Invoice Lines: Item amount of 1,170.00, Withholding tax of -10.45
    Amount Paid: 1,159.55
    Amount Remaining: 0
    Invoice Status: Paid
    AP Trial Balance Report (as of to date)
    Invoice Number: 123
    Date: 06-FEB-2012
    Payment Status: Fully Paid
    Remaining Amount: -10.45
    Thank you so much
    Regards

    Hi,
    This could be a data corruption for which we have a generic data fix. I recommend that you run the data fix master script from note 1360390.1. The resulting file will show any known generic data fixes that you should apply, such as the following:
    1370096.1: R12 Generic Data Fix (GDF) Patch for PAY HAS INCORRECT ACCTG IF RELATED INVOICE IS FULLY PAID AND HAVING PAY AWT
    1188825.1: R12 Generic Data Fix (GDF) Duplicate AWT Distributions Created During Payment
    Regards,
    Cheryl

Maybe you are looking for

  • Tab Delimited File?

    Hi All,          I am trying to create a tab delimited file using Sender File adapter using <b>File content Conversion in Adapter Module</b>. I want a constant space beteween the fields of length 8 spaces. When i use '        ' as field seperater , t

  • Remote Deployment permissions

    Hi all, I want to do a remote deployment from my pc to a cluster on different machines using the admin_client.jar file. The example in the OC4J Deployment Guide is this : java -jar admin_client.jar deployer:oc4j:opmn://test-cycle.oracle.com/testunit

  • Mophie Juice Pack for iPhone

    This is the first Apple certified "Works With iPhone 3G(S)" attached battery in the world! (Quote from their site) I read this and other reviews and decided to pick one up. I loved it at first and then found some reviews claiming it messes with the p

  • BP UDF query with OPOR and OPCH

    I need help in making this query better: SELECT DisTinct T2.DocNum PO#, T2.U_POCUST, T2.U_CUSTPONM, T2.U_BLANKETPO, T2.U_ETA, T2.U_CONTAIN, T2.U_SHIPCODE, T0.DocNum as [A/P Res], T0.CardName from opch t0 INNER JOIN POR1 T1 ON T1.TrgetEntry=T0.DocEntr

  • Javascript error message loading dreamweaver mx

    this may be two different questions but here goes: -- i downloaded the interakt kollection a while back and just got time to use it. by now i noticed that a newer version was available so i downloaded it. but it crashed my machine trying to update. a