Hi all,
I need to convert the file path in windows say C:\Documents and Settings\Manoj\Desktop for java as C:/Documents and Settings/Manoj/Desktop .
Is there any utility to convert like this.?
Bhagat Nainani and I, Manoj Das, will present a session on Oracle BPM overview and road map on Monday, October 1 2012, from 12:15-1:15 PM at Moscone South - 308.
Since last OpenWorld, many good things have happened. Many customers have gone live with their BPM 11g deployments, some of whom were nominated for the Innovation Awards. From a product perspective, we delivered 11.1.1.6 and 11.1.1.7 is just around the corner. We will discuss some of the highlights related to both customer successes and product features.
In particular, we will present some of the exciting new capabilities that we are introducing in 11.1.1.7 around business analyst driven model-to-execution, more comprehensive unified BPM suite, more flexible and manageable BPM.
Another significant development is the release of Process Accelerators. We have not only released accelerators, we have ourselves deployed and are using them internally. We will talk about accelerators as well as our learnings.
As the title suggests, we will also share some aspects of our roadmap - there are some very exciting things brewing that I can't wait to share with you on Monday.
Hoping to see you on Monday. Again, the session is in Moscone South - 308 from 12:15-1:15. Looking forward to your tweets on the session - remember to use #oraclebpm and #oow. Finally, as always, feel free to ask Bhagat and me any questions you have, during the session as well as after the session.
This blog describes the steps to embed custom OAF region in a workflow notification.1) Create a custom OAF region with parent layout as stackLayout.Based on your requirement assign controller and AM.Following region I am using here for demonstration.Region Name : XXCUSTNotificationRN2) In the workflow create a message attribute.Value: JSP:/OA_HTML/OA.jsp?OAFunc=XXCUST_NOTIFICATION_RN-&audit_id=-&AUDIT_ID-&wfid=-&WF_IDaudit_id and wfid are the parameters I am using inside the OAF region.
Output
This blog describes how to create KFF in OAF Page.Here I am going to demonstrate with standard Job KFF.
I have created a new structure in Job KFF which I am going to use it in my custom OAF page.Please see the below pic.
In the above created structure I have created following segments.You can see the valuesets also.
In the custom page I have created an item with following properties.
In the Segment List property you can give which segments are going to use in the KFF. The syntax for defining it is
KFF Code|Segment1|Segment2|Segment3|Segment4|Segment N
In the table just create a field to hold the code combination.Please click here to see table script.
Code combination will goes into JOB_ID field of the table.
In the processRequest method of the page controller add following code snippet to attach the KFF structure and CCID column to the KFF bean.
Deploy the files belonging to this solution to the server.
Following is the output of the above solution.
If you click on JobId you can see the KFF window.
Code Combination Id has created in the table.
In this blog I will explain how to add a custom DFF in a custom OAF page.I am using XXCUST_DFF_DEMO table to store the DFF values.Also I am using custom DFF named XXCUST_PERSON_DFF.
Following steps needs to be performed to create this solution.
1) Register the custom table in Oracle Application2) Register the DFF3) Define the segments of DFF4) Create BC4J components for OAF and OA Page which holds the DFF
I will explain the steps in detail below.
Register the custom table in Oracle Application
I am using custom DFF here so I have to register the custom table which I am going to capture the values.Please click here to see the table script.
I am using the AD_DD package to register the custom table.Please click here to see the table registration script.
Please verify the table has registered successfully.
Navigation: Application Developer > Application > Database > Table
Table has registered successfully.
Register the DFF
Next step is to register the DFF. Navigate to Application Developer > Flex Field > Descriptive > Register.
Give details as below.
Click on Reference Fields and set the Reference Field as ATTRIBUTE_CATEGORY.
Click on the Columns button to verify that the columns ATTRIBUTE_CATEGORY,ATTRIBUTE1 .... ATTRIBUTE30 are enabled.
DFF has registered successfully.
Define the segments of DFF
Here I am going to define the segments of the DFF.Navigate to Application Developer > Flex Field > Descriptive > Segments.Query for "XXCUST - Person DFF". Uncheck "Freeze Flexfield Definition".
In my DFF the reference field I want to display a value set which has values "Permanent" and "Contractor". So define a value set XXCUST_EMPLOYMENT_TYPE.
Navigation: Application Developer > Flex Field > Descriptive > Validation > Sets
After that assign the values to above created value sets.
Navigation: Application Developer > Flex Field > Descriptive > Validation > Values
Assign XXCUST_EMPLOYMENT_TYPE to Context Field Valueset.
Setup the Context Field Values based on below table.
Context Code
Segments
Global Data Elements
Phone Number
Email
Fax
Contractor
Manager Extension Number
CSP Name
Permanent
Extension Number
Access Card Number
Phone Number,Email and Fax displays always.When user choose Context Value as "Contractor" Manager Extension Number and CSP Name will show.In case of "Permanent" Extension Number and Access Card Number will show.
Assign value set also as follows.
For Global Data Elements following are the segments.
For "Contractor" following are the segments.
For "Permanent" following are the segments.
Check the "Freeze Flexfield Definition" check box and save.Standard concurrent program "Flexfield View Generator" will generate XXCUST_DFF_DEMO_DFV view which we mentioned in the DFF registration step.
Now the DFF has created successfully and ready to use.
Create BC4J components for OAF and OA Page which holds the DFF
Create the BC4J components ( EO,VO and AM) appropriately.Create the page based on the created VO.For DFF create an item of type "flex" with following property.
Note: You cannot create a flex item directly under a messageComponentLayout region, but you can create a messageLayout region under the messageComponentLayout region and add the flex item under the messageLayout region.
In the Segment List property give the segment names which you want to display.The syntax of this is
Global Data Elements|SEGMENT 1|...|SEGMENT N||[Context Code1]|SEGMENT 1|...|SEGMENT N||[Context Code2]|SEGMENT 1|...|SEGMENT N||...
Eg: Global Data Elements|Phone Number|Email|Fax||Contractor|Manager Extension Number|CSP Name||Permanent|Extension Number|Access Card Number
When you change the Context Value corresponding segments will display automatically by PPR in the page.
You can attach partial action to the DFF bean programmatically so that you can identify the action related to DFF.
pageContext.getParameter(EVENT_PARAM) will return "FLEX_CONTEXT_CHANGEDPersonDFF" when you change the DFF Context.
Page is ready and you can test.
When you choose "Contract" following output you can see.
When you choose "Permanent" following output you can see.
Give proper values and press Apply.You can see values populated in the table.
In this blog I will explain how to add a DFF to a existing OAF page through personalization.I am using Supplier Quick Update Page ( /oracle/apps/pos/supplier/webui/SuppSummPG ).
If you want to see how to create DFF please click here.
In this scenario I am using a custom DFF. Following are the details.
Application -> Payables ( Code: SQLAP )Name -> XXCUST_SUPPLIER_DFFTitle -> XXCUST - Supplier DFFTable Name -> AP_SUPPLIERSDFV View name -> XXCUST_SUPPLIER_DFVReference Fields -> ATTRIBUTE_CATEGORY
Following are the Context Field Details.
Prompt -> Supplier TypeValue Set -> XXCUST_SUP_TYPE ( Values : External and Internal )Reference Field -> ATTRIBUTE_CATEGORY
Below table shows the segment details of XXCUST_SUPPLIER_DFF.
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Calibri","sans-serif";
mso-bidi-font-family:"Times New Roman";}
Code
Segments
Column
Value
Set
Global Data Elements
Identification Number
ATTRIBUTE1
15 Characters
External
Type
ATTRIBUTE2
XXCUST_EXT_SUP_TYPE
Values
Domestic
International
Internal
Department
ATTRIBUTE2
15 Characters
Following steps you need to perform to create flex item in the Quick Update page.
1) Click on Personalize Page.In the Personalize Page click on Complete View.
2) Click on Create Item.( Based on where you want to place the DFF choose appropriate layout).
3) Create flex item with following details.
4) If you want to arrange the item in the page click on Reorder.
Following is the output.
In this blog I will explain how to conditionally set property of an item through personalization.Let me discuss using a business scenario.
My customer wants to make Hold from Payment/ All Invoices column readonly when the Operating Unit is UK ( Configured in a lookup XXCUST_EXCLUDED_ORGS ).
Analysis
First thing is we have to find out the page and business components.
Page: /oracle/apps/pos/supplier/webui/QuickUpdatePGView Object: oracle.apps.pos.supplier.server.SitesVO
Solution
Download oracle.apps.pos.supplier.server.SitesVO from $JAVA_TOP to JDEV_USER_HOME/myprojects.Make sure the transfer mode of the file (See below table).
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
File Type
Transfer Mode
.xml
ASCII
.class
Binary
.tar
Binary
.java
ASCII
Since there is no VO attribute available to determine the Site Org against the lookup Org we have to add the logic inside a custom VO attribute. So VO extension is required in this scenario.
Add an attribute "isPymtReadOnlyStr" in the existing query.This column returns 'Y' if there is a match in the lookup otherwise 'N'. Create a transient attribute "isPymtReadOnly" of type BOOLEAN.This will return TRUE if "isPymtReadOnlyStr" is "Y" otherwise FALSE.
The reason behind adding the "isPymtReadOnly" is we are setting the item property as readonly through SPEL.It will recognize only BOOLEAN.But SQL query doesn't support BOOLEAN.So we are building a BOOLEAN attribute from the SQL which will use in the personalization layer to set the item property.
Steps
1) Create a new VO xxcust.oracle.apps.pos.supplier.server.XXCUSTSitesVO which extends from oracle.apps.pos.supplier.server.SitesVO. Make sure the binding style should be same as SitesVO.
Create the XXCUSTSitesVO which same query of SitesVO.Later we will add the new attribute to XXCUSTSitesVO.
At this point of time all the existing VO attributes are of Updatable property as "Always".
Press Finish without creating XXCUSTSitesVORowImpl.java
2) Select the XXCUSTSitesVO from JDeveloper Application Navigator. Modify the query and add the extra column.
3) Create a new transient attribute as follows.
4) Once you modify the query all the existing attributes Updatable property will change to Never.So revert that property back to orginal.
5) Create XXCUSTSitesVORowImpl.java by checking the following check box.
6) Add the following code snippet in XXCUSTSitesVORowImpl.java
7) Create the substitution for SitesVO as follows.
Following entry will get created in current jpx file.
<Substitutes> <Substitute OldName ="oracle.apps.pos.supplier.server.SitesVO" NewName ="xxcust.oracle.apps.pos.supplier.server.XXCUSTSitesVO" /> </Substitutes>
8) Migrate XXCUSTSitesVOImpl.java,XXCUSTSitesVORowImpl.java and XXCUSTSitesVO.xml from desktop to actual instance.
9) Migrate the substitution using jpximporter.
10) Restart the server and verify the substitution has done perfectly.
11) Go to /oracle/apps/pos/supplier/webui/QuickUpdatePG and personalize the page.Set the item read only property to ${oa.SitesVO.IsPymtReadOnly}
12) Click on Apply and in next page click on Return to Application.
Verify your output.
Note: You can remove the substitution using following script.Please click here.
This blog describes the various business events related to concurrent requests.In the concurrent program definition screen we can see the various business events which are attached to concurrent processing.
Following are the actual definition of above business events.
Each event will have following parameters.
Create subscriptions to above business events.Before testing enable profile option 'Concurrent: Business Intelligence Integration Enable' to Yes.
ExampleI have created a scenario.Whenever my concurrent request completes normally I want to send out file as attachment to my mail.So following components I have created.1) Host file deployed on $XXCUST_TOP/bin to send mail.It accepts mail ids,subject and output file.(Code here)2) Concurrent Program to send mail which points to above host file.3) Subscription package to oracle.apps.fnd.concurrent.request.completed.(Code here)Choose a concurrent program which you want to send the out file as attachment.Check Request Completed check box.Submit the program.If it completes normally the business event subscription program will send the out file as attachment to the specified mail id.
This blog describes how to create a PL/SQL based Entity Object.Oracle application has number of APIs and each API will perform numerous number of tasks.We can create PL/SQL based EO which will directly invoke the PL/SQL stored procedure from the EO.
Here I am demonstrating using a standard API FND_USER_PKG.CREATEUSER.This API has x_user_name and x_owner as mandatory parameter.My task is to create a user through OAF page which will accept User Name and Password.
Following steps needs to be performed to achieve the above scenario.
1) Create FndUserEO as follows
Include all the API parameters and WHO columns in the EO.
Make UserName and EncryptedUserPassword ( Here I am not using Encrypted Password. The column name is same as table column so I am keeping the same) column as mandatory.
Generate VO.
2) Edit FndUserEOImpl and add the following
3) Attach FndUserVO to AM
4) Create the UI
5) Deploy following files to middle tier and restart the server.
Entity Object: xxcust.oracle.apps.fnd.user.schema.server.FndUserEO.xml xxcust.oracle.apps.fnd.user.schema.server.FndUserEOImpl.java View Object: xxcust.oracle.apps.fnd.user.server.FndUserVO.xml xxcust.oracle.apps.fnd.user.server.FndUserVOImpl.javaUser Interface: xxcust.oracle.apps.fnd.user.webui.CreateFndUserCO.java xxcust.oracle.apps.fnd.user.webui.CreateFndUserPG.xmlYou can test by giving User Name and Password.
Update Date Track Modes
To maintain employee data effectively Oracle HCM is using a mechanism called date tracking.The main motive behind the date track mode is to maintain past,present and future data effectively.The various update date track modes are:
CORRECTION : Over writes the data. No history will maintain.UPDATE : Keeps the history and new change will effect as of effective dateUPDATE_CHANGE_INSERT : Inserts the record and preserves the futureUPDATE_OVERRIDE : Inserts the record and overrides the future
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
Action: Created Employee # 22 on 01-JAN-2012
The record in PER_ALL_PEOPLE_F is as shown below.
Effective Start Date
Effective End Date
Employee Number
Marital Status
Object Version Number
01-JAN-2012
31-DEC-4712
24
2
Action: Updated record in CORRECTION mode
Effective Start Date
Effective End Date
Employee Number
Marital Status
Object Version Number
01-JAN-2012
31-DEC-4712
24
Single
3
Action: Updated record in UPDATE mode effective 01-JUN-2012 and Marital Status = Married
Effective Start Date
Effective End Date
Employee Number
Marital Status
Object Version Number
01-JAN-2012
31-MAY-2012
24
Single
4
01-JUN-2012
31-DEC-4712
24
Married
5
Action: Updated record in UPDATE mode effective 01-SEP-2012 and Marital Status = Divorced
Effective Start Date
Effective End Date
Employee Number
Marital Status
Object Version Number
01-JAN-2012
31-MAY-2012
24
Single
4
01-JUN-2012
31-AUG-2012
24
Married
6
01-SEP-2012
31-DEC-4712
24
Divorced
7
Action: Updated record in UPDATE_CHANGE_INSERT mode effective 01-MAR-2012 and Marital Status
= Living Together
Effective Start Date
Effective End Date
Employee Number
Marital Status
Object Version Number
01-JAN-2012
29-FEB-2012
24
Single
8
01-MAR-2012
31-MAY-2012
24
Living Together
9
01-JUN-2012
31-AUG-2012
24
Married
6
01-SEP-2012
31-DEC-4712
24
Divorced
7
Action: Updated record in UPDATE_OVERRIDE mode effective 01-AUG-2012 and Marital Status = Divorced
Effective Start Date
Effective End Date
Employee Number
Marital Status
Object Version Number
01-JAN-2012
29-FEB-2012
24
Single
8
01-MAR-2012
31-MAY-2012
24
Living Together
9
01-JUN-2012
31-JUL-2012
24
Married
10
01-AUG-2012
31-DEC-4712
24
Divorced
11
Delete Date Track Modes
The various delete date track modes are
ZAP : wipes all recordsDELETE : Deletes current recordFUTURE_CHANGE : Deletes current and future changes.DELETE_NEXT_CHANGE : Deletes next change
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
Element Entry records are shown below.
Effective Start Date
Effective End Date
Element Entry Id
Object Version Number
01-JAN-2012
12-OCT-2012
129831
3
13-OCT-2012
19-OCT-2012
129831
5
20-OCT-2012
31-DEC-4712
129831
6
Action: Delete record in ZAP mode effective 14-JAN-2012
No rows
Action: Delete record in DELETE mode effective 14-OCT-2012
Effective Start Date
Effective End Date
Element Entry Id
Object Version Number
01-JAN-2012
12-OCT-2012
129831
3
13-OCT-2012
14-OCT-2012
129831
6
Action: Delete record in FUTURE_CHANGE mode effective 14-JAN-2012
Effective Start Date
Effective End Date
Element Entry Id
Object Version Number
01-JAN-2012
31-DEC-4712
129831
4
Action: Delete record in NEXT_CHANGE mode effective 14-JAN-2012
Effective Start Date
Effective End Date
Element Entry Id
Object Version Number
01-JAN-2012
19-OCT-2012
129831
4
20-OCT-2012
31-DEC-4712
129831
6
In this blog I will describe how to Extend Application Module.I will explain this based on my previous blog PL/SQL based EO.
I want to extend FndUserAM to add a procedure to raise a custom business event when the FND_USER has created successfully.
Here I am using a custom business event "xxcust.oracle.apps.demo_event". Please find the code used in Business Event.
TablePackage
Following steps needs to perform.
1) Download all files pertaining to "Entity Object Based on PL/SQL" to JDEV_USER_HOME/myprojects and JDEV_USER_HOME/myclasses.If you want to see the content of source java file decompile it and save it in JDEV_USER_HOME/myprojects.
2) Create XXFndUserAM as follows.
3) Add following method to XXFndUserAMImpl.
import oracle.apps.fnd.framework.OAException; import oracle.apps.fnd.framework.server.OADBTransactionImpl; import oracle.apps.fnd.wf.bes.BusinessEvent; import oracle.apps.fnd.wf.bes.BusinessEventException; import java.sql.Connection;
public void raiseEvent(String userName) { String eventName = "xxcust.oracle.apps.demo_event"; String eventKey = userName; Connection conn = ((OADBTransactionImpl)getOADBTransaction()).getJdbcConnection(); BusinessEvent event = null; try{ event = new BusinessEvent(eventName, eventKey); /* Setting Parameters */ event.setStringProperty("USER_NAME",userName); event.setStringProperty("STATUS","User has created sucessfully"); event.raise(conn); } catch (BusinessEventException e) { throw new OAException("Exception occured when invoking web service - "+e.getMessage()); } getOADBTransaction().commit(); }
4) Create a controller which extends from xxcust.oracle.apps.fnd.user.webui.CreateFndUserCO.Call raiseEvent method from new controller.
5) Create substitution for FndUserAM.
6) Migrate following files to $JAVA_TOP.
xxcustom.oracle.apps.fnd.user.server.FndUserAMImpl.javaxxcustom.oracle.apps.fnd.user.server.XXFndUserAM.xmlxxcustom.oracle.apps.fnd.user.webui.XXCreateFndUserCO.java
8) Migrate the substitution.
9) Restart the server.
10) Personalize the page /xxcust/oracle/apps/fnd/user/webuiCreateFndUserPG and set the new controller.
11) Verify the substitution has properly applied by clicking About the Page.
12) Access the page and create a user.
You can the the result of the Business Event.
This blog tells about how to set dynamic layout of a BI Publisher report.Lets take a simple business scenario.If user wants to view the output in either PDF or EXCEL.Two ways we can achieve this.
1) If the output type is not a program parameter the we can choose the layout type at the time of submission in the SRS window.
2) If the report output type is a parameter we need to choose the layout at the time of submission of the request using FND_REQUEST.ADD_LAYOUT.
Here I am discussing the second approach.Following components I have created for this scenario.
1) XXCUST - Sample Report : This program actually generates the XML data. It is linked with a RTF template.Note: At the time of creating this program you can uncheck Use in SRS to prevent users from submitting from SRS window.Because we are submitting this program from another concurrent program.Also is not required to add it to request group.2) XXCUST - Report Wrapper : This program calls XXCUST - Sample Report and exposed to user through SRS.3) SAMPLE_REPORT_WRAPPER : Executable which calls xxcust_sample_rep.main4) SAMPLE_REPORT_EXE : Executable which calls xxcust_sample_rep.report_main5) XXCUST - Sample Report Data Definition : Data Definition linked to XXCUST - Sample Report6) XXCUST - Sample Report Template : Template linked to XXCUST - Sample Report Data Definition
7) Package
8) RTF
Here I am going to explain Special Value Sets in Oracle Applications.I have a requirement in which I want to execute a BIP report with some parameters.
The first parameter Current Month should allow only MON-YYYY format.Schedule Start Date and Schedule End Date should be with in first parameter month.
Approach 1If the report is through PL/SQL Stored Procedure executable the we can do all the validation in backend.
Approach 2Second approach is through Special Value Sets.This value set has events like Edit,Load and Validate.We can attach PL/SQL code snippet to each event.Here I am going to attach validation routine to Validate event to validate the user input.Validate event fires when the focus leaves from the item.
Here I am going to create two special value sets ( one for first parameter and another for the second and third parameter).
Value Set 1Name : XXCUST_CURRENT_MONTHList Type : List of ValuesFormat Type : CharMaximum Size : 8Validation Type : SpecialEvent : ValidateFunction : XXCUST_CURRENT_MONTH_VALIDATE_ROUTINEValue Set 2Name : XXCUST_DATESList Type : List of ValuesFormat Type : Standard DateValidation Type : SpecialEvent : ValidateFunction : XXCUST_DATES_VALIDATE_ROUTINE
Note: Inside the validate routine I am using FND messages.Generate message file also using "FNDMDGEN apps/password 0 Y US XXCUST DB_TO_RUNTIME".
Attach XXCUST_CURRENT_MONTH to first parameter.Also XXCUST_DATES to second and third parameter.
Note: Since the program is using Special Value Sets it can be submit only through Oracle Forms.Submission through OA Framework and PL/SQL APIs are not recommended.
OutputGive Current Date as 01-2012
Give Schedule Start Date out of current month.
In this blog I will explain how to create a custom KFF.I am using XXCUST_KFF_DEMO table to capture the KFF code combinations.
Following steps needs to perform.
1) Register the XXCUST_KFF_DEMO table.Click here to see the code.
Verify the table has created successfully.
Navigation: Application Developer > Application > Database > Table
2) Register the Key Flexfield.
Navigation : Application Developer > Flexfield > Key Flexfields
3) Define the structure and segments.
Navigation: Application Developer > Flexfield > Key Flexfield Segments
Click on Segments button.
Save the created Information.Check the Allow Dynamic Inserts check box if you want to create the combination from the KFF display window. Once you complete all the changes check the Freeze Flexfield Definition check box.
4) Create a sequence XXCUST_KFF_DEMO_S.
5) Try to create KFF item through OAF or Forms. Here I am using a page based on table XXCUST_KFF_TRN.
You can see the output below.
While creating BI Publisher reports the formatting issues are quite common.Here I am discussing some common issues related to BIP report development.
1) First issue is related to column formatting.When you want to display some data which has leading zeros or trailing zeros after '.' in EXCEL output you will not get the desired output.But in PDF it will come as what you are expecting.This is not with the issue of your data. This is due to the unique nature of EXCEL cell format.When you are trying to put a text data in a cell with out making any change to cell format it will treat as number and it will truncate all leading zeros and all trailing zeros after '.' . So what you have to do is to convert that data into a format which EXCEL can treat as text.
Eg: If you want to display 0020100 convert this data into ="0020100". Same way for 23789.02300 to ="23789.02300". Note: This is applicable to EXCEL output only.If you have multiple output type apply it only for EXCEL.
2) Second is related to report size issue in PDF output type.If the number of columns are more and if you want to show most of the columns in one row andif it is a PDF output you can choose the paper size as Legal (8.5 x 14''). You will get more spaces in the template to accommodate more columns.
3) If your XML data contains special characters like &,<,> etc .. pass the data to DBMS_XMLGEN.CONVERT function.It will replace special characters with corresponding XML notations.
Eg: (a>b) & (c!=d) to (a>b) & (c!=d)
When you are creating BI template through application the RTF template information will stored in XDO_LOBS table.Column LOB_CODE will store the template short code,ie the link between the template and lob.
When you migrate the template through java oracle.apps.xdo.oa.util.XDOLoader make sure the rtf file name and template short code are same.Otherwise the rtf will not get attached.
Eg:
Source Instance
Template Short Code : XXCUST_TEMPLATE
RTF Name: XXCUST_TEMPLATE_1.rtf
When you migrate the above details through XDOLoader the rtf will not get attached to template in destination instance.So make sure RTF Name should be XXCUST_TEMPLATE.
In this blog I will demonstrate how we can enable attachments in Oracle Form. The user ask is to capture a job description which will be along text. Oracle Apps has a feature called attachments, through some easy setup we can enable attachments in forms. We will be going to addresscustomer ask through this feature.
Step 1 : Identify Form Name
First thing you have to do is to identify the form to enable attachment. In this scenario form will be PERWSDJT ( Job form in HRMS ).
Step 2 : Identify Document Entity exists or not. If exists then do nothing otherwise create new.
Step 3 : Create Document Categories.
Here I will create a category Job Description with Default Data Type Long Text and Application Human Resources.Onceit is done I will assign this to Create Job form.
Step: 3 Query Attachment Functions for PERWSDJT. Click on Categories and add Job Description.Make sure enabled check box is checked.
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
Normal
0
false
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
Step 4 : Turn off HR:Use Standard Attachments profile option.
Output
Go to Work Structures > Job > Description
In this blog I will explain how to perform Entity Object ( EO ) Extension.As a prerequisite please read my previous blog.I am doing this exercise based on PL/SQL EO.
Following attributes are part of FndUserEO.
Here I will add a validation to UserName attribute "Length should be > 5".
Following steps need to perform.
1) Download all files of "Entity Object Based on PL/SQL" to JDEV_USER_HOME/myprojects and JDEV_USER_HOME/myclasses.If you want to see the content of source java file decompile it and save it in JDEV_USER_HOME/myprojects.
2) Create new Entity Object XXFndUserEO as follows.
Include all attributes of parent EO.
3) Add the validation code snippet to XXFndUserEOImpl.java as follows.
4) Create the substitution as follows.
5) Migrate files to $JAVA_TOP.
xxcustom.oracle.apps.fnd.user.schema.server.XXFndUserEOImpl.javaxxcustom.oracle.apps.fnd.user.schema.server.XXFndUserEO.xml
6) Migrate the substitution..
7) Bounce the server.
8) Verify the substitution has applied properly.
Access Create User Page and create a User.
You can see the validation message if user name length is less than 5.
Give User Name as XXCUST4 and verify the table.
The FND_USER has created successfully.
I have state and city dropdown list in asp.net 3.5 applicattion .
but i want city as a textbox when i type keyword then autocomplete mode should be occour .
I want to implement it through juery could u please send code for this.
Thanks
Manoj
Hi All,
I want to set up communication between GSM/GPRS modem and a remote server or PC. How to do that? Do we need some application on PC which will communicate to the GSM modem. I want 2 way commuinication. I want to interface GSM/GPRS modem with some microprocessor which has some LCD display. Can anybody help me in this.
Thanks,
Manoj
Hi,
I am very new in Linq, I want to select two coloum of table. so tell me how can i write query for that .
I want to fill dropdown list .
Thanks
Manoj
I am using master page and when i run this page it show error message which is mention below:
a page can have only one server-side form tag
how can i solve or fix this problem.
Manoj
Is there any way to search for a particular string in a column?
I want to search like SELECT * from email_fts WHERE email_fts MATCH 'to:"[email protected]" OR from:"[email protected]"'
Thanks in advance,
Manoj
Hello All,
I want to hide url, like I dont want to write /register.php directly in href tag, I want to write /register/ so It will open the register.php page directly, like that i want to do for all the webpages. Please help me and tell me how to do this.
Thanks,
Manoj