Monday, March 25, 2019

Oracle XML/BI Publisher Color Code & Color



Code :- <?if:CS_COUNT='1'?><?attribute@incontext:background-color;'#b0e0e6'?><?end if?>

CodeColor
#000000Black
#0C090ANight
#2C3539Gunmetal
#2B1B17Midnight
#34282CCharcoal
#25383CDark Slate Grey
#3B3131Oil
#413839Black Cat
#3D3C3AIridium
#463E3FBlack Eel
#4C4646Black Cow
#504A4BGray Wolf
#565051Vampire Gray
#5C5858Gray Dolphin
#625D5DCarbon Gray
#666362Ash Gray
#6D6968Cloudy Gray
#726E6DSmokey Gray
#736F6EGray
#837E7CGranite
#848482Battleship Gray
#B6B6B4Gray Cloud
#D1D0CEGray Goose
#E5E4E2Platinum
#BCC6CCMetallic Silver
#98AFC7Blue Gray
#6D7B8DLight Slate Gray
#657383Slate Gray
#616D7EJet Gray
#646D7EMist Blue
#566D7EMarble Blue
#737CA1Slate Blue
#4863A0Steel Blue
#2B547EBlue Jay
#2B3856Dark Slate Blue
#151B54Midnight Blue
#000080Navy Blue
#342D7EBlue Whale
#15317ELapis Blue
#151B8DDenim Dark Blue
#0000A0Earth Blue
#0020C2Cobalt Blue
#0041C2Blueberry Blue
#2554C7Sapphire Blue
#1569C7Blue Eyes
#2B60DERoyal Blue
#1F45FCBlue Orchid
#6960ECBlue Lotus
#736AFFLight Slate Blue
#357EC7Windows Blue
#368BC1Glacial Blue Ice
#488AC7Silk Blue
#3090C7Blue Ivy
#659EC7Blue Koi
#87AFC7Columbia Blue
#95B9C7Baby Blue
#728FCELight Steel Blue
#2B65ECOcean Blue
#306EFFBlue Ribbon
#157DECBlue Dress
#1589FFDodger Blue
#6495EDCornflower Blue
#6698FFSky Blue
#38ACECButterfly Blue
#56A5ECIceberg
#5CB3FFCrystal Blue
#3BB9FFDeep Sky Blue
#79BAECDenim Blue
#82CAFALight Sky Blue
#82CAFFDay Sky Blue
#A0CFECJeans Blue
#B7CEECBlue Angel
#B4CFECPastel Blue
#C2DFFFSea Blue
#C6DEFFPowder Blue
#AFDCECCoral Blue
#ADDFFFLight Blue
#BDEDFFRobin Egg Blue
#CFECECPale Blue Lily
#E0FFFFLight Cyan
#EBF4FAWater
#F0F8FFAliceBlue
#F0FFFFAzure
#CCFFFFLight Slate
#93FFE8Light Aquamarine
#9AFEFFElectric Blue
#7FFFD4Aquamarine
#00FFFFCyan or Aqua
#7DFDFETron Blue
#57FEFFBlue Zircon
#8EEBECBlue Lagoon
#50EBECCeleste
#4EE2ECBlue Diamond
#81D8D0Tiffany Blue
#92C7C7Cyan Opaque
#77BFC7Blue Hosta
#78C7C7Northern Lights Blue
#48CCCDMedium Turquoise
#43C6DBTurquoise
#46C7C7Jellyfish
#7BCCB5Blue green
#43BFC7Macaw Blue Green
#3EA99FLight Sea Green
#3B9C9CDark Turquoise
#438D80Sea Turtle Green
#348781Medium Aquamarine
#307D7EGreenish Blue
#5E7D7EGrayish Turquoise
#4C787EBeetle Green
#008080Teal
#4E8975Sea Green
#78866BCamouflage Green
#848b79Sage Green
#617C58Hazel Green
#728C00Venom Green
#667C26Fern Green
#254117Dark Forest Green
#306754Medium Sea Green
#347235Medium Forest Green
#437C17Seaweed Green
#387C44Pine Green
#347C2CJungle Green
#347C17Shamrock Green
#348017Medium Spring Green
#4E9258Forest Green
#6AA121Green Onion
#4AA02CSpring Green
#41A317Lime Green
#3EA055Clover Green
#6CBB3CGreen Snake
#6CC417Alien Green
#4CC417Green Apple
#52D017Yellow Green
#4CC552Kelly Green
#54C571Zombie Green
#99C68EFrog Green
#89C35CGreen Peas
#85BB65Dollar Bill Green
#8BB381Dark Sea Green
#9CB071Iguana Green
#B2C248Avocado Green
#9DC209Pistachio Green
#A1C935Salad Green
#7FE817Hummingbird Green
#59E817Nebula Green
#57E964Stoplight Go Green
#64E986Algae Green
#5EFB6EJade Green
#00FF00Green
#5FFB17Emerald Green
#87F717Lawn Green
#8AFB17Chartreuse
#6AFB92Dragon Green
#98FF98Mint green
#B5EAAAGreen Thumb
#C3FDB8Light Jade
#CCFB5DTea Green
#B1FB17Green Yellow
#BCE954Slime Green
#EDDA74Goldenrod
#EDE275Harvest Gold
#FFE87CSun Yellow
#FFFF00Yellow
#FFF380Corn Yellow
#FFFFC2Parchment
#FFFFCCCream
#FFF8C6Lemon Chiffon
#FFF8DCCornsilk
#F5F5DCBeige
#FBF6D9Blonde
#FAEBD7AntiqueWhite
#F7E7CEChampagne
#FFEBCDBlanchedAlmond
#F3E5ABVanilla
#ECE5B6Tan Brown
#FFE5B4Peach
#FFDB58Mustard
#FFD801Rubber Ducky Yellow
#FDD017Bright Gold
#EAC117Golden brown
#F2BB66Macaroni and Cheese
#FBB917Saffron
#FBB117Beer
#FFA62FCantaloupe
#E9AB17Bee Yellow
#E2A76FBrown Sugar
#DEB887BurlyWood
#FFCBA4Deep Peach
#C9BE62Ginger Brown
#E8A317School Bus Yellow
#EE9A4DSandy Brown
#C8B560Fall Leaf Brown
#D4A017Orange Gold
#C2B280Sand
#C7A317Cookie Brown
#C68E17Caramel
#B5A642Brass
#ADA96EKhaki
#C19A6BCamel brown
#CD7F32Bronze
#C88141Tiger Orange
#C58917Cinnamon
#AF9B60Bullet Shell
#AF7817Dark Goldenrod
#B87333Copper
#966F33Wood
#806517Oak Brown
#827839Moccasin
#827B60Army Brown
#786D5FSandstone
#493D26Mocha
#483C32Taupe
#6F4E37Coffee
#835C3BBrown Bear
#7F5217Red Dirt
#7F462CSepia
#C47451Orange Salmon
#C36241Rust
#C35817Red Fox
#C85A17Chocolate
#CC6600Sedona
#E56717Papaya Orange
#E66C2CHalloween Orange
#F87217Pumpkin Orange
#F87431Construction Cone Orange
#E67451Sunrise Orange
#FF8040Mango Orange
#F88017Dark Orange
#FF7F50Coral
#F88158Basket Ball Orange
#F9966BLight Salmon
#E78A61Tangerine
#E18B6BDark Salmon
#E77471Light Coral
#F75D59Bean Red
#E55451Valentine Red
#E55B3CShocking Orange
#FF0000Red
#FF2400Scarlet
#F62217Ruby Red
#F70D1AFerrari Red
#F62817Fire Engine Red
#E42217Lava Red
#E41B17Love Red
#DC381FGrapefruit
#C34A2CChestnut Red
#C24641Cherry Red
#C04000Mahogany
#C11B17Chilli Pepper
#9F000FCranberry
#990012Red Wine
#8C001ABurgundy
#954535Chestnut
#7E3517Blood Red
#8A4117Sienna
#7E3817Sangria
#800517Firebrick
#810541Maroon
#7D0541Plum Pie
#7E354DVelvet Maroon
#7D0552Plum Velvet
#7F4E52Rosy Finch
#7F5A58Puce
#7F525DDull Purple
#B38481Rosy Brown
#C5908EKhaki Rose
#C48189Pink Bow
#C48793Lipstick Pink
#E8ADAARose
#ECC5C0Rose Gold
#EDC9AFDesert Sand
#FDD7E4Pig Pink
#FCDFFFCotton Candy
#FFDFDDPink Bubble Gum
#FBBBB9Misty Rose
#FAAFBEPink
#FAAFBALight Pink
#F9A7B0Flamingo Pink
#E7A1B0Pink Rose
#E799A3Pink Daisy
#E38AAECadillac Pink
#F778A1Carnation Pink
#E56E94Blush Red
#F660ABHot Pink
#FC6C85Watermelon Pink
#F6358AViolet Red
#F52887Deep Pink
#E45E9DPink Cupcake
#E4287CPink Lemonade
#F535AANeon Pink
#FF00FFMagenta
#E3319DDimorphotheca Magenta
#F433FFBright Neon Pink
#D16587Pale Violet Red
#C25A7CTulip Pink
#CA226BMedium Violet Red
#C12869Rogue Pink
#C12267Burnt Pink
#C25283Bashful Pink
#C12283Dark Carnation Pink
#B93B8FPlum
#7E587EViola Purple
#571B7EPurple Iris
#583759Plum Purple
#4B0082Indigo
#461B7EPurple Monster
#4E387EPurple Haze
#614051Eggplant
#5E5A80Grape
#6A287EPurple Jam
#7D1B7EDark Orchid
#A74AC7Purple Flower
#B048B5Medium Orchid
#6C2DC7Purple Amethyst
#842DCEDark Violet
#8D38C9Violet
#7A5DC7Purple Sage Bush
#7F38ECLovely Purple
#8E35EFPurple
#893BFFAztech Purple
#8467D7Medium Purple
#A23BECJasmine Purple
#B041FFPurple Daffodil
#C45AECTyrian Purple
#9172ECCrocus Purple
#9E7BFFPurple Mimosa
#D462FFHeliotrope Purple
#E238ECCrimson
#C38EC7Purple Dragon
#C8A2C8Lilac
#E6A9ECBlush Pink
#E0B0FFMauve
#C6AEC7Wisteria Purple
#F9B7FFBlossom Pink
#D2B9D3Thistle
#E9CFECPeriwinkle
#EBDDE2Lavender Pinocchio
#E3E4FALavender blue
#FDEEF4Pearl
#FFF5EESeaShell
#FEFCFFMilk White
#FFFFFFWhite

