oracle apps

157
Free Oracle Application Servers availble in INTERNET Free Oracle Application Servers availble in INTERNET 1)https://testexchange.oracle.com/home.jsp for username/passcode register your self 2)http://www.solutionbeacon.com/tools_vision.htm username/passcode RA1691/1691RA. XML Gateway Overview XML Gateway HI, today i will talk briefly about Oracle XML Gateway as component of Oracle Applications. This is only indented to be a conceptual introduction and for the complete details you must refer to the user guide or appropriate metalink note. XML Gateway is a tool that facilitates the communication between the Oracle E business suite and third party applications or trading partners in the form of well formatted XML messages. XML Gateway ensures that both business to business (B2B) and Application to Application(A2A) requirements are met. Further XML Gateway ensures that the messages that are generated or consumed are compliant with the standards set by the OpenApplications Group. You can find more information on these standards at http://www.openapplications.org Oracle XML Gateway works with Oracle Workflow to consume events raised and generate XML messages. These messages are further propagated using Oracle Advanced queuing technology and Oracle Transport agent(OTA). Inbound and outbound messages are managed in queue table using Oracle Advanced Queuing. The OTA is used to deliver messages to a trading partner over HTTP or HTTPs. An OTA servlet running with Oracle Applications is also responsible for receiving inbound documents sent by the trading partner.Oracle XML gateway can be considered as a form of EDI, whereas in a normal EDI transaction the operation happens in a batch in case of XML gateway the message are more real time as they are based of events. Oracle XML gateway makes use of the uses Web Services Description Language (WSDL) to facilitate trading partners to communicate with Oracle Applications. Trading partners can use third party web service

Upload: venkatesan-ramamoorthy

Post on 26-Oct-2014

822 views

Category:

Documents


3 download

TRANSCRIPT

Free Oracle Application Servers availble in INTERNET

Free Oracle Application Servers availble in INTERNET

1)https://testexchange.oracle.com/home.jspfor username/passcode register your self2)http://www.solutionbeacon.com/tools_vision.htmusername/passcode RA1691/1691RA.

XML Gateway Overview

XML Gateway

HI, today i will talk briefly about Oracle XML Gateway as component of Oracle Applications. This is only indented to be a conceptual introduction and for the complete details you must refer to the user guide or appropriate metalink note. XML Gateway is a tool that facilitates the communication between the Oracle E business suite and third party applications or trading partners in the form of well formatted XML messages.XML Gateway ensures that both business to business (B2B) and Application to Application(A2A) requirements are met. Further XML Gateway ensures that the messages that are generated or consumed are compliant with the standards set by the OpenApplications Group. You can find more information on these standards at http://www.openapplications.org Oracle XML Gateway works with Oracle Workflow to consume events raised and generate XML messages. These messages are further propagated using Oracle Advanced queuing technology and Oracle Transport agent(OTA). Inbound and outbound messages are managed in queue table using Oracle Advanced Queuing. The OTA is used to deliver messages to a trading partner over HTTP or HTTPs. An OTA servlet running with Oracle Applications is also responsible for receiving inbound documents sent by the trading partner.Oracle XML gateway can be considered as a form of EDI, whereas in a normal EDI transaction the operation happens in a batch in case of XML gateway the message are more real time as they are based of events.Oracle XML gateway makes use of the uses Web Services Description Language (WSDL) to facilitate trading partners to communicate with Oracle Applications. Trading partners can use third party web service tools to call the web services publish by your Oracle Applications.It also uses the Java Messaging Service(JMS) to send messages between Oracle Applications and trading partners.At the core of Oracle XML Gateway lies the execution engine, this is responsible for interacting with other oracle technologies like Oracle Workflow etc to consume and generate messages between trading partners as in the case of a B2B communication.Oracle XML Gateway supports the SMTP, HTTP, HTTPS, JMS transport protocols for message delivery and consumption.Oracle XML Gateway uses the Message Designer to define message maps, message maps are required to specify the data source and data target for the document. You can also use Map creation wizards that are provided for this purpose.The message designer and wizard is a client software which is required to be installed separately on the client PCs.Message map files have a .xgm extension. Message maps that are created on the loacle /client system have to be loaded to the middle tier APPL_TOP.The java LoadMap and java DeleteMap are used to load and delet message maps on the middle tier server.Its important to note that before you crate your message maps for your document you must ensure that the

document conforms to the Document Type Definition(DTD).Pre defined DTD are installed and loaded in the $APPLTOP of the middle Tier. You can however load custom DTD that you can define using the Oracle Message Designer to the middle tier as well as modify existing DTD and delete existing DTD.The DTD files are created with the .dtd extension.The java DeleteDTDFromClob and java LoadDTDToClob are used for deleting and loading DTDs respectively.For complete syntax and example to load and delet DTDs refer to the Oracle XML Gateway users guide.You can use the Oracle Applications responsibility 'XML Gateway Responsibility' to define trading partners and transactions.In releases 11.5.7 onwards XML gateway is distributed as a part of AOL and does not require to be licensed or installed separately. For prior releases XML Gateway can be installed by applying patch 2440710.The metalink note 152775.1 contains full instructions for installing and configuring Oracle XML Gateway.You can verify your XML gateway installation byu executing the following sql scriptSQL> $ECX_TOP/patch/115/sql/ECXTEST.sqlthis will create a OUTnnn.xml if the installation and configuration of XML Gateway is successful.

Overview of OA Frame work.

Oracle Applications Framework (OA Framework) is the Oracle Applications development and deployment platform for HTML-based business applications.OA Framework consists of a set of middle-tier runtime services and a design-time extension to Oracle9i JDeveloper called Oracle Applications Extension. Oracle9i JDeveloper with OA Extension (OA Extension) is a world class J2EE-based integrated development environment

OA Framework is designed around the simple Model-View-Controller (MVC) architecture The MVC architecture is a component-based design pattern.OA Framework technologies has driven several industry standards and has adopted several others.OA Framework is J2EE based and features several industry standards such as XML, HTML, Java, JSP, SQL and Web Services.OA Extension provides features such as easy-to-use wizards, a hierarchy navigator, and a property sheet. These features enable developers to populate the metadata for declarative application business logic and user interfaces.what JDeveloper version should be used for OAF developmentCurrent JDeveloper patches:Patch 4045639 - 9IJDEVELOPER WITH OA EXTENSION ARU FOR FWK.HPatch 4141787 - 9IJDEVELOPER WITH OA EXTENSION ARU FOR CU1

Patch 4573517 - Oracle9i JDeveloper with OA Extension for 11.5.10 CU2Patch 4725670 - 9IJDEVELOPER WITH OA EXTENSION ARU FOR 11i10 RUP3To determine which patch to use, you can simply check the framework version in your instance by using http://host:port/OA_HTML/OAInfo.jspthen choose the matched one.

11.5.10K = patch 4045639

11.5.101CU = patch 4141787

11.5.102CU = patch 4573517

11.5.103CU = patch 4725670

Architecture

OA Framework Architecuture is based on the industry-standard J2EE MVC design pattern.So Developers manipulate the application's metadata using Oracle 9i JDeveloper OA Extension .

How to Remove personalization 1. Login to application2. Select Responsibility Functional Administrator3. Click Personalization Tab ( Upper Right)4. For Application , Enter the following: Self-Service Web Applications

5. Click on the Personalized Checkbox6. Click Go7. Remove or De-activate your personalization that is causing the issue by selecting the personalization level at which you made that particular persanolization . Because if you made some personalizations at responsibility level and some at site level and if you made mistake whenever you are making personalization at site then you need to select the personalization level at site level rather than responsibility , so that you eventhough you deactivate personalizations at site level by usingthis action plan , you can protect your personalizations which were made at responsibility level .8 Re-test your login.Method-2by setting the profile option "Disable Self-Service Personal" to "YesMethod -3Use the JDR_UTILS packageUse sqlplus and this comand examplesset serveroutput on;execute jdr_utils.listDocuments('//', TRUE);Example:To DELETE--------------Beginexecutejdr_utils.deleteDocument('/oracle/apps/icx/por/reqmgmt/server/customizations/site/0/GroupReqsPublicVO');commit;End;then refer the follwoing tbalesJDR_COMPONENTS.JDR_ATTRIBUTESJDR_ATTRIBUTES_TRANSJDR_PATHSwhat is EO ( Entity Object ) ,View Object (ViewImpl) and View Row ( ViewRowImpl )?Entity Object :BC4J entity objects encapsulate the business rules like validations, actions associated with a row in a database table, view or synonym .View Object (ViewImpl):In the simplest terms, a BC4J view object encapsulates a database query and provides iteration over and access to the view rows in its result setView Row ( ViewRowImpl ) :Represents a single row in a view object.

Customization of Information Template in iProcinformation templates to gather additional information in Oracle iProcurement to pass necessary order processing information to suppliers.When an information template is assigned to a category or item, the application prompts requesters to provide the information specified in the template when the item is added to the shopping cart.Each information template must be associated with an Oracle Purchasing item or item category.If an information template is associated with an item category, all items belonging to that category are also associated with the template.

Create an information template:1.From the Oracle Purchasing menu, select Setup > Information Templates.Give your Template a name.2.Select Available in All Organizations if you want the template to be available to requesters in all operating units.3.Select an Attachment Category of To Supplier or To Buyer.

4.Enter an Attribute Name and Description as shown in figure.

You can create pop-list and attch to the attribute.Createing pop-listNavigate From the Oracle Purchasing menu setup->flex fields->Validation->sets

create value set name as TRVL_AIR_DROP

List type List of values

validation type inpedendent

2. Create values for TRVL_AIR_DROP

Navigate from po setup->flex fileds->validation->values

3.finally Attach the Poplist to information template attributes.

4.Next Go to iProcurement Catalog Adminstration .Navigate Non catalog Request Templates

Click on create button and pass the necessary inputs and click on add template button pass the information template which we customized in PO.

Template name : Test Travel Req

Organization : select your orgnization.

5. Click on stores link under Manage Content link

click on edit under Non-Catalog Request Store then Click on Add template Button

select template name which we made in previous screen (ie Test Travel Req) And Submit.

6.Finally you can see the result at iProcurement Page

select the Request Type : Test Travel Req

You can see the our customization result under Testinfo Temp Layout.

you can see above information in following tableselect * from POR_TEMPLATE_INFO

REALMS

Oracle iProcurement, securing attributes called realms are used to restrict requester access to the catalog.orRealms are securing attributes used to control access to the catalog as an additional layer for application securityICX_POR_REALM_ID -->Use this attribute to secure the responsibility for category or itemsource realms.Once you create a realm, you assign it to a responsibility or user. The requester associated with that responsibility or user can see whatever categories or item source catalogs are contained in that realm.STEPS:

1. Create the realm. 2. Assign the realm to a responsibility. 3. Optionally assign realms to individual users if desired.Create the Realm:1.Log in to Oracle Purchasing And Navigate Setup > E-Catalog Admin > Realms.2.in window enter your own Name and Description for the realm.component Type : Categorycomponents: select any existing Category.3. Save your work Realm Id Generated automatically.

Assign the Realm to a Responsibility:1.Log on to Sysadmin2.Open the Responsiblities window3.Query the responsibility to which you will assign the realm.(Ex: iProcurement)

4.n the Name field, use the LOV to select ICX_POR_REALM_ID.5. Click on Values Button In the Values Button Select the Relam ID6. And Save your Changes.

Assign the Realm to Users (Optional):1.Log on to Sysadmin.2.Navigation path: Security > User >Define.3.Query the user (person) to whom you want to assign the realm.4.In the Securing Attributes tabbed region,in the Attribute field, use the LOV to select

5.In the Securing Attributes tabbed region, create a line for each realm you want to assign to the user. Select ICX_POR_REALM_ID in the Name field and the Realm ID for each realm. 6. Save your work.

RESULT.Categories restricted by realms display to requesters when browsing categories;however, the items in those categories do not display.

How to Get Debug XML Publisher

How to Get Debug XML Publisher ?

Setting up the debug mode for the program .In the program definition there is a debug flag Parameter, set this to 'Y'. To do this Login as 'System Adminstrator' Navigate to: Concurrent -> Program -> Define Query up the program shortname XDOREPPB Click on Parameters Scroll down for "Debug Flag Enable this by clicking on the check option. In the Validation block, set the Default Value = Y

Create a xdodebug.cfg Under following Dir $AF_JRE_TOP/lib on concurrent manager nodeadd following 2 lines LogLevel=STATEMENTLogDir=/tmp/xdodebug.err (Dir must exist in the file system)run the concurrent program againThere will be a bunch of files in the 'LogDir' specified in the xdodebug.cfg filePlease delete the xdodebug.cfg file afterwards

Why XML Publisher and what are the advantages of XML Publisher?

In simple words, for easy generation of reports. The following are the advantages of XML Publisher:

1.Main advantage is Data separation and Presentation.2.Rapid development of Report3.Cost reduction4.Control over Report Layout and High customization5.Different presentation tools.6.Output in the format of one’s choice.

posted by Rama at 3:04 PM | 0 Comments

How to make the column title needs to be on each page

How to make the column title needs to be on each page?

Highlight the table header rowRight click and select table propertiesOn the Row tab, specify that the header row should be repeated on every pageSave your work.

Multiple Headers and Footers

Microsoft Word does not allow form fields in the header and footer regions of a document. If you require many or complex objects in the header or footer of your report create a template within your template, simply wrap the contents of the internal template with the following tags:

internaltemplate name is the name you assign to the header/footer template.

posted by Rama at 2:54 PM | 0 Comments

Calling a XML Publisher report from FND_SUBMIT_REQUEST

Calling a XML Publisher report from FND_SUBMIT_REQUEST Here is the code that you can used for submiting XML Report Publisher from within my Oracle Report's AfterReport triggerSyntax:a:=FND_REQUEST.SUBMIT_REQUEST('XDO', 'XDOREPPB','Rama XML Test Report Printing', NULL, FALSE, :P_CONC_REQUEST_ID , 'MYONT','MY_PREPACK_XML','en-US' ,'N', 'RTF', :p_output_format,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL );srw.message(123,'Value of New Request : ' a ' Output Format :':p_output_format);

posted by Rama at 2:30 PM | 0 Comments

Common Problems in XML Publisher

Common Problems in XML Publisher1) R U New to XML PublisherYou have two different types of XML Publisher:- the one integrated with ORacle eBS- the standalone version, see linkGo thru ,XML guide provided by Oracle,It will be sufficient Link: http://www.oracle.com/technology/products/xml-publisher/index.htmlHow to install a font using XML Publisher Administrator? In XML Publisher 5.6 has a new tab: Administration fonts can be uploaded and stored in the database instead of stored on the file system.To install a font requires only a few steps1. Log in as XML Publisher Administrator.2. Navigate to Administration->Font Files->Create Font File.3. Fields are Font Name and File. For Font Name choose any descriptive name. File will browse your PC to locate the font file.4. Navigate to Font Mappings->Create Font Mapping Set.5. Mapping name is the name you will give to a set of fonts.6. Mapping code is the internal name you will give to this set.7. Type: 'PDF Form' for PDF templates. 'FO to PDF' for all other template types.8. Create Font Mapping (this allows you to add multiple fonts to a set).9. Font Family is the exact same name you see in Word under Fonts.If you don't use the same name the font will not be picked up at runtime.10. Style and weight must also match how you use the font in windows.Normal and Normal are good defaults.12. Navigate to Configuration General-> FO Processing->Font Mapping Set. Can also be done at data def and template level under Edit Configuration. Hierarchy is Site-> Data Def -> Template.13. Select your new mapping set.14. Make sure the font is not referenced under File->Properties->Custom in the RTF template file.15. Upload a template that uses your special font and test using preview.

posted by Rama at 12:37 PM | 0 Comments

Common Problems in XML Publisher

Creating Data Definition Example:

Creating Template Example:

posted by Rama at 12:18 PM | 0 Comments

Registering RTF Template in Oracle applications

How to Registering RTF Template in Oracle applications.

1)Register your Template in the Template Manager.2)Register your Data Definition In Data Definition Manager.

a)Creating Data Definition.

log on to Oracle apps Xml Publisher Responsibily. click on Home ->Data Definitionsthen click on create Date Definition. and fill the all mandatory fields

Name : Name of the Report (XML Publisher Test Report)code : Concurrent prof Short Name (XX_XML_TEST_RP)Application: Name of the Application.(Order Management)Start date: today date (09-Oct-2006)Description:XML Publisher Test Report

Then Click on Apply Button.

b)Creating Template

Select the Templates Tab click on Create Template Tab

Name : Name of the Report (XML Publisher Test Report)code : Concurrent prof Short Name (XX_XML_TEST_RP)Data Definition:Name of the Report (Data Definition name)Type:RTFApplication: Name of the Application.(Order Management)Start date: today date (09-Oct-2006)Description:XML Publisher Test Report

File: click on browse Tab update your RTF file here.Language:EnglishTerritory:United States

Then Go to OM responsibiliy Run the XML Publisher Test Report see the PDF out put.Note :Before Runing XML Publisher Report Assign XML Publisher prog into OM responsibily.

Commonly Used XML Tags in Template

1) Holds the opening for-each loop for the item element.2) Closing tag of the for-each loop.3) The opening of the if statement to testfor the attribute value "PRIVATE".4) Ends the if statement.5) sort a group by any element within the group.6) Sort Multiple Group of elements

7) To establish nested groupings within the already defined group8)mailto:?for-each-group@cell:currentgroup(); Uses the regrouping syntax to group the data by YEAR9)10) date format mask:

Variable Declaration

Use this element to declare a local or global variable.XSL Syntax: XML Publisher Tag: Example:

Assigns the value "red" to the "color" variable. The variable can then be referenced inthe template.

Cell Highlighting

1000?>-->

The above tag embeds native XSL code The "attribute" element allows you to modify properties in the XSL. The xdo:ctx component is an XML Publisher feature that allows you to adjust XSL

attributes at any level in the template To change the color attribute, you can use either the standard HTML names (for

example, red, white, green) or you can use the hexadecimal color definition (forexample, #FFFFF).

posted by Rama at 10:24 AM | 0 Comments

posted by Rama at 10:06 AM | 0 Comments

Thursday, October 12, 2006

posted by Rama at 3:25 PM | 0 Comments

XML Publisher supports two methods for creating RTF templates:

1)Basic RTF Method2)Form Field Method

Creating an RTF template file consists of two basic steps:

Design your template layout.Use the formatting features of your word processing application and save the file as RTF.

Mark up your template layout.Insert the XML Publisher simplified tags.

The Template Builder is an extension to Microsoft Word that simplifies the development of RTF templates.XML Publisher converts the formatting that you apply in your word processing application to XSL-FO.

Enter placeholders in your document using the following syntax:

There are two ways to insert placeholders in your template:Basic RTF Method: Insert the placeholder syntax directly into your template document.Form Field Method: (Requires Microsoft Word) Insert the placeholder syntax in Microsoft Word’s Text Form Field Options window.

Form Field Method

Use Microsoft Word’s Text Form Field Options window to insert the placeholder tags:1. Enable the Forms toolbar in your Microsoft Word application.2. Position your cursor in the place you want to create a placeholder.3. Select the Text Form Field toolbar icon. This action inserts a form field area in yourdocument.4. Double-click the form field area to invoke the Text Form Field Options dialog box.5. (Optional) Enter a description of the field in the Default text field. The entry in thisfield will populate the placeholder’s position on the template.For the example, enter "Supplier 1".6. Select the Add Help Text button.7. In the help text entry field, enter the XML element’s tag name using the syntax:

Oracle XML Publisher

What is Oracle XML Publisher?

Oracle XML Publisher is a template-based publishing.It provides a new approach to report design.The flexibility of XML Publisher is a result of the separation of the presentation of the report from its data structure. XML Publisher provides the Template Manager to register and maintain report templates and their data sources. The Template Manager is the repository for your templates and data sources.Creating customized reports using XML Publisher can be divided into twophases:

Design Time and Runtime.

Design Time

Register the E-Business Suite report as a Data Definition in the Template Manager. Design your template. Register your Template in the Template Manager. Add desired translations of your RTF template.

posted by Rama at 11:42 AM | 0 Comments

Wednesday, October 11, 2006

Oracle Applications Technical Articles

How to Restart or Bounce Apache in Oracle Apps 11i

Please find the two commands that I use for bouncing the Apache 1)$COMMON_TOP/admin/scripts/$TWO_TASK*/adapcctl.sh stop 2)$COMMON_TOP/admin/scripts/$TWO_TASK*/adapcctl.sh start

In case you have modified any java or class file in OAF ,XML Document and AK Developer then Apache bounce becomes mandatory.How to find Report Belongs to particular Request Groupuse the following query.

SELECTfrg.request_group_name,frt.description,frg.request_group_code,frg.descriptionFROM fnd_request_groups frg,fnd_concurrent_programs_tl frtWHERE frg.application_id=frt.application_idAND frt.user_concurrent_program_name='Process Pending Payments'this will give Request Group name and description.Overview of Concurrent ManagerA concurrent manager is itself a concurrent program that starts other concurrent programs. This document explains how to start up, define, and configure concurrent managers.. Concurrent Managers are defined and assigned one or more work shifts .You can issue commands to start, verify, shut down, or reset concurrent managers individually or use the ICM to control every manager at once .It is recommended that you restart an individual concurrent manager every time Starting the ICM:

Follow the steps outlined below to start the ICM during installation of Oracle Applications, after shutdown of concurrent managers, or after restarting your operating system or database.

· Log in to the UNIX server as applmgr· Select the appropriate database environment· Use the following command: Startmgr By default, the ICM periodically monitors each concurrent manager’s processes. You can force this monitoring activity, also known as PMON by selecting the ICM and choosing the Verify button.Below is a summary listing of the concurrent managers and their functions

