Login
Register

Home

Trainings

Fusion Blog

EBS Blog

Authors

CONTACT US

Prasad Bhogle
  • Register

Oracle Gold Partners, our very popular training packages, training schedule is listed here
Designed by Five Star Rated Oracle Press Authors & Oracle ACE's.

webinar new

Search Courses

Executive Summary

Generally every business has certain processes which are not available in Oracle E-Business suite. Without these processes business cannot function hence implementation team has to build bolt-on applications/custom applications in Oracle Apps instance to support these data needs. Traditionally, most of the Oracle Apps consultants use Common Lookup or Profiles to store this additional information if data needs are small and simple. Common Lookups can be used for mapping activities like Legacy system code gets mapped to Oracle code etc. Profiles can used for user specific/ responsibility specific/ Application specific data needs.

If data needs become complicated the general suggestion is to create a Custom Database Table which will store data in required format and structure. When any new database table comes into technical design of a solution it comes with additional customization needs i.e. to provide front end screen (form) for data manipulation activities, build reports on custom tables and incase of Mass updates additional technical components can be needed for mass loading of data. It is quite possible that these unsupported business processes needed data for certain type of Oracle ERP transactions.

 

This white paper talks about using Oracle Quality Module to avoid any custom tables for additional data needs. This white paper describes the Oracle Quality Modules functional setups, technical details, its unconventional use and a case study.

 

Oracle Quality Brief Description

Oracle Quality is most neglected module in Oracle E-Business Suite. As a part of seeded functionality Quality Module integrates Inventory, Receiving, Order Management, Work in Process, Purchasing, Workflow, Alerts and Application Object Library. Collection plans and collection elements constitute the data collection mechanism of Oracle Quality.

Oracle Quality Functional Setups

Quality Module Components:

Quality Module setups include following components:

  • Collection Element Types: There are various seeded types e.g.
    • Attributes- Used to stored characteristics of any object
    • Variable- Used to numeric measurements
    • Reference Information. There reference to common objects in Oracle Applications like PO,SO, WIP etc.
  • Collection Elements- We can define unlimited number of collection elements, which you can add to collection plans to determine what quality results data will be collected and tracked.
  • Collection Plan Types - This is used to categories collection plans. This is the structure of dataset which needs to be captured for a given type of transaction. The transaction can be Material Transaction, Receiving Transaction, WIP Job creation etc.

 

Quality plans are generally setup for inventory organizations. Quality module can act as repository of all the additional transactional data which is not captured in Module specific Oracle Tables. It is better to setup Collection plans for Item Master Organization though nothing stops us from setting Collection plans for Child Organization. The main reason for setting collection plans for Item Master Organization is we cannot use same collection plan name in different organizations which negates the feature of setting up of collection plans for different child organization.

Before we can collect the data with Oracle Quality, one must define a collection plan. You begin by defining collection elements which define the characteristics of the product, process that you want to record monitor and analyze. The data entry can be validated by static values or SQL statement or creating specifications. These validations come into effect while doing data entry using Quality insert/update screens as well as using plsql APIs like QA_RESULTS_API or Quality Data collection import concurrent program.

Standard setups/seeded plans can be used to collect data during various transaction processing. After performing data manipulations of quality plans we can launch alerts, start workflows, send email notifications through quality plan setup.

Oracle Quality Technical details

Collection elements and collection plans for major part of Quality module setups. Collection elements details can be access view QA_CHARS_V while collection plan details can be accessed using QA_PLAN_CHARS_V. This view gives details of which collection elements are included in a given plan.

All the Quality transaction data is stored in QA_RESULTS table. The data is segregated by Quality Collection Plans. QA_RESULTS table has references to Item, Purchase Order, Sales Order, WIP job, Receiving Transactions etc. Other than reference columns QA_RESULTS table has 100 VARCHAR2 columns from CHARACTER1-CHARACTER100. Based on quality plan definition, these character columns store different data.

When ever a new plan is created, Oracle Applications creates two views automatically with names Q_<plan name>_V and Q_<plan name>_IV. View Q_<plan name>_V is based on QA_RESULTS table while Q_<plan name>_IV is based on QA_RESULTS_INTERFACE table which is used for importing huge data in Quality. QA_RESULTS table stores data for all quality plans and data is segregated by PLAN_ID column. The Character1-100 columns are mapped to quality plan elements based on plan structure. Since Oracle Apps automatically creates respective views for each plan, a developer doesn't have to maintain mapping between Character fields and data elements. View columns have plan element names which are mapped to character1 to 100 columns. Views have only those columns which are present in plan and not all 100 qa_results columns.

