Sign Up to our social questions and Answers to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers to ask questions, answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What is Inventory Item Table in Oracle Fusion
The table containing inventory item details in Oracle Fusion is "EGP_SYSTEM_ITEMS_B". It has one composite primary key (INVENTORY_ITEM_ID, ORGANIZATION_ID). and here you can find a sample query to get the most used information about items in Oracle Fusion: Query Inventory Item in Oracle Fusion SELECRead more
The table containing inventory item details in Oracle Fusion is “EGP_SYSTEM_ITEMS_B“. It has one composite primary key (INVENTORY_ITEM_ID, ORGANIZATION_ID). and here you can find a sample query to get the most used information about items in Oracle Fusion:
Query Inventory Item in Oracle Fusion
In the above query, we have one parameter, “:P_INV_ORG_ID” to get the item information in a specific inventory organization.
You can refer to the Oracle doc to know all columns in this table.
Hope this help.
See lessHow to Find Queries Running For More than 5 Minutes
To find the queries running for more than 5 or x of minutes you can try the below query and change the seconds parameter as per your need: Query: SELECT S.USERNAME ,Q.SQL_ID ,ROUND (S.LAST_CALL_ET, 2) TIME_IN_SECONDS ,ROUND (S.LAST_CALL_ET / 60, 2) TIME_IN_MINS ,S.SID ,Q.SQL_TEXT FROM GV$SESSION S,Read more
To find the queries running for more than 5 or x of minutes you can try the below query and change the seconds parameter as per your need:
Query:
Output:
Note: 300 is (5*60). change it as you want to.
See lessQuery to get posted AP invoice in Oracle APPS R12
There is a seeded standard function provided from oracle to identify whether the invoice is posted or not. Which is (AP_INVOICES_PKG.GET_POSTING_STATUS) . This function take the invoice_id parameter and return one of four values: 'Y' - Posted 'N' - Unposted 'S' - Selected 'P' - Partially Posted ThesRead more
There is a seeded standard function provided from oracle to identify whether the invoice is posted or not. Which is (AP_INVOICES_PKG.GET_POSTING_STATUS) .
This function take the invoice_id parameter and return one of four values:
‘Y’ – Posted
‘N’ – Unposted
‘S’ – Selected
‘P’ – Partially Posted
These values is the invoice posting status flag.
Example:
Output:
INVOICE_NUM
————————————————–
INVOICE_POSTING_FLAG
——————————————————————————–
ERS-9163-109073
Y
19879-781
N
ERS-4400-109091
Y
ERS-9164-109093
P
ERS-6970-109094
Y
ERS-6971-109095
See lessY
How to get Column Names from a Table in Oracle
To get the list of columns of a table in Oracle, we use to query the view "USER_TAB_COLUMNS" to get the columns of the tables or views owned by the current user. Or use the other view "USER_TAB_COLS". SELECT table_name ,column_name ,data_type ,data_length ,nullable ,data_default FROM user_tab_columnRead more
To get the list of columns of a table in Oracle, we use to query the view “USER_TAB_COLUMNS” to get the columns of the tables or views owned by the current user. Or use the other view “USER_TAB_COLS“.
in the above query, we selected 7 columns to retrieve the most important information that you might be looking for in table columns which are
Note: you have to specify the table name parameter in uppercase.
Note 2: If you use the above view, you will get all unhidden columns, but if you query the view “USER_TAB_COLS” you will get all columns, including hidden columns.
Another view is “ALL_TAB_COLUMNS” this one is the same as “USER_TAB_COLUMNS” except that the “ALL_TAB_COLUMNS” view has a column called “OWNER” in which you can specify the owner of the table that you want to get its columns list.
See lessAPP-FND-01388: Cannot Read Value For Profile Option FND_DEVELOPER_MODE In Routine &ROUTINE On Asset Workbench
Error Cause: The profile option FND:Developer Mode is set to Yes Solution: Set the profile option FND:Developer Mode to No If the developer mode is on, this verifies numerous coding standards and ensures that you can see detailed error messages for unexpected exceptions. It is not recommended to usRead more
Error Cause:
The profile option FND:Developer Mode is set to Yes
Solution:
Set the profile option FND:Developer Mode to No
If the developer mode is on, this verifies numerous coding standards and ensures that you can see detailed error messages for unexpected exceptions. It is not recommended to use developer mode for a testing environment as all
the code is not compliant to pass the developer mode coding standards.
As reference from Doc ID 1513711.1
See lessWhy do we use bulk collect in Oracle
BULK COLLECT in Oracle PL/SQL: BULK COLLECT in Oracle PL/SQL reduces the round trip between SQL engine and PL/SQL engine and allows SQL engine to fitch a bulk collection of data at once instead of the traditional LOOP statement. We are using the BULK COLLECT clause in the SELECT statement to fitch tRead more
BULK COLLECT in Oracle PL/SQL:
BULK COLLECT in Oracle PL/SQL reduces the round trip between SQL engine and PL/SQL engine and allows SQL engine to fitch a bulk collection of data at once instead of the traditional LOOP statement.
We are using the BULK COLLECT clause in the SELECT statement to fitch the cursor result set in bulk or to populate the records in bulk.
Since the BULK COLLECT fetches a result set or more than one record, the INTO clause must contain a collection variable like Oracle TYPE.
Example:
Output :
In the above script, we used a LIMIT clause to limit fetching the bulk of records to 10 records at a time. This clause is very handful when dealing with a large number of records to avoid running out of memory because the collection type we use is expanding as more records are inserted into it.
Do you find it helpful? Share to spread the knowledge
See lessSearch all columns of the database oracle SQL
To find The tables which contain a particular column name, you can use the following query: SELECT owner, table_name, column_name FROM all_tab_columns WHERE column_name LIKE '%TRANSACTION_QUANTITY%'; The output of this select statement would be: You can get the result from a specific owner schema liRead more
To find The tables which contain a particular column name, you can use the following query:
The output of this select statement would be:
You can get the result from a specific owner schema like ‘INV’ and so on.
You may also be interested in checking my answer to other related questions from here Get Column Name from Table in Oracle
See lessORA-01417: a table may be outer joined to at most one other table
Before Oracle database release 12c, the error ORA-01417 is raised when you have more than one table on the left-hand side of an outer join. To overcome this limit, we can convert the join to an ANSI syntax, e.g.: SELECT * FROM EMPLOYEES E LEFT JOIN DEPARTMENTS D ON (D.DEPARTMENT_ID = E.DEPARTMENT_IDRead more
Before Oracle database release 12c, the error ORA-01417 is raised when you have more than one table on the left-hand side of an outer join. To overcome this limit, we can convert the join to an ANSI syntax, e.g.:
From the 12c version, Oracle has supported having multiple tables on the left-hand side of the join.
See lessCreate Item not showing up in Personalize Table
There are two columns already that may fits your need. START_DATE_ACTIVE Date when the classification becomes active for the supplier END_DATE_ACTIVE Date when the classification becomes inactive for the supplier However, if you need to capture more additional informations in any standard tables, OrRead more
There are two columns already that may fits your need.
START_DATE_ACTIVE
Date when the classification becomes active for the supplier
END_DATE_ACTIVE
Date when the classification becomes inactive for the supplier
However, if you need to capture more additional informations in any standard tables, Oracle recommended to capture those additional information through out a DFF attributes. In this table you have 5 addition attributes to use them. Therefore, Oracle not recommended to add any additional physical columns on any standard table.
See lessOracle SQL Query to Find User Permissions
To check current user permission in oracle execute the following queries: First Query: SELECT * FROM USER_SYS_PRIVS WHERE USERNAME = USER; The result of this query would be: USERNAME PRIVILEGE ADMIN_OPTION HR CREATE VIEW NO HR UNLIMITED TABLESPACE NO HR CREATE DATABASE LINK NO HR CREATE SEQUENCE NORead more
To check current user permission in oracle execute the following queries:
First Query:
The result of this query would be:
Second Query:
Third Query:
hope this help.
See less