Wednesday, March 20, 2019

Oracle OAF Personalization Profile Options 12.2



• FND: Enable Personalization Workbench

– Yes – Navigates to the personalization workbench
– No – Navigates to the classic page hierarchy



• Personalize Self-Service Defn

– Yes to allow ‘Personalize’ button to appear at the top of the page



• FND: Personalization Region Link Enabled

– Yes to display all the regional links above each region
– Minimal to display key regional links



• Disable Self-Service Personal

– Yes will disable all personalizations at any level



• FND: Diagnostics

– Turns on ‘About this Page’ and ‘Inspect MDS Contents” buttons

• FND: Personalization Document Root Path

– Required to migrate personalizations 
– Set this profile option to a tmp directory with open (777) permissions



• FND: Enable Rich Table Interactions

– Yes to allow users to dynamically resize tables and change column order using mouse 
– Oracle Applications Look and Feel profile option to "Skyros Look and Feel”
  (Not set (null), which implies the Skyros Look and Feel - Oracle's new standard Look-and-Feel for Release 12.2.3+)



• FND: OA:Enable Defaults

– Set to Y or N at the site or responsibility level

– Determines whether default values specified in personalizations are applied to your Pages


IF Personalizations Not Editable  For Seeded OAF Pages


• FND: Personalization Seeding Mode

– Yes to Enalbe
– NULL/No  to Disable


Note :- Sometimes changing profiles through System Administration requires clearing cache ; this is not consistent

Wednesday, March 13, 2019

Unable to Create/Update/Delete/View Value Set Values in Oracle EBS R12.2


Issue :- Update In R12.2
=========================
Value sets do not appear in the List of Values (LOV) in the Values form FNDFFMSV after upgrading to Oracle E-Business Suite 12.2.
Users are not able to insert or update any independent or dependent value set values after the upgrade.


Solution
=================

1. Login as SYSADMIN and navigate to 'User Management' responsibility.

2. Query the user that you want to grant access to all value sets > and grant the following role

                   Role = Flexfield Value Set Security: All privileges
                   Code = UMX|FND_FLEX_VSET_ALL_PRIVS_ROLE

Monday, March 11, 2019

Portable Java JDK on Windows


Prerequisite: Install 7-Zip file archiver :- https://www.7-zip.org/


1. Download the Java 8 SDK for Windows from Oracle. You will get a file named like jdk-8u101-windows-x64.exe.
Url- https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

2. Open the downloaded file with 7-Zip, which will show a a list of files and folders.
 

3. Open folder ‘.rsrc’ (select and double click this folder within 7-Zip).
4. Open folder ‘1033’ (or the folder of greatest size).
 


5. Open folder ‘JAVA_CAB10’ (or the folder of greatest size).
6. Open file ‘111’ (or the folder of greatest size).
 


7. Open file ‘tools.zip’.
8. Extract its contents to a directory where own write permissions, for example: C:\Users\Daniel\Documents\jdk-8u102-x64. To prevent issues, I recommend a directory without spaces.
9. From within this directory, search for all .pack files and extract them using unpack2000.exe command line tool found in the bin subdirectory. Following windows prompt command does the trick when executed from within the extracted directory: for /r %i in (*.pack) do .\bin\unpack200.exe %i %~pi%~ni.jar

How I Did it
============

.\bin\unpack200.exe E:\Vishal\SelfStudy\java\eclipse\jre\lib\ext\localedata.pack  "E:\Vishal\SelfStudy\java\eclipse\jre\lib\ext\localedata.jar"
.\bin\unpack200.exe E:\Vishal\SelfStudy\java\eclipse\jre\lib\charsets.pack  "E:\Vishal\SelfStudy\java\eclipse\jre\lib\charsets.jar"
.\bin\unpack200.exe E:\Vishal\SelfStudy\java\eclipse\jre\lib\javaws.pack  "E:\Vishal\SelfStudy\java\eclipse\jre\lib\javaws.jar"
.\bin\unpack200.exe E:\Vishal\SelfStudy\java\eclipse\jre\lib\deploy.pack  "E:\Vishal\SelfStudy\java\eclipse\jre\lib\deploy.jar"
.\bin\unpack200.exe E:\Vishal\SelfStudy\java\eclipse\jre\lib\jsse.pack  "E:\Vishal\SelfStudy\java\eclipse\jre\lib\jsse.jar"
.\bin\unpack200.exe E:\Vishal\SelfStudy\java\eclipse\jre\lib\rt.pack  "E:\Vishal\SelfStudy\java\eclipse\jre\lib\rt.jar"
.\bin\unpack200.exe E:\Vishal\SelfStudy\java\eclipse\jre\lib\plugin.pack  "E:\Vishal\SelfStudy\java\eclipse\jre\lib\plugin.jar"
.\bin\unpack200.exe E:\Vishal\SelfStudy\java\eclipse\lib\tools.pack  "E:\Vishal\SelfStudy\java\eclipse\lib\tools.jar"



The downloaded .exe file also contains the JDK sources. Navigating through the folders ‘.rsrc’, ‘1033’, ‘JAVA_CAB9’, ‘110’.

Alternate Method
=============================

These scripts can be run as:

jdk-extract path_to_install.exe
or
jdk-extract-pre-7.0.bat path_to_installer.bat


And now on to the actual the code:
File Name :- jdk-extract.bat

@echo off
REM This script will extract JDK tools from installers, without polluting Windows environment.
REM You need the pristine installers from Oracles website to extract all the data
setlocal
SET CWD=%CD%
SET FILE=%~f1
SET DEST=%~dpn1
echo DEST=%DEST% FILE=%FILE% CWD=%CWD%
md %DEST%
REM Used e here instead of x to keep structure flat
7z e -o"%DEST%"  -y "%FILE%" tools.zip
cd "%DEST%"
7z x -y tools.zip
del tools.zip
for /r %%x in (*.pack) do call :unpack2000 "%%x"
cd %CWD%
goto end
:unpack2000
%DEST%\bin\unpack200 -r %1 "%~dpn1.jar"
goto:eof
:end
echo Extracted %FILE% to %DEST%

Sunday, February 24, 2019

Oracle HRMS R12.1 Brief Description

Setup:

1) Define Key Flexfields
2) Define Descriptive Flexfields
3) Administration setups
4) Define Organization Strutures
5) Define Roles
6) Define Grade Information
7) Define Payroll Information
8) Define Compensation and Benefits
9) Salary Administration
10) Element Sets
11) Person Types and Assignments Statues
12) Special Peronal Information
13) Recruitment
14) Methods of Measurement and Creation Competencies
15) Comptence Recruitments
16) Qualification Types and Educational Details/Establishments
17) Assessement and Appraisal
18) Absence Management/ Accurals of Paid Time off(PTO)
19) Human Resource Budgets
20) Evaluation Systems
21) Requirements Matching
22) Career and succession planning
23) Define Reports and Generate Standard letters
24) Define user security
25) Define Audit Requirements
26) Self Service Implementation


