Deferred Revenue in Projects

Hi
Can any one tell me how to handle deferred revenue in Oracle Projects .
Here a situation:
Customer Agreement for $ 20000. Customer has paid the full amount at the project begining and just would want monthly invoice as work is completed.
There are cases when monthly amount is fixed for some projects and for some it varies. How can we recognize revenue for such cases
Request to also tell about how the accounting -I'm sure we can set the auto accounting to our need but would want Experts Opinion.
Thanks
PVTK
Edited by: PVTK on Aug 10, 2009 4:23 PM

Hi
Deferred Revenue classification of an event means that the event amount will be included in an invoice but will not have direct effect on revenue. Manning it should not be included in a draft revenue.
I see two issues in your original question -
A) How to manage the project invoicing where payment was collected up front?
B) How to generate revenue?
For the first issue you may go with the suggestion to capture the cash receipt from the customer in On Account status, and later on apply the appropriate amounts to the monthly invoices. This is an AR challenge, as described in prior discussion.
Alternative, we took another approach. When customer is prepaying all or part of the contract amount, we generate an invoice in Projects Billing based on Event (could be a deferred revenue event class). We apply in AR the prepayment amount to that invoice. Later on when project is executed, we generate invoices based on contract terms. We have developed a billing extension which calculates the prepayment reduction amount from that invoice, and generate a negative event. As a result the invoice has regular lines based on work done or milestones, and an extra negative line for the prepayment reduction. The net amount sent to the customer is zero, in case the gross amount of the invoice was already prepaid.
Revenue generation should be based on the accounting regulations governing your projects. Revenue could be generated based on expenditures charged to the project (WORK method) or based on progress percentage, or on completed milestones and deliverables amounts.
Dina

