Cross Validation Rules in Oracle Apps - Oracle Apps Knowledge Sharing
Cross Validation Rules in Oracle Apps - Oracle Apps Knowledge Sharing
Cross Validation Rules in Oracle Apps - Oracle Apps Knowledge Sharing
Oracle Apps Knowledge Sharing
API's AP AOL AR CE IBY GL SLA INV PO OM OPM TCA SOA WF Scripts Alerts IQ PLSQL SQL
Custom Search Search
powered by
Twitter Facebook RSS Email
Cross Validation Rules in Oracle Apps Follow by Email
Email address... Submit
In
this
post,
Stay Connected
I
Follow @shareoracleapps 44 followers
gave
the
detai
Follow 116 people are following shareoracleapps.com
ls Be the first of your friends.
abou
t the
4
Cros
s
Valid Followers
ation
Rule
Followers (159) Next
s in
Question and answer format. I believe it will be useful for my audience.
1. What is Cross Validation Rules?
CrossValidation rules define whether segment values of a particular segment can be combined with other segment values of another
particular segment when new combinations are created. In other words, cross validation rules prevents the creation of invalid code
combinations. It is applicable for Key Flexfields only.
Follow
2. Illustrate the appropriated need for CrossValidation rules with example?
Let us take Accounting Flexfield for our example, we can use cross validation rules for achieving the below business requirements Modules
1. To ensure all balance sheet accounts to be associated only with the balance sheet cost center or corporate cost center
Accounting (6) AP (54) API's (153) AR (55)
2. To ensure that profit and loss accounts to be associated with specific cost centers other than corporate cost center. Cash Management (22) DBA (4) DBMS_UTILITY (1)
3. To restrict data entry of cost centers that is not legitimate for a specific company. DBMS_XSLPROCESSOR (2) EDI (1) ETEXT Templates (5)
Fixed Assets (3) FND (65) Forms Personalization (4)
Human Resources (HR) (2) Interview Questions (17)
Inventory (26) iSuppliers (1) JAVA (1) Oracle (50)
3. A user trying to violate the cross validation rules while data entry, what happens and what are the possibilities?
The user will receive an error message given as part of the cross validation rules definition. Oracle Alerts (3) Oracle apps (342) Oracle
Oracle General Ledger (19)
EBusiness Tax (2)
The error messages can be made very informative and tell the user exactly what is wrong with the flexfield combination.
Oracle Payments (15) Oracle Process Manufacturing (1)
The invalid segment can also be highlighted. Oracle Purchasing (6) Order Management (44)
PLSQL (23) PLSQL Tuning Examples (1) REUSABLE
CODE (6) Scripts (67) Shell Scripts (5) SOA (12)
SQL (22) SQL TUTORIAL (16) Sub Ledger
Accounting (7) Supplier API's (9) TCA (35) Workflow
4. What Cross Validation Rules are made up of?
(5) XML Publisher (9)
A cross validation rules is composed of one or more cross validation rules elements. There are two types of rule elements and they are
“Include” and “Exclude”. Each cross validation rule must have at least one include rule element because cross validation rules exclude all
Popular Posts
the values unless they are specifically included via rule element. Exclude rule elements override include rule element.
5. What is Oracle recommendation regarding rule elements definition? FND_REQUEST.SUBMIT_REQUEST in R12
We can accomplish our business requirement either by including specific ranges explicitly or by including all possible ranges and exclude
the specific ranges. But the Oracle recommendation is Query to find Supplier and their Bank Details in
“One Include Rule Element which encompasses all possible values with several exclude cross validation rule elements” R12
6. How do you define an allencompassing include crossvalidation rule element? OE_ORDER_HEADERS_ALL Description and Its
An allencompassing include for numeric segments is “O” through “9”, while for alpha numeric segments it is from “ O” through “Z”. For Column Details
Example, if our flexfield has three segments with First segment of two Numbers, Second of four characters and third segment of six
characters then the all encompassing include is 000000000000 through 99ZZZZZZZZZZ. WSH_DELIVERY_DETAILS.RELEASED_STATU
S ( Pick Release Status)
7. What will be a blank value do in a cross validation rule element?
http://www.shareoracleapps.com/2011/02/crossvalidationrulesinoracleapps.html 1/4
5/27/2017 Cross Validation Rules in Oracle Apps ~ Oracle Apps Knowledge Sharing
While defining the rule element, leaving the segment blank includes all possible values
API to find AP INVOICE Status
(AP_INVOICES_PKG.GET_APPROVAL_STATUS
8. What is the use of error segment and error message?
)
While defining a cross validation rule, we need to enter a mandatory error message that will appear if an enabled cross validation rule is
being violated. Next we can choose to enter an error segment and an effective date range. The error segment will be highlighted if this
How to find Order types in R12 (Script for Order
particular cross validation rule is violated.
types)
9. What is the difference between disabling a cross validation rule vs deleting it?
API to Create Supplier in Oracle Apps R12
The difference is when we think about reusing the cross validation rules i.e. deleted cross validation rule needs a redefinition while
(ap_vendor_pub_pkg.create_vendor)
disabled cross validation doesn’t need a redefinition just a tick in check box is enough to re enable it.
Query to fetch Legal Entity, Business group
10. Whether a single flexfield structure can have multiple cross validation rules?
details in Oracle Apps R12
Yes
per_business_groups,xle_firstparty_information_
v
11. What is the need for multiple cross validation rules?
Even though we can achieve cross validation across more than one segment via single cross validation rule, it is advisable to go for
API to initiate the validation of AP invoice
multiple cross validation rules so that a clear error message and error segment can be highlighted to the user which directly point to the
(AP_APPROVAL_PKG.BATCH_APPROVAL)
specific issue. Moreover, using multiple simple cross validation rules is better than single complex cross validation rule.
Supplier and Bank Info in R12
12. When a combination is valid for a flexfield structure which has multiple cross validation rules?
Combination is valid only if they are in at least one include rule element and outside of all exclude elements.
Ads by Google
13. What is the navigation to define a cross validation?
Responsibility: General Ledger Vision Operations
Business Rules
Navigation: Setup : Financial : Flexfield : Key : Rules
Oracle Training
Translate
Select Language ▼
Blog Archive
► 2017 (3)
Do you think this Article is useful?
Like Be the first of your friends to like this. ► 2016 (6)
► 2015 (26)
► 2014 (10)
► 2013 (13)
► 2012 (30)
1 Responses to “Cross Validation Rules in Oracle Apps”
▼ 2011 (123)
Sridevi Koduru said... December (3)
August 17, 2014 at 11:13 PM
I am Sridevi Koduru, Senior Oracle Apps Trainer at Oracleappstechnical.com With 8 Yrs Exp on Oracle November (2)
Apps and 13 Yrs IT Exp Providing Online Training on Oracle Apps Technical, Oracle Apps Financial
Functional, Oracle Apps SCM, Oracle Apps HRMS, Oracle Financial for Indian Localization, SQL, PL/SQL October (19)
and D2K. I have Provided Training for 500+ Professionals Most of them are Working in Real Time now.
July (1)
Contact for (One to One Personal Online Training) on Oracle Apps Technical, Oracle Apps Financial
Functional, Oracle Apps SCM, Oracle Apps HRMS, Oracle Financial for Indian Localization, SQL, PL/SQL June (7)
and D2K at training@oracleappstechnical.com | sridevikoduru@oracleappstechnical.com | +91
9581017828 | http://www.oracleappstechnical.com May (34)
Linkedin profile http://in.linkedin.com/pub/sridevikoduru/8b/76a/9b8/ March (23)
February (20)
Post a Comment January (14)
► 2010 (211)
► 2009 (2)
http://www.shareoracleapps.com/2011/02/crossvalidationrulesinoracleapps.html 2/4
5/27/2017 Cross Validation Rules in Oracle Apps ~ Oracle Apps Knowledge Sharing
Enter your comment...
Comment as: Select profile...
Publish
Preview
Disclaimer
The ideas, thoughts and concepts expressed here are my own. They, in no way reflect those of my employer or any other
organization/client that I am associated. The articles presented doesn't imply to any particular organization or client and are meant only
for knowledge Sharing purpose. The articles can't be reproduced or copied without the Owner's knowledge or permission.
Share your knowledge!! shareoracleapps.com
Site Stats (Last 30 Days)
Name
3 0 9 2 8
Email *
Message *
Send
All Rights Reserved Oracle Apps Knowledge Sharing | Home by Team Search
Recommended for you
http://www.shareoracleapps.com/2011/02/crossvalidationrulesinoracleapps.html 3/4
5/27/2017 Cross Validation Rules in Oracle Apps ~ Oracle Apps Knowledge Sharing
AddThis
http://www.shareoracleapps.com/2011/02/crossvalidationrulesinoracleapps.html 4/4