For data manipulation activities, Quality module dynamically create form which has labels same as plan element. Quality module provides one form function for Entering new records for a given Quality Plan and one form function for Updating existing data.

Quality Module usage in business processes not available in Oracle E-Business Suite

If you closely take a look at the design or structure of quality module, Collection Elements are similar to the columns in database table and Collection plan is similar to a table structure which has data elements.

Every Oracle E-business Suite implementation project needs some custom tables for storing some master data which cannot be stored using seeded oracle functionality. Instead of creating custom tables, we can define collection elements and collection plans in quality module. Quality module dynamically creates views based on quality plans. Quality module has dynamic forms for data entry and data updates.

E.g. One Quality plan PRODUCT_INFO has two custom elements COLOUR, SIZE and ITEM (Reference element). After creating this plan, two views Q_PRODUCT_INFO_V and Q_PRODUCT_INFO_IV get created with columns COLOUR pointing to CHARACTER1 and SIZE pointing to CHARACTER2 of QA_RESULTS table.

Using Oracle Quality module following things can be achieved:

  • Build Quality Plans (Mostly for Item Master Organization) with structure same as Custom Table
  • During setup enter valid values/SQL statements for each quality plan data element to validate data entry (through API as well as Quality forms)
  • Write custom code which use newly created views related to quality plans Q_<plan name>_V
  • Use APIs like QA_RESULTS_API and QA_VALIDATIONS_API to perform DML operations against QA_RESULTS table which is the repository of all transactional data for quality plans
  • Use forms personalization to display this quality plan data in Oracle Apps seeded screens like Purchase Order screen, Order Entry screen etc wherever needed.

To summarize if we use quality module in this manner, we can avoid building of custom tables which are important for some business logic, data entry screen on these custom tables.

Case Study- Generator Manufacturing Company- Soft Options Customization

Problem Definition:

Generator Company manufactures Alternators/Generators which are needed in Gensets. An alternator has 60 different properties which are accepted as input from Customer thru' Oracle Configurator. These generator properties need to be stored at order line level and finally get printed on final assembly document, machine label and test certificate.

Solution:

  1. Create collection element type - CGT_SOFT_OPTIONS
  2. Create collection sixty elements which represent properties of a Generator e.g. Frame, KVA, KW, Temp_Rise, Winding, Core Length etc.
  3. Create collection elements like SOFT_OPTION_TYPE, CUSTOMER, SERIAL_NO
  4. Create collection plan type -CGT_SOFT_OPTIONS
  5. Create collection plan - SOFT_OPTIONS
  6. Other than 60 properties add following collection elements
    1. SOFT_OPTION_TYPE (Custom element)- This can have values This can have values
      i. SO- Sales Order Related Soft Option data
      ii. PO-Purchase Order Related Soft Option data
      iii. WIP - WIP Job related Soft Option data
      iv. ITEM - Default Item related Soft Option Data
      v. CI - Customer Item related Soft Option Data
    2. Purchase Order Number - Reference Info
    3. Sales Order Number - Reference Info
    4. Sales Order Line - Reference Info
    5. WIP_JOB_NAME (Custom Element)
    6. SO_CUSTOMER_ITEM (Custom Element)
  7. This creates view Q_SOFT_OPTIONS_V which help accessing SOFT_OPTIONS quality plan data.
  8. Custom plsql API which used QA_RESULTS_API and QA_RESULT_VALIDATION_API doing read/write operations of quality data for SOFT_OPTIONS quality plan.
  9. Create forms personalization for screens like Purchase Order, Sales Order, Discrete Jobs, Item master to call Update Quality plan screen to display respective soft options.

For this client, Oracle Apps E-business Suite 11i implementation, Quality Module is used extensively for storing following Quality plan data

Quality Plan Name

Description

SOFT_OPTIONS

Store Machine specific characteristics for a given Item, Sales Order, Purchase Order, WIP Job, Serial No etc

RATING_BOOK_SORT_ORDER

Rating Book Sort order is used in Configurator Extension which store sort order for various Winding, Frame, Core Length Combinations

OPTION_PRICING_PARAMS

Used for Custom Pricing Logic based on Option Classes

OPTION_PRICING_VALUES

Used for Custom Pricing Logic based on Option Classes

CONNECTION_STYLE_SEARCH

Used in Configurator extension to dynamically choose columns as filter based on Connection Style selection

ENDSOUT_WINDING_XREF

Used in Configurator extension and store ENDS_OUT and WINDING cross reference

FRAME_TYPES

Used in Configurator extension and stores Special and Standard Frame Types

 

Conclusion

