Monday, July 28, 2014

Subledger Accounting Query to download all SLA Setups - for your BR-100 documentation

Here is a SQL that can be used to download all the information on the Subledger Accounting Setups from Application Accounting Definition to Account Derivation Rule




-- This SQL will pull all the details of Application Accounting Definition all the way from AAD name to ADR (Account Derivation Rule).
-- Two of the Oracle Forms are captured in this query


SELECT distinct A.PRODUCT_RULE_CODE     AAD,
                A.EVENT_CLASS_CODE      Event_Class,
                A.EVENT_TYPE_CODE       Event_Type,
                A.HEADER_DESC_NAME,
                B.line_definition_code  JLD_Code,
                B.Line_definition_name  JLD_Name,
                B.line_definition_desc  JLD_Desc,
                A.HEADER_DESC_TYPE_DSP,
                T.line_definition_code  JLD_CODE,
                T.accounting_line_name  Journal_Line_Type,
                T.description_name      Journal_Line_Description,
                T.accounting_line_code,
                N.segment_rule_name     ADR_NAME,
                N.segment_rule_code     ADR_CODE,
                N.segment_rule_owner,
                N.segment_rule_desc     ADR_DESCRIPTION,
                N.flexfield_segment_num
  FROM apps.xla_prod_header_desc_fvl     A,
              apps.xla_aad_line_defn_assgns_f_v B,
              apps.xla_line_defn_jlt_assgns_f_v T, -- To get all the details of Journal Line Type
              apps.xla_line_defn_adr_assgns_f_v N -- To get all the details of ADR
 WHERE (A.APPLICATION_ID = 140) -- Application_id from FND_APPLICATION.
   and (A.AMB_CONTEXT_CODE = 'DEFAULT')
   and (A.PRODUCT_RULE_TYPE_CODE = 'C')
  -- and (A.PRODUCT_RULE_CODE LIKE 'XXFA_ASSET_AAD')-- If you want Product rule code --specific, write the name here
  -- and (A.ENTITY_CODE = 'TRANSACTIONS') -- IF you want to use the query for just a --particular entity,
   and A.product_rule_code = B.product_rule_code
   and A.application_id = B.application_id
   and A.amb_context_code = B.amb_context_code
   and A.event_class_code = B.event_class_code
   and A.event_type_code = B.event_type_code
   and T.application_id = 140 -- Application_id from FND_APPLICATION.
   and T.application_id = B.application_id
   and T.event_class_code = A.event_class_code
   and B.line_definition_code = T.line_definition_code
   and B.event_class_code = T.event_class_code
   and B.line_definition_code = T.line_definition_code
   and B.event_type_code = T.event_type_code
   and T.event_Class_code = N.event_Class_code
   and T.line_definition_code = N.line_definition_code
   and T.application_id = N.application_id
   and T.line_definition_code = N.line_definition_code
   and T.event_type_code = N.event_type_code
   and N.accounting_line_code = T.accounting_line_code
 order by 2, 3, 5, 10, 11, 16;


