Wednesday, July 15, 2009

Oracle Hardcoded Responsibility_Key in OA Page.

Issue Faced:

Responsibility key hardcoded for complete schedule's destination url for flow execution workstation. Due to which whenever Flow execution workstation is opened from any other responsibility then responsibility key has to be hardcoded for that responsibility.


This was done through Personalization.


Later, we realized if we have 10 responsibility for Flow Execution Workstation, then we have to do 10 personalization which look void to me. So, we want to make this global.


Raised an Oracle SR but no response.

The Property Pallet to define:
Destination URL= form:responsibilityApplicationShortName:responsibilityKey:securityGroupKey:functionName:param1=value1 param2=value2 param3=value3



What Oracle did in OA Page?
form:BOM:FLOW_MANUFACTURING:STANDARD:WIP_WIPTXCFM_SCHEDULED:ORG_ID={@OrganizationId} P_FROM_PCB="Y" P_SCHEDULE_NUMBER=mailto:P_SCHEDULE_NUMBER={@ScheduleNumber}

I have to replace hardcode responsibilitykey to make it global.

Solution Given:
Define a Custom Function and Call it in responsibilityKey.
like fnd_global.resp_name.

Wednesday, July 1, 2009

11i Extending Oracle Applications: OA Framework

Before Learning OA Framework, one should be familar with JAVA Basic Knowledge.
3 Pillars of Java Programming

Encapsulation
Encapsulation in Java is essentially a shield around the object. That shield protects the
object from other objects looking directly into its code.
Inheritance
The ability to extend a class so the new class inherits the behavior and data of its parent while
adding its own differentiating characteristics. Inheritance is often described as an "is-a"
relationship.
Polymorphism
In general terms, "polymorphism" refers to a component's ability to take on many forms.