1.Internal Concurrent Manager (ICM)Starts up, verifies the status of, resets, and shuts down theIndividual managers. Settings for the ICM cannot be altered.2.Standard ManagerRuns 365 days a year, 24 hours a day and accepts any and all requests. It has no specialization and should NOT be alteredNote: If the Standard manager is altered in any way, some programs may not run. We recommend that you define additional managers to handle client-specific needs. 3.Conflict Resolution ManagerThe Conflict Resolution Manager resolves conflicts, such as request incompatibilities. The Conflict Resolution Manager checks concurrent program definitions for incompatibility rules. If a program is identified as Run Alone, then the Conflict Resolution Manager prevents the concurrent managers from starting other programs in the same conflict domain. When a program lists other programs as being incompatible with it, the Conflict Resolution Manager prevents the program from starting until any incompatible programs in the same domain have completed running. 4.Scheduler/Prereleaser Manager

Scheduler/Prereleaser manager.5.Transaction Manager for diagnostics onlyTransaction Manager for diagnostics only.

------------------------------------------------------------------------------------------------REALMS

Oracle iProcurement, securing attributes called realms are used to restrict requester access to the catalog.orRealms are securing attributes used to control access to the catalog as an additional layer for application securityICX_POR_REALM_ID -->Use this attribute to secure the responsibility for category or item source realms.Once you create a realm, you assign it to a responsibility or user. The requester associated with that responsibility or user can see whatever categories or item source catalogs are contained in that realm.STEPS:

1. Create the realm.2. Assign the realm to a responsibility.3. Optionally assign realms to individual users if desired.

Create the Realm:

1.Log in to Oracle Purchasing And Navigate Setup > E-Catalog Admin > Realms.2.in window enter your own Name and Description for the realm.component Type : Categorycomponents: select any existing Category.3. Save your work Realm Id Generated automatically.

Assign the Realm to a Responsibility:1.Log on to Sysadmin 2.Open the Responsiblities window3.Query the responsibility to which you will assign the realm.(Ex: iProcurement)

4.n the Name field, use the LOV to select ICX_POR_REALM_ID.5. Click on Values Button In the Values Button Select the Relam ID6. And Save your Changes.

Assign the Realm to Users (Optional):1.Log on to Sysadmin.2.Navigation path: Security > User >Define.3.Query the user (person) to whom you want to assign the realm.4.In the Securing Attributes tabbed region,in the Attribute field, use the LOV to select ICX_POR_REALM_ID.

5.In the Securing Attributes tabbed region, create a line for each realm you want toassign to the user. Select ICX_POR_REALM_ID in the Name field and the Realm IDfor each realm.6. Save your work.RESULT.

Categories restricted by realms display to requesters when browsing categories;however, the items in those categories do not display.

Concept of Oracle Workflow

A workflow consists of numerous processes reprents business process flows and information.Each workflow process contains a set of activities,notifications,PL/SQL stored procedures or another sub process Workflow Componentsit contains 6 major components.1.workflow Builderprovides a graphical user interface for creating and maintaing definations.2.workflow Engineis the component that executes and enforces the defined workflow process3.workflow MonitorComponent of oracle workflow that allows you to review the state or status4.workflow Definitions Loaderis the component that allows you to download or load workflow definitions to and from the date base or test files.5.Notification System.the notification mailer is a program that concurrently sends emails and receive responses.6. workflow Directory Serviceswork flow Dir services is the component that identifies the directory repository.

Work flow Functions are stores in PL/SQL procedures there is a standard API format for all stored proceduresfunction variables.Itemtype -->A category of items that share the same set of attributes.itemkey--> A unique key identifier within the same item type for specific item passingactid ---> the unique identifier of the activity that calls this stored procedure.Result--> the result of the stored procedure can beComplete:Result_codeDEFERRED:dateERROR:Error_codeNotified:notification_IdWaitingThe format of stored procedure declaration will bePROCEDURE your_procedure(itemtype in varchar2,itemkey in varchar2,actid in number,funcmode in varchar2,result out varchar2) Isin funcmode variable to execute codes that correspond to the RUN,CANCEL and TIMEOUT modes.APIsinside the stored procedure you must use workflow Engine APIs to communicate with workflow engine. All workflow Engine APIs present inside the WF_ENGINE package.API'S inside the WF_ENGINESetItemAttrText set the value of a text item attribute.SetItemAttrNumber set the value of a number Item attribute.SetItemAttrDate set the value if a date item attributeGetItemAttrInfo Get type information about an item attributeCreateProcess create a new rntime process for an itemStartProcess Begins execution of the process.Remain I will Update soon

Oracle Forms Personalization

Oracle has introduced a mechanism which revolutionizes the way the forms can be customized to fulfill the customer needs.Oracle Applications has provided a custom library using which the look and behavior of the standard forms can be altered, but the custom library modifications require extensive work on SQL and PL/SQL.Oracle Applications release 11.5.10 has provided a user interface “Personalization form” which will be used to define the personalization rules.

By default the “Personalize” menu is visible to all the users; this can be controlled with help ofprofile options.By setting up the below profile options,access to the Personalize menu canbe limited for the authorized users.

Utilities: Diagnostics = Yes/No

Hide Diagnostics = Yes/No

invoking the Personalization form click on “Help -> Diagnostics -> Custom Code -> Personalize”

The form mainly contains four sections.

• Rules• Conditions• Context• Actions

Rules:Each rule contains a sequence number and the description. The rule can be activated or de-activated using the “Enabled” checkbox.

ConditionsConditions decide the event the rule to be executed. Each condition mainly contains threesections i.e. Trigger Event, Trigger Object and Condition..

ContextContext manages to whom the personalization should apply. This is similar to the concept ofusing profile options in Oracle Application

ActionsActions decide the exact operation to be performed when the conditions and context return trueduring the runtime.

3.Enter the sequence number as 10 and description as “Change the Order Type Prompt toClaim Type”

4.Select the Trigger Event as “WHEN-NEW-FORM-INSTANCE”

5.Select or enter the following values under Context section• Level = Responsibility• Value = Order Management Super User

On Actions tab, enter or select the following values• Sequence = 10• Type = Property• Description = Order Type to Claim Type• Language = All• Enabled = Yes

Click on “Apply Now” button

Close both the forms and reopen the Sales Order form

The Order Number label should reflect as Claim Number

Forms Personalization-Moving to another instance

Forms Personalization-Moving to another instance

Download for a specific form:FNDLOAD / 0 Y DOWNLOAD FND_TOP/patch/115/import/affrmcus.lct FND_FORM_CUSTOM_RULES form_name=

Download all personalizationsFNDLOAD / 0 Y DOWNLOAD FND_TOP/patch/115/import/affrmcus.lct FND_FORM_CUSTOM_RULES

UploadFNDLOAD / 0 Y UPLOAD $FND_TOP/patch/115/import/affrmcus.lct

OM Tables

Order Management Tables.

Enteredoe_order_headers_all 1 record created in header tableoe_order_lines_all Lines for particular recordsoe_price_adjustments When discount gets appliedoe_order_price_attribs If line has price attributes then populatedoe_order_holds_all If any hold applied for order like credit check etc.

Bookedoe_order_headers_all Booked_flag=Y Order booked.wsh_delivery_details Released_status Ready to release

Pick Released wsh_delivery_details Released_status=Y Released to Warehouse (Line has been released to Inventory for processing)wsh_picking_batches After batch is created for pick release. mtl_reservations This is only soft reservations. No physical movement of stock

Full Transactionmtl_material_transactions No records in mtl_material_transactionsmtl_txn_request_headersmtl_txn_request_lines

wsh_delivery_details Released to warehouse.wsh_new_deliveries if Auto-Create is Yes then data populated.wsh_delivery_assignments deliveries get assigned

Pick Confirmedwsh_delivery_details Released_status=Y Hard Reservations. Picked the stock. Physical movement of stock

Ship Confirmed

wsh_delivery_details Released_status=C Y To C:Shipped ;Delivery Note get printed Delivery assigned to trip stopquantity will be decreased from stagedmtl_material_transactions On the ship confirm form, check Ship all boxwsh_new_deliveries If Defer Interface is checked I.e its deferred then OM & inventory not updated. If Defer Interface is not checked.: Shipped

oe_order_lines_all Shipped_quantity get populated.wsh_delivery_legs 1 leg is called as 1 trip.1 Pickup & drop up stop for each trip.oe_order_headers_all If all the lines get shipped then only flag N

Autoinvoice

wsh_delivery_details Released_status=I Need to run workflow background process.ra_interface_lines_all Data will be populated after wkfw process.ra_customer_trx_all After running Autoinvoice Master Program forra_customer_trx_lines_all specific batch transaction tables get populated

Price Detailsqp_list_headers_b To Get Item Price Details.qp_list_lines

Items On Hand Qtymtl_onhand_quantities TO check On Hand Qty Items.

Payment Termsra_terms Payment terms

AutoMatic Numbering Systemar_system_parametes_all you can chk Automactic Numbering is enabled/disabled.

Customer Informationhz_parties Get Customer information include name,contacts,Address and Phonehz_party_siteshz_locationshz_cust_accountshz_cust_account_sites_allhz_cust_site_uses_allra_customers

Document Sequencefnd_document_sequences Document Sequence Numbersfnd_doc_sequence_categoriesfnd_doc_sequence_assignments

Default rules for Price Listoe_def_attr_def_rules Price List Default Rules

oe_def_attr_condnsak_object_attributes

End User Details csi_t_party_details To capture End user Details

Sales Credit Sales Credit Information(How much credit can get)oe_sales_credits

Attaching Documents fnd_attached_documents Attched Documents and Text informationfnd_documents_tlfnd_documents_short_text

Blanket Sales Orderoe_blanket_headers_all Blanket Sales Order Information.oe_blanket_lines_all

Processing Constraintsoe_pc_assignments Sales order Shipment schedule Processing Constratinsoe_pc_exclusions

Sales Order Holdsoe_hold_definitions Order Hold and Managing Details.oe_hold_authorizationsoe_hold_sources_alloe_order_holds_all

Hold Relaeseoe_hold_releases_all Hold released Sales Order.

Credit Chk Detailsoe_credit_check_rules To get the Credit Check Againt Customer.

Cancel Ordersoe_order_lines_all Cancel Order Details.

How to Use Hint

Select /*+ HINT */ Ename from emp where empid=7856Where HINT is replaced by the hint text.When the syntax of the hint text is incorrect, the hint text is ignored and will not be used

ALL_ROWSThe ALL_ROWS hint explicitly chooses the cost-based approach to optimize a statement block with a goal of best throughput (that is, minimum total resource consumption).

FIRST_ROWSThe FIRST_ROWS hint explicitly chooses the cost-based approach to optimize a statement block with a goal of best response time (minimum resource usage to return first row). In newer Oracle version you should give a parameter with this hint: FIRST_ROWS(n) means that the optimizer will determine an executionplan to give a fast response for returning the first n rows.CHOOSEThe CHOOSE hint causes the optimizer to choose between the rule-based approach and the cost-based approach for a SQL statement based on the presence of statistics for the tables accessed by the statementRULEThe RULE hint explicitly chooses rule-based optimization for a statement block. This hint also causes the optimizer to ignore any other hints specified for the statement block. The RULE hint does not work any more in Oracle 10g.

Hints for Access Paths

FULLThe FULL hint explicitly chooses a full table scan for the specified table. The syntax of the FULL hint is FULL(table) where table specifies the alias of the table (or table name if alias does not exist) on which the full table scan is to be performed.ROWIDThe ROWID hint explicitly chooses a table scan by ROWID for the specified table. The syntax of the ROWID hint is ROWID(table) where table specifies the name or alias of the table on which the table access by ROWID is to be performed. (This hint depricated in Oracle 10g)CLUSTERThe CLUSTER hint explicitly chooses a cluster scan to access the specified table. The syntax of the CLUSTER hint is CLUSTER(table) where table specifies the name or alias of the table to be accessed by a cluster scan.HASHThe HASH hint explicitly chooses a hash scan to access the specified table. The syntax of the HASH hint is HASH(table) where table specifies the name or alias of the table to be accessed by a hash scan.HASH_AJThe HASH_AJ hint transforms a NOT IN subquery into a hash anti-join to access the specified table. The syntax of the HASH_AJ hint is HASH_AJ(table) where table specifies the name or alias of the table to be accessed.(depricated in Oracle 10g)INDEXThe INDEX hint explicitly chooses an index scan for the specified table. The syntax of the INDEX hint is INDEX(table index) where:table specifies the name or alias of the table associated with the index to be scanned and index specifies an index on which an index scan is to be performed. This hint may optionally specify one or more indexes:NO_INDEXThe NO_INDEX hint explicitly disallows a set of indexes for the specified table. The syntax of the NO_INDEX hint is NO_INDEX(table index)INDEX_ASCThe INDEX_ASC hint explicitly chooses an index scan for the specified table. If the statement uses an index range scan, Oracle scans the index entries in ascending order of their indexed values.INDEX_COMBINEIf no indexes are given as arguments for the INDEX_COMBINE hint, the optimizer will use on the table whatever boolean combination of bitmap indexes has the best cost estimate. If certain indexes are given as

arguments, the optimizer will try to use some boolean combination of those particular bitmap indexes. The syntax of INDEX_COMBINE is INDEX_COMBINE(table index).INDEX_JOINExplicitly instructs the optimizer to use an index join as an access path. For the hint to have a positive effect, a sufficiently small number of indexes must exist that contain all the columns required to resolve the query.INDEX_DESCThe INDEX_DESC hint explicitly chooses an index scan for the specified table. If the statement uses an index range scan, Oracle scans the index entries in descending order of their indexed values.INDEX_FFSThis hint causes a fast full index scan to be performed rather than a full table.NO_INDEX_FFSDo not use fast full index scan (from Oracle 10g)INDEX_SSExclude range scan from query plan (from Oracle 10g)INDEX_SS_ASCExclude range scan from query plan (from Oracle 10g)INDEX_SS_DESCExclude range scan from query plan (from Oracle 10g)NO_INDEX_SSThe NO_INDEX_SS hint causes the optimizer to exclude a skip scan of the specified indexes on the specified table. (from Oracle 10g)

posted by Rama at 1:06 PM | 0 Comments

Display Module Wise Reports

Display Module Wise Reports

SELECT fa.application_short_name, fcpv.user_concurrent_program_name,description,DECODE (fcpv.execution_method_code,'B', 'Request Set Stage Function','Q', 'SQL*Plus','H', 'Host','L', 'SQL*Loader','A', 'Spawned','I', 'PL/SQL Stored Procedure','P', 'Oracle Reports','S', 'Immediate',fcpv.execution_method_code) exe_method,output_file_type, program_type, printer_name, minimum_width,minimum_length, concurrent_program_name, concurrent_program_idFROM fnd_concurrent_programs_vl fcpv, fnd_application faWHERE fcpv.application_id = fa.application_idORDER BY 1

SELECT fa.application_short_name,DECODE (fcpv.execution_method_code,'B', 'Request Set Stage

Function','Q', 'SQL*Plus','H', 'Host','L', 'SQL*Loader','A', 'Spawned','I', 'PL/SQL Stored Procedure','P', 'Oracle Reports','S', 'Immediate',fcpv.execution_method_code) exe_method,COUNT (concurrent_program_id) COUNTFROM fnd_concurrent_programs_vl fcpv, fnd_application faWHERE fcpv.application_id = fa.application_idGROUP BY fa.application_short_name, fcpv.execution_method_codeORDER BY 1;

Purchase Order

Purchase Order Tables

1.PO_REQUISITION_HEADESR_ALL2.PO_REQUISITION_LINES_ALLWhen you raise the Requisition these tables effected (PO_REQUISITION_HEADER_ID) is the join between the tables4.PO_REQ_DISTRIBUTION_ALLIt distribute the Requisition Account information.5.PO_HEADERS_ALL (PO_HEADER_ID)6.PO_LINES_ALLWhen PO Created PO# stores in tables(PO_HEADER_ID) is the join for tables7.PO_DISTRIBUTIONS_ALLIt will distribute the PO# Account information8.PO_ACTION_HISTORYHere you can get Approvals notification Status9.PO_VENDORS_ALL(VENDOR_ID)10.PO_VENDOR_SITES_ALL(VENDOR_SITE_ID)11.PO_VENDOR_CONTACTS_ALL (VENDOR_CONTACT_ID)Contacts Vendor ,Vendor site and conatct information (Vendor_id,Vendor_contact_id,VEDNOR_SITE_ID)12.RCV_SHIPMENT_HEADERS_ALL(SHIPMENT_HEADER_ID)common information about the source of your receipts or expected receipts13.RCV_SHPMENT_LINES_ALLwhen you issue the recept The recepent number , Shipment location stores in the table.14.RCV_TRANSACTIONS(TRANSACTION_ID)15.MTL_MATERIAL_TRANSACTIONS (TRANSACTION_ID)Stores material transaction information (Transaction_id)16.PO_Release_allTO see the which purchase order is released.17.PO_AGENTScontains information about buyers and purchasing managers.18.PO_NOTIFICATION_CONTROLScontains information about the notification control rules for blanket, planned, and contract purchase orders.19.PO_APPROVAL_LIST_HEADERSlist of approvers for the purchasing document used for requisition approvals only20.PO_APPROVAL_LIST_LINESapproval list lines for the requisition approval list.21.PO_POSITION_CONTROLS_ALLassignment of control groups to jobs and/or positions22.PO_DOCUMENT_TYPES_ALL_Bdefault, control, and option information you provide to customize23.PO_CONTROL_GROUPS_ALLcontrol groups you use in your business24.PO_RFQ_VENDORS

Information about the set of suppliers assigned to a request for quotation (RFQ)25.PO_VENDOR_LIST_HEADERS(VENDOR_LIST_HEADER_ID)stores information about supplier quotation lists you create.26.FINANCIALS_SYSTEM_PARAMS_ALLThis Tables stores common and default information between AP and PO

OM Flow and table level Information

Steps in Order Cycle:

1) Order Entry2) Booking3) Pick release : For this we have to go toShipping Responsibilty Release sales orderHere In this form , In the ORDER tab, we have to enter ORDER Number And delete the Scheduled shipped Dates To & Requested Dates To.In SHIPPING tab, set AUTO CREATE DELIVERY to YES. In INVENTORY tab enter WAREHOUSE, set AUTO ALLOCATE to YES and AUTO PICK CONFIRM to YES. IF we set AUTO PICK CONFIRM to NO, then We have to go for the following steps

1. go to Inventory RespMove order à Transact Move Order then it will ask forwarehouse information. Give the same name as before [M2]In this form, In the HEADER tab, enter the BATCHNUMBER of the order that is picked .Then Click FINDButton. Click on VIEW/UPDATE Allocation, thenClick TRANSACT button. Then Transact button will bedeactivated then just close it and go to next step.

4) Shipping : For this we need to go to Shipping Transaction Give the order Number, and click findThen we can see the order status.Then we have to click DELIVERY Tab Button, in the Action LOVWe have to choose, SHIP CONFIRM.Then four concurrent program will run in the background.Such As::1.) INTERFACE TRIP Stop2.) Commercial Invoice3.) Packing Slip Report4.) Bill of Lading

After this concurrent program will complete successfully, we have to runOne more WORKFLOW BACKGROUND PROGRAM.· If we don’t want to ship all the items, that are PICKED, then we have to click LINE/LPN tab , then click DETAIL button .Now, in that form , in the SHIPPING field, we have to enter how Much quantity of items, we want to ship . The rest remain quantity, that are Ordered will become backorder quantity .

5) Interfacing with AR :

After WORKFLOW BACKGROUND PROGRAM

Concurrent program will complete successfully, we have to runAUTO INVOICE MASTER PROGRAM fromRECEIVABLE RESPONSIBILTY. After this programwill complete successfully , we can the invoice details inRECEIVALE à TRANSACTIONS à TRANSACTIONS. Here inThis Form, we have to give our order number in reference fieldAnd query for the invoice details .Then we can see the invoice details.

Table Level Information:==========================Order Entry• At the header level a record gets inserted into the header tableOE_ORDER_HEADERS_ALL.• At the line level, record(s) get inserted into the Line tableOE_ORDER_LINES_ALL.

Order Booking• This will update FLOW_STATUS_CODE value in the tableOE_ORDER_HEADERS_ALL to “BOOKED”• The FLOW_STATUS_CODE in OE_ORDER_LINES_ALL will change toAWAITING_SHIPPING.• Record(s) will be created into the table WSH_DELIVERY_DETAILS withRELEASED_STATUS=’R’ (Ready to Release)OE_INTERFACED_FLAG=’N’ (Not interfaced to OM)INV_INTERFACED_FLAG=’N’ (Not interfaced to Inv)• Record(s) will be created into WSH_DELIVERY_ASSIGNMENTS but withDELIVERY_ID null.

Pick Release------------------IF “Autocreate Delivery” option = “Yes” THEN• ) Create a record into the table WSH_NEW_DELIVERIES• ) Update WSH_DELIVERY_ASSIGNMENTS with DELIVERY_ID, thus• ) Update WSH_DELIVERY_DETAILS with RELEASED_STATUS=’Y

Auto Invoicing----------------------Before running “Autoinvoice Program”, record(s) will exist into the tableRA_INTERFACE_LINES_ALL with

INTERFACE_LINE_CONTEXT = ’ORDER ENTRY’INTERFACE_LINE_ATTRIBUTE1 = &Order_numberINTERFACE_LINE_ATTRIBUTE3 = &Delivery_idSALES_ORDER = &Order_number

After running the “Auto invoice Program” for the order:Records will be deleted from the table RA_INTERFACE_LINES_ALL and new details will be created into the following RA transaction tables.>RA_CUSTOMER_TRX_ALL withINTERFACE_HEADER_ATTRIBUTE1=&Order_numberRA_CUSTOMER_TRX_LINES_ALL withINTERFACE_LINE_ATTRIBUTE1 = &Order_numberSALES_ORDER = &Order_number

posted by Rama at 1:21 PM | 1 Comments

Know Current APPS Current Versions.

1)select product_version,patch_level from fnd_product_installationsGet current version ana Patch level information.2)select * FROM V$VERSIONDatabase Version infomation.3)select * from v$instanceInstance details4)select WF_EVENT_XML.XMLVersion() XML_VERSION from sys.dual;Current XML Parser Version info.5)select TEXT from WF_RESOURCES where TYPE = 'WFTKN' and NAME = 'WF_VERSION'Workflow version Number.6)select home_url from icx_parametersOracle applications front end URL7)SELECT VALUE FROM V$PARAMETER WHERE NAME=’USER_DUMP_DEST’Get the Trace file location.8) XML Publisher Vesion info.$OA_JAVA/oracle/apps/xdo/common/MetaInfo.class.