Key Flexfields
================================
1) Specify Key Flexfields Strutures for Business Group
2) Define Job Flexfield **
3) Define Position Flexfield **
4) Define Grade Flexfield
5) Define People Group Flexfield (For special grouping of employees)
6) Define Cost Allocation Flexfield (Payroll to Gl transfer)
7) Define Personal Analysis Flexfield (For Special information Types)

Administration Setup
========================================
Enable Currencies:
Create "View All" User. Responsiblility Name : US HRMS Super Manager.
Run Grant Permission to roles process (ROLEGEN)
Define QuickCode Values (Lookup Values)

Define Organization Strutures
======================================

Define Locations

Navigation :- HRMS Manager :-> Work Structure :->  Organization :-> Description

Define Business Group
Create a "View All" Access to the Business Group by setting up "HR:Security" Profile value to the default businesss group.
Create Organization and enter the appropriate classification
  - HR Organization for employee assignment orgs
  - Enter defalt Work Schedule details
Use the Organizaton Hierarchy form to define Org hierarchy.

In the Buniness group we have to specify details :

 - Processing Rule
 - State Tax Rule (Yes/No)
 - Work Day Information(Start Time , End Time , Working Hours, Frequency)

   - Employee Number Generation (Automatic/ Manual)
   - Grade Flexfield Struture
   - Group Flexfield Struture
   - Job Flexfield Struture
   - Costing Flexfield Struture
   - Position Flexfield Struture
   - Competence Flexfield Struture
   - Legislation Code
   - Currency
   - Payslip information (When it will start)
 