Similar Messages

  • Batch FI postings for Deferred Revenue recognition

    Hi All,
    The deferred revenue postings for the mantainence contranct is done through the Batch job at the month end in my project. We work on 4.6C.
    Now when the contract date is 30/09/2007 to 29/09/2008 the entry for Advances form customer (Dr.) to Deferred revenue (Cr.) is made from 30/09/2007 itself.There on the entries made are on 31/10,30/11,31/12 and so on till 30/09/2008.Thus total entries are 13 (instead of 12).
    However if my contract date is 1/10/2007 to 30/09/2008 the entry is made on  31/10/2007.Therefore the total entries made are 12.
    the entries are -
    Deferred revenue (Dr.)
          To Advances from Customer (Cr.)
    (Being revenue deferred for proportionate completetion of contract AS - 7)
    Thereby at month end ( till the contract end date)
    Advances from Customer (Dr.)
       To Deferred Revenue  (Cr.)
    ( Being revenue Deferred over the period )
    Kindly tell me the solution so that the postings are 12 in each case.

    Moderator Message:
    You are asking for step by step configuration for a frequently asked topic. Please search for answers and read the document in help.sap.com, before posting your queries as discussion.  One can find nearly 1,180 discussions for search term "SAP revenue recognition*.
    We would advise you review SCN Rules of Engagement:
    - http://scn.sap.com/docs/DOC-19331
    A good way to search the forum is with Google. Refer following blog link :
    - http://scn.sap.com/community/support/blog/2012/04/16/getting-the-most-out-of-google-optimizing-your-search-queries
    This blog describes how to use the SCN search:
    - http://scn.sap.com/community/about/blog/2012/12/04/how-to-use-scn-search
    Discussion locked.
    Thanks.

  • Settlement of Revenue Bearing Project

    Hi,
    Please tell me where can we settle a Revenue Bearing Project to ? I don't want to settle it to a PSG segment . Is it possible settle to the sales order line item (SDI) . Revenues or customer down payments can only be settled to G/L accounts, profitability segments, sales documents (SDI). so please anyone explain how to settle against sales document (SDI) what is prerequisite for this. Please explain step by step if possible.
    Regards

    Hi Nivrutti ,
    You are repeating your question so many times.
    Please study about settlement and check why you want to settle your projects.
    Muzamil

  • Deferred revenue from sales

    hi
    i have the following scenario.please help in finding a solution
    1. a service contract is created and billed to the customer at the beginning of the contract start
    2. the invoice value is not posted to sales revenue account but to a deferred revenue account
    3.every month a part (one twelveth) of the invoice value is transferred from deferred sales revenue account to revenue account
      can we implement the whole procedure through pricing procedure. if so how........if not what is the solution
    thanks in advance
    koustav

    Hi Koustav,
      Yes this can be done through revenue recognition in which you can realize the part of revenues from deferred to revenue accounts.
      Perform the following settings:
    1) Set revenue recognition for item categories.This can be done by following the path sprosdbasic func-account assn/costing-revenue recognition.
    2) Once the first step is done you need to set account assignment for this.Following path wud be useful sprosdbasic func-account assn/costing-revenue recognition---maintain account determination.
    3) Here you need to assign revenue and deferred accounts.There wud be 2 columns .In first column put your revenue account and in second column put your deferred account.Your defferd acc should be a balanced shhet account and your revenue account should be a P&L acc.These settings can be done by FI consultant in t-code FS00.
    4) Create your service contract and then invoice and when your accounting document wud be generated,these will be passed to your deffered account.
    5) In order to pass them to revenue acc goto t-code VF44 and here you can select you invoice for which you want to pass the figures to revenue accounts.
      This whole scenario wud solve your problem.
      Reward points if it helps.
    Regards
    Karan

  • Transaction:GR55  Deferred revenue reports for Japan need to Local Currency

    Hi All
    Deferred Revenue Balance reports to be displayed in Local currency. I am running GR55 transaction for DR01a sreport group.The amounts in outputis not matching with the values on sale order display....
    Any idea how to achieve "Transaction:GR55  Deferred revenue reports for Japan need to Local Currency".
    Thanks,
    Suresh.

    This is the forum for Oracle's SQL Developer tool, not for general SQL and PL/SQL questions.
    Questions like this will get a better response in the PL/SQL forum.
    Before you repost there, see SQL and PL/SQL FAQ post for instructions on the kind of information you need to post to maximise your chances of useful help.

  • Revenue recognition - deferred revenue

    Hi Experts,
    We want to recognize some of our revenues other than the billing date.
    Some of our sales are by sea and using CIF incoterms, so if the goods was sent during the last days of the accounting period, we can not recognize it in the FI reports till the goods arrived it's destination.
    So I want to do the PGI and the billing today and credit the deferred revenue account instead of the revenue account.
    I saw the SPRO regards it.
    1. What are the specific setting I have to use in "spro, sales and distribution, basic function, account assignment/costing, revenue recognition, set revenue recognition for item category" for this case? (time related/service related/billing related...etc)
    2. Can I use regular sales order, delivery, PGI, billing document or do I have to use contract or something else?
    3. Can the trigger be the incoterms/destination country instead of the item category?
    Thanks
    Ifer

    Symptom
    After you implement Note 1239165, the source code prerequisites for connecting the accruals account determination to the incompletion log in the standard system are met. This note describes the Customizing settings that you have to make to use the functions described in Note 1239165.
    Other terms
    Standard revenue realization, Customizing, incompletion, KONV, SAKN1, SAKN2, ZZ_RR_TVUVF, RV_INVOICE_ACCOUNT_DETERM, RR_ACCOUNT_MISS_DEF, RR_ACCOUNT_MISS_UNB, TVUVF, SAKUR, TVRRUR
    Reason and Prerequisites
    The Customizing settings are required to use an error group in revenue realization to specify the incompletion and to prevent the system creating subsequent documents.
    Solution
    Make the following settings:
    1. Create the following procedures in Customizing:
    Sales and Distribution -> Basic Functions -> Log of Incomplete Items -> Define Incompleteness Procedures -> Incompletion Group B (Sales - Item) -> Procedures ->
    -> RR (text RevRec item). Save your entry.
    2. For the accruals account, create the following status group:
    Sales and Distribution -> Basic Functions -> Log of Incomplete Items -> Define Status Groups
    -> Status grp General Delivery Billing doc. Price Goods movement
       RR        X        X         X             X
    Additional information: The revenue accounts are assigned to the status group 00 through the error group "MP". This status group permits subsequent documents to be created.
    3. It is not necessary to assign the incompletion procedure RR to the item category that is relevant for revenue recognition. In the case of item categories that are relevant for account determination, by default, the system uses the error group "MP" for the revenue accounts and the error group "RR" for the accruals accounts.
    4. Create the report ZZ_RR_TVUVF to execute the entries required to check the fields and to assign the status groups. The report enters the required entries in the tables and in TVUVF. If these already exist, the system issues an error message.
    The following check fields and status groups are entered:
    Table     Field name  Description   Screen Status  Warning Rank
    KONV  SAKN2    accruals account          PKON  RR
    TVRRUR SAKUR    unbilled receivable account       RR
    Attributes
    Title: Insert/delete RR incompletion settings in TVUV and TVUVF
    Type: 1 (Executable program)
    Status: T (Test program)
    Application: V (Sales and Distribution)
    Package: (Customer-specific package)
    Selection texts
    P_DELKZ  Delete revenue recognition records
    P_INSKZ  Create revenue recognition records
    The source code is provided in the attached correction instructions.
    Insert Block 
    *& Report  ZZ_RR_TVUVF                                                 *
    report  zz_rr_tvuvf.
    Tables *
    tables: tvuvf.
    Work areas *
    data: begin of gvt_tvuvf occurs 0.
            include structure tvuvf.
    data: end of gvt_tvuvf.
    data: lvf_subrc1 like sy-subrc,
          lvf_subrc2 like sy-subrc.
    data: gvs_tvuvf like tvuvf.
    ======================================================================
    Definition of the selection screen                                   *
    ======================================================================
    parameters  p_inskz radiobutton group act.
    parameters  p_delkz radiobutton group act.
    ======================================================================
    Initialization                                                       *
    ======================================================================
    initialization.
      clear   gvt_tvuvf.
      refresh gvt_tvuvf.
    ======================================================================
    Selection of data                                                    *
    ======================================================================
    start-of-selection.
      select single * from tvuvf into gvs_tvuvf
                                where fehgr = 'RR'.
                                and tbnam = 'KONV'
                                and fdnam = 'SAKN2'
                                and statg = 'RR'
                                and fcode = 'PKON'.
      lvf_subrc1 = sy-subrc.
      select single * from tvuvf into gvs_tvuvf
                                where fehgr = 'RR'.
                                and tbnam = 'TVRRUR'
                                and fdnam = 'SAKUR'
                                and statg = 'RR'
                                and fcode = '    '.
      lvf_subrc2 = sy-subrc.
    Populate fields
      gvt_tvuvf-mandt = sy-mandt.
      gvt_tvuvf-fehgr = 'RR'.
      gvt_tvuvf-tbnam = 'KONV'.
      gvt_tvuvf-fdnam = 'SAKN2'.
      gvt_tvuvf-statg = 'RR'.
      gvt_tvuvf-fcode = 'PKON'.
      append gvt_tvuvf.
      clear  gvt_tvuvf.
      gvt_tvuvf-mandt = sy-mandt.
      gvt_tvuvf-fehgr = 'RR'.
      gvt_tvuvf-tbnam = 'TVRRUR'.
      gvt_tvuvf-fdnam = 'SAKUR'.
      gvt_tvuvf-statg = 'RR'.
      gvt_tvuvf-fcode = '    '.
      append gvt_tvuvf.
      clear  gvt_tvuvf.
    insert case
      if not p_inskz is initial.
        if not lvf_subrc1 is initial and
           not lvf_subrc2 is initial.
        insert line
          insert tvuvf from table gvt_tvuvf.
          if sy-subrc is initial.
          line already there
            write: 'Line in table TVUVF inserted'.
          else.
          Error when insert
            write: 'Insert not possible'.
          endif.
        else.
        line already there
          write: 'At least one entry already in the table TVUVF'.
        endif.
      else.
      delete case
        if not p_delkz is initial.
          if  lvf_subrc1 is initial
          and lvf_subrc2 is initial.
          delete line
            delete tvuvf from table gvt_tvuvf.
            if sy-subrc is initial.
            line already there
              write: 'Lines in table TVUVF deleted'.
            else.
            error when insert
              write: 'Delete not possible'.
            endif.
          else.
          line not there
            write: 'At least one entry not in the table TVUVF'.
          endif.
        endif.
      endif.
    See you Monday

  • Deferred revenue

    Hello,
    Please provide me the solution for it.
    The scenario is : the invoice  relates to annual maitenance service. as per the agreement we should invoice the customer at the startig of the month and then deliver the service whole the year.In this case the deferred revenue is split into 2 things .One is unearned revenue and another is income received in adavnce.
    In the first month , the entry will be
    Customer
    to sales
    to Unearned revenue
    and then every month there will an entry for the amount getting transferred from unearned to sales revenue . but if ther is money coming from customer and it exceeds the cumulative revenue then the entry will be
    income reced in advance
    to sales revenue
    this entry will be passed till the income recd in advance will be exhausted.
    once it is exhauted the entry will
    unearned
    to sales revenue.
    Please let me know how should i map this in SAP

    Hi
    have you tried the manual accrual postingfuncationality for this scenario. 
    Regards
    Ram

  • Deferred Revenue Report

    Hi I am attempting to create a dynamic 'Deferred Revenue' Report based on a View created that contains the following fields among others.
    Invoice Line, Extended Price, Transaction Date, Begin Date, End Date, Month, Year.
    I need to split the extended price over months (and maybe year) based on when the revenue is 'realised'. For example a line item from an invoice dated in April 2014 with an extended value of $1000 with a begin date of 01 May 2014 and the end date of
    30 June 2014 will show $500 in column for May and $500 in June with calling the SSRS report with parameters of April invoicing and in the year 2014.
    I am not sure whether this is better handled within the view or within SSRS. Additionally I am not sure where to start.
    Does anyone have any suggestions?
    Judi Carson

    Hi I am attempting to create a dynamic 'Deferred Revenue' Report based on a View created that contains the following fields among others.
    Invoice Line, Extended Price, Transaction Date, Begin Date, End Date, Month, Year.
    I need to split the extended price over months (and maybe year) based on when the revenue is 'realised'. For example a line item from an invoice dated in April 2014 with an extended value of $1000 with a begin date of 01 May 2014 and the end date of
    30 June 2014 will show $500 in column for May and $500 in June with calling the SSRS report with parameters of April invoicing and in the year 2014.
    I am not sure whether this is better handled within the view or within SSRS. Additionally I am not sure where to start.
    Does anyone have any suggestions?
    Judi Carson

  • Migration of Revenue and Project Invoices

    Hi,
    We are implementing Oracle Projects (Costing and Billing) but AR is already implemented and using since long. We are migrating Revenue and Invoice data for open projects.
    For revenue migration, we are uploading summarized cost and generating revenue and will reverse the entry in GL.
    For Billing : We are entering one billing event per project and generating Invoice and then interfacing it to AR. In AR, we are making invoice Incomplete and then deleting the invoice from AR transaction form. We want to understand, is this the correct approach?
    Regards,
    Kalpesh

    hi
    Right click the Migrated wedynpro development component, Selece the Development component and select the deploy. If you have configured the j2ee engine , then the developed component will deployed to the j2ee engine
    Regards,
    Arun

  • Cost / Revenue for Project Role Types

    Dear All,
    I need your suggestion on cost / revenue rate for multiple project roles type of the project elements. I am defining various project roles such as account manager / project manager / Team leader / Team members etc. which will be assigned to project. There will be different cost / revenue hourly rate for each role type. I have defined hourly cost / revenue rate for organisation management. But i oberved that hourly rate is getting copied to all type of role in project & the same is update as planned cost.
    Request you to suggest how to mainatin different hourly rate for various project roles in side project.
    Thank you in advance.
    Regards,
    Ranjan

    Hi,
    Make sure you have done following settings
    SPRO>Collaboration Projects >Connection to External Systems>Accounting Integration>Define Cost/Revenue Rates
    here you define Cost revenue rates
    Now i feel you have assigned these rates in define Task types in SPRO>Cproj>structure>define task types
    in this case it ll take same cost revenue rates.
    you remove these
    and in SPRO >Collaboration Projects > Resource Management>Basic Settings for Project Roles> Role types
    assign the rates.
    clear the browser Cache, cookies.
    Make sure you log off and then try to create new Project with the settings
    It shd help.
    P.s. Zhenbo plz correct me if im wrong...
    Niranjan
    Award points if useful.

  • Credit Memo to Deferred Revenue is not amortizing correctly

    We issued a Credit Memo to a client related to an invoice that was originally deferred over 80 months straightline. When we issued the Credit Memo it is not taking debits to Revenue until 3 years down the road. When in fact it should be debiting Revenue for the Credit Amount divided by 80 months equally until the end of the amortization period.
    The Credit Memo is essentially pushing the negative Revenue to the back end of the amortization period, while continuing to fully recognize Revenue on the original invoice up until that point. You can see how this could dramatically overstate Revenue if we did this with any regularity and with large enough Credit amounts.
    Have any of you seen this before? I would really appreciate any insight.
    Thank you.

    Hello Eliana,
    Its unclear in your thread, how you are going to do it.
    For creating an invoice / credit memo, you have to refer either a PO/schduling agreement / delivery note (migo).
    In all the cases, it will get linked with the PO - MIGO.
    What you have to understand is the functionality and the posting that will happen.
    If you select
    Invoice / credit memo - GR/IR clearing account and vendor account
    Subsequent credit/debit - Stock account and vendor account
    The difference in posting has its own significance. It will affect the MAP if your material price control is V.
    If qty and value variance is there, use the functionality invoice/credit memo.
    If only price variation - use subsequent credit/debit.
    Regards
    Gregory Mathews

  • SCHEDULES E18: NON PROJECT REVENUE REPORT

    HI GURUS,
    CAN YOU PLEASE TELL ME WHERE CAN WE FIND OUT THE STANDARD REPORT, RELATED DATASOURCES AND RELATED TABLES for <b>NON PROJECT</b> REVENUE PLEASE.
    THANKS & REGARDS
    VENU

    Hello
    what is the source of non revenue. Is it booked to a GL account ?
    Non billable recievables is a special GL account.
    Check OUVR for setting.
    Even deferred revenue is a special GL account.
    Once you know where the amounts are booked. Execute a normal standard report from GL info systems.
    Reg

  • SCHEDULES: NON PROJECT REVENUE REPORT

    HI GURUS,
    can you please tell me where to find out the standard reports and Datasources used and Tables related to  <b>NON PROJECT REVENUE</b>.
    points will be given.
    Thanks
    regards

    Hello
    what is the source of non revenue. Is it booked to a GL account ?
    Non billable recievables is a special GL account.
    Check OUVR for setting.
    Even deferred revenue is a special GL account.
    Once you know where the amounts are booked. Execute a normal standard report from GL info systems.
    Reg

  • NON PROJECT REVENUE

    HI GURUS,
    can you please tell me where to find out the standard reports and Datasources used and Tables related to<b> NON PROJECT REVENUE.</b>
    points will be given.
    Thanks
    regards

    Hello
    what is the source of non revenue. Is it booked to a GL account ?
    Non billable recievables is a special GL account.
    Check OUVR for setting.
    Even deferred revenue is a special GL account.
    Once you know where the amounts are booked. Execute a normal standard report from GL info systems.
    Reg

  • Error : PRC: Generate Draft Revenue for a Single Project

    Dear all,
    I'm using Project using Cost / Cost as revenue accrual/Billing method
    and I try to Generate Draft Revenue but I have a problem
    Please suggest what could be wrong.
    Log file :
    Projects: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    PARGDR_SINGLE module: PRC: Generate Draft Revenue for a Single Project
    Current system time is 29-JUL-2009 11:15:45
    Entering parmai()
    ...Connected to Oracle
    Accrue Thru date from Command line is : 2009/08/02 00:00:00
    project:35 delete:N regenerate:Y acc_thru_dt:02-Aug-09
    start project: end project:
    Revenue is running in Normal revenue mode
    Revenue is not based on specific project type...
    Revenue is not based on specific organization...
    Revenue is not based on specific customer...
    Revenue is not based on specific Agreement...
    Revenue is running for MCB/Non MCB projects...
    Revenue is running for release revenue mode...
    Revenue is not creating the detail report ...
    Revenue Processing Parameter List
    =================================
    -------------- < parameter list > -----------------------
    Accru Through Date ----------------------------------------> 02-Aug-09
    Project ID ------------------------------------------------> 35
    From Project Number --------------------------------------->
    To Project Number ----------------------------------------->
    Adjusting Revenue Run -------------------------------------> No
    Project Type ID -----------------------------------------> 0
    Organization ID ------------------------------------------> 0
    Customer ID ----------------------------------------------> 0
    Agreement ID ----------------------------------------------> 0
    Multi Currency Projects -----------------------------------> No
    Release Draft Revenue -------------------------------------> Yes
    Include Detail Report -------------------------------------> No
    -------------- < End of parameter list > -----------------------
    ...Request ID = 804880
    This concurrent request is not being rescheduled
    Current system time is 29-JUL-2009 11:15:45
    ...about to delete revenue for project id 35
    ...0 draft revenues deleted
    Current system time is 29-JUL-2009 11:15:45
    ...about to process adjustments
    SELECT p.project_id, p.segment1,
    p.distribution_rule, p.project_level_funding_flag,p.project_currency_code,
    p.project_bil_rate_date_code,
    p.project_bil_rate_type,
    p.project_bil_rate_date,
    p.project_bil_exchange_rate,
    p.projfunc_currency_code,
    p.projfunc_bil_rate_date_code,
    p.projfunc_bil_rate_type,
    p.projfunc_bil_rate_date,
    p.projfunc_bil_exchange_rate,
    p.revproc_currency_code,
    p.funding_rate_date_code,
    p.funding_rate_type,
    p.funding_rate_date,
    p.funding_exchange_rate,
    p.multi_currency_billing_flag,
    p.assign_precedes_task
    FROM pa_projects p, pa_project_types t
    WHERE p.project_id = :project_id
    AND pa_project_utils.check_prj_stus_action_allowed(p.project_status_code,'GENERATE_REV') = 'Y'
    AND :start_project_number||'x' != :end_project_number||'y'
    AND p.project_type = t.project_type
    AND t.project_type_class_code = 'CONTRACT'
    AND EXISTS (SELECT /*+ INDEX(pf pa_summary_project_fundings_u1)*/ NULL
    FROM pa_summary_project_fundings pf
    WHERE pf.project_id = p.project_id
    AND nvl(pf.revproc_baselined_amount, 0) != 0)
    AND NOT EXISTS
    (SELECT NULL
    FROM pa_draft_revenues r2
    WHERE r2.project_id = p.project_id
    AND r2.released_date||'' is null
    AND r2.generation_error_flag||'' = decode(:mass_gen,
    1, 'Y', r2.generation_error_flag)
    AND (EXISTS (SELECT NULL
    FROM pa_expenditure_items_all i
    WHERE i.project_id = p.project_id
    AND i.cost_distributed_flag ||''= 'Y'
    AND i.revenue_distributed_flag = 'N'
    AND i.expenditure_item_date
    <= NVL(TO_DATE(:acc_thru_dt),sysdate)
    AND EXISTS (SELECT /*+ LEADING(l)*/ NULL
    FROM     pa_draft_revenues r, pa_cust_rev_dist_lines l
    WHERE r.project_id = i.project_id
    AND      ((l.expenditure_item_id = i.adjusted_expenditure_item_id AND i.adjusted_expenditure_item_id is not null )
    OR (l.expenditure_item_id = i.expenditure_item_id))
    AND      NVL(l.reversed_flag,'N') = 'N'
    AND      l.line_num_reversed IS NULL
    AND      r.project_id = l.project_id
    AND      r.draft_revenue_num = l.draft_revenue_num
    AND (r.released_date||'' is not null
    OR r.generation_error_flag||'' = decode(:mass_gen,
    1, 'N', 'E')))
    union all
    SELECT /*+ LEADING(v)*/NULL
    FROM pa_events v
    WHERE v.project_id = p.project_id
    AND ((v.revenue_distributed_flag = 'N'
    AND v.completion_date
    <= NVL(TO_DATE(:acc_thru_dt),sysdate))
    OR (substr(p.distribution_rule,1,4) = 'COST'
    AND v.revenue_distributed_flag = 'Y'
    AND v.completion_date
    > TO_DATE(NVL('02-Aug-09', sysdate))))
    AND (DECODE(NVL(v.bill_trans_rev_amount, 0), 0 ,
    DECODE(NVL(v.zero_revenue_amount_flag, 'N'), 'Y', 1, 0),1) = 1)
    AND NVL(revenue_hold_flag, 'N') = 'N'
    AND EXISTS (
    SELECT NULL
    FROM pa_tasks t
    WHERE v.task_id is not NULL
    AND t.ready_to_distribute_flag = 'Y'
    AND v.task_id = t.task_id
    UNION ALL
    SELECT NULL
    FROM pa_tasks t1
    WHERE v.task_id is NULL
    AND t1.ready_to_distribute_flag = 'Y'
    AND v.project_id = t1.project_id )
    AND Exists (select null from pa_draft_revenues r,pa_cust_event_rev_dist_lines l
    where l.project_id = v.project_id
    AND ( l.task_id = v.task_id OR v.task_id is NULL )
    AND l.event_num = v.event_num
    AND NVL(l.reversed_flag,'N') = 'N'
    AND l.line_num_reversed IS NULL
    AND r.project_id = v.project_id
    AND r.draft_revenue_num = l.draft_revenue_num
    AND (r.released_date||'' is not null
    OR r.generation_error_flag||'' = decode(:mass_gen,
    1, 'N', 'E')))
    union all
    SELECT /*+ USE_CONCAT */ NULL
    FROM PA_Billing_Extensions be, PA_Billing_Assignments bea
    WHERE bea.active_flag = 'Y'
    AND bea.billing_extension_id = be.billing_extension_id
    AND (bea.project_id = p.project_id
    OR bea.project_type = p.project_type
    OR bea.distribution_rule = p.distribution_rule)
    AND be.calling_process in ('Revenue','Both')
    AND nvl(be.call_after_adj_flag, 'N') = 'Y'
    AND be.trx_independent_flag = 'Y'))
    Current system time is 29-JUL-2009 11:15:45
    ...0 projects processed for adjustments
    Current system time is 29-JUL-2009 11:15:45
    ...about to generate revenue for project id 35
    ...Fetching next project
    Current system time is 29-JUL-2009 11:15:45
    ...about to call pa_billing.bill_ext_driver( 35, 'Revenue', 'PRE', '02-Aug-09', 804880 )
    Current system time is 29-JUL-2009 11:15:45
    ...exiting pa_billing.bill_ext_driver( 35, 'Revenue', 'PRE', '02-Aug-09', 804880 )
    Current system time is 29-JUL-2009 11:15:45
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    ...Else loop 1
    ...else loop 2
    ...else loop 4
    ...else loop 5
    ...non_zero_amount
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    ...Else loop 1
    ...else loop 2
    ...else loop 4
    ...else loop 5
    ...non_zero_amount
    Leaving pauoarchn()
    Leaving pauoarchn()
    Current system time is 29-JUL-2009 11:15:48
    ...generated revenue for project id 35, number DP700150.01
    ...about to call pa_billing.bill_ext_driver( 35, 'Revenue', 'REG', '02-Aug-09', 804880 )
    Current system time is 29-JUL-2009 11:15:48
    ...exiting pa_billing.bill_ext_driver( 35, 'Revenue', 'REG', '02-Aug-09', 804880 )
    Current system time is 29-JUL-2009 11:15:49
    List of error messages for project id 35 for Revenue at location REG
    Procedure Name Message B Assgn Id Task Id
    pa_billing_pub.inse Create a default event type for this Bi 1
    Current system time is 29-JUL-2009 11:15:49
    ...generated revenue for automatic events for project id 35, number DP700150.01 calling loc REG
    ...about to call pa_billing.bill_ext_driver( 35, 'Revenue', 'POST-REG', '02-Aug-09', 804880 )
    Current system time is 29-JUL-2009 11:15:49
    ...exiting pa_billing.bill_ext_driver( 35, 'Revenue', 'POST-REG', '02-Aug-09', 804880 )
    Current system time is 29-JUL-2009 11:15:49
    Current system time is 29-JUL-2009 11:15:49
    ...generated revenue for automatic events for project id 35, number DP700150.01 calling loc POST-REG
    ...about to call pa_billing.bill_ext_driver( 35, 'Revenue', 'POST', '02-Aug-09', 804880 )
    Current system time is 29-JUL-2009 11:15:49
    ...exiting pa_billing.bill_ext_driver( 35, 'Revenue', 'POST', '02-Aug-09', 804880 )
    Current system time is 29-JUL-2009 11:15:49
    ...Fetching next project
    Current system time is 29-JUL-2009 11:15:49
    Current system time is 29-JUL-2009 11:15:49
    ...about to call AutoAccounting
    Current system time is 29-JUL-2009 11:15:49
    Current system time is 29-JUL-2009 11:15:49
    Current system time is 29-JUL-2009 11:15:49
    Current system time is 29-JUL-2009 11:15:49
    Warning in Flex Validation for line '35:353:1:1'
    Null GL# 50269 key flexfield is not allowed
    Warning in Flex Validation for line '35:353:2:1'
    Null GL# 50269 key flexfield is not allowed
    Current system time is 29-JUL-2009 11:15:50
    Current system time is 29-JUL-2009 11:15:50
    Current system time is 29-JUL-2009 11:15:50
    Current system time is 29-JUL-2009 11:15:50
    Current system time is 29-JUL-2009 11:15:50
    Current system time is 29-JUL-2009 11:15:50
    Current system time is 29-JUL-2009 11:15:50
    Current system time is 29-JUL-2009 11:15:50
    ...returned from AutoAccounting
    ...about to update pe_expenditures_all for intercompany processing
    Current system time is 29-JUL-2009 11:15:50
    Entering parddl()
    ...setting error codes and bad code combination id to null
    ... Update draft revenues for marking autoaccounting error if any
    Current system time is 29-JUL-2009 11:15:50
    1 rows updated.
    ... Update draft revenues without generation error to normal state
    Current system time is 29-JUL-2009 11:15:50
    0 rows updated.
    ... Update pa_cust_event_rev_dist_lines for setting bad CCID to null
    Current system time is 29-JUL-2009 11:15:50
    0 rows updated.
    ... Update pa_events for marking AutoAccounting error if any
    Current system time is 29-JUL-2009 11:15:50
    0 rows updated.
    ... Update pa_events for setting revenue_distributed_flag to 'N'
    Current system time is 29-JUL-2009 11:15:50
    0 rows updated.
    ... Update pa_cust_rev_dist_lines for setting bad CCID to null
    Current system time is 29-JUL-2009 11:15:50
    0 rows updated.
    ... Update pa_expenditure_items_all for marking AutoAccounting error if any
    Current system time is 29-JUL-2009 11:15:50
    0 rows updated.
    ... Update pa_expenditure_items_all for setting revenue_distributed_flag to 'N'
    Current system time is 29-JUL-2009 11:15:50
    0 rows updated.
    Leaving parddl()
    Current system time is 29-JUL-2009 11:15:50
    Current system time is 29-JUL-2009 11:15:50
    0 rows updated with Generation error due to ccid=-1
    Current system time is 29-JUL-2009 11:15:50
    0 rows updated with Generation error PA_REV_GEN_ERROR
    Current system time is 29-JUL-2009 11:15:50
    ...1 projects processed for revenue generation
    Current system time is 29-JUL-2009 11:15:50
    ...about to update proj summary funding amounts
    executing pa_billing.check_spf_amounts('B',35, , ) Calling check_spf_amounts...Inside the Single projects If
    Current system time is 29-JUL-2009 11:15:50
    ...about to generate reports
    Current system time is 29-JUL-2009 11:15:50
    ...completed generating reports
    Process completed.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 804880      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 29-JUL-2009 11:15:50
    ---------------------------------------------------------------------------

    Hi Dina, thx for your response
    I have error "Rejection Error : Auto Accouting Error"
    There is Output :
    Project Num Revenue(Credited) Customer Agreement Rejection Reason
    DP700150.01 1 NOKIA SI( 1058) PKS-01/NSN/09 AutoAccounting Error

Maybe you are looking for

  • Pi 7.1 Installation Hetrogeneous System

    Hi All, Installed PI 7.1 on hetrogeneous landscape. DB on Linux and SCS on Windows. Now trying to install PI Primary Application servr on Windows but geting error when providing Java Based Software Components. This is the log in sapinst dir =========

  • Text is hard to read in PDFs

    I can't figure out why my indesign files are difficult to read as PDF's... I really could use a lesson on typography. I know there are vector fonts... I am using Arial. Is this the problem? It looks blurry. Could it be that my text is white, and back

  • BEx Analyzer : missing Selection screen for NON- SAP_ALL User

    we have upgrade our BW from 3.1 to BI 7.0. Now we are testing and detect that Queries which are started by User who has user specific roles (not SAP_ALL like we as developer) this Selection Screen is missing. This leads to a complete selection of all

  • How to convert data when transferring from one table to another

    I have two tables and these are the structure of the tables create table E1( ID NUMBER ,NAME VARCHAR2(30) , DESIGNATION VARCHAR2(30) ,GENDER VARCHAR2(10)); create table E2( ID NUMBER ,NAME VARCHAR2(30) , DESIGNATION VARCHAR2(3) ,GENDER NUMBER); Now I

  • The apps on one of my pages have frozen how can I 'unfreeze'them?

    The apps on one of my pages have frozen and four of them have moved to the next page and also frozen how do I 'un freeze' them?