Category Archives: Technical
Overview of Requirement
I had a requirement to enable a field in DFF to capture a field called POS Machine. The Field should automatically read from the table value and should be enabled dynamically without user response.
Step 1 : Find the DFF
To check what is the DFF find it by table information. Our data will sit in AR_CASH_RECEIPTS_ALL.
So take the same and query in DFF screen
Application Developer => Flexfield => Descriptive => Register
Query the same with AR_CASH_RECEIPTS_ALL and get the Title that is Receipt Information. This is the exact DFF that we are looking for.
select * from AR_RECEIPT_METHODS
In this the we are taking a RECEIPT_METHOD_ID which is linked to AR_CASH_RECEIPTS_ALL table.
Step : 2 Enter the Reference Field in DFF Register.
Application Developer => Flexfield => Descriptive => Register
Query the Receipt Information in DFF and click on Reference Fields to enter the RECEIPT_METHOD_ID
Step : 3 Enter Reference Field Values
Now go to the DFF screen and enter RGW_FOLDER.RECEIPT_METHOD_ID as with this we will be choosing the value and enter the valid value in the Context Field Values.
So whenever the DFF looks for the value mentioned it will automatically set the DFF in the page.
Step : 4 Testing
Go to Receivables Manager => Receipts => Receipts
Now our requirement is fulfilled as seen in the above screenshot.
Note: We have changed the reference value from RECEIPT_METHOD_ID to RGW_FOLDER.RECEIPT_METHOD_ID as because we were facing the error while reversing the receipt.
Descriptive flex-fields lets you add additional fields to the form in order to track additional information needed by the business that would not be captured by the standard form. Descriptive flex-fields can be context sensitive, where the information your application stores depends on other values your users enter in other parts of the form.
A descriptive flex-field appears on a form as a single–character, unnamed field enclosed in Square Brackets [ ]. Each field or segment in a descriptive flex-field has a prompt and can have a set of valid values.
Descriptive Flex-field Concepts:
Descriptive flex-fields have two different types of segments, global and context–sensitive.
A global segment is a segment that always appears in the descriptive flex-field pop–up window.
A context–sensitive segment is a segment that may or may not appear depending upon what other information is present in your form.
A descriptive flex-field can get context information from either a field somewhere on the form, or from a special field (a context field) inside the descriptive flex-field pop–up window. If the descriptive flex-field derives the context information from a form field (either displayed or hidden from users), that field is called a reference field for the descriptive flex-field.
For Example , Had Taken the Purchase order form and enabled the DFF Field.
Go to Purchasing —>Purchase order–> Purchase Order
To enable DFF Go to
Switch Responsibility to Application Developer.
Define Value Set:
Switch Responsibility to Application Developer–>Flexfield—>Descriptive–>Sets.
Value sets are defined to identify the valid values that are permissible for each segment of the Chart of Accounts.
Then Define the Descriptive FlexField Segments.
Go to Application developer-flexfield–>Descriptive–> Segments
Query with the Application as’ Purchasing’ and Title as ‘PO Headers’
Before Entering you have Uncheck the Freeze Flexfield Definition. Then check the Required context fields.
Then click on the Segments. Enter the Segments which will reflect in the Purchase Order DFF Field
Save it . Then Check the Freeze Descriptive Definition and compile it.
The DFF can be disable by Unfreeze the DFF segments first and Uncheck the Enabled check box of Descriptive Flexfield Segments .After Disabling the DFF Segments Check the Freeze Flexfield Definition and Compile the segment.
Then go to View–> Request–>find. Will see the Concurrent Program” Flexfield View Generator” running. After the Completion of the concurrent Program we can view the DFF in the purchase order form.
Switch resp to Purchasing–>purchase order—> Purchase Order
Uninstall Template Builder
1. Uninstall the Template Builder from the Control Panel->Add or remove programs.
2. Go to C:\Program Files\Oracle and make sure the BI Publisher directory is gone. Delete it if it is still there.
3. Check Add-Ins in Word and make sure the 3 BI Publisher Desktop .dot files do not appear. Delete them if they do. These files are from Template Builder 10g.
The files will usually be here. C:\Documents and Settings\<user name><Application Data\Microsoft\Word\STARTUP
4. Open Windows Explorer and go to “C:\WINDOWS\assembly”.
5. Check if there are assemblies which start with “TB” If present, remove them all.
6. Open MS Word and check that that the BIP tool bar cannot be seen.
If one sees the menu, please move Normal.dot to another directory and try again.
I got the above error and I was checking the report and RTF template both was fine but still I was not able to figure out what went wrong and then checked the Concurrent everything seeemed to be fine. But still I was not able to figure out.
Then while submitting the report I noticed the Layout was not captured. So I checked the name of deployed concurrent short name and Data Definition name and both are correct. Then I checked the style required and then the layout was captured. I compared with the working reports style checked was not there. However this actually Issue raised due to change of Text report to XML report.
When we have problem in XML reports we can check whether XML is correct and layout is correct. We can do that by submitting the report and from diagnostics we can take output of XML and compare.
In development we can generate file to XML and cross verify
In XML Based report when we do have correct XML data and correct RTF Layout still we are facing problem we have to check that deployed concurrent short name and Data Definition name are correct.
Still facing the problem we have check the Concurrent output as XML and also Style is required.
General Checklist in XML Reports when there is no output.
1.XML data and RTF Template
2. Deployed concurrent short name and Data Definition name
3. Data Definition name and Template name in XML Publisher Administrator
3. Concurrent output as XML and also Style is required.
Share your thoughts
To provide Workflow Administrator Access we should have SYSADMIN access.
Step 1: Login as SYSADMIN in oracle Applications
Go to Workflow Administrator Web Applications –> Administration –> Administrator Workflow
Now select the user whom the access has to be given
Test it by going logging in as the user and go to the below path
Workflow Administrator Web Applications –> Administration –> Status monitor
Here you will see your user name is not restricted.
As we have a good advantage in using oracle apps forms that is easy to customize. I had a requirement to create a sequence number in Receipt number on receivables. So I have followed the below steps while customizing I came through a error by which the seeded functionality was overriding. However i have resolved it, check the below steps for more Information.
Step 1 : Create a function or a package with Sequence Number
As I have created a function and my below sql statement will give the sequence number.
select xxhw_Invoice_status.gen_receipt_sequence_number from dual
Step 2 : Note the Block and the Field that we are going to customize.
Step 3 : Go the Personalize form and add the rules as shown in the screenshot.
Step 4 : After adding the rules and condition add the action as shown in the below screenshot
From the above screenshot the sequence will be added to the value of the
Below is the script for Deleting Element Entry in HRMS
lc_element_name pay_element_types_f.element_name%type := ‘Clothing For Official Mission’;
— lc_emp_num varchar2(6) := ‘005746’;
cursor c is select pee.element_entry_id
from per_all_people_f per
where 1=1– per.employee_number = lc_emp_num
and trunc(sysdate) between per.effective_start_date and per.effective_end_date
and paf.person_id = per.person_id
and trunc(sysdate) between paf.effective_start_date and paf.effective_end_date
and pee.assignment_id = paf.assignment_id
and pee.element_type_id = pet.element_type_id
and trunc(sysdate) between pee.effective_start_date and pee.effective_end_date
and petl.element_name = lc_element_name
and petl.language = ‘US’
and pet.element_type_id = petl.element_type_id;
/* Date Track modes
DELETE >> end date element entry
DELETE_NEXT_CHANGE >> delete next changes
FUTURE_CHANGE >> delete future changes
ZAP >> completely remove element entry from the database
for i in c loop
dbms_output.put_line(‘Values are element_entry_id’||i.element_entry_id||’ assignment_id ‘||i.assignment_id);
(p_validate => false
,p_datetrack_delete_mode => ‘DELETE’
,p_effective_date => trunc(sysdate-17)
,p_element_entry_id => i.element_entry_id
,p_object_version_number => i.object_version_number
,p_effective_start_date => ld_effective_start_date
,p_effective_end_date => ld_effective_end_date
,p_delete_warning => lb_delete_warning
when others then