Payroll Process
============================
Payroll Run
PrePayments
Payroll Archive
NACHA
Check Writer (XML)
Direct Deposit (XML)
Costing
Costing Details Report (Optional)
Transfer to GL
Payroll Register Report (Optional)


Payrol Building blocks (Elements, Fast Formula)
================================
Elements
=================
Elements are the building blocks for payroll processing. In Oracle every component of your paycheck is an element. Eg regular salary, housing allowance

Navigation :- Total Compensation :->  Basic :-> Element Description

 Fields:- Name , Earning / Dedudication , Recuring/ Non Rerecuring, Priority


Fast Formula
=========================
Oracle payroll gives you complete control over your processing rules and calculations, even the most complex ones. Fast Formula is a powerful
way to module business rules. With Fast Formula, Oracle Payroll's easy-to-learn caluculation feature, you can quickly specify detaied payroll
Calculation using canditional logic and references to any oracle human resources, oracle payroll, and oracle advanced benefits or Oracle time &
labor information.

Payroll Run
=======================
Concurrent Program :Payroll Run/ Payroll Process


Prepayment Method
=======================
This is a mandatory process. This process looks in to the amounts processed for each of the employees and their respective payment methods.
eg: 2000 is divided as 1600 to bank & 400 is given as check etc
Concurrent program : Go to single request and put the process name as PrePayments.