Forward Declaration

PL/SQL allows for a special subprogram declaration called a forward declaration. It consists of the subprogramspecification in the package body terminated by a semicolon. You can use forward declarations to do thefollowing:• Define subprograms in logical or alphabetical order.• Define mutually recursive subprograms.(both calling each other).• Group subprograms in a packageExample of forward Declaration:CREATE OR REPLACE PACKAGE BODY forward_packISPROCEDURE calc_rating(. . .); -- forward declarationPROCEDURE award_bonus(. . .)IS -- subprograms definedBEGIN -- in alphabetical ordercalc_rating(. . .);. . .END;PROCEDURE calc_rating(. . .)ISBEGIN. . .END;END forward_pack;

posted by Rama at 3:23 PM | 0 Comments

BIND Vs LEXICAL

BIND VARIABLE :-- are used to replace a single value in sql, pl/sql-- bind variable may be used to replace expressions in select, where, group, orderby, having, connect by, start with cause of queries.-- bind reference may not be referenced in FROM clause (or) in place ofreserved words or clauses.LEXICAL REFERENCE:-- you can use lexical reference to replace the clauses appearing AFTER select,from, group by, having, connect by, start with.-- you can’t make lexical reference in a pl/sql statmetns.

Flex mode and Confine mode

Confine modeOn: child objects cannot be moved outside their enclosing parent objects.Off: child objects can be moved outside their enclosing parent objects.

Flex mode:On: parent borders "stretch" when child objects are moved against them.Off: parent borders remain fixed when child objects are moved againstthem.

Diff Between Implicit and Explicit Cursors1) Implicit: declared for all DML and pl/sql statements.By default it selects one row only.

2) Explicit: Declared and named by the programmer.Use explicit cursor to individually process each row returned by a Multiple statements, is called ACTIVE SET. Allows the programmer to manually control explicit cursor in thePl/sql block

Execution Sequences of sql clauses.a)Select…..b)Group by…c)Having…d)Orderby..

posted by Rama at 3:09 PM | 0 Comments

performance problem in a Report

Tune the Report Main QueryCreate indexes on columns used in where condition (eliminate full table scan) set trace on in before report and set trace off in after report

Before Report:

srw.do_sql('alter session set sql_trace=true');After Report:srw.do_sql('alter session set sql_trace=false');

Trace file will be generated at location:

select value from v$parameterwhere name = 'user_dump_dest';

Get the trace file location path

see execution plans in a trace file, you need to format thegenerated trace file with tkprof statement.

Store Code statics in local drive.

posted by Rama at 2:58 PM | 0 Comments

Tuesday, July 10, 2007

APPS Key Conceptsa) None of GL module table contain "ORG_ID" Column.b) FND ->Oracle application foundationsc)ICX: Discoverer LauncherGet the discover Launcher URL

posted by Rama at 10:29 AM | 0 Comments

Wednesday, July 04, 2007

Account Receivables

Account Receivables1)Payment Tables in ARThe following tables stores cash and misc informationa)AR_CASH_RECEIPTS_ALL(CASH_RECEIPT_ID)Stores 1 record for each receipt Entryb)AR_CASH_RECEIPTS_HISTORY_ALL(CASH_RECEIPT_HISTORY_ID)Stores all activities that is life cycle of receiptc)AR_RECEIVABLES_APPLICATIONS_ALL(RECEIVABLES_APPLICATION_ID)Stores Accounting informationD)AR_PAYMENT_SCHEDULES_ALLF)AR_DISTRIBUTIONS_ALL(SOURCE_ID)Stroes Account Distribution informationSetup Tablesa)AR_RECEIPTS_CLASSES(RECEIPT_CLASS_ID)Contains Receipt class information.b)AR_RECEIPTS_METHODS(RECEIPT_METHOD_ID)

Stores Receipt information ,Automatic and manually created receiptsc)AR_RECEIPTS_METHOD_ACCOUNTS

posted by Rama at 11:08 AM | 0 Comments

Tuesday, July 03, 2007

HRMS Date Track

Date Tracking

Date Tracking is a special feature in HRMS.important dynamic information in IS HRMS is date-tracked, including information about people, assignments, payrolls, compensation, and benefits.

When you log on to IS HRMS, your effective date is always today’s date.To view information from another date or to make future-dated changes you must change your effective date.

The two DateTrack command icons on your window toolbar are:• Alter Effective Date• View DateTrack History

When you update date-tracked information, you are prompted to choose between Update and Correction options. If you select Update, IS HRMS changes the record as of your effective date but preserves the previous information.

If you select Correction, IS HRMS overrides the previous information with your new changes. You cannot create a record and then update it on the same day. If you try to do this, IS HRMS warns you that the old record will be overridden, and then changes Update to Correction. This occurs because DateTrack maintains records for a minimum of a day at a time.

View DateTrack HistoryTo see all the changes made to a datetracked record over time, use DateTrack History. Click on [Full History] if you want to open a DateTrack History folder showing the value of each field between the from and to dates.

posted by Rama at 11:47 AM | 0 Comments

Monday, July 02, 2007

Account Paybles Tables

Account Paybles Tables

1)Invoice Details.a)Ap_invoices_all(INVOICE_ID)You can see the approved Invoices.b)Ap_invoice_Distributions_all(INVOICE_ID)

To get Distributed Invoices information.2)Invoice Transactionsa)ap_ae_headers_all(AE_HEADER_ID)b)ap_ae_lines_allStores Distributed Accounting information.3)Payment Schedule Informationa)ap_payment_schedules_all(INVOICE_ID)Stores Amount remaing information and schedule payments for an invoice.b)ap_invoice_payments_all(INVOICE_ID,CHECK_ID)After compleing invoice payment information stores here.4) Check Information.a)ap_checks_all(CHECK_ID)if you done the payment via check this information stores here.b)AP_CHECK_FORMATS(Check_format_id)When you create the invoice ie assciated with accouting infomation that information stores in this table.c)AP_MC_INVOICES(invoice_id,set_of_book_id)Contains Multiple invoice Currency information as well as Exchange Information. d)AP_HOLDS_ALLHolds invoice information you placesf)AP_CHRG_ALLOCATIONS_ALLUsed for AP links with the appropriate invoice distributins.5)Approval informationa)AP_INV_APRVL_HIST_ALL(Approval history id,invoice_id)Invoice approval informationb)AP_HISTORY_INVOICES_ALL(Invoice_id,VENDOR_iD)All invoice history information stores herec)AP_INVOICE_TRANSMISSIONS(JE_BATCH_ID)When you post the invoice to GL This table will effected.6)Termsa)AP_TERMS_TL(TERMS_ID)Contains Term information.b)AP_INTERFACE_REJECTIONSwhich could not be processed by Payables Open Interface Importc)AP_BANK_ACCOUNTS_ALLinformation about bank accounts

What is the interface?Interface Table is a table which is used as medium for transfer of data between two systems.What is INBOUND and OUT BOUND? (Different types of interfaces)Inbound Interface:For inbound interfaces, where these products are the destination, interface tables as well as supporting validation, processing, and maintenance programs are provided.

Outbound Interface:For outbound interfaces, where these products are the source, database views are provided and the destination application should provide the validation, processing, and maintenance programs

What is multi org?“Legal entity has more than one operating unit is called as multi org”a) Business group --- Human resources information is secured byBusiness groupb) Legal entity. --- inter-company and fiscal/tax reporting.Security responsibility operating unit.c) Operating unit --- secures AR, OE, AP, PA and PO Information.d) Organizations --- is a specialize unit of work at particular locations

What are the User PARAMETERS in the Reports?P_CONC_REQUEST_IDP_FLEX_VALUE

FND USER EXITS:-FND SRWINIT sets your profile option values, multiple organizations and allows Oracle Application ObjectLibrary user exits to detect that they have been called by an Oracle Reports program.FND SRWEXIT ensures that all the memory allocated for AOL user exits have been freed up properly.FND FLEXIDVAL are used to display flex field information like prompt, value etcFND FLEXSQL these user exits allow you to use flex fields in your reportsFND FORMAT_CURRENCY is used to print currency in various formats by using formula column

What are the requests groups?a) Single request: - this allows you to submit an individual request.b) Request set : - this allows you to submit a pre-defined set of requests.

Difference between Bind and Lexical parameters?BIND VARIABLE :are used to replace a single value in sql, pl/sql bind variable may be used to replace expressions in select, where, group, order by, having, connect by, start with cause of queries.bind reference may not be referenced in FROM clause (or) in place of reserved words or clauses.LEXICAL REFERENCE:you can use lexical reference to replace the clauses appearing AFTER select,from, group by, having, connect by, start with. you can’t make lexical reference in a pl/sql statmetns.

update clause:1) use explicit locking to deny access for the duration of a transaction2) lock the rows before update or deleteEx : select …….From…….For update[ of column ref] [no_wait]where current of clause?1) use cursor to update or delete the current rowWhere current of <>

What is the package?Group logically related pl/sql types, items and subprograms.

1. package specification2. package bodyAdvantages of a package:A. ModularityB. Easier Application DesignC.Information HidingOverloadingYou cannot overload:•Two subprograms if their formal parameters differ only in name or parameter mode. (datatype and theirtotal number is same).•Two subprograms if their formal parameters differ only in datatype and the different datatypes are in thesame family (number and decimal belong to the same family)•Two subprograms if their formal parameters differ only in subtype and the different subtypes are basedon types in the same family (VARCHAR and STRING are subtypes of VARCHAR2)•Two functions that differ only in return type, even if the types are in different families.

What are triggers?triggers are similar to procedures, in that they are the named pl/sql blocks with declarative,executable and exception-handling sections, how ever a procedure is executed explicitly from another block via a procedure call, which can also pass arguments.A trigger is executed implicitly when ever a particular event task places. And is nothing but a event.The triggering event is a DML (insert, update, delete) operations on a data base tablefires whenever a data event(such as DML) or system event(such as login or shutdown) occurs on a schema or databaseTrigger timing : 1) before2) after3) instead of ( this is used for views)events : 1) insert2)update3) deleteTrigger type : 1) statement level2) row level.Firing sequence of database triggers1. before statement trigger2. before row trigger3. after row trigger4. after statement trigger

LOCKS?Is to reduce concurrency1) share lockit allows the other users for only reading not to insert2) exclusive lock

only one user can have the privileges of insert orothers can only read.3) update lockmultiple user can read, update deleteLock levels :1) table level 2) table space 3) data base level.

What are ad-hoc reports?Ans.: Ad-hoc Report is made to meet one-time reporting needs. Concerned with or formed for a particular purpose. For example, ad hoc tax codes or an ad hoc database query

posted by Rama at 10:07 AM | 5 Comments

Tuesday, August 28, 2007

AOL features in OM

Order Management uses the following AOL featuresDocument Sequences - Order Entry used Order Number Sources for ordernumbering. It let you define sequences that were used to automaticallynumber Orders and Returns. You assigned an Order Number source to anOrder Type.

Order Management uses the AOL Document Sequences feature to meetOrder Numbering requirements. This lets you number Order and Returnsusing Manual, Automatic or Gapless sequences.You can define Document Sequences using the AOL Define Document Sequences form. When you define an Order Transaction Type, the application automatically creates a Document Sequence Category of the same name. You can assign a pre-defined sequence to one or more Document Sequence Categories, using the AOL Sequence Assignmentsform. When an Order is created, Order Management calls AOL DocumentSequence APIs to number the Order.

Attachments - In Order Entry you could define Notes and addition rules regarding when they were attached to an Order or Line. You had to manually choose to add the eligible Notes to the Order or Line. You could also define how the Notes were printed on various Reports. Database triggers were used to duplicate Note definition data in AOL.

Order Management drives off the AOL Attachment functionality enabling you to attach images and web pages (in addition to short or long text). It also offers multi-lingual Document capability. Attachment definition and usage data is stored only in AOL. Automatic Addition rule definitions are stored in Order Management (OE_ATTACHMENT_RULES,OE_ATTACHMENT_RULE_ELEMENTS).In addition to the attributes(Customer, Ship-to, Invoice-to, Order Type, Item, PO #) that were previously available, you can now define rules based on the Order Category,Line Category and Line Type.Oracle Order Management - Sales OrderThe Profile Option ‘OM: Apply Automatic Attachments’ determineswhether rule based attachments are automatically applied

posted by Rama at 11:55 AM | 0 Comments

How to Download Etrm PDF format filesUse the following :http://appsre.us.oracle.com/11idoc/11.5.1/html/trmset.html

posted by Rama at 10:54 AM | 0 Comments

Tuesday, August 21, 2007

Information Templates In POOracle Internet Procurement 11i uses information templates to pass necessary order processing information to suppliers. You may set up information templatesto gather additional informationWhen an information template is assigned to a category or item, Internet Procurement 11i prompts users to provide the information specified in the templateTo define an information template:1. Navigate to the Define Information Template window. From the OraclePurchasing menu, select Setup>Information Templates.

2. Enter an attribute name and description. The attribute name is the actualfield prompt that is displayed in Internet Procurement 11i.

3. Optionally, enter a default value to automatically appear in the field.

4. Indicate whether the field is mandatory for Internet Procurement 11i users.If the field is mandatory, users will be prompted to enter a value in the fieldbefore proceeding to complete the requisition.

5. Indicate whether to activate the attribute to actually display on SelfService Purchasing pages. In certain circumstances, you may want to define anattribute, but delay enabling it for display to Internet Procurement 11i users.

6. Choose Associate Template to associate the template with an item or an itemcategory. The Information Template Association window appears.

7. Select the type of association (item number or item category) you want toassociate with the template.8. If you selected Item Number in the previous step, enter the number. If youselected Item Category, enter the category.

posted by Rama at 7:41 PM | 0 Comments

General Ledger FAQWhat is Journal Import?

A) Journal import is an interface used to bring journal entries from legacy systems and other modules into the General Ledger.(Specifically Journal Import gets entries from legacy data into the GL base tables. The tables populated during journal Import are GL_JE_BATCHES, GL_JE_HEADERS, GL_JE_LINES, GL_IMPORT_REFERENCES

What is the use of GL_Interface?

A) Gl_Interface is the primary interface table of General ledger. It acts as an interface between data originating from other modules such as AP,AR, Legacy data and the Gl Base tables.

What is Actual Flag?

A) Actual flag represents the Journal type. A-ActualB-BudgetE- Encumbrance.What is Encumbrance?

A) It is a process of Reservation of funds for anticipated expenditure from a budget. Encumbrance integrates GL, Purchasing and Payables modules.

How many Key Flex Fields are there in General Ledger?

A)One. Accounting Key Flex Field.How many types of Budgets are there?

A)Two Types. Expenditure BudgetsRevenue Budgets.

What are Spot Rate, Corporate Rate, Transaction Calendar and Accounting Calendar?

Spot Rate:

An exchange rate which you enter to perform conversion based on the rate on a specific date. It applies to the immediate delivery of currency.Corporate Rate: An Exchange rate that we define to standardize rates for our company. This rate is the standard market rate determined by the senior financial management for use through out the organization.User Rate: Conversion rate that is defined by the user.EMU Fixed Rate: An exchange rate that is provided automatically by the General Ledger while entering journals. It uses a foreign currency that has a fixed relationship with the euro.Transaction Calendar: Defines the business days and holidays for any calendar.Accounting Calendar: Defines different types of calendars namely Fiscal, Federal Fiscal, Month etc.

What is Security Rule?

Security Rules are defined to control the access of a flexfield segment value (Financial information) at a responsibility level.

What are Cross Validation & ADI?

CVS – Cross validate segments – Allows only valid code combinations.ADI – Allow dynamic inserts. – Allows any code combination irrespective of validity.ADI would prevail if both of CVS and ADI are checked.

What is Translation?

A) Translation is a process used to convert functional currency to other reporting currencies at the account balances level.

What is Revaluation?

A) It is process used to revalue assets and liabilities denominated in foreign currency into functional currency based on period end exchange rate we specify. Unrealized gains/losses are resulted because of exchange rate fluctuations which are recorded in unrealized gain/loss account in GL.

What is FSG (Financial Statement Generator)?

A) Financial statement generator feature helps us to generate reports such as balance sheets and income statements with out programming. It also provides a high degree of control on the rows, columns, contents and calculations on the report. Different components such as row set, column set, content set, row order, display set have to be defined before a statement is generated, of which row set and column set are mandatory.

What is Consolidation?

A) Consolidation is a period-end process of combining the financial results of separate business subsidiaries with the parent company to form a single combined statement of financial results.

At what level General Ledger data is secured?

A) GL data is secured at Set of Book level. Subledger module data is secured at Responsibility level (i.e., at Operating Unit Level).

posted by Rama at 7:19 PM | 2 Comments

Account Receivables FAQ1) What is Autolockbox?A) Auto lockbox is a service that commercial banks offer corporate customers to enable them to out source their account receivable payment processing. Auto lockbox can also be used to transfer receivables from previous accounting systems into current receivables. It eliminates manual data entry by automatically processing receipts that are sent directly to banks. It involves three stepsImport (Formats data from bank file and populates the Interface Table),

Validation(Validates the data and then Populates data into Interim Tables),Post Quick Cash(Applies Receipts and updates Balances in BaseTables).2)What is Transmission Format?A) Transmission Format specifies how data in the lockbox bank file should be organized such that it can be successfully imported into receivables interface tables. Example, Default, Convert, Cross Currency, Zengen are some of the standard formats provided by oracle.3)What is Auto Invoice?A) Autoinvoice is a tool used to import and validate transaction data from other financial systems and create invoices, debit-memos, credit memos, and on account credits in Oracle receivables. Using Custom Feeder programs transaction data is imported into the autoinvoice interface tables.Autoinvoice interface program then selects data from interface tables and creates transactions in receivables (Populates receivable base tables) . Transactions with invalid information are rejected by receivables and are stored in RA_INTERFACE_ERRORS_ALL interface table.4) What are the Mandatory Interface Tables in Auto Invoice?A)RA_INTERFACE_LINES_ALL, RA_INTERFACE_DISTRIBUTIONS_ALLRA_INTERFACE_SALESCREDITS_ALL.5) What are the Set up required for Custom Conversion, Autolockbox and Auto Invoice?A) Autoinvoice program Needs AutoAccounting to be defined prior to its execution.6) What is AutoAccounting?A) By defining AutoAccounting we specify how the receivables should determine the general ledger accounts for transactions manually entered or imported using Autoinvoice. Receivables automatically creates default accounts(Accounting Flex field values) for revenue, tax, freight, financial charge, unbilled receivable, and unearned revenue accounts using the AutoAccounting information.7) What are Autocash rules?A) Autocash rules are used to determine how to apply the receipts to the customers outstanding debit items. Autocash Rule Sets are used to determine the sequence of Autocash rules that Post Quickcash uses to update the customers account balances.8) What are Grouping Rules? (Used by Autoinvoice)A) Grouping rules specify the attributes that must be identical for lines to appear on the same transaction. After the grouping rules are defined autoinvoice uses them to group revenues and credit transactions into invoices debit memos, and credit memos.9) What are Line Ordering Rules? (Used by Autoinvoice)A) Line ordering rules are used to order transaction lines when grouping the transactions into invoices, debit memos and credit memos by autoinvoice program. For instance if transactions are being imported from oracle order management , and an invoice line ordering rule for sales_order _line is created then the invoice lists the lines in the same order of lines in sales order.10) In which table you can see the amount due of a customer?A) AR_PAYMENT_SCHEDULES_ALL11) How do you tie Credit Memo to the Invoice?At table level, In RA_CUSTOMER_TRX_ALL, If you entered a credit memo, the PREVIOUS_CUSTOMER_TRX_ID column stores the customer transaction ID of the invoice that you credited. In the case of on-account credits, which are not related to any invoice when the credits are created, the PREVIOUS_CUSTOMER_TRX_ID column is null.12)What are the available Key Flex Fields in Oracle Receivables?A) Sales Tax Location Flex field, It’s used for sales tax calculations.Territory Flex field is used for capturing address information.13). What are Transaction types? Types of Transactions in AR?A) Transaction types are used to define accounting for different transactions such as Debit Memo, Credit Memo, On-Account Credits, Charge Backs, Commitments and invoices.

14) What are the different statuses for Receipts?A) Unidentified – Lack of Customer InformationUnapplied – Lack of Transaction/Invoice specific information (Ex- Invoice Number)Applied – When all the required information is provided.On-Account, Non-Sufficient Funds, Stop Payment, and Reversed receipt. Customer Conversion:Interface Tables :RA_CUSTOMERS_INTERFACE_ALLRA_CUSTOMER_PROFILES_INT_ALLRA_CONTACT_PHONES_INT_ALLRA_CUSTOMER_BANKS_INT_ALLRA_CUST_PAY_METHOD_INT_ALLBase Tables :RA_CUSTOMERSRA_ADDRESSESRA_SITE_USES_ALLRA_CUSTOMER_PROFILES_ALLRA_PHONESAuto Invoice:Interface Tables :RA_INTERFACE_LINES_ALL,RA_INTERFACE_DISTRIBUTIONS_ALLRA_INTERFACE_SALESCREDITS_ALL,RA_INTERFACE_ERRORS_ALLBase Tables : RA_CUSTOMER_TRX_ALL,RA_CUSTOMER_TRX_LINES_ALL,RA_CUST_TRX_LINE_GL_DIST_ALL,RA_CUST_TRX_LINE_SALESREPS_ALL,RA_CUST_TRX_TYPES_ALLAutoLockBox:Interface Tables :AR_PAYMENTS_INTERFACE_ALL (POPULATED BY IMPORT PROCESS)Interim tables : AR_INTERIM_CASH_RECEIPTS_ALL (All Populated by Submit Validation)AR_INTERIM_CASH_RCPT_LINES_ALL,AR_INTERIM_POSTINGBase Tables :AR_CASH_RECEIPTS_ALL,AR_RECEIVABLE_APPLICATIONS_ALL,AR_PAYMENT_SCHEDULES_ALL ( All Populated by post quick cash)