To conclude this white paper, I would like stress on using Quality Module for any additional data needs which are requirement by business but not provided by Oracle Applications. This helps reduce the development time for building custom tables, related user interfaces (forms and reports). Maintenance becomes easy Quality Module allows addition of new elements dynamically. It provides seeded APIs, Forms, and Reports which are based in Quality Tables. We can enhance monitoring of this quality transaction data by using firing Action Alerts and workflows from Quality Plans.

References:

  1. Oracle Apps E-Business Suite 11.5.10 Documentation Library
  2. Oracle E-Business Manufacturing & Supply Chain Management - Oracle Press

 

Annexure I: Quality Setups Screen Shots

Define Collection Element Types:

Responsibility: Quality
Menu: Setup--> Collection Element Types

Define Collection Elements:

Responsibility: Quality
Menu: Setup --> Collection Elements

Define Collection Elements Values:

Responsibility: Quality
Menu: Setup -->Collection Elements (Value Button)

Define Collection Plan Types

Responsibility: Quality
Menu: Setup -> Collection Plan Types

 

Define Collection Plans

Responsibility: Quality
Menu: Setup ' Collection Plans

Dynamically Created Quality Screen for data entry

Oracle dynamically creates screen for data entry for INSERT/UPDATE/DELETE operations based on collection plan structure

Responsibility: Quality
Menu: Results : Entry->Update Quality Results

 


Prasad Bhogle

Comments   

0 #1 Sreeram 2008-05-08 16:48
Very nice article. We are using this methodology in our project. There is also one more powerful feature in Quality called "Quality Actions" by which we can fire actions like "Send email", "Call PLSQL procedure" etc based on rules. The product is so dynamic that we can almost use it like EBS level programing language. One more feature in 11.5.10 is the result entry in OA Framework pages.

Regards
Sreer am.H
Quote
0 #2 ravi kumar thota 2008-05-10 11:08
Hi,
It is very nice article, many people not aware of Quality module.

We have avoided some customizations using this palns.

My qestion is: can we call the Collection plan - Results window from different modules, this will give more comforness to the user.

-> need not to login to Quality module
-> from the Technical point: it becomes complete customization since it is available in respective modules.

thank s & regards
Ravi Kumar thota
Technical Consultant
Quote
0 #3 PrasadB 2008-05-10 13:20
Hi,

It is possible to call Quality Screens from other modules. Just Create new Form Functions based "Update QA Results Function" with one of the parameter as Collection Plan Name. Then using Forms Personalization s you can call this newly registered form function to display quality data. We are using such personalization s to call Quality Screen from Purchasing, WIP, Order Management and Inventory.

Reg ards,

Prasad Bhogle
Quote
-1 #4 ravi kumar thota 2008-05-11 12:48
Dear Prasad,

Thanks for faast reply.,

but, can you give one example on the same.

thanks in advance

Ravi kumar thota
Quote
0 #5 Abdul Rahman 2008-05-11 15:21
Dear Mr. Prasad Bhogle,
i have to admit this is an Awesome Piece Of Information. My Requirement was to Capture Detail Information For Insurance Claims while Doing the Receiving Transactions.

After the Inspection when some of material is Accepted , and some of the material Gets Rejected, Our Insurance people needed to allot the rejected Material against a lookup code (Valid for insurance, claim lower than premium, Not acceptable for insurance) ( in our case a collection plan ) and enter detail Of Claim Inspection information for the lookup code.
i think i can call a form via personlization at this inspection step and enter details for the lookup code for entering Claim Inspection results.

will research solution. anyways this is Great Info dude.

May Almighty Increase Your Tribe.

Yours lTruly

Abdul Rahman
Quote
0 #6 PrasadB 2008-05-12 22:46
1.Create Record in Quality Table using seeded PLSQL API s for given transaction e.g. PO Creation
2.Logi n as Application Developer and On Form Function entry screen query "QA - View QA Results"
3.Crea te another Form Function Entry based on same form with different function name and parameters as follows:
MODE-' UPDATE' TXN_MODE='-1' ORG_ID='109' SERF_SERVICE_PL AN_NAME='SOFT_O PTION'
Change Quality plan name and Org ID as per your project.
3.Now on PO entry screen Enable action menu using forms personalization
4.Call this newly created Form Function from this new Menu Entry using Personalization you can call this form with parameter called WHERE_CLAUSE='C HARACTER1='||'1 2121' so that you can display specific transaction/PO record.
I hope this helps
Quote
-1 #7 Ninan Issac 2008-10-21 12:19
Are there any APIs for migrating the Collection Plans or Elements from one instance to another. Read something about iSetup but could not figure out
how to do it from start to finish.
Thanks
Nina
Quote
-1 #8 Nainarhussain 2009-05-10 04:35
Hi