Payment Method Setup
================================

Navigation :- HRMS Manager :->  Payroll :-> Payment Methods

Check Payment / Direct Deposit / Child Deposit (Child Support - Third Party Payment)

- Employer Bank Account Details
- Costing  / Transfer to GL (Check Box)
- Genearal Ledger
- Cost Management


Consolidation Sets
=======================

Navigation :- HRMS Manager :->  Payroll :-> Consolidation (Just give the Consolidatoin Set Name)

Create Payroll
========================

Navigation :- HRMS Manager :->  Payroll :-> Description

Period Type, First Period end date, Number of years, Date Offset(Check, Scheduled Run, Cut Off , Payslip)
Payment Method, Consolidation set
Costing , Suspense Account




Payroll Archive
=======================
This is done through a seed concurrent program. "Payroll Archive". This process populates the data in the payroll archive table.
This enables the check writer and the deposit advices process to pick the data from the archive table to be displayed on the SOE.

NACHA
=======================
This is the process for direct deposit. UK localization supports the BACS and North American Localiazation supports NACHA.
All localization follows a specific payment gateway. This process generates an output file that can be sent to bank and the treasury.
We can transfer the output to the bank via established preferred electronic media.

Direct Deposit(XML)
=======================
This deposit advice prints the payslips.It will have earning & deductions in a more understandable format as a report.

Check Writer (XML)
=======================
To print the check for employee salary. Process Name : "Check Writer"

Costing
=======================
Done based on the Costing flex field. To transfer payroll to GL

Transfer to Gl
=======================

Oracle EBS R12.1 and 12.2 Difference


====================================
Application Front End Difference
====================================


1) New Profile :- Self Service Personal Home Page mode (Framework Simplified)
      Oracle Applications Look and Feel profile option to "Skyros Look and Feel"
   FND: Enable Rich Table Interactions profile option to "True"