posted by Rama at 7:01 PM | 1 Comments

ORDER MANAGEMENT FAQBase Tables Vs Interface Tables

Base Tables : OE_ORDER_HEADERS_ALL: Order Header InformationOE_ORDER_LINES_ALL: Items InformationOE_PRICE_ADJUSTMENTS: Discounts InformationOE_SALES_CREDITS: Sales Representative Credits.

Shipping Tables :WSH_NEW_DELIVERIESWSH_DELIVERY_DETAILSWSH_DELIVERY_ASSIGNMENTSWSH_DELIVERIES

Interface Tables : OE_HEADERS_IFACE_ALL, OE_LINES_IFACE_ALLOE_PRICE_ADJS_IFACE_ALL,OE_ACTIONS_IFACE_ALLOE_CREDITS_IFACE_ALL (Order holds like credit check holds etc)

What is Order Import and What are the Setup's involved in Order Import?

A) Order Import is an open interface that consists of open interface tables and a set of API’s. It imports New, updated, or changed sales orders from other applications such as Legacy systems. Order Import features include validations, Defaulting, Processing Constraints checks, Applying and releasing of order holds, scheduling of shipments, then ultimately inserting, updating or deleting orders from the OM base tables. Order management checks all the data during the import process to ensure its validity with OM. Valid Transactions are then converted into orders with lines, reservations ,price adjustments, and sales credits in the OM base tables.

B) Setups:· Setup every aspect of order management that we want to use with imported orders, including customers, pricing, items, and bills.· Define and enable the order import sources using the order import source window.

3) the Order Cycle?

i) Enter the Sales Orderii)Book the Sales Order(SO will not be processed until booked(Inventory confirmation))iii)Release sales order(Pickslip Report is generated and Deliveries are created)(Deliveries – details about the delivery. Belongs to shipping module (wsh_deliveries, wsh_new_deliveries, wsh_delivery_assignments etc) they explain how many items are being shipped and such details.iv)Transaction Move Order (creates reservations determines the source and transfers the inventory into the staging areas)v)Launch Pick Releasevi)Ship Confirm (Shipping Documents(Pickslip report, Performa Invoice, Shipping Lables))

4)Order to Cash Flow?

I. Enter the Sales OrderII.Book the Sales Order(SO will not be processed until booked(Inventory confirmation))III.Release sales order(Pickslip Report is generated and Deliveries are created)

(Deliveries – details about the delivery. Belongs to shipping module (wsh_deliveries, wsh_new_deliveries, wsh_delivery_assignments etc) they explain how many items are being shipped and such details.IV.Transaction Move Order (Selects the serial number of the product which has to be moved/ shipped)V. Launch Pick ReleaseVI.Ship Confirm (Shipping Documents(Pickslip report, Performa Invoice, Shipping Lables))VII. AutoInvoice (Creation of Invoice in Accounts Receivable Module)VIII. Autolockbox ( Appling Receipts to Invoices In AR)IX.Transfer to General Ledger ( Populates GL interface tables)X. Journal Import ( Populates GL base tables)XI.Posting ( Account Balances Updated).

5)What are the Process Constraints?A. Process Constraints prevent users from adding updating, deleting, splitting lines and canceling order or return information beyond certain points in the order cycle. Oracle has provided certain process constraints which prevent data integrity violations.Process constraints are defined for entities and attributes. Entities include regions on the sales order window such as order, line, order price adjustments, line price adjustments, order sales credits and line sales credits. Attributes include individual fields (of a particular entity) such as warehouse, shit to location, or agreement.6) What are different types of Holds?1)GSA(General Services Administration) Violation Hold(Ensures that specific customers always get better pricing for example Govt. Customers)2)Credit Checking Hold( Used for credit checking feature Ex: Credit Limit)3)Configurator Validation Hold ( Cause: If we invalidate a configuration after booking)

7)What is Document Sequence?A) Document sequence is defined to automatically generate numbers for your orders or returns as you enter them. Single / multiple document sequences can be defined for different order types.Document sequences can be defined as three types Automatic (Does not ensure that the numbers are contiguous), Gapless (Ensures that the numbering is contiguous), Manual Numbering. Order Management validates that the number specified is unique for order type.

8) What are Defaulting Rules?A) A defaulting rule is a value that OM automatically places in an order field of the sales order window. Defaulting rules reduce the amount of information one must enter. A defaulting rule is a collection of defaulting sources for objects and their attributes.It involves the following steps· Defaulting Conditions - Conditions for Defaulting· Sequence – Priority for search· Source – Entity ,Attribute, Value· Defaulting source/Value10. When an order cannot be cancelled?A) An order cannot be cancelled if,· It has been closed· It has already been cancelled· A work order is open for an ATO line· Any part of the line has been shipped or invoiced

· Any return line has been returned or credited.11. When an order cannot be deleted?A) you cannot delete an order line until there is a need for recording reason.12. What is order type?A) An order type is the classification of order. It controls the order work flow activity, order number sequence, credit check point and transaction type. Order Type is associated to a work flow process which drives the processing of the order.13. What are primary and secondary price lists?A) Every order is associated to a price list as each item on the order ought to have a price. A price list is contains basic list information and one or more pricing lines, pricing attributes, qualifiers, and secondary price lists. The price list that is primarily associated to an order is termed as Primary price list.The pricing engine uses a Secondary Price list if it cannot determine the price of the item ordered in the Primary price list.14. What is pick slip? Types?A) It is an internal shipping document that pickers use to locate items to ship for an order.· Standard Pick Slip – Each order will have its own pick slip with in each picking batch.· Consolidated Pickslip – Pick slip will have all the orders released in the each picking batch.15. What is packing slip?A) It is an external shipping document that accompanies the shipment itemizing the contents of the shipment.16. What are picking rules?A) Picking rules define the sources and prioritization of sub inventories, lots, revisions and locators when the item is pick released by order management. They are user defined set of rules to define the priorities order management must use when picking items from finished goods inventory to ship to a customer.17. Where do you find the order status column?A) In the base tables, Order Status is maintained both at the header and line level. The field that maintains the Order status is FLOW_STATUS_CODE. This field is available in both the OE_ORDER_HEADERS_ALL and OE_ORDER_LINES_ALL.18. When the order import program is run it validates and the errors occurred can be seen in?A) Responsibility: Order Management Super UserNavigation: Order, Returns > Import Orders > Corrections

posted by Rama at 6:32 PM | 0 Comments

Thursday, August 09, 2007

Workflow Access Levels

0-9: Reserved for Oracle Workflow 10-19: Reserved for Oracle Application Object Library20-99: Reserved for Oracle E-Business Suite100-999: Reserved for customer organizations1000: Public.

R12 Technical featuresR12 is Moving jinitiator to Native Sun Java Plug-in (Sun J2SE1.5(5.0))Browser Supports1) Ie 6.02)Netscape 7.23)Firefox 1.54)Safari 2.0 only Macintosh OSX(10.4) Concurrent Processing Features 1)Request Set Submission in OAF2)Multi-Org Access Control (MOAC) 3)Restart and Hold for Request Sets4)Role Based Access Control (RBAC)Request Set Submission in OAFEarlier ,request sets could be submitted through forms user interface.But in you can submitconcurrent Request through HTML based UI.There is no applet download required .This feature supportsPartial page rendering.Restart and Hold for Request SetsThis is Another New feature end users will be perform on Concurrent Reuqest sets Restart and Hold.your able to restart the failed setsYou can also place a Hold on a Request Set that is currently running. This will hold the Request Set at the end of the current executing stage until the hold is manually removed If a Running Request Set is placed in Hold, the next stage is never executed. Once the hold is removed, the set goes back on the queue and will be picked up by the next available manager for execution. This gives you the ability to pause a running Request Set and resume it at a later timeBoth of these new operations can be executed from the Forms and the OAFramework.Multi-Org Access Control (MOAC) R12 introduces another new feature Multi-Org Access Control for Concurrent Requests,Aloows a user to acessmultiple organizations from a single responsibility The key setup steps are:Define the customer organizationsSet the Concurrent Program Operating Unit Mode to S (Single) M (Multiple) or null.Define the MO: Security Profile profile option. There are two key profile options for MOAC. The first is the MO: Security Profile. This profile option is setup on Install and contains a list of HR global profile options. The second key profile is the MO: Default Operating Unit which you can use to set the default Operating Unit for a user.Role Based Access Control (RBAC) in Request Submission and ViewingThis is final feature Role Based Access Contol.This feature is used to to restrict access to data in Concurrent Processing This allows administrators to limit which Concurrent Programs and Concurrent Request Sets a user is allowed to Submit for processing, and also which Concurrent Requests the user is able to view.legacy Report Access Level profile is no longer supported, and will not work in R12.In earlier releases, request groups were tied to responsibilities via the "Define Responsibilities" form. This has been deprecated in R12.

posted by Rama at 2:18 PM | 1 Comments

Thursday, October 18, 2007

XML Publisher in R12Oracle XML Publisher is a new Java-based product available within the technology stack of Oracle E-Business Suite. Utilizing a set of familiar desktop tools such as Adobe Acrobat and Microsoft Word, users can create and maintain their own report formats based on development delivered XML data extracts. Oracle XML Publisher then converts these documents to the XSL-FO format. Users can also obtain third party provided PDF forms, such as government tax forms, and merge XML data generated from Oracle E-Business Suite to fill the forms with the required data. The new features are:XML Data Extraction EngineOracle XML Publisher now supports data generation. The Oracle XML Publisher data engine enables you to rapidly generate any kind of XML data structure against one or multiple databases in a scalable, efficient manner. The data template is an XML document that you construct to communicate your request for data to the data engine. The data engine can be called to execute the data template using the Concurrent Manager or an API. The data engine supports schema generation, flexfields, single and multiple data queries, distributed queries against multiple databases, query links, parameters, multiple data groups, aggregate functions, and event triggers. The data engine can also generate a default RTF template.Translation Support The Oracle XML Publisher Template Manager now allows you to define a template as "translatable." When you define a template as translatable, Oracle XML Publisher extracts the translatable strings. You can then export the strings into an XLIFF (.xlf) file. This XLIFF file can then be sent to a translation provider, or using a text editor, you can enter the translation for each string. Upload the translated XLIFF file back to the Template Manager to make the translated template available at runtime.Desktop Tools The Template Builder for Word and the Template Viewer are two desktop tools that increase your productivity using Oracle XML Publisher. The Template Builder is tightly integrated with Microsoft Word to automate many RTF template design tasks. It allows you to:Insert data fields, tables, forms, and chartsBrowse and update the content of form fieldsExtract boilerplate text into an XLIFF translation file and test translationsThe Template Viewer is a Java application that facilitates the rapid development of templates by providing advanced preview capabilities.Administration User InterfaceThe XML Publisher Administrator responsibility now provides an administration interface. Using this interface you can set configuration properties, define font mappings, upload font files, and define currency formats. You can configure the behavior of Oracle XML Publisher at the site level, data definition level, and template level. Previously the properties available through this feature were configurable only through the Oracle XML Publisher configuration file, and only at the server level. For customers who have already configured their systems using the xdo.cfg file, a command line utility is available to migrate their existing settings to the database.Upload Font Files and Create Font MappingsYou can now upload fonts through the administration interface to make them available to Oracle XML Publisher at runtime. You can also create font mappings to map fonts used in your template to other fonts to be published in PDF output. The mapping can be defined at the site level, the template level, or the data definition level.Define Currency Formats

This feature allows you to map a number format mask to a specific currency so that your reports can display multiple currencies with their own corresponding formatting.RTF Template EnhancementsGraphics SupportDrawing/shape support: Users can now use Microsoft Word’s native support for predefined drawing objects and custom drawings. In addition, they can manipulate shapes by stretching, compressing, skewing, and repeating them in the final output based on XML data or parameters. This behavior can also be applied to composite shapes in the template.Background/watermark support: The native MS Word functionality to add backgrounds and watermarks, text or images is now supported.SVG image support: Users can now embed SVG images directly in the template.SVG chart output support: Charts generated in the template are now converted to the SVG format. This conversion improves both the chart image and supporting labels for the chart.Hyperlink support for shapes: You can add a hyperlink to a shape to enable users to click the image in the document and link to an internal or external destination. The link can be static or dynamically determined at runtime.

Conditional FormattingIf construct: Rather than requiring the normal xsl:if statement, Oracle XML Publisher now supports the more familiar “if … then … else” construct.Fixed-row enumeration: Users can now specify a fixed number of rows for a table regardless of the amount of data coming into the template at runtime.Currency formatting: Numeric values can now be formatted according to their associated currency code.Data Manipulation with an RTF Template Brought Forward/Carry Forward page totals: Used frequently in financial reporting, this feature allows you to calculate the page total for a given field, display it at the bottom of the page to be carried forward, and then display it at the top of the subsequent page as the brought forward total. Updateable variables: Updateable variables differ from standard XSL variables in that they are updateable during the template application to the XML data. This functionality allows you to create many new features in your templates that require updateable variables, such as a running total. Parameters: You can now declare parameters in your template and pass values at runtime.Batch Processing Enhancements This release provides better support for batch processing based on RTF templates by providing support for the following new features:Restart page numbering for section breaks: For example, if generating invoices for multiple customers, you can now restart the page numbering for each new invoice.Reset header and footer: Similarly, if header and footer data are being supplied from the data (such as customer name), they can be reset for each new invoice.Number and Date Formatting You can now use the Oracle number and date format masks to control the display of numbers and dates. The Oracle masks ensure that at runtime the appropriate locale-specific formatting is used. The Microsoft native formatting masks are also supported.PDF Bookmark SupportOracle XML Publisher can now generate the bookmark links that display in the PDF navigation pane. These links can either be static bookmarks or dynamic and based on the incoming data stream.Support for Variable Page Layouts Within a Report Odd and even header and footer support: You can now define different headers and footers for odd and even pages in your output.

Last-page-only content support: You can specify the layout and content of the last page of the report. This feature is useful for documents such as checks, invoices or purchase orders in which content such

as the check or a summary must appear in a specific place only on the last page. Truncate Table Data You can now choose to truncate data in a table cell that is too big for the cell. Previously all data was wrapped.Multicolumn Pages Microsoft Word’s native multicolumn page function is now supported. Initial Page Number You can now define the page number from which you want the first page of a report to begin.Check Boxes You can now include a check box in your template that you define to display as checked or unchecked based on a value from the incoming data.Bulk Printing SolutionThe printing of large documents, such as those that are thousands of pages long, is problematic in Oracle E-Business Suite using regular printing functionality. This release provides the ability to split an incoming document into multiple print jobs that can be directed to the printer or printers, enabling load balancing across a set of printers.Inbound EFT Document Support Previous releases of Oracle XML Publisher provided the ability to generate Electronic Funds Transfer (EFT) formats using an RTF template to communicate payment requests to a financial institution in an electronic format. This release builds on that functionality providing several enhancements. In addition, Oracle XML Publisher now has the ability to accept a remittance message from the financial institution in the electronic format and to generate XML data from the message for the calling application to update its reconciliation tables.PDF Book Creation This release delivers the ability to create merged PDF documents from multiple subdocuments based on a command fileTable of contents: The table of contents can span multiple documents.Bookmarks: This feature is the Adobe interpretation of bookmarks, that is, the links that appear on the left side of the document when opened in Adobe client software.

Master header/footer layouts: These layouts can support portrait and landscape page formats in the same document.

Section and master page numbering: Users can implement page numbering across the complete master document, or across a section made up of multiple subdocuments and numbering on the base documents.Hyperlinks: The control file allows the user to build a set of cross-referencing hyperlinks within the master document and across multiple separate documents.Preamble/postscript text: The user can add text prior to or after the insertion of a subdocument into the master document.These features allow the user to build composite documents from subdocuments in a fast, scalable fashion.

posted by Rama at 4:49 PM | 2 Comments

Monday, October 15, 2007

R12 Script Files Infoadautocfg.sh - run autoconfigadstpall.sh - stop all servicesadstrtal.sh - start all servicesadapcctl.sh - start/stop/status Apache onlyadformsctl.sh - start/stop/status OC4J Formsadoacorectl.sh - start/stop/status OC4J oacoreadopmnctl.sh - start/stop/status opmn

adalnctl.sh - start/stop RPC listeners (FNDFS/FNDSM) adcmctl.sh - start/stop Concurrent Manager gsmstart.sh - start/stop FNDSMjtffmctl.sh - start/stop Fulfillment Serveradpreclone.pl - Cloning preparation scriptadexecsql.pl - Execute sql scripts that update the profiles in an AutoConfig runjava.sh - Call java executable with additional args, (used by opmn, Conc. Mgr)

posted by Rama at 4:18 PM | 0 Comments

Oracle Application Framework Features in Oracle R12The new features are:

1. Service Interface2. Service Tester3. “Swan” User Interface4. Personalized SPEL Bindings5. Oracle JDeveloper 10g Release 3 (10.1.3)6. Personalization Administration7. Improved About Pages8. Administrator Personalization Usability Enhancements9. External Content in OA Framework Pages10. Read-only Required Items11. Favorites12. Configurable Start Page13. Attachment Security14. SQL Component Extensibility15. Flexfield Enhancements

Service InterfaceThe service interface is a Java interface that is designed to support both web services and local Java APIs. The service interface provides consistent APIs and error handling behavior across the different application products. Included is support for the new Service Data Object standard to increase interoperability in a Service Oriented Architecture. Service data objects are used to represent business objects in a standardized manner. See the Oracle Integration Repository for more information on how to register and discover services, and optionally configure a service as a public Web service.Service Tester The service tester user interface is used to create unit and integration tests. The tests are recorded in documents as structured XML data. For integration testing, each test file can contain multiple test suites, and each test suite can have multiple test cases. As part of periodic system tests, service tests can be played back from either JDeveloper or from the operating system command line. The service tester supports the following features: Field masking, so that variable data such as the current date does not cause a test failure Pipelining, where the output of one test is used as the input of a subsequent test An option to suppress the commit of test data“Swan” User Interface The new “Swan” user interface (UI) greatly improves the look and feel of the Oracle E-Business Suite, significantly enhancing usability and productivity. The “Swan” UI brings together some of the best UI concepts from Oracle E-Business Suite, PeopleSoft, and JD Edwards applications. Oracle E-Business Suite will use only the “Swan” look and feel for Release 12.Personalized SPEL BindingsSPEL (simple expression) bindings can be used to substitute or override the base SPEL bindings for rendered, required, and read-only properties.Oracle JDeveloper 10g Release 3 (10.1.3)Release 12 leverages Oracle JDeveloper 10g Release 3 (10.1.3). This release of JDeveloper is a J2EE development environment with end-to-end support for modeling, developing, and debugging applications and Web services. Oracle JDeveloper 10g Release 3 (10.1.3) allows existing Oracle Application Framework applications and services to be extended, or entirely new applications and services to be built easily.Personalization Administration Release 12 extends the existing command line personalization capabilities with HTML pages included in the Functional

Administrator responsibility. This feature also allows you to replicate personalizations across database instances.Improved About Pages The About page has been extended to include the following: Last 10 patches applied on the instance Flexfield definitions on the page, and whether they use unsupported features specific to the Forms stack The ability to launch Admin Personalization from the About pageAdministrator Personalization Usability Enhancements Usability enhancements to the Administrator Personalization UI include: Ability to bypass the Choose Context page when the current context is known. A minimal page hierarchy, eliminating the need for hidden layout containers. Personalization error messages include a link to launch the “About page,” where the associated personalizations can be reviewed and edited.External Content in OA Framework PagesAdministrator Personalization now supports the inclusion of any URL in OA Framework pagesSQL Component Extensibility View objects can now be modified by using SQL components to extend an existing object, rather than by replacing the view object definition. SQL component extensions are designed to persist across upgrades of the underlying object.Flexfield EnhancementsFlexfield errors are handled more gracefully. Warnings are raised if an OA Framework flexfield uses incompatible features

posted by Rama at 2:10 PM | 0 Comments

Friday, October 12, 2007

New Workflow Features in R12

Workflow Directory Service Bulk Synchronization Worklist Flexfields Digital Signatures Notification Mailer Workflow Engine Business Event System

Workflow Directory Service Bulk SynchronizationThe Workflow Directory Service Bulk Synchronization concurrent program can now recreate a directory service partition that includes roles that are part of a role hierarchy.

Worklist FlexfieldsOracle E-Business Suite system administrators can now promote information stored in notification message attributes from the notification detail page to a personal worklist view for viewing and sorting

Digital SignaturesThe digital signature infrastructure now supports the following:Ability to digitally sign the entire notification contents, including subject, message body, response attributes, and response actionAbility to verify the signed documents through an evidence store user interface after the signing processEnhancement of the notification purge program to exclude purging of signature-enabled notifications

Notification MailerThe notification mailer now includes the following new and improved features:

Simplified configuration:The notification mailer configuration wizard is now split into basic and advanced pages.Override address:The test address is set in a new Set Override Address page and requires a verification code to be entered before the notification mailer begins sending notifications to that address.Enhanced error handling for mass failures:In cases where many users have been set up with invalid email addresses, the workflow directory service is updated to no longer send e-mails to those users.System alerts integration:When the Workflow Mailer Service encounters errors, it sends a system alert to provide easy visibility to system administrators and applications DBAs as to the status of the Workflow Mailer Service without having to review log files.SSL Support:The Workflow Mailer Service can now connect to IMAP and SMTP mail servers a using SSL authentication.

Workflow EngineThe Workflow Engine now includes a bulk array interface for creating and starting processes. These bulk array interfaces offer significant performance improvements over the single work item APIs when starting many workflows at the same time, such as in a batch program.

Business Event SystemThe Business Event System (BES) now includes:Event and subscription caching at the PL/SQL layer:When a business event is raised, the Event Dispatcher queries a cache before running SQL on database tables to identify the corresponding event subscriptions in order to reduce SQL executions. This feature provides performance gains for event subscriptions processed within a single session, such as batch programs or high volume data entry scenarios.