71 comments:

  1. Hi friends, This is Murali from Chennai. I am a technology freak. Your technical information is really useful for me. Keep update your blog.
    Regards..
    Oracle Training

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. This comment has been removed by a blog administrator.

    ReplyDelete
  6. This comment has been removed by a blog administrator.

    ReplyDelete
  7. This comment has been removed by a blog administrator.

    ReplyDelete
  8. This comment has been removed by a blog administrator.

    ReplyDelete
  9. This comment has been removed by a blog administrator.

    ReplyDelete
  10. This comment has been removed by a blog administrator.

    ReplyDelete
  11. This comment has been removed by a blog administrator.

    ReplyDelete
  12. This comment has been removed by a blog administrator.

    ReplyDelete
  13. Really this is very nice blog and great article to post in this web sites this is readable learning article in informative blog! safety officer courses in chennai|Industrial safety engineering course in chennai|diploma in fire and safety courses in chennai|Iosh ms course training in chennai|nebosh courses in Tamil nadu keep post this blog this very nice blog!

    ReplyDelete
  14. This comment has been removed by a blog administrator.

    ReplyDelete
  15. very interesting article I feel very enthusiastic while reading and the information
    provided in this article is so useful for me. Content in this article guides in clarifying some of my doubts.
    For more information please follow us at: oracle fusion

    ReplyDelete
  16. Wow! That's really great information guys.I know lot of new things here. Really great contribution.Thank you ...


    Weblogic Application Server training

    ReplyDelete
  17. I very much enjoyed this article. Nice article thanks for given this information. I hope it useful to many People. Oracle Financials Training in Chennai

    ReplyDelete
  18. The information you provided in the article is useful and beneficial US Medical Residency Really Thankful For the blogger providing such a great information. Thank you. Have a Nice Day.

    ReplyDelete
  19. This Blog Provides Very Useful and Important Information. I just Want to share this blog with my friends and family members. Tibco Certification Training

    ReplyDelete
  20. Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. Oracle R12 Financials Training in Hyderabad

    ReplyDelete
  21. Nice way of expressing your ideas with us.
    thanks for sharing with us and please add more information's.
    vmware Training Institutes in Vadapalani
    vmware Training courses near me
    vmware Training in chennai

    ReplyDelete
  22. Thanks For The Informative Stuff......

    JNTU 99

    ReplyDelete
  23. You are doing a great job. I would like to appreciate your work
    Regards
    Machine Learning Training

    ReplyDelete
  24. This comment has been removed by the author.

    ReplyDelete
  25. Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goals.
    Java Training in Chennai | Best Java Training in Chennai
    C C++ Training in Chennai | Best C C++ Training in Chennai

    Web Designing Training in Chennai | Best Web Designing Training in Chennai

    ReplyDelete
  26. This comment has been removed by the author.

    ReplyDelete
  27. Oracle apps and Fusion Self Paced Training Videos by Industry Experts. Please visit Oracle Apps and Fusion School https://oracleappsfusion.teachable.com

    ReplyDelete
  28. This information really amazing thanks for share this article thank you..

    tamilrockers malayalam

    ReplyDelete
  29. This comment has been removed by the author.

    ReplyDelete
  30. This comment has been removed by the author.

    ReplyDelete
  31. This comment has been removed by the author.

    ReplyDelete
  32. This comment has been removed by the author.

    ReplyDelete
  33. Escape 12 Angler kayak is specifically designed for fishing and enjoying the hot summer in the nature.

    Intex Explorer K2

    ReplyDelete
  34. You can't imagine what I am going to tell you. Our institution is offering you a CS executive classes and a free of cost CSEET classes and many more to explore. So please contact us or visit our website at https://uniqueacademyforcommerce.com/

    ReplyDelete
  35. Consequently clients will actually want to discover their preferred articles handily dependent on the classifications they like. Salesforce training with placement in Noida

    ReplyDelete
  36. The RMB TO USD Converter Is Updated Every 15 Minutes. You Can Set It To Alert You Whenever The Rate Changes.

    ReplyDelete
  37. Set An Alert For RMB TO USD To Receive An Email When The Exchange Rate Changes. Alternatively, Bookmark The Page And Check Back Here Regularly.

    ReplyDelete
  38. Grab the best AWS Training in Chennai from Infycle Technologies, the best software training institute, and Placement center in Chennai. We also provide technical courses like Power BI, Cyber Security, Graphic Design and Animation, Block Security, Java, Oracle, Python etc. For free demo class and enquiry call 7504633633.

    ReplyDelete

  39. This piece of article is amazing. I would also like the world to know about a company which gives best quality logistics service ,ie is AFM Logistics Pvt Ltd is an international freight forwarding and customs clearing company established in Delhi. The company was constituted in 2012 and is indulged in providing complete logistics solution. The company has its own setup and wide network of agents throughout the world. International Logistics Companies In India . They are the best air cargo and ocean freight forwarding company in Delhi, India. AFM Logistics Pvt Ltd has been working as Import and Export Agent in India since 2012. They have been providing personal baggage shipping services in India for a very long time.

    ReplyDelete
  40. This comment has been removed by the author.

    ReplyDelete
  41. I very much enjoyed this article. Nice article thanks for given this information.
    Jewellery Billing Software
    Jewellery Billing Software

    ReplyDelete
  42. Excellent information with unique content and it is very useful to know about the information based on blogs.
    Jewellery ERP Software UAE
    Jewellery ERP Software UAE

    ReplyDelete