I would like to know how to control duplicate entries in enter quality results.

For ex.
In my collection plan i have element called serial number

Same serial can be called in multiple line with multiple status

how to control this duplication of particular element in next line.

Need all your help

Regards
H ussain
Quote
0 #9 dasari.vg 2009-07-07 11:06
Hi,

Can you please know how to import the data to collection plans using plsql?
If import is happening with APIs/
Let me know the API name
Quote
0 #10 Milan Naik 2009-08-07 12:14
Hi there,

I have created collection element using statement, which is used in collection plan. Now I want to use this plan
in creating PAreto charts but not able to do so. Can you help ?
Quote
-1 #11 consultant 2009-10-12 13:31
Hi

I am working on Oracle Quality Plan form (Enter Quality Results,Update Quality Plan) these are oracle standard Quality plan forms. These two forms are called from service contracts authoring form using zoom functionality.I am able to bring this using Zoom functionality.

But according to requirement, I have restrict this form(form has 2 blocks 1.Q_RES_HEAD 2.Q_RES.) second block which has multiple lines displayed in the standard form.

Now I need to restrict this to display one record only.How can we do that.Need to customize standard form.

I tried to do this by changing no of records displayed in Q_RES block

In Q_RES block initiaily it was NO of Records displayed = 9 in standard form

Now I changed to NO of Records displayed =1 in customized form.

But it gave me weird form. all the columns got stacked up on and looks like singe column ,I tried to drag the columns ,i need to get all columns .

Pl suggest me How can I do this.

Pl Urgent
Quote
0 #12 Aditya Mohan Chaturvedi 2010-02-17 05:49
Nice

Can We Mapped sample plan with element level intead of collection plan?

Regards
Aditya
Quote
0 #13 shri1 2010-02-18 06:01
i have a question....... .
why haven't you used specifications for the collection element values....
do you directly prefer collection plans rather than any specifications? ??
Quote
-1 #14 xyz 2010-02-22 00:48
very nice article....
Quote
0 #15 RR 2010-04-07 19:30
Can the existing quality collection data be viewed/queried from receiving screen in Purchasing?
Quote
0 #16 Amin 2010-06-02 06:53
Hi,

This is a very useful article. I have one requirement, wherein in OQM the NCR records should appear in the HTML version instead of Oracle form. Can this be achieved and if yes, How?
Quote
0 #17 Raghavrt 2010-08-16 11:38
Requirement we have is to stop the receiving transaction for zero cost items.
I was successful in defining one and it stops the receiving transaction for zero cost items.
But the issue is the quality Plan pops up for all transactions ( for non zero cost items also)
Any one has suggestions where we can stop the plan from stopping for all transaction and only get triggered for zero cost items?
Quote
0 #18 Aaron987 2010-09-13 08:22
Hey,

Great article - the problem I am facing is that if I create QA plan in the Item Master org,
when I try to zoom into the QA function froma Sales Order or whichever responsibility that does not have org access to the Item Master - then it doesnt work.
I can create it in a different organizations, but not all responsilibitie s have a common inv org.
Any suggestions ? Can we have a QA plan that is shown in all inv orgs somehow?

Will appreciate any comment,
Aaron
Quote
-1 #19 ronak 2010-09-14 05:59
.We have multiple item column set up in the collection plan.If user selects yes, the child plan needs to be entered with the remaining items .once everything is done.the user can view this plan through recieving transcation or from the drop down of collection plan by entering the specification name .this Spec name is generated in the collection plan.

how to do this step PO Inspection plans can represent multiple item numbers for inspection if the field MULTIPLE_ITEMS is equal to ‘YES’ in the collection plan
Quote
0 #20 David 2011-03-15 23:41
Hi! Thanks for the article. Is it possible to access a collection plan across orgs? For e.g. I create a collection plan in org XYZ, will I be able to access it in org ABC? IF possible, how can it be done? And if not possible what is the workaround?

I am on Oracle Apps R12.

Thanks

D avid
Quote
-1 #21 Adeel 2011-06-11 09:15
Hi,
Can any one describe me the standard Alerts provided in Oracle Quality Module & how to setup them?

Awaiting ...

Adeel
Quote
0 #22 Pardha 2011-06-27 11:50
Hi,

Thanks , this is an informatic paper.

i have the requiremnt that the quality results from MFG should check based on the sampling plan. How should i apply sampling plan to the collection plan triggered for the WIP completion transaction.