2) OAF Admin Personalization Workbench - Redesigned (Easier Page Personalization with visual Design)
  - What You See Is what you get
  - Layered View of Personalization Levels, with Preview of Resulting Page
  - Drag and Drop to Move Page Elements
  - Personalizatoin inclue :
    = Expand Tables/ Add Columns
= Hide/Show Regions
= Reorder Page/ Region Elements
= Change Lables
= Set Default Values
Reordering columns
Resizing columns
Hiding and showing columns
Detaching tables from the base page (except HGrids)
Scroll horizontally if the contents of a table exceeds the browser width
Refresh a table by querying for the latest records
Reset a table back to its original definition

3) Added New Theams

4) Iprocurement  with information discovery
 - Auto-Suggest Catalog Items
 - Show Procurement Activities to Requesters
 - New Supplier Onboarding for non catalog
 - New Supplier Creation for Spoy Buy
 - Simplified Shopping cart

 Purchasing
--------------------------------------
 Automated Grouping of multiple requests to PO
 Validate agreement line amount during Order/Release Submission

 Procurement Contracts

 Content Search and Snippet Review (Search inside pdfs of the contracts)


 Payables
-------------------------------------


 Sending workflow approval notificaions in parallel.
 Invoice validation concurrent program support multiple child
 request based on the Purchase Order matched invoice.

 Profile Name  AP: Maximum lnvoice Validation Child Requests

 Customer and Supplier bank accounts can be created or searched

 on IBAN

====================================
 Database
====================================

 Dual File System
         (3 files for each object from 11.2.0.3)
- File System 1 - Run Edition
- File System 2 - Patch Edition
- FS NE - Non Edition File system
DB
- Run Edition , Patch Edition , Old Edition
 Online Patching

 Mobile compactability


====================================
 Technical
====================================
 Scripts required for 12.2.X custom table development

Table Names must be unique at 29 bytes or less
Column Names must be 28 bytes or less
Editioning View added (# suffix) to the base table.APPS synonyms now point to the Editioning View
Use Synonym to point to Global Temp Table
Materialized Views - Create a Logical View A Materialized View Definition must be stored in an ordinary view called MV_NAME||'#'

1) For new table creations - after creating the table in custom schema execute below script to generate editoning view and synonym for it in APPS schema.

exec AD_ZD_TABLE.UPGRADE('XXCUST','XX_CUST_TBL1');

2) For table alteratuons - after running the DDL run below script to regenerate the editioning view for syncing any table changes.

exec AD_ZD_TABLE.PATCH('XXCUST','XX_CUST_TBL1')

3) Table grants must be done through API to avoid invalids.

exec AD_ZD.GRANT_PRIVS('SELECT','XX_CUST_TBL1','XX_ROLE0')

4) To view objects in all editions..add _ae to the data dictionary views

select * from user_objects_ae;

5) To update seed data tables in Patch edition, execute prepare command.

example:
 exec ad_zd_seed.prepare('WF_MESSAGES');

The prepare will create a edition based storage for the run edition data for which the updates will be made. During cutover, the run time data will be synced using forward/reverse cross edition triggers.

Thursday, January 31, 2019

Oracle OAF :- Default KFF Value



/*  34 */     OAKeyFlexBean kffId = (OAKeyFlexBean)webBean.findIndexedChildRecursive("WriteoffCodeCombination");
/*     */
/*  36 */     kffId.useCodeCombinationLOV(true);
/*  37 */     kffId.setStructureCode(str12);
/*  38 */     kffId.setCCIDAttributeName("WriteoffCodeCombinationId");
/*  39 */     kffId.setRequired("yes");
/*  40 */     kffId.setWidth("170%");
/*  41 */     kffId.addVRule("", "SUMMARY_FLAG", new Message("SQLGL", "GL_NO_PARENT_SEGMENT_ALLOWED"), true, new String[] { "N" });
/*     */   
             /* Todays Changes */
              kffId.processFlex(pageContext);
              int i = kffId.getIndexedChildCount(pageContext.getRenderingContext());
        for (int j = 0; j < i; j++) {
oracle.cabo.ui.UINode uinode =  kffId.getIndexedChild(pageContext.getRenderingContext(), j);
        if ("WriteoffCodeCombination_COMBINATION".equalsIgnoreCase(uinode.getID())) ((OAMessageLovTextInputBean)uinode).setText("541.000.00.00.00.111101.0000.000.0000.0000");
             }