PL/SQL rule function optimization:PL/SQL packages are generated for all registered rule functions during installation. BES calls a generated PL/SQL package statically by passing the function name to be executed. This feature eliminates the overhead of the dynamic SQL used to call rule functions prior to Release 12.Declarative event subscription error handling:You can choose between the following “On Error” conditions when defining new subscriptions:Stop and Rollback:Stop processing any further subscriptions and roll back those that have already been executed.

Skip to Next:Roll back only the errored subscription and then continue processing subsequent subscriptions.

posted by Rama at 5:02 PM | 0 Comments

Workflow API

•A function activity is usually defined by a PL/SQL stored procedure that performs some automated processing within a workflow process.•The PL/SQL procedure for a function activity must follow a standard API.

All PL/SQL stored procedures called by function activities in a workflow process must follow the standard API format so that the Workflow Engine can properly execute the activity.

procedure (itemtype in varchar2,itemkey in varchar2,actid in number,funcmode in varchar2,resultout out varchar2);

•itemtype: The internal name for the item type.•itemkey: A string that represents a primary key generated by the workflow-enabled application for the item type. The item key uniquely identifies the item within an item type.•actid: The ID number of the activity from which this procedure is called.•funcmode: The execution mode of the function activity, either RUN or CANCEL.•resultout: A result that is returned depending on the result type specified for the activity.

•RUN–Executed when activities are executed for the first time–Executed following CANCEL mode when a loop is revisited with On Revisit set to Reset•CANCEL–Executed for activities revisited in a loop with On Revisit set to Reset–Executed for activities that are part of a process that has been canceled by a call to WF_ENGINE.AbortProcess( )

•If a result type is specified in the property page of the activity in the Workflow Builder, this parameter represents the expected result returned when the procedure completes.•Possible resultout values are:–COMPLETE:–WAITING–DEFERRED:–NOTIFIED::–ERROR:

•A post-notification function can be used to couple processing logic to a notification activity.•Post-notification functions for notification activities must follow the same standard API as PL/SQL procedures for function activities.•However, notification activities use different execution modes than function activities

All PL/SQL stored procedures referenced by notification activities as post-notification functions in a workflow process must follow the standard API format so that the Workflow Engine can properly execute the activity.

•The resultout parameter is ignored for the ‘RESPOND’, ‘FORWARD’, and ‘TRANSFER’ execution modes, unless the parameter value is in the form ‘ERROR%’. •If you want to fail the Respond, Forward, or Transfer operation after the post-notification function has executed, you can:

–Return resultout = ERROR:–Raise an exception in your procedure

You can reference the following global WF_ENGINE variables in your post-notification function:•WF_ENGINE.context_nid = notification_ID•WF_ENGINE.context_text = new_recipient_roleif the function is called in TRANSFER or FORWARD modeorWF_ENGINE.context_text = responderif the function is called in RESPOND mode

•Use WF_CORE APIs to raise and catch errors in your PL/SQL procedures.•The Workflow Engine sets the status of the function activity to “ERROR” if:–The PL/SQL procedure raises an unhandled exception–The PL/SQL procedure returns a result beginning with “ERROR:”

Use the following APIs to start or run a workflow process:•WF_ENGINE.CreateProcess•WF_ENGINE.StartProcess•WF_ENGINE.LaunchProcess•WF_ENGINE.SetItemOwner•WF_ENGINE.SetItemUserKey•WF_ENGINE.GetItemUserKey•WF_ENGINE.SetItemParent•WF_ENGINE.Event•WF_ENGINE.Background•WF_ENGINE.CreateForkProcess•WF_ENGINE.StartForkProcess

Use the following APIs to communicate attribute information to the Workflow Engine:•WF_ENGINE.SetItemAttribute•WF_ENGINE.SetItemAttrDocument•WF_ENGINE.SetItemAttributeArray•WF_ENGINE.GetItemAttribute•WF_ENGINE.GetItemAttrDocument•WF_ENGINE.GetItemAttrClob•WF_ENGINE.GetItemAttrInfo

•WF_ENGINE.AddItemAttr•WF_ENGINE.AddItemAttributeArray•WF_ENGINE.GetActivityAttribute•WF_ENGINE.GetActivityAttrClob WF_ENGINE.GetActivityAttrInfo

Use the following APIs to communicate state changes to the Workflow Engine:•WF_ENGINE.CompleteActivity•WF_ENGINE.CompleteActivityInternalName•WF_ENGINE.BeginActivity

•WF_ENGINE.AssignActivity•WF_ENGINE.GetActivityLabel•WF_ENGINE.AbortProcess•WF_ENGINE.SuspendProcess

•WF_ENGINE.ResumeProcess•WF_ENGINE.HandleError•WF_ENGINE.ItemStatus

•For standalone Oracle Workflow, a calling application can launch a Web browser and pass a Workflow Monitor URL.•You can monitor a specific item type and key through the following URLs:–Process Diagram URL–Notifications List URL–Activities List URL

•To generate Workflow Monitor URL strings, call the following functions:–Process Diagram: WF_MONITOR.GetDiagramURL( )–Notifications List: WF_MONITOR.GetEnvelopeURL( )–Activities List: WF_MONITOR.GetAdvancedEnvelopeURL( )•The calling application must supply the Web agent string, item type, and item key, and specify whether to run the monitor in ADMIN or USER mode.

posted by Rama at 12:38 PM | 2 Comments

Friday, October 05, 2007

Download PDF format Etrms

Etrms and Some Usefull documents

http://cid-ae545c16904514ec.skydrive.live.com/browse.aspx/Ora%20Apps%20docs/

posted by Rama at 5:41 PM | 0 Comments

Monday, October 01, 2007

1.Multi Org

In Release 11i, a user assigned to an Operating Unit (OU) would process data from the products deployed in that OU. To process data for another OU, a user would log out of the first and into the second. The data generated in that OU would be accounted for according to rules generated by various product accounting engines, and posted to general ledger in ways appropriate for the different products, some generating part of the detail at different times in the process. General Ledger sets of books (Sob) were self-contained, reflecting the balances of the entity to which you’d assigned the Sob, and managed by users assigned to the Sob.

In Release 12.0, by contrast, users can be assigned to multiple operating units, and are supported by processes and transactions that can span operating units. Their data is book-kept according to rules stored in a single accounting engine,and the accounting is stored in subledger tables that are standard across all products. Complete accounting is maintained for every appropriate event, and all subledger entries are fully balanced and detailed. A single, common posting engine summarizes to your required level of detail, and posts to General Ledger.Sets of Books are replaced by the accounting entity’s ‘ledger’ for data, and its ‘Ledger Set’ for processing, from reporting, opening and closing, through allocations. Ledgers can be combined into ledger sets, and GL users are assigned to the ledger sets. User access to multiple operating units is called ‘Multi-Org Access Control’,(MOAC).

2. Multi-Org Access Control (Changed functionality): Multi-Org Access Control enables companies that have implemented a Shared Services operating model to efficiently process business transactions by allowing them to access, process, and report on data for an unlimited number of operating

units within a single applications responsibility. This increases the productivity of Shared Service Centers, as users and processes no longer have to switch applications responsibilities when processing transactions for multiple operating units at a time. Data security and access privileges are still maintained using security profiles that now support a list of operating units.

5. Multi-Org Integration with Accounting Setup Manager:(New functionality) The Accounting Setup Manager is a central location to define your accountingrelated setup across all financial applications. Here, you can define your legal entities and their accounting context, which includes the ledgers that will contain the accounting data for each legal entity. Multi-Org is integrated into the Accounting Setup Manager such that users can define operating units and their relationship to ledgers. For each operating unit, users can also select a legal entity to provide a default legal context during transaction processing. This centralizes your setup and makes it easier to inquire on and maintain relationships between ledgers, legal entities, and operating units.

6.GL Accounting Setup- Simultaneous Accounting for Multiple Reporting Requirements:(New functionality)

Companies that are global in nature and that have operations in different localities often have multiple reporting requirements. These companies and their subsidiaries often need to satisfy the accounting and reporting requirements for each country as well as those of the parent company. This involves performing accounting in accordance with accounting principles and standards of multiple countries and in different currencies, charts of accounts, and/or calendars. The reporting requirements can also be statutory in nature, and one subsidiary may even need to satisfy multiple sets of statutory requirements. Oracle General Ledger simplifies the simultaneous management of the accounting for all of these different reporting requirements in this latest release. You are able to define your legal entities and the setup needed to address each accounting and reporting requirement using the Accounting Setup Manager. New enhancements and integration with Subledger Accounting enable Oracle General Ledger to perform accounting for all reporting requirements of a legal entity simultaneously.

7. Centralized Accounting Setup(New feature): The Accounting Setup Manager is a central location to define your accounting-related setup across all financial applications. Here you can define your legal entities and their accounting context, which includes the ledgers* that contain the accounting data for each legal entity. If a legal entity has multiple reporting requirements, you can include additional reporting currencies or ledgers in the accounting context to satisfy the additional requirements.

8. Enhanced Reporting Currency Functionality (Changed functionality) : Multiple Reporting Currencies functionality is enhanced to support all journal sources. Reporting sets of books are now simply reporting currencies. Every journal that is posted in the primary currency of a ledger can be automatically converted into one or more reporting currencies. This conversion can be performed by Subledger Accounting, to convert all subledger journal entries, or by General Ledger, to convert more summarized General Ledger journals. You can choose to convert any journal sources and

categories.

9. Improved Processing Efficiency- Simultaneous Data Access to Multiple Legal Entities and Ledgers: -New feature.

Can access multiple legal entities and ledgers when you log into Oracle General Ledger using a single responsibility. This improves processing efficiency by reducing the need to switch between responsibilities when trying to access data for different ledgers or legal entities.

10.Simultaneous Opening and Closing of Periods for Multiple Ledgers: (New feature) The Open and Close Periods Programs have multiple enhancements. You are able to run any of the Open and Close Periods Programs from the Concurrent Manager. This allows you to take advantage of scheduling and request set capabilities for greater processing efficiency. Also, if you manage multiple

ledgers, you can open or close periods for multiple ledgers simultaneously. You can even keep the status of periods across multiple ledgers in synch with new programs that ensure a specific period is Open or Closed for all of the ledgers you manage.

11. Cross-Ledger and Foreign Currency Allocations:(New feature) You are able to allocate financial data from one or more ledgers to a different target ledger. This enables you to perform cross-ledger allocations, which is useful for purposes such as allocating corporate or regional expenses to local

subsidiaries when each entity has its own ledger. This is possible even if the target ledger is in a different currency than the source ledger(s) because you can create allocations in foreign currencies. Foreign currency allocations are also useful within a single ledger if you need to allocate amounts to a currency that is different from the primary currency of a ledger.

12. Simultaneous Currency Translation of Multiple Ledgers (New functionality) If business manages multiple ledgers; you can run the Translation program for multiple ledgers simultaneously.

REATING CUSTOM TOP IN ORACLE APPS

You can create custom top in oracle application using following Process.

Step 1: Replicate APPL_TOP Dircetory in UNIXCd $APPL_TOPStep 2: Create Custom Top Under APPL_TOP DirMkdir XXCUST_TOP (Exactly Product Directories)Make sure all the files and Directories are same as Other Product Dir.Step 3: Add Custom Top entry in APPLSYS.env fileStep 4: Login Oracle apps using Sysadmin or AOLNavigate: Applications->RegisterAdd your Custom top Entry Here

Application: XXApplication nameShort name: XXCUSTBasePath: XXCUST_TOPDescription: XXApplication.

Step 5: Restart the Internal Concurrent Manager (ICM) So that New Changes will recognize.

Step 6: Finally Check Custom Entry inSelect BASEPATH,PRODUCT_CODE,APPLICATION_SHORT_NAMEFrom fnd_applicationWhere application_Short_name like 'XXCUST_TOP%'

Auto Connect to Workflow instance and Sqlplus

1) Open the workflow Builder

2) Click on choose file

3) Select database radio button and connect to database

4) Select the item type you want to display in object Navigator

Then it loads selected Wf Item type in workflow object navigator

5) Select item type in Navigator

6) Choose file menu and click on shortcut

Then it will ask you creating short cut on Desktop click on

7) Go to desktop select the wft file right click on that go to properties

You can see the text in target box like this

C:\OraWf\bin\WFBLDR.EXE -C "apps@visr12" -E "AZNM007"

8)Change the text from C:\OraWf\bin\WFBLDR.EXE -C "apps@visr12" -E "AZNM007” to

C:\OraWf\bin\WFBLDR.EXE -C "apps/apps@visr12" -E "AZNM007" and click on ok Button

9) Finally Double click on wft file it wills automatically connected to Database

Note: Repeat same steps to SQLPLUS .

Select PLUS80w.exe go to properties change the target text box value.

Ex: C:\orant\BIN\PLUS80W.EXE apps/apps@DBNAME

posted by Rama at 4:19 PM | 0 Comments

Thursday, December 20, 2007

How to Pass Status from PL/SQL Script to Shell Script

By using following method you can pass specific value or status from pl/sql block to shell script.

Step 1: Define PL/SQL Program and declare 1 global variableAssign the status to Global variable. Once you assign the status to Variable it will store into System parameter $?

Step 2: Call Pl/sql program in Shell Script and assign $? (Contains Pl/Sql global variable Value) Value to script variable.

=> Create Ret.sql

variable ret_val numberdeclarevarchar2(40);the_date date;beginselect sysdate into the_date from dual;:= to_char(the_date, 'MON');dbms_output.put_line('Month: '||);if(str = 'JUL') then:ret_val := 10;else:ret_val := 20;end if;end;/exit :ret_val;

When Control comes out from Ret.sql ,the return(:ret_val) value stores in $?

Run the above script At Unix prompt and check the value of $?

echo $?

The value could be 10 or 20

=>Now Create Shell Script

#!/bin/kshsqlplus scott/tiger @Ret #Calling Pl/SQl file Hereif [ $? -eq 10 ] #$? contains Pl/sql Return value(:ret_val)thenecho "The month is July"elseecho "The month is not July"fi

posted by Rama at 7:59 PM | 0 Comments

Wednesday, December 19, 2007

How to get Version of Programs, Files, and Objects

1) ORACLE APPLICATIONS

To obtain version of form from any applications form, navigate to the form. Then in the Menu toolbar select Help => About Oracle Applications.OrRun the following statementselect release_name from fnd_product_group;2) DATABASE OBJECTSselect text from user_source where name='&package_name' and text like '%$Header%';

You can also obtain the pls version on the database by running: select name, text from dba_source where text like '%.pls%' and line

VIEWSselect VIEW_NAME, TEXT from USER_VIEWS where VIEW_NAME = '&VIEW_NAME';

Oracle Workflow$FND_TOP/sql/wfver.sqlORselect TEXT from WF_RESOURCES where NAME='WF_VERSION';

UNIX : uname -aWINDOWS : Start => Parameters => Control Panel => SystemJAVAjava -version

sqlplus start=>Run=>cmdsqlplus

TNSPINGstart=>Run=>cmdTNSPING

D2k versionORACLE_HOME\Orainst\nt.rgs

File versionsOn Unix: strings -a "File name" | grep HeaderOn Windows : find "Header" File_name

posted by Rama at 5:43 PM | 0 Comments

Traceing Jinitiator Some times Jinitiator raises exception .You can figure it out by using Trace Jinitiator

Step 1: Windows select Start - Settings - Control Panel – Jinitiator

Step 2: Enter following in the "java Run Time parameters” textfield: -Djavaplugin.trace=true-Djavaplugin.trace.option=basicnetsecurityextliveconnect.

Step 3: Restart Your Machine You can see the trace file information under C:\Documents and Settings\\jinitiator. Trace

posted by Rama at 4:53 PM | 0 Comments

JAVA VIDEO FILES Learn java your self by using following link. http://devel.njit.edu/~media/CIS%20602/index.html

posted by Rama at 3:24 PM | 0 Comments

Thursday, December 06, 2007

ORACLE REPORTS 10g in R12.

Oracle Reports 10g is Introduced in R12, But 10G doesn’t support all Features.

1)Import Portal component2)Backward compatibility with oracle reports 6i Client3)Using Keywords SRW.RUN_PRODUCT

If your Migrating any report from 6i-> 10g, switch to using either the ORA_JAVA package or the Java Importer utility. Refer to Oracle Reports online Help for more information on how to use the Java Importer

Deprecated user exit built-in procedures

SRW.UNKNOWN_USER_EXITà Replace with ORA_FFI, or ORA_JAVA calls.SRW.USER_EXITà Replace with ORA_FFI, or ORA_JAVA calls.SRW.USER_EXIT20à Replace with ORA_FFI, or ORA_JAVA calls.SRW.USER_EXIT_FAILUREà Replace with ORA_FFI, or ORA_JAVA calls

Obsolete Functionality

The following functionality is obsolete in Oracle Reports 10g Release 2 (10.1.2):

· Running Reports Server as a Windows service

The following functionality was obsoleted in a prior release (that is, Oracle9i Reports or Oracle Reports 10g (9.0.4)):

1)Character-mode Runtime Viewer

2) Graphical user interface for reports runtime

3)Oracle Forms built-in RUN_PRODUCT for submitting report requests

4)Oracle Graphics

5)Selected executables

6)Selected command line keywords

7)Selected system parameters

8)Miscellaneous Items

Character-mode reports can still be designed in Reports Builder 10g (10.1.2), and character-mode output produced with Oracle Reports 10g (10.1.2), using the command line option MODE=CHARACTER

The Oracle Forms built-in RUN_PRODUCT is replaced by the new built-in RUN_REPORT_OBJECT.

RUN_REPORT_OBJECT for submitting report requests. For more information, refer 16 to the white paper Oracle Application Server 10g - Integrating Oracle Reports in Oracle Forms Services available on the Oracle Technology Network (OTN).

In Oracle Reports 10g Release 2 (10.1.2), the use of keywords SERVER and USERID with SRW.RUN_REPORT is deprecated. Reports created in prior releases that use these keywords with SRW.RUN_REPORT will continue to run in Oracle Reports 10g Release 2 (10.1.2), but the values specified in these keywords will be ignored. If you need these keyword values to be honored, set the environment variable REPORTS_SRWRUN_TO_SERVER=YES.

posted by Rama at 11:01 AM | 1 Comments

Tuesday, December 04, 2007

Another methods to find out the APPLSYS Password.1) Method 1Download following file from $FND_TOP/resource/appsweb.cfg into Desktop Open it in Notepad and check line # from 65-70APPLSYS password is hard coded.

2) Method 2Download Dbc file from $FND_TOP/secure into Local Drive and Check at line no#9 GWYUID=APPLSYSPUB/PUB

1)DBC File

v_user_name VARCHAR2(30) ;l_resp_key varchar2(200);l_resp_app varchar2(2000);BEGINv_user_name :=UPPER('&user_name');l_resp_key :=UPPER('&resp_key');l_resp_app :=UPPER('&resp_short_name');

--SELECT --fa.APPLICATION_SHORT_NAME, --fr.RESPONSIBILITY_KEY, --fr.RESPONSIBILITY_NAME --FROM --FND_APPLICATION_vl fa, --fnd_responsibility_vl fr --WHERE --fa.application_id=fr.application_id --AND fr.RESPONSIBILITY_NAME like 'MRC, USD Payables%Reporting%'

---Using Above Query Get Application Shot name and Responsibility Key

fnd_user_pkg.addresp (username => v_user_name ,resp_app => l_resp_app ,resp_key => l_resp_key ,security_group => 'STANDARD' ,description => 'Auto Assignment' ,start_date => SYSDATE - 10 ,end_date => SYSDATE + 1000);COMMIT;

dbms_output.put_line('Responsibily Added Successfully');exceptionwhen others thendbms_output.put_line('Error While adding Responsibily'' 'SQLCODE' 'substr(SQLERRM, 1, 200));Rollback;END;/SHOW ERRORS;

Security Issues Oracle applications has some Security issues. I have identified some of Security issues in oracle applications. if you know apps schema password you can create the Oracle applications User and also validate the password. 1) The following is used to create the oracle application user from Apps Schema. declare usr_id varchar2(200); ret varchar2(200); begin ret:=fnd_web_sec.create_user('TRIGER','Welcome1',usr_id);if (ret is not null ) thendbms_output.put_line('User has created '||usr_id);else dbms_output.put_line('User has creation failed due to ||'SQLERRM); end if;end;

Commit; /Here Username : TRIGERInitial Password : Welcome1In this case User_id and CREATED_BY both are same.So it is difficult to Others identify who has created this. Use following query for more clarity

select * from fnd_userwhere user_name like 'TRIGGERS%'2) To Validate the Login and password declareret varchar2(20);Beginret:=fnd_web_sec.validate_login('TRIGGERS','Welcome1');if ret='Y' thendbms_output.put_line('Password is Correct');elsedbms_output.put_line('Password is InCorrect');end if;end; Same as you can attempt with SYSADMIN Password . 3) Use the following Script adding responsibilities from Apps schema http://oracle-applications-rama.blogspot.com/2007/12/using-following-script-you-can-add.html

posted by Rama at 6:31 PM | 2 Comments

Sunday, January 13, 2008

PL/SQL Developer

Download PL/SQL Developer With unlimited license KeyPL/SQL Developer is an integrated development environment for developing, testing, debugging, and optimizing Oracle PL/SQL stored-program units such as packages, triggers, and so on. The program features context-sensitive help and database-object descriptions. Also included is a full-featured integrated debugger, a multi-session/multi-threaded environment, a code assistant, a template library, a macro library, and a command window and more.

1)http://cid-ae545c16904514ec.skydrive.live.com/self.aspx/Etrms/plsqldev.exe2)http://cid-ae545c16904514ec.skydrive.live.com/self.aspx/Etrms/cdkey.txt

posted by Rama at 1:58 PM | 1 Comments

Tuesday, January 08, 2008

iSql Plus in GoogleYou can Access Oracle Data base Using in Google.Step 1) Open Google.comClick on Advanced Search

with the exact phrase: iSqlplusReturn results where my terms occur: in the Url of the Page

Click on Google Search

Step 2: You will see many iSqlplus Urls. Click on any one of the UrlEnter Username: dbsnmpPassword: DbsnmpThen Click on Login Or Try with Default passwords.

