• Link to Facebook
  • Link to Rss this site
  • Link to Mail
  • Link to Facebook
  • Link to Youtube
Oracle ERP Apps Guide
  • Home
  • About
  • Archives
  • ERP Installation
  • Free Instance
  • Downloads
  • Contact
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
Oracle ERP Apps Guide

About Oracle ERP Apps Guide

This author has not written his bio yet.
But we are proud to say that Oracle ERP Apps Guide contributed 773 entries already.

Entries by Oracle ERP Apps Guide

Apps Technical, ERP, Oracle AOL, Oracle Apps, Scripts, Toad

Registering Custom Table in Apps

To register your custom table under FND. 1. Input is your custom table name. Execute these  4 queries 2. Spool the records3. Execute the spooled records in apps4. Commit; select ‘EXEC ‘||’AD_DD.REGISTER_TABLE(”XXCUST”, ”’||TABLE_NAME||”’,”T”,8,10,90);’ from all_tableswhere table_name = :TABLE_NAME/select ‘EXEC ‘||’AD_DD.REGISTER_COLUMN(”XXCUST”, ”’||TABLE_NAME||”’,”’||COLUMN_NAME||”’,’||COLUMN_ID||’,”’||DATA_TYPE||”’,’||DATA_LENGTH||’,”’||NULLABLE||”’,”N”);’ from all_tab_columnswhere table_name = :TABLE_NAMEORDER BY COLUMN_ID/select ‘EXEC ‘||’AD_DD.REGISTER_PRIMARY_KEY(”XXCUST”,”’||INDEX_NAME||”’,”’||TABLE_NAME||”’,”’||ITYP_NAME||”’,”S”,”Y”,”Y”);’FROM ALL_INDEXESWHERE table_name = :TABLE_NAME and […]

Share this:


  • Share on Facebook (Opens in new window)
    Facebook

  • Share on X (Opens in new window)
    X
March 15, 2012/by Oracle ERP Apps Guide
Apps Technical, ERP, Oracle Apps, Scripts, Toad

Calculating Weekdays between two dates

