Friday 16 October 2020

Supplier Interface error tables in Oracle Cloud Fusion.

In this post, I will provide you the list of the Interface tables for the Suppliers import in Oracle cloud fusion and also the corresponding Supplier Interface error table.

The Supplier rejection interface table will provide you the Status of the records and the corresponding rejection reason if there are any errors during the Import Process.

Here is the list of the Supplier Interface tables in the Oracle fusion :

1.  POZ_SUPPLIERS_INT

2. POZ_SUP_ADDRESSES_INT

3. POZ_SUPPLIER_SITES_INT

4. POZ_SITE_ASSIGNMENTS_INT

5. POZ_SUP_CONTACTS_INT

6. POZ_SUP_CONTACT_ADDRESSES_INT

These tables will hold the records to be imported into the Oracle fusion. Each of these tables have either "Status" or "Import_Status" column which provides the status of the records following the import process.

And say if there are any rejections or errors in the Interface records, the "Status" or the "Import_Status" column are updated with the "REJECTED" otherwise it will be updated with the "PROCESSED" status.

Following is the error/rejection table which will hold the error or the rejected reason for the interface records.

             POZ_SUPPLIER_INT_REJECTIONS

How do you link these interface tables with this rejections table ? See below for the connecting these tables.

1. Suppliers Import :


 SELECT psi.vendor_interface_id, psir.reject_lookup_code, psir.attribute

  FROM POZ_SUPPLIERS_INT psi,

       POZ_SUPPLIER_INT_REJECTIONS psir

 WHERE psir.parent_id = psi.vendor_interface_id

   AND psi.status = 'REJECTED' 

   AND psir.parent_table = 'POZ_SUPPLIERS_INT'


2. Suppliers Address Import


 SELECT psai.address_interface_id, psir.reject_lookup_code, psir.attribute

  FROM POZ_SUP_ADDRESSES_INT psai,

       POZ_SUPPLIER_INT_REJECTIONS psir

 WHERE psir.parent_id = psai.address_interface_id

   AND psai.import_status = 'REJECTED' 

   AND psir.parent_table = 'POZ_SUP_ADDRESSES_INT'


3. Suppliers Sites Import


SELECT pssi.vendor_site_interface_id,psir.reject_lookup_code, psir.attribute

  FROM POZ_SUPPLIER_SITES_INT pssi,

       POZ_SUPPLIER_INT_REJECTIONS psir

 WHERE psir.parent_id = pssi.vendor_site_interface_id

   AND pssi.status = 'REJECTED' 

   AND psir.parent_table = 'POZ_SUPPLIER_SITES_INT'


4.Supplier Site Assignment Import


SELECT psai.assignment_interface_id, psir.reject_lookup_code, psir.attribute

  FROM POZ_SITE_ASSIGNMENTS_INT psai,

       POZ_SUPPLIER_INT_REJECTIONS psir

 WHERE psir.parent_id = psai.assignment_interface_id

   AND psai.status = 'REJECTED' 

   AND psir.parent_table = 'POZ_SITE_ASSIGNMENTS_INT'


5. Supplier Contacts Import


SELECT psci.contact_interface_id, psir.reject_lookup_code, psir.attribute

  FROM POZ_SUP_CONTACTS_INT psci,

       POZ_SUPPLIER_INT_REJECTIONS psir

 WHERE psir.parent_id = psci.contact_interface_id

   AND psci.import_status = 'REJECTED' 

   AND psir.parent_table = 'POZ_SUP_CONTACTS_INT'


6. Supplier Contact Address Import

SELECT pscai.contact_address_interface_id,psir.reject_lookup_code, psir.attribute

  FROM POZ_SUP_CONTACT_ADDRESSES_INT pscai,

       POZ_SUPPLIER_INT_REJECTIONS psir

 WHERE psir.parent_id = pscai.contact_address_interface_id

   AND pscai.import_status = 'REJECTED' 

   AND psir.parent_table = 'POZ_SUP_CONTACT_ADDRESSES_INT'

Wednesday 7 October 2020

Tables for the AP Invoice in Oracle fusion

Here are the tables for the AP Invoice in Oracle fusion. This tables will store the details of the Invoice information and related data attributes.

  • AP_INVOICES_ALL
  • AP_INVOICE_LINES_ALL

  • AP_TERMS
  • AP_AWT_GROUPS
  • FUN_ALL_BUSINESS_UNITS_V
  • XLE_ENTITY_PROFILES
  • AP_DISTRIBUTION_SETS_ALL
  • AP_INVOICE_DISTRIBUTIONS_ALL


Other modules related tables list here :

Tables for the PO(Purchase Order) in Oracle fusion

Tables for the Items in Oracle fusion

Tables for the Sales Contracts in Oracle fusion



Tables for the PO Receipts in Oracle fusion