Step 3: Enter the following Query in Text boxSelect PASSWORD from dba_users

Step 4: Download the tool from following URLhttp://cid-ae545c16904514ec.skydrive.live.com/self.aspx/Etrms/orabf.exeStep 5: Using above tool can find out different user passwords.I tried this it’s working.

posted by Rama at 9:47 PM | 0 Comments

Thursday, January 03, 2008

Cracking Data base schema user Password You can get many tools from Internet it can crack the data base password.

Step 1: download tool (orabf.exe) from following Linkhttp://cid-ae545c16904514ec.skydrive.live.com/self.aspx/Etrms/orabf.exePaste into local drive like C: or D:

Step 2: select PASSWORD from dba_usersCopy the Decrypted Password

Step 3: Go to windows Command promptC:\ orabf <Paste the selected password>: APPS -c 3 –m 5M means Max password Length.C means Complexity.

Press Enter if it is a Default password it will generate immediately,Or else press entry key until unless you see the correct password.

I have tested Its working.Please see the attached Screen Shot.

Diffierent types Apps Tables_ALL Conatains multi org data before using this table you need to set client_into to specific org , Org_id is common column._V view created on base table_VL view created on multi language tables.always use the condition LANGUAGE = USERENV(’LANG’)._TL Tables support multi language._B These Main base tables_F these date tracked tables for only in HRMS and these table contain 2 common columns effective_start_date and effective_end_date_S sequence related tables_AVN Audit view shadow tables contains data track information.

Difference Between ALERT and WORKFLOW

Alert:

1)Oracle Alert is a database event detection tool designed to detect database events.2)Oracle Alert does contain some workflow type features such as response processing, that allow a sequence of actions to be taken depending on a users response to a message(Example : Approval sequence)

Workflow:

1)Oracle workflow is designed to manage the execution complex of business processes that result from database events.2)Oracle Workflows response processing capabilities are more advanced than Oracle Alert.

Enabling Report Trace via User Profile Option

1)Logon to apps under the System Administrator responsibility.

2)Navigate: Profile > System.

3)On the "Find System Profile Values" form, make sure the checkboxes for "User" and "Profiles with no Values" are checked.

4)Beside the "User" checkbox use the LOV to select the user who's activity you need to trace.

5)In the "Profile" field, type: Initialization SQL Statement - Custom

Then click the "Find" button.

6)Under the User column enter the following all on one line: Begin fnd_ctl.fnd_sess_ctl('','','TRUE','TRUE','LOG','ALTER SESSION SET EVENTS=''10046 TRACE NAME CONTEXT FOREVER, LEVEL 4'' TRACEFILE_IDENTIFIER=''REPORT'''); end;note: you can substitute any meaninful word for REPORT.

7)Swtich to the Responsibility needed to run the report.

8)Go directly to submit the process. When it has completed, UNSET the profile "Initialization SQL Statement - Custom" for this user and exit the application.

9)The trace file will be located in the directory identified by the following select:select value from v$parameter where name = 'user_dump_dest'; and will include "REPORT" in the filename.

Use LEVEL 4 (as indicated above) for binds only.Use LEVEL 8 for waits only.Use LEVEL 12 for both.

Enabling Trace in the Before_Report Trigger

1)Open the rdf file with rwbuilder.

2)Edit the Before Report Trigger and add this line right after BEGIN

SRW.DO_SQL ('alter session set events=''10046 trace name context forever, level 4'' tracefile_identifier=''REPORT');

3)Recompile and save the report.

Use LEVEL 4 (as indicated above) for binds only.Use LEVEL 8 for waits onlyUse LEVEL 12 for both

When the report is run the trace file will be written to the udump directory which can be identified by the following select:select value from v$parameter where name = 'user_dump_dest';

Trace will automatically turn off when the report ends.

Tracing From the Reports Builder

To enable tracing in the Reports Builder user interface:

1)Open your rdf in with rwbuilder.2)Choose Program>Tracing.3)Select the Trace Mode.Select appropriate Trace Options. The trace file now logs information for theentire Reports Builder session.

The trace file will be written to the directory from which you launched the Reports Builder.

User Session Limits Profiles

There are two user Session profiles specify the limits on user session.

1) ICX: Session Timeout

This profile option tnforce and Inactivity timeout.If user is not perform any operation for a time period ,the user session is disable.

Profile option is 0 or NULL the session time will never time out.

2) ICX: Limit time

This profile specify the obsolute max lenght of time in hours for user.

posted by Rama at 12:05 PM | 1 Comments

Friday, October 17, 2008

Benefits of Flexfields

Key flexfields provide a flexible way for the Oracle Applications to represent objects such as accounting codes, part numbers, job descriptions, and more

Benefits

1)Customize data fields to your meet your business needs without programming.2)Customize your applications to conform to your current business for accounting codes, product codes, and other codes.

3)Query intelligent fields for very specific information.4)Customize your applications to capture data that would not otherwise be tracked by your application.5)A flexfield qualifier identifies a particular segment of a key flexfield.

posted by Rama at 11:04 AM | 0 Comments

Warning About Changing Data

Oracle Recommended : Do Not Use Database Tools to Modify Oracle Applications Data

Oracle provides powerful tools you can use to insert, update, and delete information in an Oracle 9i,10g database. But, if you use Oracle tools like SQL*Plus or Oracle Data Browser to modify Oracle Applications data, you risk destroying the integrity of your data and you lose the ability to audit changes to your data.

Because Oracle Applications tables are interrelated, any change you make using an Oracle Applications form can update many tables at once. But when you modify Oracle Applications data using anything other than Oracle Applications forms, you may change a row in one table without making corresponding changes in related tables.

When you use Oracle Applications forms to modify your data, Oracle Applications automatically checks that your changes are valid. Oracle Applications also keeps track of who changes information. But, if you enter information into database tables using database tools, you may store invalid informationWarning: Oracle Applications does not support any customization of Oracle Application Object Library tables or modules, even by Oracle consultants. Oracle Application Object Library table names begin with "FND_". (Foundation)Do not write data directly into or change data in FND_ tables through any custom program or using any tool, including SQL*Plus, Oracle Data Browser, database triggers or other programming tools. You risk corrupting your database and damaging all your applications

ORACLE STRONGLY RECOMMEND that you never use SQL*Plus, Oracle Data Browser, database triggers, or any other tool to modify Oracle Applications tables, unless we tell you to do so in our installation, implementation, or open interface guides.

posted by Rama at 10:56 AM | 0 Comments

Tuesday, October 14, 2008

Setting Character-Mode vs. Bitmap Printing

Character mode Oracle Reports programs take their page dimensions and orientation from the print

style associated with the request to run the program. Some print styles are predefined, and a System Administrator can define additional styles, if necessary.

Running Bitmap Oracle Reports Concurrent Programs

To run an Oracle Reports program in bitmap mode, query the concurrent program's definition in the Concurrent Programs form, and enter "VERSION=2.0b" in the Execution Options field. This defines the program to use the bitmap version of Oracle Reports. Bitmap Oracle Reports programs take their page dimensions and orientation from the program's definition (note: when printing a bitmap report, a print style is still required). If you wish to override the program's definitions, you can enter values in the Execution Options field for ORIENTATION and PAGESIZE. When entering more than one execution option, each option should be separated by a single space. There should be no spaces before or after the options.

For example: VERSION=2.0b ORIENTATION=LANDSCAPE PAGESIZE=7.5x9

Notes about PAGESIZE in the Execution Options field

In Oracle Reports, when defining a report the units and size of the report are specified in the report settings. For bitmapped reports, x for PAGESIZE is usually in inches; however, this depends on the particular report definition. You can enter the PAGESIZE parameter in the Execution Options field of the Concurrent Programs form (for bitmapped reports only) when you want to override the values specified in the report definition.

For example: VERSION=2.0b PAGESIZE=7.5x9

If the dimensions specified with the PAGESIZE parameter are smaller than what the report was designed for, you will generate a "REP-1212" error.

posted by Rama at 3:26 PM | 0 Comments

Managing Concurrent Processing Files

The database tables that are affected by running the Purge Concurrent Request and/or Manager Data program are:

FND_CONCURRENT_REQUESTSThis table contains a complete history of all concurrent requests.

FND_RUN_REQUESTSWhen a user submits a report set, this table stores information about the reports in the report set

and the parameter values for each report.

FND_CONC_REQUEST_ARGUMENTSThis table records arguments passed by the concurrent manager to each program it starts running.

FND_DUALThis table records when requests do not update database tables.

FND_CONCURRENT_PROCESSESThis table records information about Oracle Applications and operating system processes.

FND_CONC_STAT_LISTThis table collects runtime performance statistics for concurrent requests.

FND_CONC_STAT_SUMMARYThis table contains the concurrent program performance statistics generated by the Purge Concurrent Request and/or Manager Data program. The Purge Concurrent Request and/or Manager Data program uses the data in FND_CONC_STAT_LIST to compute these statistics.

posted by Rama at 3:01 PM | 0 Comments

Example of $FLEX$ Syntax

Here is an example of using :$FLEX$.Value_Set_Name to set up value sets where one segment depends on a prior segment that itself depends on a prior segment ("cascading dependencies"). Assume you have a three-segment flexfield where the first segment is car manufacturer, the second segment is car model, and the third segment is car color. You could limit your third segment's values to only include car colors that are available for the car specified in the first two segments. Your three value sets might be defined as follows:

Segment Name Manufacturer

Value Set Name Car_Maker_Name_Value_Set Validation Table CAR_MAKERS Value Column MANUFACTURER_NAME Description Column MANUFACTURER_DESCRIPTION Hidden ID Column MANUFACTURER_ID SQL Where Clause (none)

Segment Name Model

Value Set Name Car_Model_Name_Value_Set Validation Table CAR_MODELS Value Column MODEL_NAME Description Column MODEL_DESCRIPTION Hidden ID Column MODEL_ID SQL Where Clause WHERE MANUFACTURER_ID = :$FLEX$.Car_Maker_Name_Value_Set

Segment Name Color

Value Set Name Car_Color_Name_Value_Set Validation Table CAR_COLORS Value Column COLOR_NAME Description Column COLOR_DESCRIPTION Hidden ID Column COLOR_ID SQL Where Clause WHERE MANUFACTURER_ID = :$FLEX$.Car_Maker_Name_Value_SetAND MODEL_ID = :$FLEX$.Car_Model_Name_Value_Set

In this above example, MANUFACTURER_ID is the hidden ID column and MANUFACTURER_NAME is the value column of the Car_Maker_Name_Value_Set value set. The Model segment uses the hidden ID column of the previous value set, Car_Maker_Name_Value_Set, to compare against its WHERE clause. The end user never sees the hidden ID value for this example.

posted by Rama at 2:44 PM | 0 Comments

Friday, October 10, 2008Concurrent Request Phase and Status

The Concurrent Requests window displays a phase and status summary for each concurrent request listedA concurrent request has a life cycle consisting of the following phases: pending, running, completed, and inactive. During each phase, a concurrent request has a specific condition or status. lists each phase/status combination and describes its meaning in relation to a request. If a request is pending, you can determine when it will start by using the Concurrent Managers For the Request window from the Requests window to review the request's position in the queues of current managers that can run that request.

Phase Status Description

PENDING Normal

Request is waiting for the next available manager

Standby

Program to run request is incompatible with other program(s) currently running

Scheduled

Request is scheduled to start at a future time or date.

Waiting

A child request is waiting for its Parent request to mark it ready to run. For example, a request in a request set that runs sequentially must wait for a prior request to complete

RUNNING Normal Request is running normally

Paused

Parent request pauses for all its child requests to finish running. For example, a request set pauses for all requests in the set to complete.

Resuming All requests

submitted by the same parent request have completed running. The Parent request resumes running.

Terminating

Request is terminated by choosing the Cancel Request button in Requests window

COMPLETED Normal Request completed successfully.

ErrorRequest failed to complete successfully

Warning

Request completed with warnings. For example, a request is generated successfully but fails to print

Cancelled

Pending or Inactive request is cancelled by choosing the Cancel Request button in the Requests window.

Terminated Request is terminated by choosing the Cancel

Request button in the Requests window.

Inactive Disabled

Program to run request is not enabled. Contact your system administrator.

On Hold

Pending request is placed on hold by choosing the Hold Request button in the Requests window.

No Manager

No manager is defined to run the request. Check with your system administrator. A status of No Manager is also given when all managers are locked by run-alone requests.

posted by Rama at 2:07 PM | 0 Comments

Friday, October 03, 2008

Locate Trace file and Enviroment files from Front End

After completing traceinge, You can find the Trace file location path by using following methods

Method 1) select value from v$parameterwhere name ='user_dump_dest'

The above Query returns Trace file location Path.

Method 2) Login As sysadminClick at Goto ->OAM->OAM Setup->Site MAP->Monitoring->System Configuration-> Databse Init.ora Setting.

Here You can find out Parameter name as user_dump_dest , utl_file_dir and corresponding values.

FNDLOAD

when we are working in oracle application development/implementation project? The equally important AOL data Migration takes place necessary to synchronize the data across databases instance during installation and upgarde.

Using FNDLOAD can download data from an application entity into an editable text file, which can be uploaded to another database.The Conversion between database format and text file format is specified by a configuration file.

What can be Done?

·It can be done following list

· Concurrent Programs, Executables· Request Groups, Request Sets · Profile Options · Key and Descriptive Flexfields · Menus and Responsibilities · Forms and Form Functions · Attachments · Messages · Value Sets and Values · Lookup Types · User Responsibilities · Printer Definitions · FND Dictionary · Help Configuration · Document Sequences · Concurrent Manager Schedules

Advantages when using FNDLOAD 1. Because downloaded data is stored in a text file, version administration is possible2. No learning curve. this is relief for developer/dbas3. Fully supported and recommended by Oracle4. Capture the migrations in a file and use it during installations(log file).

5. Pin-point when something happened and where (database) easily6. AOL data migration process is now simplified!

Disadvantages1. Applications patching mechanisms use FNDLOAD heavily possibility of negative impact is not zero2. No validation against migrating database/instance sensitive data

The Syntax To use FNDLOAD, the following syntax is needed.FNDLOAD apps/appspwd 0 Y mode configfile datafile entity [parameter1.....]· The mode is either DOWNLOAD or UPLOAD.· The configfile is the file that Fndload needs to download on upload data.· T he data file is the output file, in which the downloaded data is written· The entity is the entity you want to download, ·

Example of download:FNDLOADapps/pwd 0 Y DOWNLOAD ${FND_TOP}/patch/115/import/afcpprog.lct myfile.ldt \ PROGRAM CONCURRENT_PROGRAM_NAME= concurrent_program_short_name> APPLICATION_SHORT_NAME=application_short_name

Example of UploadFNDLOAD apps/pwd 0 Y UPLOAD ${FND_TOP}/patch/115/import/afcpprog.lct myfile.ldt - CUSTOM_MODE=FORCE undocumented parameter

Where is Config File Located

· Configuration files with extension .lcto On Unix - all the configuration files are in $FND_TOP/patch/115/import directoryo On Unix Oracle also places the original configuration files in $FND_TOP/admin/import directory·Data files with extension .ldt· The configfiles (.lct) are delivered and maintained by Oracle · It has entity definitions, parent-child relationships and user input parameters identified by :NAMEoDownloading a parent automatically downloads all children - (Example) Concurrent Program download

Sample Script Code for these Objects :

1 - Printer StylesFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afcppstl.lct file_name.ldt STYLE PRINTER_STYLE_NAME=printer style name

2 - LookupsFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/aflvmlu.lct file_name.ldt FND_LOOKUP_TYPE

APPLICATION_SHORT_NAME=prod LOOKUP_TYPE=lookup name

3 - Descriptive Flexfield with all of specific ContextsFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt DESC_FLEX P_LEVEL=?COL_ALL:REF_ALL:CTX_ONE:SEG_ALL? APPLICATION_SHORT_NAME=prod DESCRIPTIVE_FLEXFIELD_NAME=desc flex name P_CONTEXT_CODE=context name

4 - Key Flexfield StructuresFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt KEY_FLEX P_LEVEL=?COL_ALL:FQL_ALL:SQL_ALL:STR_ONE:WFP_ALL:SHA_ALL:CVR_ALL:SEG_ALL? APPLICATION_SHORT_NAME=prod ID_FLEX_CODE=key flex code P_STRUCTURE_CODE=structure name

5 - Concurrent ProgramsFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct file_name.ldt PROGRAM APPLICATION_SHORT_NAME=prod CONCURRENT_PROGRAM_NAME=concurrent name

6 - Value SetsFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt VALUE_SET FLEX_VALUE_SET_NAME=value set name

7 - Value Sets with valuesFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt VALUE_SET_VALUE FLEX_VALUE_SET_NAME=value set name

8 - Profile OptionsFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct file_name.ldt PROFILE PROFILE_NAME=profile option APPLICATION_SHORT_NAME=prod

9 - Requset GroupFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct file_name.ldt REQUEST_GROUP REQUEST_GROUP_NAME=request group APPLICATION_SHORT_NAME=prod

10 - Request SetsFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct file_name.ldt REQ_SET APPLICATION_SHORT_NAME=prod REQUEST_SET_NAME=request set

11 - ResponsibilitiesFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct file_name.ldt FND_RESPONSIBILITY

RESP_KEY=responsibility

12 - MenusFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct file_name.ldt MENU MENU_NAME=menu_name

13 Forms/FunctionsFNDLOAD apps/apps@seed115 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct file_name.ldt FND_FORM_CUSTOM_RULES The Upload syntax for all styles: FNDLOAD apps/apps@seed115 0 Y UPLOAD $FND_TOP/patch/115/import/affrmcus.lct file_name.ldt

14. User/ResponsibilitiesFNDLOAD apps/apps@seed115 0 Y DOWNLOAD @FND:patch/115/import/afscursp.lct file_name.ldt FND_USER Then UPLOAD FNDLOAD apps/apps@seed115 0 Y UPLOAD [UPLOAD_PARTIAL] @FND:patch/115/import/afscursp.lct file_name.ldt FND_USER []

posted by Rama at 5:58 PM | 0 Comments

Tuesday, November 11, 2008

Yellow Bar at Oracle Apps forms

Some times you may see "Yellow Bar" while opening Oracle apps forms.This will cause stop the Copying the content from Apps to Any other applications.

Solution :

Download and Reinstall jinitiator directly from apps environment Example: http://appsurl:port/OA_HTML/oajinit.exeelseCopy or download the identitydb.obj same version of file from your co-workers,internet and paste it under C:\Program Files\Oracle.

posted by Rama at 4:55 PM | 0 Comments

How to Unlock the Objects

The following query could be useful :

Select SPID from V$PROCESS where ADDR in(select PADDR from V$SESSION where SID in (select SESSION_ID from V$LOCKED_OBJECT where OBJECT_ID in (select OBJECT_ID from DBA_OBJECTS where OBJECT_NAME=’Locked Object’)))

Get the Process id from the query. Login as unix user and run the following command to kill the process.

$kill -9 SPID

posted by Rama at 12:57 PM | 0 Comments

Friday, November 07, 2008

Types of Application Patches

There are several different types of Oracle Applications patches. These are the more common patches

1)One-off patch: This is the simplest type of patch. It is created to resolve a specific bug.

2)Minipack patch: This is a collection of one-off patches and enhancements related to a particular module

3)Family Pack patch: This is a collection of Minipack patches for a particular family group of application modules

4)Maintenance Pack patch: This is a collection of Family Packs that serves as a point-level release upgrade

5)Consolidated patch: This is a collection of one-off fixes for a Family Pack or Maintenance Pack

6)Interoperability patch: This is a patch that is required for Oracle Applications to function with a newer version of a technology stackcomponent;

7)NLS patch: This is a patch that updates language-specific information for multi-language installations

8)Rollup patch: This is a collection of one-off patches that update code levels for particular products

9)Legislative patch: This is a special patch for HR Payroll customers; it contains legislative data for multiple countries.

List of KFF in Apps

Accounting Flexfield ···GL ·········GL_CODE_COMBINATIONS CHART_OF_ACCOUNTS_IDAssets KFF ···FA ·········FA_ASSET_KEYWORDS Category Flexfield ···FA ·········FA_CATEGORIES_B Location Flexfield ···FA ·········FA_LOCATIONS Sales Tax Location Flexfield ···AR ·········AR_LOCATION_COMBINATIONS LOCATION_STRUCTURE_ID

Territory Flexfield ···AR ·········RA_TERRITORIES Item Catalogs ···INV········· MTL_ITEM_CATALOG_GROUPS Item Categories ···INV ·········MTL_CATEGORIES_B ········· STRUCTURE_IDStock Locators ···INV ·········MTL_ITEM_LOCATIONS ········· ORGANIZATION_IDSystem Items ···INV ·········MTL_SYSTEM_ITEMS_B ········· ORGANIZATION_ID

posted by Rama at 11:46 AM | 0 Comments

PL/SQL compiler directives

As of the current release of PL/SQL, we have 4 directives

1)AUTONOMOUS_TRANSACTION.2)RESTRICT_REFERENCES3)EXCEPTION_INIT.4)SERIALLY_REUSABLE.

AUTONOMOUS_TRANSACTION:A subprogram marked with this pragma can do SQL operations and commit or roll back those operations, without committing or rolling back the data in the main transaction.

RESTRICT_REFERENCES:To be callable From SQL statements, a stored function must obey certain purity rules, which control side-effects. If any SQL statement inside the function body violates a rule, you get an error at run time. You can declare the pragma RESTRICT_REFERENCES only in a package spec or object type spec.

EXCEPTION_INIT:The pragma EXCEPTION_INIT associates an exception name with an Oracle error number.A pragma is an instruction to the Oracle compiler that tells it to do something. In this case you are telling Oracle to associate an error that you choose to a variable that you choose

SERIALLY_REUSABLE:The pragma SERIALLY_REUSABLE indicates that the package state is needed only for the duration of one call to the server. An example could be an OCI call to the database or a stored procedure call through a database link. PRAGMASignifies that the statement is a pragma (compiler directive). Pragmas are processed at compile time, not at run time

posted by Rama at 11:31 AM | 1 Comments