Create this function: CREATE OR REPLACE FUNCTION totworkdays (fromdate DATE, todate DATE)   RETURN NUMBER IS   totalsundays     NUMBER;   totalsaturdays   NUMBER;begin   totalsundays        := NEXT_DAY (todate – 7, ‘sunday’)           – NEXT_DAY (fromdate – 1, ‘sunday’);   totalsaturdays      :=   NEXT_DAY (todate – 7, ‘saturday’)         – NEXT_DAY (fromdate – 1, ‘saturday’);    RETURN (todate – fromdate – (totalsundays + totalsaturdays) / […]

Share this:


  • Share on Facebook (Opens in new window)
    Facebook

  • Share on X (Opens in new window)
    X
March 15, 2012/by Oracle ERP Apps Guide
Apps Technical, ERP, INV, Oracle Apps, Scripts, Toad

Onhand Quantity at given date

Below is the query that can help in getting onhand quantity at given date. The query inputs the Item ID, organization ID and date. SELECT   SUM (target_qty)       , item_idFROM     (SELECT   moqv.subinventory_code subinv                 , moqv.inventory_item_id item_id                 , SUM (transaction_quantity) target_qty          FROM     mtl_onhand_qty_cost_v moqv          WHERE    moqv.organization_id = :org_id          AND      moqv.inventory_item_id = :item_id          GROUP BY moqv.subinventory_code                 , moqv.inventory_item_id                 […]

Share this:


  • Share on Facebook (Opens in new window)
    Facebook

  • Share on X (Opens in new window)
    X
March 15, 2012/by Oracle ERP Apps Guide
Apps Technical, DBA, ERP, Oracle Apps, Scripts, Toad

Database and Application Information

Below are some of the queries that can be used to get the database and Application information. 1) Get Product Version SELECT product     , VERSION     , statusFROM   product_component_version The other way to get this information is by using following query select * from v$version; 2) Get Applications Version and Patch Information SELECT   SUBSTR (a.application_name, 1, […]

Share this:


  • Share on Facebook (Opens in new window)
    Facebook

  • Share on X (Opens in new window)
    X
March 15, 2012/by Oracle ERP Apps Guide
Apps Technical, ERP, Oracle AOL, Oracle Apps, Scripts, Toad

Which User is Locking the table

Here is another query that can sometime be very useful. This will list the name of user that is locking a table. The object name is taken as an input parameter. SELECT c.owner ,c.object_name ,c.object_type ,fu.user_name locking_fnd_user_name ,fl.start_time locking_fnd_user_login_time ,vs.module ,vs.machine ,vs.osuser ,vlocked.oracle_username ,vs.sid ,vp.pid ,vp.spid AS os_process ,vs.serial# ,vs.status ,vs.saddr ,vs.audsid ,vs.process FROM fnd_logins      […]

Share this:


  • Share on Facebook (Opens in new window)
    Facebook

  • Share on X (Opens in new window)
    X
March 15, 2012/by Oracle ERP Apps Guide
Page 42 of 155«‹4041424344›»

Categories

Archives

Signup for Daily Posts

Search Search
pCloud Lifetime
Popular
  • Oracle E-Business Suite Free Access Practice InstanceFebruary 24, 2011 - 4:38 pm
  • Oracle E-Business Suite 12 Free Vision InstanceJuly 22, 2014 - 4:01 pm
  • HZ tables in Oracle ReceivablesApril 1, 2011 - 11:30 am
  • What is Oracle Apps (ERP) : Basic ConceptsFebruary 17, 2011 - 10:09 pm
  • Attachment in Oracle ApplicationApril 6, 2011 - 6:17 pm
Recent
  • R12 – How to Handle NULL for :$FLEX$.VALUE_SET_NAME...August 25, 2023 - 1:20 pm
  • R12 – How to Delete Oracle AR TransactionsMarch 22, 2019 - 8:37 pm
  • How to Define Custom Key Flexfield (KFF) in R12January 19, 2018 - 5:43 pm
  • AutoLock Box Concepts In R12November 10, 2017 - 8:30 am
  • R12 – java.sql.SQLException: Invalid column type in...September 15, 2017 - 9:39 am
Comments
  • ExoWattsGreat content! Keep up the good work!July 3, 2026 - 2:49 am by ExoWatts
  • venkatnot working this script properly, kindly check and confirm...May 5, 2026 - 6:12 pm by venkat
  • Fernandoclick on the Release 12 vision instance button shown on...March 7, 2025 - 4:59 am by Fernando
  • Robert MugerwaThanks for sharing this information about Oracle OUM and...February 14, 2025 - 10:17 pm by Robert Mugerwa
  • shahIs there any ebs erp vision instances available for Practice...January 14, 2025 - 3:12 pm by shah
Tags

Oracle Useful Sites

  • SQL Reference
  • Oracle eTRM
  • PL/SQL Reference
  • Oracle CSI Support
  • OTN E-Business Suite
  • Oracle AOL Documentation
  • Oracle R12.2 Documentation
  • Oracle SQL/PL SQL Examples
  • Oracle 11i Documentation
  • Oracle R12 Documentation

Recent Comments

  • ExoWatts on R12 – How to Handle NULL for :$FLEX$.VALUE_SET_NAME In Oracle ERP
  • venkat on Performing Back Order on a SO Line using Wsh_Delivery_Pub API
  • Fernando on Oracle E-Business Suite 12 Free Vision Instance
  • Robert Mugerwa on Downloads
  • shah on Oracle E-Business Suite 12 Free Vision Instance
RSS Feed Logo RSS Feed Logo Subscribeto RSS Feed

Latest Posts

  • R12 – How to Handle NULL for :$FLEX$.VALUE_SET_NAME In Oracle ERPAugust 25, 2023 - 1:20 pm
  • R12 – How to Delete Oracle AR TransactionsMarch 22, 2019 - 8:37 pm
  • How to Define Custom Key Flexfield (KFF) in R12January 19, 2018 - 5:43 pm
  • AutoLock Box Concepts In R12November 10, 2017 - 8:30 am
  • R12 – java.sql.SQLException: Invalid column type in OAFSeptember 15, 2017 - 9:39 am
July 2026
S M T W T F S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Aug    
© Copyright 2025 - Oracle ERP Apps Guide | About | Contact | Archives | Privacy Policy
  • Link to Facebook
  • Link to Rss this site
  • Link to Mail
  • Link to Facebook
  • Link to Youtube
Scroll to top Scroll to top Scroll to top
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

Dear visitor,

We get it: Ads are not what you are here for. But these ads helps us keep the lights on, to pay our bills and keep this site up and running to provide unique and rare contents free for everyone with no limits.

Please consider disabling the AdBlocker just while you are browsing our site or putting us on your whitelist. You may not be aware, but any visitor supports our site by just viewing ads. Without you, we could not keep the site up as it is.

Thank you for understanding.

OEAG Team
Close

This site uses cookies and other tracking technologies to assist with navigation and your ability to provide feedback, analyse your use of our services, and provide content from third parties. By continuing to browse the site, you are agreeing to our use of cookies.

Got ItLearn more

Cookie and Privacy Settings



How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.

We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.

We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.

Google Analytics Cookies

These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.

If you do not want that we track your visit to our site you can disable tracking in your browser here:

Other external services

We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Google reCaptcha Settings:

Vimeo and Youtube video embeds:

Other cookies

The following cookies are also needed - You can choose if you want to allow them:

Privacy Policy

You can read about our cookies and privacy settings in detail on our Privacy Policy Page.

Privacy Policy
Accept settingsHide notification only