Here are the tables for the PO Receipts in Oracle fusion. This tables will store the details of the  PO Receipts information and related data attributes.

1. RCV_SHIPMENT_HEADERS

2. RCV_SHIPMENT_LINES

3. RCV_TRANSACTIONS

4. PO_HEADERS_ALL

5. PO_LINES_ALL

6. PO_DISTRIBUTIONS_ALL

7. PO_LINE_LOCATIONS

8. INV_LICENSE_PLATE_NUMBERS

9. HR_LOCATIONS

10. INV_ORG_PARAMETERS

11. POZ_SUPPLIERS_V

12. POZ_SUPPLIER_SITES_V

13.WSH_CARRIERS_V

14.EGP_SYSTEM_ITEMS_B

15.HR_OPERATING_UNITS

16. PO_DISTRIBUTIONS_ALL

Other modules related tables list here :

Tables for the PO(Purchase Order) in Oracle fusion

Tables for the Items in Oracle fusion

Tables for the Sales Contracts in Oracle fusion

Tables for the AP Invoice in Oracle fusion





Tuesday 6 October 2020

Tables for the Projects Module in Oracle fusion

Here are the tables for the Project modules in Oracle fusion. This tables will store the details of the  Project information and related data attributes.

1. PJF_PROJECTS_ALL_VL

2. PJF_PROJ_ELEMENTS_B

3. PJF_PROJ_ELEMENTS_TL

4. PJF_PROJECT_CLASSES

5. PJF_CLASS_CODES_VL

6. PJF_CLASS_CATEGORIES_VL

7. PJF_EXP_TYPES_TL

8. PJF_EXP_CATEGORIES_TL

9. PJC_TRANSACTION_CONTROLS

10. PJF_PROJECT_PARTIES

11.PJT_PROJECT_RESOURCE

12.PJT_PRJ_ENTERPRISE_RESOURCE_VL

13. PJT_PROJECT_ROLES_TL

14. PJF_TASKS_V

15. PJC_TRANSACTION_CONTROLS


Other modules related tables list here :

Tables for the PO(Purchase Order) in Oracle fusion

Tables for the Items in Oracle fusion

Tables for the Sales Contracts in Oracle fusion

Tables for the AP Invoice in Oracle fusion









Tables for the PO(Purchase Order) in Oracle fusion

Here are the tables for the PO(Purchase Order) in Oracle fusion. This tables will store the details of the  Purchase Order(PO) information and related tables.

1. PO_HEADERS_ALL

2. PO_LINES_ALL

3. PO_LINE_LOCATIONS_ALL

4. PO_DISTRIBUTIONS_ALL

5. PJF_PROJECTS_ALL_VL

6. WSH_CARRIERS_V

7. EGP_SYSTEM_ITEMS_B

8. GL_CODE_COMBINATIONS


Other modules related tables list here :

Tables for the Projects Module in Oracle fusion

Tables for the Items in Oracle fusion

Tables for the Sales Contracts in Oracle fusion

Tables for the AP Invoice in Oracle fusion



Tables for the Items in Oracle fusion

Here are the Oracle tables for the Items in Oracle fusion. This tables will store the details of the  Items and related Item attribute details.


1. EGP_SYSTEM_ITEMS_VL

2. EGP_SYSTEM_ITEMS_B

3. EGP_ITEM_REVISIONS_B

4. EGP_SYSTEM_ITEMS_TL

5. EGP_ITEM_CLASSES_TL

6. INV_ORG_PARAMETERS

7. INV_ITEM_LOCATIONS

Other modules related tables list here :

Tables for the Projects Module in Oracle fusion

Tables for the PO(Purchase Order) in Oracle fusion

Tables for the Sales Contracts in Oracle fusion

Tables for the AP Invoice in Oracle fusion





Tables for the Sales Contracts in Oracle fusion

Here are the tables for the Contract in Oracle fusion. This tables will store the details of the  Contract information.


1. OKC_K_HEADERS_VL

2. OKC_K_HEADERS_ALL_B

3. OKC_K_HEADERS_TL

4. OKC_CONTRACT_TYPES_TL

5. OKC_CONTRACT_TYPES_B

Other modules related tables list here :

Tables for the Projects Module in Oracle fusion

Tables for the PO(Purchase Order) in Oracle fusion

Tables for the Items in Oracle fusion

Tables for the AP Invoice in Oracle fusion



Monday 5 October 2020

Oracle SQL - Interview Questions

 In this post, we provide the list of Basic SQL Interview questions.


1.       What is the difference between Delete and Truncate command in SQL


2.       What does UNION do? What is the difference between UNION and UNION ALL


3.       Define a synonym, how many types there are, and explain the difference between them.


4.       What is an index? What are diff type of indices?


5.       What’s the advantage of using an index?