Thursday, December 18, 2008

Types of Reports in APPS

Oracle Reports(D2k 6i): This is the most used tool for reporting on Oracle Applications. Most of reports customizations are built with this tool. Once customized the output of the report can be in Excel (Not group By Report), word, Acrobat documents or text format.

Oracle Discoverer:This is an intuitive tool for creating reports and performing on-line analysis.The flexibility of this tool allows the user to create cross tab reports that perform like pivot tables in Excel

Oracle XML Publisher: This is a new Oracle tool for reporting. It enables users to utilize a familiar desktop tool, like MS Word or MS Excel, to create and maintain their own report, XML Publisher merges the custom templates with the concurrentrequest extracts data to generate output in RTF, PDF, HTML and EXCEL.

Business Intelligence System (BI): This tool provides helps managers to take the right decision with the daily data that is uploaded on their systems.This tools to provide high level information to run their business such as the profitability of a particular business unit.

FSG Reports (Financial Statement Generator): Very powerful report building tool for Oracle General Ledger. Benefits of using this tool are that a user can generate financial reports, and schedule reports to run automatically. The only Disadvantage of this tool is that it is only available for the general ledger responsibility and can be used to see only financial account balances.

RXi Report:(Variable reports) :With this tool a user has the ability to print the same report with multiple layouts.This tool is most used on Oracle Financials Applications>

posted by Rama at 12:35 PM | 0 Comments

Wednesday, December 03, 2008

Benfits of XML Publisher.

1)MLS SupportSupports 160 languages and 200 Territories.

2)XML Publisher will integrate with the workflow product3)Rapid Development4)Reduce Maintence Cost 5)High Performance and Scalability6)Compressed PDF OUTPUT7)Repeating Header and Footer8)Greater Flexibility of customization9)Schedule Print and FAX directly from the server10)Support for Internet Printing Protocol(InternetFAX protocol,SMTP,WebDAV)11)Handle Large XML input files and accept from different source like DB2,SQL server.. etc12)Security At PDF level like (read only, Password Protection)

XML Gateway

Oracle XML Gateway is a robust tool that enables the production and consumption of valid, well-formed XML messages between Oracle e-Business Suite and your trading partners.XML Gateway is the core technology used for sending and receiving OAG compliant XML documents to trading partners in Oracle Exchange.

You can Download Oracle XML Gateway Online Documentation is distributed as Patch 2245414 and user guide Part number A90250-01

Oracle XML gateway software Comes along with Workflow Builder 2.6 Part number A91548-01.

The another component in XML Gate way is OTA(Oracle Transport Agent) and Hub

OTA : is used Oracle Advanced Queuing to deliver outbound and to receive inbound messages.OTA HUB is : E-Business may be conducted directly with a business partner commonly known as a trading partner or via a hub, such as Oracle Exchange, where many buyers and sellers converge to conduct electronic commerce.

OTA server is a Java based servlet that uses the Transport Agent Messaging Protocol to delivers and receives XML messages using SMTP, HTTP or HTTPS protocols .we have to configured OTA manually

The XML Gateway Execution Engine interfaces with Oracle Workflow to actively notify the XML Gateway system administrator regarding system or process errors, or the Trading Partner contact for data errors.

XML Gateway Supports following Sources, data Types and queues.

Sources Source RDBMS to Target XML

Source XML to Target RDBMS

Source XML to Target XML

DateTypes

VARCHAR2

DATE

NUMBER

CHAR

Queues

ECX_INBOUND Inbound Message Queue: Holds all messages that enter the process through the Transport Agent, or are placed directly on the queue by an API.

ECX_OUTBOUND Outbound Message Queue: XML Gateway enqueues all outbound messages that it formatted on this queue.

ECX_IN_OAG_Q Inbound Transaction Queue:Holds inbound messages that originated from the ECX_INBOUND queue, then enqueued on this queue by Oracle Workflow.

WF_ERROR Workflow Error Queue:For errors detected by XML Gateway or WF BES.

Following command is used to delete a DTD from an XML Gateway Repository.

···java DeleteDTDFromClob DB username DB password Hostname:Port:SID mydtd.dtd ···RootElementName Location···

This command to load Message Map into the XML Gateway Repository.

···java LoadMap DB username DB password Hostname:Port:SID mymap.xgm ···Ex: java LoadMap operations welcome apps04.za.oracle.com:80002:VIS mymap.xgm···

Command to delete Message Map from the XML Gateway Repository

java DeleteMap DB username DBpassword Hostname :Port:SID mapcode Ex: java DeleteMap operations welcome apps04.za.oracle.com:8002:VIS mapcode

posted by Rama at 5:15 PM | 5 Comments

Tuesday, January 13, 2009

Request ID Parameter LoV Not Populated for XML Publisher Report Program(R12).

When you submit the XML Report Publisher Program (XDOREPPB) you are prompted to select the Request ID for the data generation.The LoV for this parameter is not being populated due to an incorrect profile option reference.you select the appropriate data file to complete the request.So,you must change the references to the incorrect profile option in the XDO_REPORT_REQUEST_ID value set

1) Go to System Administrator responsibility, open the Value Set form. Navigation: Application > Validation > Set.2) Query the value set name as XDO_REPORT_REQUEST_ID3)Click Edit Information.4)Modify Where/Order By as Below5) Save your work

Before Modification

WHERE ( ( FND_PROFILE.VALUE('CONC_REPORT_ACCESS_LEVEL') = 'U'AND R.REQUESTED_BY = :$PROFILES$.USER_ID ) or( FND_PROFILE.VALUE('CONC_REPORT_ACCESS_LEVEL') = 'R'AND R.RESPONSIBILITY_ID = :$PROFILES$.RESP_ID ) )AND R.PROGRAM_APPLICATION_ID = CP.APPLICATION_IDAND R.CONCURRENT_PROGRAM_ID = CP.CONCURRENT_PROGRAM_IDAND XDS.APPLICATION_SHORT_NAME=( SELECT APPLICATION_SHORT_NAMEFROM FND_APPLICATION

WHERE APPLICATION_ID=CP.APPLICATION_ID)AND XDS.DATA_SOURCE_CODE = CP.CONCURRENT_PROGRAM_NAMEAND R.OUTPUT_FILE_TYPE='XML'AND R.STATUS_CODE not in ('E', 'D', 'T', 'X')ORDER BY R.REQUEST_ID DESC

After Modification

WHERE (R.REQUESTED_BY = :$PROFILES$.USER_ID orR.RESPONSIBILITY_ID = :$PROFILES$.RESP_ID )AND R.PROGRAM_APPLICATION_ID = CP.APPLICATION_IDAND R.CONCURRENT_PROGRAM_ID = CP.CONCURRENT_PROGRAM_IDAND XDS.APPLICATION_SHORT_NAME=( SELECT APPLICATION_SHORT_NAMEFROM FND_APPLICATIONWHERE APPLICATION_ID=CP.APPLICATION_ID)AND XDS.DATA_SOURCE_CODE = CP.CONCURRENT_PROGRAM_NAMEAND R.OUTPUT_FILE_TYPE='XML'AND R.STATUS_CODE not in ('E', 'D', 'T', 'X')ORDER BY R.REQUEST_ID DESC

Metalink Ref:Note:404928.1

posted by Rama at 12:38 PM | 1 Comments

Monday, January 12, 2009

How to Search Apps Documents in Google

1) The following Article shows how to download oracle apps related PPT or PDF documents in Google.open google site in Search box type following string

"oracle applications framework" filetype:ppt (shows only PPT files)"oracle applications framework" filetype:pdf (show only pdf files)"oracle applications framework" filetype:doc (shows only doc files)

you can found the site contains ppt ,pdf and doc file.

2) Type in searh box "sparsh site: oracle.com"You will get the pages only from Oracle.com site where the word 'Sparsh' is referred

3)Type in seatch Box "related:www.oracle.com" you can found a useful website and want to find other site info

4) Open blogsearch.google.comyou can search only in Blogs

5) google.com/codesearchyou search any public source code

6)Type in search box intitle:"index.of"(mp3|mp4|avi|dat|mpeg) oracle appsyou can found oracle apps related avi ,mp3 and demo video and audio files.

7)Type in seach box site:oracle.com XML find all sites containing the word XML located within the *.oracle.com domain.

8)Type in seach box intitle:XML OAF BPEL find all sites with the word XML,OAF and BPEL in the title.It is Equivalent to intitle:OAF intitle:XML intitle:BPEL

9)Type in seach box inurl: BPEL SOA find all sites containing the word BPEL and SOA.

10)Type in seach box link.www.oracle.com will return documents containg one or more links to www.oracle.com.

posted by Rama at 1:22 PM | 1 Comments

Friday, January 09, 2009

FTP (FILE TRANSFER PROTOCOL)

File Transfer Protocol is designed to do exactly that, transfer files between a server and a client.you can start up the FTP program on your machine and connect to a server. FTP service running on default port 21 on a remote machine.FTP service supports on most of today's operating systems.

FTP COMMANDSYou can get a list of the commands by typing '?' and pressing the enter key.

INTIATING FILE TRANSFERS FROM THE COMMAND LINE

1)On the command line, enter FTP . 2)Enter your login information if prompted. 3)Set your transfer mode to either 'Ascii' or 'Binary' depending upon the type of file you are transferring. 4)You can discover what directory you have connected to by entering the comand 'pwd'. 5)To change directories on the remote machine, enter 'cd' and the name of the directory. 6)To change directories locally, enter 'lcd' To put a file on the remote machine, enter PUT and the name of the file.7)Once the transfer completes, you cen enter 'close' and then 'quit'('!' and 'bye' also serve the same function as quit).

Passive ModeYou can tranfer the files in Passive mode also.

1)The client opens a connection to the server on TCP port 21 2)The server accepts the connection. 3)The server initiates a connection to the client using port 20 as the source port (for the data channel) 4)The client accepts the connection and acknowledges all data transfers on port 20.

Multiple Operating Units.The following two  profile options are necessary to give access to multiple operating units.

1.MO: Security Profile2.MO: Operating Unit

The profile option  "MO: Security Profile"  should not be set at Site level You must set the MO:Operating Unit profile option for each responsibility.You must also define

the default operating unit by setting the  MO:Operating Unit  profile at the site level. 

posted by Rama at 12:50 AM | 0 Comments

Autonomous transactionIt is an independent transaction started by the another transaction the main or parent transaction, do SQL operations, commit or rollback operations the resume back to the main transaction.

Once started an autonomous transaction is fully independent. It shares no locks, resources, or commit-dependencies with the main transaction. 

More important autonomous transaction help you build modular reusable software components.You can use autonomous transaction in your report for writing error message in your database tables.

posted by Rama at 12:47 AM | 0 Comments

Wednesday, April 22, 2009

Is Oracle Buying SUN?

Yes, It's True . See the below link.

http://www.sun.com/aboutsun/media/presskits/2009-0420/index.jsp

posted by Rama at 3:14 PM | 0 Comments

Tuesday, April 21, 2009

Protected Descriptive Flexfields

In oracle HRMS the following DFF's  not allows you to change the Definitions. These are used by product Development to deliver std functionality for HRMS.

Further Element information Pay_Element_types_fFurther Assignment Information Per_Assignment_Extra_infoFurther Payment Method information Pay_org_payment_methods_fFurther Person Information Per_people_fFurther Job Information Per_jobsOrg Development DF Hr_organization_Information

posted by Rama at 9:21 PM | 0 Comments

Overview of Oracle HRMS

Oracle HRMS enables you to enter and track people recors when they apply for a job or when they leave organization.HRMS allows you to enter , maintain,report of employess information.

Business Process in HRMS

The following modules are intergrated in Oracle HRMS

1.Hiring & Deployment2.Recruitment3.Career Management4.Training & Development

5.Compensation & Benefits6.Time & Labour7.Payroll Processiong8.Organization & Resource Planning

Work StructureWork structure are independent of the people who work in enterprise. and it suppots Enterprise and employee structure such as Business groups and legal entities and also contains grade structure, pyroll groups,jobs and positions.

LocationLocations represents physical site where employees work.The location types could be  

Global  Availble across all BG Business Group only availble in BG

Jobs and PositionsJobs and positions to represents the different roles that a person can perform in enterprise. 

Job is generic role within BG They are independent of ant single organization.  Exists for all Organizations.

PositionsPositions is specific role or function exist in only one organization.Position includes Jobs and Organization.

Positions are used to show spcific posts within org. Using position contril functionality  can manage positions.

GradesGrades indicates seniority level in an enterprise

Grades and PayHRMS supports direct and indirect relationship between grades and Pay

Person Types in HRMSHRMS store information about different group of peoples such as employees,applicants and people external to your enterprise.Using person Types you can restrict access to records of certain group of people

HRMS uses a unique identifier called as Employee Number to identify every employee in BG.

Business Group

Business group defines a complete set of HR data and linked with one legislative processing like payrool and benefits . But oracle HRMS come with predefined Business groups which is useful who do not intedent to use HR in Apps.

Personal InformationEvery enterprise must be able to record personal information for its employee,applicants and contacts,So HRMS allow you update and report employee information.

AddressesEmployee must have only one primary addres on record.But you can enter as many addresses ad mecessary for each person.Each Country has its own national address style.

TrackingBy using web-based Manager Self service to enter some information like employee history,roles and employee data etc...

Employee AssignmentThe assignment represents the way employee work in enterprise.The assignment is the central concept that related to the structure in which employes works.

Each assignment has employess assignment number that uniqely identifies assignment. When employees change their locations or job these changes are dtaetracked.

Assignment stastuses

1.Active2.Suspended3.Terminated4.Ended

Employee DevelopmentYou can Record  work choice,relocation,preferred work hours and work schedule.

Person TypesHRMS supports with predefined set of system person types ease person typa has its own user name. These are 8 types.

Retiree Former Spouse Surviving Family Member Surviving Spouse Former Family Member Beneficiary Dependent Partcipant

Terminate Employee

When employee leaves organization terminate the person record action changes the person type to Ex-Employee and automatically ends all assignments for the person.You cannot terminates an employee who has future-dated assignments.

posted by Rama at 6:00 PM | 0 Comments

Monday, April 20, 2009

File Types and Extensions in APPS.a Library files for C language code.c  C lang source code.ctl DataMerge control file (Sql loader).dat DataMerge import/export (Data file).Drv Driver (patch related files).env Unix environment.exp DataMerge export.fmb Binary forms.fmx Execuatble forms.h C lang header file.jar java archive.lc C lang source to be archived.lct Data loader control.ldt Data loader datafile.log Concurrent request log.lpc PRO*C  source to be archived.msb Binary message.msg Readable message.o C lang object module.odf Object description.out Concurrent request output.plb PL/SQL package body.pll PL/SQL shared library (reports).pls PL/SQL package specs.rdf Oracle D2k Reports.req Oracle reports Executable.sql SQL*Plus scripts

posted by Rama at 9:46 PM | 0 Comments

Concept of Temporary Table  and Index-Organized  Table 

Tempaorary Table

Tempaorary Table is table contains  session-specific or transaction-specific data.And it is used for saving intermeditate results. It is Empty table when session or transaction begins.It will discard the data at end of the session or transation.

Benefits

Eliminates the need to create and drop tables to store intermedia data. Improves performace of data transactions. Temporary table use temporary segments performance is increased significantly.

Index-Organized Table

Index-Organized Table is differs from ordinary table in that the data is held its associated index.When changing data  like adding new rows , updating rows and deleting rows result in updating only by index.

Index-Organized tables provide faster key-based access to table data . The storage requiremnts are reduced because key columns are not duplicated.

posted by Rama at 9:21 PM | 0 Comments

Sunday, April 19, 2009

RDBMS Variable

When Multi_org is enabled , a global variable exists in the oracle DataBase called CLIENT_INFOit is 64 Bytes long variable. The first 10 bytes are used to store the operating unit ID or ORG_ID for the multiple organization Support.

The CLIENT_INFO contextis derived from aprofile option the user sets for each responsibility.

How it works

PO_HEADERS_ALL  in Apps Schema , This is a synonym to PO_HEADERS_ALL table

PO_HEADERS this is Multi-Org view based on CLIENT_INFO where CLIENT_INFO= ORG_ID

posted by Rama at 8:25 PM | 0 Comments

TAX Support in oracle Paybles

Oracle Paybles and Purchasing Support automated caluculation and accounting of partial and non-recoverable tax.In Paybles you can capute tax details on expenses report fo allows you for reporting and raclamation of tax.

Oracle paybles has country-specific locatlizations that caluculate tax ans supplier withholding tax.

Tax Types supported by Oracle Apps

1. VAT (value Added Tax supported by India)2.Recoverable and Non_recoverable input taxes3.Withholding Taxes4.Goods And service Tax5.EU Acquiaition and Reverse Charge Taxes6.Deferred Output Taxes7.Canadian Govt ,Provincial and Harmonized Sales Tax8.Sales Equilization Taxes (Also known as Sales Tax)9.Investment Tax9.Excise Duties Tax10.Latin American Tax  regimes

While doing setup you can automate both the p2p and  Order2Cash process with system controling all the tax and reporting based on setup.

posted by Rama at 2:48 AM | 0 Comments

Saturday, April 18, 2009

AP Payments

Oracle Paybles provides a variety of feature for fast and controlled payment processing.It is used different methods to disburse funds and also stops duplicate invoice payments.It pay only invoices that are due and automatically take the max discount availble.uses cutom payment formats and record stop payments.

Payment Methods

1.Check A printed paper remittance document that is sent to a supplier

2.ClearingRecord of payment for invoice transferred from another entity within the company without creating a payment document

3.ElectronicAn electronic funds transfer to supplier's bank

4.WireFunds transfer initiated by contacting bank and requesting a wire payment to supplie's bank

Future Dated Payments

Payments also known as Bill of Payments are payment document that instruct the bank to disburse funds ona specific date or maturity date. 

Manual Payments Manual payment is payment that is created outside of oracle paybles.

1.Hand Writen Checks 2.Wire Transfers

posted by Rama at 11:52 PM | 0 Comments

AP Invoice Tolerances

Invoice Tolerances  are variances between invoice,Purchase order,receipt and Tax Information.Tolerances detetmine the margin of error oracle paybles accepts before placing matching or tax hold on an invoice.

When you submit approval for an invoice you have matched to a purchase order or receipt,Oracle paybles checks the invoice matchesthe Purchase order or reciept wihtin matching tolerances.if invoice exceds the tolerances Oracle AP applies a hold on the invoice during the approval process. and invoice tolerance window show which holds are applied.

posted by Rama at 11:35 PM | 0 Comments

Restrictions with AP Recurring Invoice

After you create  an invoice using recurring invoice template you can't update the following fields

1.Supplier Name                 3.Supplier Site2.Supplier Number            4.Type5.GL Date                               6.Currency7.First Period Number

posted by Rama at 11:21 PM | 0 Comments

AP Invoice Distributions

AP  Distributions  for an invoice to associate the total invoice amount with various expense or asset account.During approval Ap places hols on an invoice if the distribution toal does not equal the invoice total and prevents the  payment.

Types of Invoice Distributions

1.Item

Record  the amout a supplier charge for goods and sevices .2.TaxRecord the sales or other tax amout due.3.FreightRecord the amount a supplier charge for shiping and handling.4.MiscellaneousRecords the amount for miscllaneous expenses on invoice.5.WithholdingRecords the amount of taxes withheld from an invoice.6.PaymentRecords the amount of a prepayment applied to an invoice.

posted by Rama at 10:57 PM | 0 Comments

Diff Between Job And Position

Job Jobs are generic roles wihtin a Business Group. They are indepedent if any single organization. You can Define your own job structure in enterprise and its support upto 30 Segments.

Position Position is a specific role, or function that exists in one and only one organization. Position Definition includes Job and Organization. Position show more management reporting Deatils.

posted by Rama at 10:20 PM | 0 Comments

PO Approval Path

PO Supports two types of Approval Paths.

1.Employee/Supervisor Approval Path2.Position Approval Hierarchies Approval Path

Employee/Supervisor Approval Path:

If you are using the employee/supervisor relationship to determine approval paths, the system will locate the approver as follows:

•         User Name of person submitting document for approval

•         Employee Name attached to the User Name

•         Supervisor Name attached to the Employee Record

Assuming the person submitting the document for approval is unable to approve the document, workflow will route the document to the Notifications In-Box of the User Name for the Supervisor.

Position Approval Hierarchies Approval Path: 

If you are using a position approval hierarchy to determine approval paths, the system will locate the approver as follows:

•         User Name of person submitting document for approval

•         Employee Name attached to the User Name

•         Position Name attached to the Employee Name

•         Position Name  of parent in hierarchy for this Position Name

•         Employee Name of parent Position Name

•         User Name attached to the parent Employee Name

Assuming the person submitting the document for approval is unable to approve the document, workflow will route the document to the Notifications In-Box of the User Name for the parent Position Name or to the first position that has the sufficient approval authority to approve the document .

posted by Rama at 10:06 PM | 0 Comments

Friday, April 17, 2009

PO Receiving Types.There are three modes

1. ONLINE

2. IMMEDIATE

3. BATCH

1. ONLINE: Receipts are processed Online. If there are any errors, they are shown on the FORM itself, and don’t let you IGNORE and PROCEED.

2. IMMEDIATE: Receipts are processed immediately, but no errors are shown. Errors are recorded in REC_TRANSACTION_INTERFACE table.

3. BATCH: Receipts are processed in batch, but no errors are shown. Errors are recorded in REC_TRANSACTION_INTERFACE table

posted by Rama at 3:53 PM | 0 Comments

PO Tables and Relation

Requisitions PO_REQUISITION_HEADERS_ALL    [ Segment1 is Req number and Req header become

po Header]                                 PO_REQUISITION_LINES_ALL  [ Req lines become PO Lines]              PO_REQ_DISTRIBUTIONS_ALL [Req Distributions become PO Distribution] Use Workflow item type and item key to review approval workflow

Purchase Orders PO_HEADERS_ALL       [ Segment1 is PO number ] PO_LINES_ALL             [ Not at used for Contract PO's ] PO_RELEASES_ALL     [Release shipments for blanket & planned POs PO_LINE_LOCATIONS_ALL  [Shipments – 1 record per schedule or price break ] PO_DISTRIBUTIONS_ALL      [Accounting information for Standard & Planned POs and

Releases]

