Category Archives: oracle apps
I here take example of Payslip where users requirement wants to hide the link in the concurrent program which tells the User ID of the Program. However there are many scenarios and situations that we need a Menu of Function for a Report or Concurrent Program.
I have made Function using a Existing Oracle apps Report and the report short name is XXPAY_SLIP_USER.
Navigation: System Administrator -> Application -> Function
Properties: SSWA jsp function
Web HTML Call:
To submit any concurrent program:
To Submit Particular Concurrent Program
Here XXPAY_SLIP_USER is the Concurrent program Short Name. The Parameters of this Concurrent program will be generated automatically
I faced a problem that the transaction was in GL Interface table which is visible but not imported.
select * from gl_interface where trunc(ACCOUNTING_DATE) = :gl_date;
However I tried to import and then I tried to see whether there is any error while Importing
General Ledger Super User –> Journal –> Import –> Correct.
But still I was not able to find the transaction.
Then I just check the log of the Concurrent which tells to check Group ID. So I took group Id from below Query and then I submitted.
select group_id from gl_interface where trunc(ACCOUNTING_DATE) = :gl_date;
Hurrah Now the Journal got Imported.
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
As indicated below in Implementation it purely depends on the requirement. We had a test case below.
Here in this below sample you will see that the basic salary has a code combination of department in Debit which implies that you will deduct department wise basic salary for the employee and then you see the credit amount which will be a liability account with no department.
|Basic Salary||Pay Value||Money||0||1,200||01.00.00000.110.71105.000.0000.0000(Expense)|
|Basic Salary||Pay Value||Money||1,200||0||01.00.00000.000.32110.000.0000.0000(Liability)|
Now Why do we have such kind of difference is when giving expense for the employee we can have it department wise so we will come to know department wise expense paid for the Employee and liability(Provision) account will be have a direct account with organization and not with department. So which implies that the organization has to pay to amount and not the department.
The complexity when we do paying from Department wise is once the employee is transferred from one department to another there it will affect as recurring.
Share your thoughts