T hanks for all the valuble information. My mail id:
Quote
-1 #23 Maddina 2011-10-31 07:40
how to restrict entering the results to one line alone... as I tabout from the last element of the my collection plan its going automatically to the Next line i dont want that to happen... only if my users want to enter in the second line they can then select new row... how can we achive this functionaliy in Enter quality Results Screen ....please suggest how its possible .
Quote
0 #24 Shirish Kulkarni 2011-12-23 07:39
Hi Prasad
Is there any API/process/Met hod to delete all recores from qa_result from specific quality plan.
pls reply

Shirish K@Pune
Quote
-1 #25 Nimish 2012-01-12 12:07
Hi Shirish,

There is no API available to delete the data from quality table, however, I had read an Oracle note which suggest you can delete the data from the qa_results table selectively.

T hanks,

Nimish
Quote
0 #26 Shirish Kulkarni 2012-02-22 04:36
Can you pls provide URL of Oracle Note which recomands to delete records directly from QA_results
Quote
0 #27 Manny Silva 2012-08-15 07:34
Hi
I have four fields to enter numeric quality results. Any one of the four fields could have null value. The 5th column I want to display the sum of the four fields.
Please advise!!
Quote
-1 #28 manny 2013-01-28 15:19
Hi,
I need to move daily quailty results from a PC to Oracle Quality Plan Results.
Can anyone give me a example on how this could be done?

Thanks,
Best Regards,
-Manny
Quote
0 #29 R Parikh 2013-04-30 13:39
I am using Oracle Quality module in EBS 11.5.10.2. I have a collection plan where Data_Fields_2 should enabled only if the Data_Field_1 has a valid value otherwise Data_Field_2 should not be enabled. I have tried all diffeent ways using Forms Personalization to achieve this but it did not work. Forms personalization works for this funcationality on the forms of other modules like Purchasing, but it does not work for Quality Module.

Can you suggest any solution for this issue?

Thanks
Quote
-1 #30 Abdulrahman Mohammed 2014-02-12 08:40
Hi Prasad,

Excellent article, very helpful, looking forward to more of your articles.

i was able to close a requirement in half a day :)

excellent, keep it up :)

Abdulrahman Mohammed
Quote
-1 #31 Abdulrahman Mohammed 2014-02-12 08:40
Hi Prasad,

Excellent article, very helpful, looking forward to more of your articles.

i was able to close a requirement in half a day :)

excellent, keep it up :)

Abdulrahman Mohammed
Quote
0 #32 Kumar81 2015-04-18 21:15
Nice Post ..Keep it up:)
Quote
0 #33 Bob84 2015-06-10 07:31
Hi Prasad,

Your post was helpful. We need to create quality collection plan in which if a user 'A' enters data in some fields and provides another user 'B' reference, it will trigger a mail notification alert to that user 'B' to enter data in remaining fields of that collection plan record and save the same. Is there any way we can accomplish the same?
Quote
0 #34 ahmed shafiuddin 2015-09-16 09:48
Hi
I am new to this forum.
I can provide the solution for all Oracle Quality related questions.
Quote
0 #35 ahmed shafiuddin 2015-09-16 10:04
Hi Bob84,

Your issue can easily be accomplished. for sending email notificaiton to User B to enter his part of data.

First You need to create an element either as lookup or free text for user B. You can create an event based alert through alert manager based on the qa_resutls collecton inputs. In alert you can write SQL script to search the null fields where user B is supposed to enter the data. Capture the output variable for rows & email Ids of that users to send the details through email.


to work with above solution You should be familier with Alert Manager.
Quote
0 #36 Suneetha 2015-10-20 12:47
Hi,

This is very nice paper. My client has a requirement where they need a process for capturing quality data without receipt transactions being performed. A link to the custom quality plan will be needed. The link will be in the form of a button or menu option from the Tools. This should allow to go to the quality plan to enter information.

Can someone share some sample code and some thoughts about this requirement.

Thanks,
Suneetha
Quote
0 #37 Find Out More 2022-05-24 20:23
I don't even know how I ended up here, but I thought this post was great.
I don't know who you are but definitely you're going to a famous blogger if you aren't already ;
) Cheers!
Quote

Add comment


Security code
Refresh

Search Trainings

Fully verifiable testimonials

Apps2Fusion - Event List

<<  May 2024  >>
 Mon  Tue  Wed  Thu  Fri  Sat  Sun 
    1  2  3  4  5
  6  7  8  9101112
13141516171819
20212223242526
2728293031  

Enquire For Training

Fusion Training Packages

Get Email Updates


Powered by Google FeedBurner