6.       Difference between Primary Key and Unique key?


7.       What are different Joins? Explain outer join? how would you write outer join


8.       How to find duplicate rows in a table and then write SQL query to delete them


9.       Write a SQL Query to find second highest salary of Employee


10.   What is difference between Cartesian Join and Cross Join?


11.   What are the default packages provided by oracle


12.   What is group by function and where it is used


13.   What is the diff between Where and Having


14.   What is the use of Aggregate functions in Oracle?


15.   What are user defined data types?


16.   Difference between DECODE and CASE


17.   What is %Rowtype and %Type


18.   Explain the different cursor attributes


19.   Explain different types of cursors


20.   What are the different types of Exceptions?


21.   What is the basic difference between a Procedure and a Function?


22.   What are the modes of parameters in a PL/SQL Procedure?


23.   Explain different types of triggers


24.   Is it possible to use Transaction control Statements such a ROLLBACK or COMMIT in Database Trigger? Why?


25.   Describe the disadvantage of Database Trigger over Stored Procedures? 


26.   What is an Exception? What are types of Exception?


27.   When an exception is triggered in a loop, how do you continue to next iteration?


28.   What is Pragma EXECPTION_INIT? Explain the usage?


29.   How do you define public and private procedure in oracle?


30.   Enlist various types of PL/SQL Exceptions?


31.   Which is the Default Cursor in Oracle PL/SQL?


32.   Why is closing the Cursor required during explicit cursor development?


33.   Explain about SQLERRM and SQLCODE and their importance.


34.   What rules are to be taken care of when doing comparisons using NULL?


35.   What is the Difference between Runtime Errors and Syntax Errors?


36.   What are the different Loop Control Structures used in PL/SQL?


37.   How do you go about tuning your PL/SQL code?


38.   How can we create a table in PL/SQL block and insert records into it


39.   Explain the usage of WHERE CURRENT OF clause in cursors?


40.   What is difference between a Cursor declared in a procedure and Cursor declared in a package specification?


41.   What is Overloading of procedures?


42.   What is the difference between a view and a materialized view?


43.   Name some Oracle's built-in packages?


44.   Explain autonomous transaction


45.   Can COMMIT statement be executed as part of trigger


46.   Explain how to debug PL/SQL program.


47.   How can we read and write files from PL/SQL program?


Friday 2 October 2020

How to create an ESS Job in Oracle fusion for a BIP report

This post provides the details about how to create an ESS job for the Oracle BIP report. Below are the steps mentioned below. 

Before creating the ESS Job, get the details of the Report ID from the Oracle BIP catalogue.

Go to the OTBI catalog. Navigate to the Shared Folders -> Custom -> Required BIP Report.



In this case the path for the Test Report would be from Custom. You need to remove the Shared Folders.

Report ID would be : /Custom/TestFolder/Test Report.xdo

1. Navigate to the "Setup and Maintenance" in Settings Action.





2. Do the global search with the following value 

"Manage Enterprise Scheduler Job Definitions and Job Sets for Financial, Supply Chain Management, and Related Applications"




3. Once in the screen, click on '+' to create a New ESS Job





4. Provide the following details :





    a. Enter the Display Name  : Display Name

    b. Name 

    c. Path 

    d. Description

    e. Job Application Name

    f. Report ID :  Provide the BIP details with the above details.

  5. Enable submission from Scheduled Processes

  6  Enter the Input parameters if any for the BIP report

      Click on '+'




      Enter the Parameter Prompt

      Data Type

      


            


  7. Save and close.

This would create the ESS job, which you can submit it from the Scheduled Process



      

Thursday 1 October 2020

Oracle SQL Query to get the Contract Attachments/Documents Details in Oracle fusion.

Here is the SQL Query to get the Contract Attachments/Documents details in Oracle fusion. This query can be modified accordingly as per the requirements. 

These are the tables, refer here in this post. Oracle Tables for the Contract Attachment Documents

SELECT oha.contract_number,

       oha.cognomen,

       fad.document_id,

       fdv.file_name

  FROM fnd_attached_documents fad,

       fnd_documents_vl fdv,

       okc_k_headers_vl oha

 WHERE fad.entity_name = 'OKC_SUPPORTING_DOCS'

   AND fad.document_id = fdv.document_id

   AND fad.pk1_value = oha.id

  ORDER BY oha.contract_number






Tables for the Contract Documents/Attachments in Oracle fusion

Here are the tables for the Contract Documents/Attachments in Oracle fusion. This tables will store the primary and secondary Contract attachments/documents. 

1.  FND_ATTACHED_DOCUMENTS 

2.  FND_DOCUMENTS_VL 

3.  FND_DOCUMENT_ENTITIES_VL 

4. FND_DOCUMENT_CATEGORIES_VL