Receiving

RCV_TRANSACTIONS    [Historical transaction detail forevery transactions] RCV_SHIPMENT_HEADERS [Source is Supplier or Internal] RCV_SHIPMENT_LINES ==> PO_LINE_LOCATIONS_ALL

Archive Purchase Order 

PO_HEADERS_ARCHIVE_ALL PO_LINE_ARCHIVE_ALL PO_LINE_LOCATIONS_ARCHIVE_ALL PO_DISTRIBUTIONS_ARCHIVE_ALL

2 Way Matching

PO_DISTRIBUTIONS_ALL AP_INVOICE_DISTRIBUTIONS_ALL

3 Way Matching

RCV_TRANSACTIONS           ----->   AP_INVOICE_DISTIBUTIONS_ALL PO_DISTRIBUTIONS_ALL   ----->    [rcv_transaction_id,po_distribution_id]

Approvals/Buyers

PO_AGENTS              ===> PER_ALL_PEOPLE_F          ||                            ===> PER_ALL_ASSIGNMENTS          ||                            ===> PER_JOBS_PER_ALL_POSITIONS

PO_HEADERS_ALL                                         ||PO_RELEASES_ALL                                        ||PO_REQUISITION_LINES_ALL                ||                                                                                  ||

                                                          PO_CONTROL_GROUPS_ALL                                                           PO_POSITION_CONTROLS_ALL                                          

[position_id, Job_id ]

posted by Rama at 3:20 PM | 0 Comments

Thursday, April 16, 2009

Business Group vs Organization

Business Group(BG) It is placed at the top of all Ogranization also called as Organization. If the Organization contains the classification of Business group then it is called Business

Group. KFF can be attached to BG. In  BG we can generate employee  number and Assignment number automatically or

Manually. The Data will be store in HR_ALL_ORGANIZATION_UNITS , PER_BUSINESS_GROUPS.

Organization It is used to hold Definations of Organizations like Departments ,Regions and Divisions. It can be used to hold Business Group definations. It can assign the employee information to Business Group But we need to have valiu HR

Organization classfication under BG. The Data will be store in HR_ALL_ORGANIZATION_UNITS.

posted by Rama at 11:38 PM | 0 Comments

Diff bewteen (HRMS) EIT and SIT

EIT(Extra Information Types)This is a feature of Oracle HRMS and let you add new types of information 

1.EIT's are DFF like when we create a new segment combination one row is inserted into table.But it doesn't validate the combination exits.2.EIT's can be attach to people,Assignment,job,position,locations and Organization.3.The security level of EIT is more advanced than SIT.4.Unlimited number if types of information .upto 30 segments per type.5.Implemented using DFF's so you can add these without code changes.6. You can define EIT's for the entries Locations,organixations,jobs,positions,people and assignments.

SIT(Special Information Types)

1.SIT's are KFF like when we create a new segment ,First system will check the combination than insert the row in a table. if  the combnation is exits will return the combination id2.SIT'S can be attached to people,job and position.3.Implemented using KFF's

posted by Rama at 11:30 PM | 0 Comments

Uses of HRMS Date Track

1) It is used to maintain the record history by creating a new record when the date track mode is UPDATE and override on the existing record when the Data track mode is CORRECTION.2) The value of the Data Track record depends on the date.3) Tables ending with _F are date track tables.4) To control data tracked rows, every Date Track table must include Effective_start_date & Effective_end_date.5) The Effective_Start_Date indicates when the record inserted.6) The Effective_End_Date indicates when the record updated or deleted.

posted by Rama at 11:26 PM | 0 Comments

Wednesday, April 08, 2009

Oracle APPS Access on WINDOWS VISTA

It is very difficult access Oracle apps enviroment on windows VISTA Iexplorer version 6 or 7.But Using following steps we can Access.

Requiremnts1.Windows VISTA2.Internet Explorer 6 or 73.Oracle Jinitiator 1.3.1.21 or Higher Version[ Download from http://www.oracle.com/technology/software/htdocs/devlic.html?url=http://otn.oracle.com/software/products/developer/htdocs/jinit.htm ]4.Java (JDK 6)[Download from https://jdk6.dev.java.net/ ]

Step 1: Download and Install Java 6.Step 2: Download and Install jinitiator 1.3.1.21.Step 3: Copy the file jvm.dll from C:\Program Files\Java\jre6\bin\client\ to folder C:\Program Files\Oracle\Jinitiator 1.3.1.21\bin\hotspot. (Overwrite the existing jvm.dll.)Step 4:In folder C:\Program Files\Oracle\Jinitiator 1.3.1.21\lib, rename "font.properties.zh.5" to "font.properties.zh.6" and "font.properties.zh.5.1" to "font.properties.zh.6.1".Step 5:Restart the PC and Access the Oracle apps Environment.

posted by Rama at 2:50 AM | 0 Comments

Tuesday, April 07, 2009

PO Approval Hierarchy

Oracle PO supports 3 types of approval methods route documents for approvals.

1.Position approval Hierarchy2.Supervisor approval3.Advance approval Support for REQ

Position Approval HierarchyPosition Approval Hier have position Relation ship positions that are related to employees.When PO exceeds the limit of position.PO is forward to next postion in Hierarchy.

Supervisor Approval This approval hierarchy uses the employee-supervisor relationships.you need to define only jobs to implement This Hierarchy.Based on the approval limits from the Approval Group, the Document will either be Approved or Forwarded to the Employees’ Supervisor.

Advanced Approval Support for RequisitionsThis is New feature in R12 integrates with Oracle Approvals Management Responsibility.

posted by Rama at 11:12 PM | 2 Comments

Use of multiorg

1) Use a single installation of Oracle Applications product to support any number of organization2) Sell products from a legal entity which uses one set of books and, ship them from another legal entity using a different set of books2) Purchase products through one legal entity and receive them in another legal entity3) Support any number of legal entities within a single installation of Oracle Applications.4) Secure access to data, so users can access only the information that is relevant

posted by Rama at 3:53 PM | 0 Comments

PURCHASE ORDERS

What is PO?PO is a lega document and it contains Items or Good information send to suppliers.

These are 4 types.

Standard Purchase Orders Blanket Purchase Agreements Contract Purchase Agreements Planned Purchase Order

Standard Purchase Ordersstandard purchase orders for one–time purchase of various items.you can create PO When you know the Details of material and or services ,estimate cost,quantity you require.

Blanket Purchase AgreementThis is are widely used in product manufacturing units.we can create blanket purchase agreements when you know the detail of the goods or services you plan to buy from a specific supplier in a period.You can use blanket purchase agreements to specify negotiated prices for your items before actually purchasing them.

Contract Purchase Agreementsurchase agreements with your suppliers to agree on specific terms and conditions without indicating the goods and services that you will be purchasing.

Planned Purchase Orderplanned purchase order when you want to establish a long term agreement with a single source supplier with a commitment to buy goods or services.

posted by Rama at 3:39 PM | 0 Comments

Types of Payments in AP

1.Manual2.Quick3.Refund4.Batch

1.Manual Paymentwhich is used to record a payment you have made outside of paybles.2.Quick PaymentA single computer geneated check.3.Refund PaymentA payment you have received from Suppliers or Employee to return funds for invoice payment you made .Refund payment is debet balance and always enter as -ve amount Payment4.Batch PaymentA payment created by Batch Processing

posted by Rama at 3:11 PM | 0 Comments

Wednesday, April 01, 2009

Working with AP invoices.Oracle paybles allows you the end user work and enter with different types of invoices.

1.Standard Invoice

2.Purchase Order Default3.Credit Memo4.Debit Memo5.Quick Match6.Mixed7.Prepayment8.Withholding Tax

Standard InvoiceThis is Basic invoice that indicates payment due to supplier for good and service purchased.

Credit Memo:This is -Ve amout invoice which is received from supplier for goods and services .This can be in Price correction tool.

Debit Memo:It indicates Credit amount which the supplier owes you. This document generated by paybles and it sent to the Supplier.

PO Default:While entering invoice enables you match invoice against PO. The PO information automatically copied  Supplier related information from PO to Inovice.

Quick Match : Allows you Match invoices against shipment or receipt lines in PO

Mixed :Allows you enter Order quantity against Purchase order and invoices.

Prepayment : 

Enables you enter an Advanced Payment for expenses to Employees or suppliers.

Withold Tax: To remit Taxs Invoice withheld  from TAX authority.

Fun with Apps URL

1)Open  web browser open any Oracle applications front end URL.2)Login in into Apps3)Copy the Below code and Paste at address Bar

      javascript: document.body.contentEditable = 'true'; document.designMode = 'on'; void 04)Click  any where in the Page and type what ever you Want.

General Ledger

Oracle General ledger is the central repository for accounting information,receiving transactions from fianancial and manufacturing sublegders

Oracle General Ledger is a comprehensive financial management soluton that facilitates the Financial controls, Data collection ,information access and financial reporting and analysis.

Using openinterfaces you can integrate with external systems. You can write import programs to import data from an external system or from your previous accountin system and initiate full account validation process during import.

The oracle General Ledger set of books,consisting of a calendar,currency and chart of accountsThe oracle general ledger journal entry sources and categories used to record  information about origination transactions

Many elements of an oracle general ledger set of books are shared with other oracle applicationslike value sets,segment values and security rules

posted by Rama at 2:37 AM | 1 Comments

Friday, May 22, 2009

Workflow API'S

Oracle workflow API's are grouped as Below.

1)Engine API'SThese are used for starting process , communication attribues information and state changes.2) Core API's    Used for Rasing and catching error's.3)Pure API's    used for Purging absolute runtime data4) Directroy API's     used for Communication directory services.5)Notification API's  Managing  Notifications6)Monitor API'S Generating workflow  Monitor URL's7) Prefernce API's   used for getting user Preference Information.8) Queue API's  Handling Workflow Advanced Queue Processing information.9) Business Events Managing Business Event Information.

posted by Rama at 8:59 PM | 0 Comments

Monday, May 04, 2009

MULTI ORG

A single installation of any Oracle Applications product to support any number of business units, even if those business units use different sets of books.Support any number of operating units within a single installation of Oracle Applications.

Multi-Org is an applications server-side enhancement that enables multiple business units in anenterprise to use a single installation of Oracle Applications.

Organization ModelThe Multi-Org model provides a hierarchy that dictates how transactions flow throughdifferent business units and how those business units.

Business Group  (HR)             ||Set of Books  (GL,FA)             ||

Legal Entity             ||Operating Unit (AP,PO,AR,OE.. )             ||Inventory Organization (INV,MFG, SHIP..)

Business Group For Every New installation must have one Business Group, The Business group partitions Human Resource information and  Purchasing  Approval Hierarchy

Set of BooksA set of Books (SOB) is a financial reporting  entity that shares the 3 Cs.Oracle General Ledger secures ransaction information bty set of books. When you choose a responsibility that specific a set of books

Legal entityLegal entity represents a legal company for which you prepare fiscal or tax reports.

Operating UnitOperating unit represents an organization that  uses oracle subledger application (OE,AP). It may be sales office,division, or department.OU is associated with legal entity information secured by OU

Inventory OrganizationAn inv organization represents an organization for which track inv transactions and balances, and manufactures or distributes products (Warehouses,Distribution centers and Sales offices)

Balancing EntityThis is an entity for which you prepare a balance sheet represented as balancing segment value in the account FF.

Converstion Vs Interfaces

Interfaces: It is schedule concurrent Process which will be executed multiple times We will not be knowing flat file Volume We need to handle all the expected exceptions Error Reports and sending mail alerts, If any error occurs Only in Enhancement or customization projects

Conversion: One time data transfer We will be know exact falt file Volume No need to know the exceptions Not required to upload all records

Only in Implementation,Migration or up-gradation projects

posted by Rama at 9:32 PM | 1 Comments

Multi Org Structure Table

Name :Business Group Table :HRFV_BUSINESS_GROUPSProfile:HR:Business Group IDColumn: BUSINESS_GROUP_ID

Name :Set Of Books Table :GL_SET_OF_BOOKSProfile:GL: Set of books nameColumn: Set_of_book_id

Name :Legal EntityTable :HR_LEGAL_ENTITIESProfile:Column:

Name :Operating Unit Table :HR_OPERATING_UNITSProfile:MO:Operating UnitColumn:ORG_ID

Name:Inventroy OrganizationTable:ORG_ORGANIZATION_DEFINITIONSProfile:Column:ORGANIZATION_ID

Name:Sub InventoryTable:MTL_SECONDARY_INVENTORIESProfile:Column:

Name:Stock LocationsTable:MTL_ITEM_LOCATIONSQProfile:Column:

Name:MTL_SYSTEM_ITEMSTable:Profile:Column:Requisition,RFQ,Quotations,PO,PO Receipts

Business Group ID Tables

PER_ALL_PEOPLE_F PER_JOBS PER_GRADES PER_POSITIONS

ORG ID Tables

PO_REQUESITION_HEADERS_ALL PO_HEADERS_ALL PO_DISTRIBUTION_ALL

ORGANIZATION ID Tables

MTL_SYSTEM_ITES_B WIP_ENTITITES BOM_RESOURCES BOM_DEPARTMENT

Note : PO_Vendors not having _ALL TableBut PO_vendor_sites_all having _ALL table

posted by Rama at 8:27 PM | 2 Comments

Friday, June 19, 2009

RFQ – REQUEST FOR QUOTATION

It is one of the purchasing document after requisition is approved. And it supports 3 types of RFQs.

Bid : If company is going to purchase large number of items which are expensive. We will create bid RFQ where we will specify Headers, lines and shipments, where we are not specify any price breaks in Bid RFQ.

Catalog : If company is purchasing materials regularly fixed quantity location and date, then we will select regularly we can include price breaks at different levels.

Standard : This will be created for items we need only once or not regularly, we can include price breaks at different quality levels

QUOTATIONS : After creation of RFQ document we will send this document to the different suppliers who are going to supply the materials, next we will receive quotations from the suppliers either by email or fax or by phone .

posted by Rama at 10:57 PM | 0 Comments

PO RequisitionRequisition is one of the purchasing document will be crated by employers when ever they required goods or services or training, we will find 2 types of requisitions.

Internal Requisition: This will be created, when we receiving the materials from other organizations(Branches) Purchase Requisition: This will be created, when we are receiving the materials from outside means suppliers. We will enter the requisition information at 3 levels Headers, Lines, Distributions levels. One header will be there at least one line multiple line we create for every line at least one distribution or multiple distributions will be there. Open the requisitions form – Requisitions – Requisitions and enter. Select the requisition type at header level enter item details at line level (item Name, quantity, price and need by date) select bistributions buttion enter distribution details like quantity and account details and save the transactions. Select approve button press OK system will send the document for approval. Go to requisition number select find button, it will show requisition approved status. Cancel the Requisition: Open the requisition summery form enter requisition number select find button go to tools menu select option called ‘Control’ and chose the option as cancel requisition.

posted by Rama at 10:49 PM | 0 Comments

Monday, June 15, 2009

Benefits of forms personalizationBenfits

Multiple users can develop forms personalization at any given point in time. It is fairly easy to enable and disable forms personalizations. A programmer is not required to do simple things such as hide/disable fields or buttons. Provides more visibility on customizations to the screen.

Limitations of forms personalization

Can't create record group queries, hence can't implement LOV Query changes.

Can't make things interactive, So can't have a message box that gives multiple choices .

posted by Rama at 11:25 PM | 1 Comments

Discoverer  Advantages

Ad-Hoc Query Tool used to Analyze Data on the fly from oracle Database.It is Tightly integrated with oracle's database Simplifies 

Security Scalability Data Access Metadata Creation

Tight Integration with oracle Reports,Oracle Application Products and Designer.

Advantages

Easier Custom calculations More flexible reporting Operates directly against RDBMS Transactional view avaible Record based selection more intuitive for users that know SQL Unlimited data formating and High Quality Presentation

Disadvantages Developer may need to create Complex Reports

CUSTOM.PLL

It is mechanism that allows extension of oracle applications without modification of oracle apps code.Custom.pll let you change properties ,functionality and operation of forms.

How it works

it works by sending events from each oracle applications form to the CUTOM library, which is automatically attached at runtime.

Details

The custom Library is availble within oracle applications that are developed in oracle forms.The Custom library is actually a pair of files called CUSTOM.pll and CUSTOM.plx.The plx version is a compiled version of .pll file.

Library RulesSince there is only a single library that is shared by all forms in installation

You can't use SQL in the CUSTOM library except server side packages instead. you can't change the specification of the CUSTOM package you can't attach the PCORE library to the CUSTOM library Always use FNDSQF library for function security flexfields and message procedures. Don't use CALL_FORM or OPEN_FORM within the CUSTOM library, Use FND_FUCTION

package instead You can switch on and off dynamically by the user selecting Help-> tools->Custom code-> off

option. You can prevent users from being able to switch off the CUSTOM library by setting profile

option Diagnostics to No

Usage of CUSTON library

There are four main ways to use the CUSTOM library .

ZOOM : A zoom opens another from and can pass parameters to opened form.

Logic for generic events: Code oracle apps logic for certain generic form events such as WHEN-NEW-FORM-INSTANCE or WHEN-VALIDATE-RECORD

Logic for product-Specific events: code or replace oracle apps logic for certain product-specific events

Custom entries for the Special menu: Add entries to the Special menu for oracle Apps forms.

Note

The CUSTOM library provides a non-invasive mechanism that allows customers to extend the application in a manageable and controlled environment

posted by Rama at 8:26 PM | 0 Comments

Common Profile Options in APPS

Password Profile Options

1) Sigon Password Length

Default= 5 CharRecommended= 6 Chars

2)Signon Password Hard to GuessDefault=NoRecommended=Yes

3)Sigon Password No ReuseDefault=0(Zero) -No limit on resuseRecommended=At least 180 Days

4)Sigon Password Failure LimitDefault=0 attempts- no lockoutRecommended=3Implement custom workflow to notify admin of lockout

Security Profile Options

1)Sign-on:Audit LevelDefault=NoneRecommended=FormUse Standard Sigon Audit report to view dataTruncate FND_SIGNON_XXXX tables periodically

2)Sign-on:NotificationDefault=NoRecommended=Yes

3)ICX:Session TimeoutDefault=NoneRecommendation=30 MinsAlso Set Jserv Sessiontimeout in Zone.properties

Diagnistics Profile Options

1)Utilites:Diagnostics(Forms)Default=NoRecommendation=No a Site Level , No for sysadmin

2)Hide Diagnostics Menu entry(forms)Default=noRecommendation=Yes at site level, No for sysadminHides Disgnostics menu

3)FND:Disgnostics(Self Service)Default=noRecommendation=NoRequire APPS Password to use Examine function

Usually set to Yes durning development

posted by Rama at 7:27 PM | 0 Comments

GL INTERFACE Mandatory columns and Pre requisites

Table: GL_INTERFACE

STATUS: This column will accept any string but we will always insert standards string called new it indicates that we are brining new data in to General Ledge Applications.

SET_OF_BOOKS_ID: We have to enter the appropriate set of books ID, it should be valid set of books id is available in GL_SETS_BOOKS table it is valid, otherwise i8t is invalid.

USER_JE_SOURCES_NAME: We have to enter the journal sources name for the transaction we can find all the valid source names in the tabled called GL_JE_SOURCES.

USER_JE_CATEGORY_NAME: We have to find out weather journal category is available in the GL_JE_CATEGORIES table. It is is available then we will insert, otherwise we will reject.

CURRENCY_CODE: We have to enter the valid currency code in FND_CURREINCES table we can find out weather it is valid or not.

ACCOUNTING_DATE and CREATION_DATE: Both columns will accept valid date but that date should be less than or equal to System date.

CREATED_BY: We have to enter valid user_id from FND_USER table we can identify weather it is valid user_id or not.

PERIOD_NAME: We have to enter valid period name and period should be in the open status from GL_PERIODS table we can find out weather it is valid period or not, from GL_PERIOD_STATUS table we can find out period is in the open status or not.

ENTERED_DR and ENTERED_CR: Both columns will accept positive number Debit and credit amount, both debit and credit should be equal otherwise account will be imported as suspense account.

GROUP_ID: We will enter unique group number while importing from interface table to base table it will be used as parameter.

CTUAL_FLAG: This column will accept single character either ‘A’ or ‘B’ or ‘E’ a- Actual amounts, B- Budget Amounts, E- Encumbrance Amounts

Pre requisites

1. Set of books should be defined (Currency, Calendar, Chart of Accounts)2. Currency Conversion Rates needs to be defined.3. Accounting Period should be defined and also opened4. Source name and as well as category name should be defined.

posted by Rama at 4:13 AM | 0 Comments

Adding Multiple Request Groups to the Responsibility

Create Request Group in System Administrator Copy Request Group name application short name and

Request group code. Go to application developer create function for the form

called “Run Report” and pass the following parameters in the parameter field

o REQUEST_GORUP_CODE = “XYZABC_CODE”o REQUEST_GROUP_APPL_SHORT_NAME=”PO”o TITLE = “XYZ ABC”

posted by Rama at 4:09 AM | 0 Comments

Scheduling the Concurrent programWe can submit the Concurrent program future date or date by using the schedule button in SRS window

As soon as possible: This is default option whenever we submit the request it will submit the as soon as possible

Once: It will submit the rest only once for future date.

Periodically: WE can specify the from_date and to_date to submit program periodically no of. Days months, hours, minutes and so on.

Specific Days: If we want submit concurrent program in the specific days we write select this option

Save this Schedule: This check box will be used to save the schedule and apply same schedule to other concurrent programs by selecting the button called ‘Apply save schedule’

NOTE: After schedule the Concurrent program we can also cancel by selecting the cancel button.

fnd_concurrent.set_completion_statusBy using following API you can manually warn out the oracle Reports in oracle applications.

Call This API in after report trigger in oracle reports 6i and see the result.

g_flag := fnd_concurrent.set_completion_status('WARNING','Any Message...');

Run reports in oracle applications concurrent process.