Sunteți pe pagina 1din 44

Skip to content Skip to main navigation Skip to first column Skip to second column

APPS TO FUSION
.......Our Journey from Apps To Fusion

Home Technical Articles Other Functional Documents

o
HR and Payroll

iProcurement Oracle Grants Receivables General Ledger

Oracle HRMS

o o o o
Oracle Workflows OA Framework Oracle Scripts Miscellaneous Oracle Payroll

Oracle HRMS Payroll Migration HRMS Miscellaneous

o
Installation

General Apps Topics Oracle Apps Interview Questions

o o o o o o o
Fusion

Virtual Machines SOA Suite

Financials Documents Training Articles Common Apps Training Articles HRMS Payroll Training Oracle Workflows Training OA Framework Training Service Oriented Architecture

BPEL

Functional Documents

o o o o o o o o o o o o
ADF Training BI Publisher - XMLP

Financial Modules Supply Chain & Manufacturing R12 11i Differences AME and Self Service HRMS

Mobile Supply Chain Application Framework APEX-Oracle Application Express Financial Functional Documents Receive Email for New Articles Contributors Sivakumar Ganesan Senthilkumar Shanmugam Prasad Bhogle Prabhakar Somanathan Arun Sista Ranu Srivastava Guest Authors

o o o o
Prasad Parmeswaran Kalimuthu Vellaichamy Kishore Ryali Forum Development and Customization Forum

Rathan Kinhal Ahmad Bilal TheTechnoSpider Anshuman Ghosh

o o
Apps Functional Forum Project Management Forum

OA Framework Forms Reports WF AME Disco APIs and Interfaces BI Publisher


My Book Solutions

Project Management Forum Index Project Management Methodologies Project Management Best Practices Oracle AIM methodology Checklists/Templates/Processes Other Project Management Related Discussions

Technical Interview Questions in Oracle Apps


Saturday, 16 September 2006 20:18 Anil Passi

E-mail | Print | PDF Please find a list of possible technical interview questions in Oracle Apps. All the contents on this website are Copyright protected.

I will try to keep this upto date with any new questions that I come accross. New apps questions will be added to the top of this post.
Most of the Oracle apps interview questions listed here are technical in natue. These interview questions span various Oracle Apps modules plus FND & OA Framework. For Oracle HRMS and Payroll interview questions visit HRMS Interview Questions

For Oracle iProcurement interview questions, kindly visit iProc Interview Questions .

Question: How will you migrate Oracle General Ledger Currencies and Sets of Books Definitions fromone environment to another without reKeying? Will you use FNDLOAD? Answer: FNDLOAD can not be used in the scenario. You can use migrator available in "Oracle iSetup" Responsibility

Question: This is a very tough one, almost impossible to answer, but yet I will ask. Which Form in Oracle Applications has most number of Form Functions? Answer: "Run Reports". And why not, the Form Function for this screen has a parameter to which we pass name of the "Request Group", hence securing the list of Concurrent Programs that are visible in "Run Request" Form. Just so that you know, there are over 600 form functions for "Run Reports"

Question: Which responsibility do you need to extract Self Service Personalizations? Answer:Functional Administrator
Question: Can you list any one single limitation of Forms Personalization feature that was delivered with 11.5.10 Answer:You can not implement interactive messages, i.e. a message will give multiple options for Response. The best you can get from Forms Personalization to do is popup up Message with OK option.

Question: You have just created two concurrent programs namely "XX PO Prog1" & "XX PO Prog2". Now you wish to create a menu for Concurrent Request submission such that only these two Concurrent Programs are visible from that Run Request menu. Please explain the steps to implement this? Answer:

a) Define a request group, lets say with name "XX_PO_PROGS" b) Add these two concurrent programs to the request group "XX_PO_PROGS" c) Define a new Form Function that is attached to Form "Run Reports" d) In the parameter field of Form Function screen, enter REQUEST_GROUP_CODE="XX_PO_PROGS" REQUEST_GROUP_APPL_SHORT_NAME="XXPO" TITLE="XXPO:XX_PO_PROGS" e) Attach this form function to the desired menu.

Question: Does Oracle 10g support rule based optimization? Answer: The official stance is that RBO is no longer supported by 10g.

Question: Does oracle support partitioning of tables in Oracle Apps? Answer: Yes, Oracle does support partitioning of tables in Oracle Applications. There are several implementations that partition on GL_BALANCES. However your client must buy licenses to if they desire to partition tables. To avoid the cost of licensing you may suggest the clients may decide to permanently close their older GL Periods, such that historical records can be archived. Note: Before running the archival process the second time, you must clear down the archive table GL_ARCHIVE_BALANCES (dont forget to export archive data to a tape).

Question: What will be your partitioning strategy on GL_BALANCES? Your views please? Answer: This really depends upon how many periods are regularly reported upon, how many periods are left open etc. You can then decide to partition on period_name, or period ranges, or on the status of the GL Period.

Question: Does Oracle support running of gather stats on SYS schema in Oracle Apps? Answer: If your Oracle Applications instance is on 10g, then you can decide to run stats for SYS schema. This can be done by exec dbms_stats.gather_schema_stats('SYS'); Alternately using command dbms_stats.gather_schema_stats('SYS',cascade=>TRUE,degree=>20); I will prefer the former with default values. If you wish to delete the stats for SYS use exec dbms_stats.delete_schema_stats('SYS'); You can schedule a dbms_job for running stats for SYS schema.

Question: Can you use concurrent program "Gather Schema Statistics" to gather stats on sys schema in oracle apps? Answer: No, "Gather Schema Statistics" has no parameters for SYS schema. Please use dbms_job.

Question: Which table is used to provide drill down from Oracle GL into sub-ledger? Answer: GL_IMPORT_REFERENCES

Question: What is the significance of profile option Node Trust Level in Oracle Apps.

Answer: If this profile option is set to a value of external against a server, then it signifies that the specific midtier is External i.e. it will be exposed to the www. In other words this server is not within the firewall of your client. The idea behind this profile option is to flag such middle-tier so that special restrictions can be applied against its security, which means a very restricted set of responsibilities will be available from such Middle-Tier.

Question: What is the significance of profile option Responsibility Trust Level. Answer: In order to make a responsibility accessible from an external web tier, you must set profile option Responsibility Trust Level at responsibility level to External. Only those responsibilities that have this profile option against them will be accessible from External Middle tiers.

Question: What else can you suggest to restrict the access to screens from external web tiers? Answer: You may use URL filtering within Apache.

Question: What is the role of Document Manager in Oracle Purchasing? Answer: POXCON is an immediate concurrent program. It receives pipe signal from the application when a request is made for approval/reservations/receipts.

Question: How to debug a document manager in Oracle Apps? Answer: Document manger runs within the concurrent manager in Oracle Applications. When an application uses a Document Manager, it sends a pipe signal which is picked up by the document manager. There are two mechanisms by which to trace the document manager 1. Set the debugging on by using profile option STEP 1. Set profile option "Concurrent:Debug Flags" to TCTM1 This profile should only generate debugs when set at Site level(I think, as I have only tried site), because Document Manager runs in a different session. STEP 2. Bounce the Document Managers STEP 3. Retry the Workflow to generate debugs. STEP 4. Reset profile option "Concurrent:Debug Flags" to blank STEP 5. have a look at debug information in table fnd_concurrent_debug_info

2. Enable tracing for the document managers This can be done by setting profile option Initialization SQL Statement Custom against your username before reproducing the issue. The value of this profile will be set so as to enable trace using event 10046, level 12.

Question: You have written a Java Concurrent Program in Oracle Apps. You want to modify the CLASSPATH such that new class CLASSPATH is effective just for this program. Answer: In the options field of the concurrent program you can enter something similar to below. -cp <your custom lib pathused by Java Conc Prog> :/home/xxvisiondev/XXDEVDB/comn/java/appsborg.zip:/home/xxvisiondev/XXDEVDB/comn/java

Question: How will you open a bc4j package in jdeveloper? Answer: Oracle ships a file named server.xml with each bc4j package. You will need to ftp that file alongside other bc4j objects(VOs, EOs, AM, Classes etc). Opening the server.xml will load the complete package starting from AM(application module). This is a mandatory step when building Extensions to framework.

Question: In OA Framework Self-Service screen, you wish to disable a tab. How will you do it? Answer: Generally speaking, the tabs on a OA Framework page are nothing but the SubMenus. By entering menu exclusion against the responsibility, you can remove the tab from self service page.

Question: In self service, you wish to change the background color and the foreground text of the OA Framework screens to meet your corporate standards. How will you do it? Answer: You will need to do the below steps a.Go to Mid Tier, and open $OA_HTML/cabo/styles/custom.xss bEnter below text( change colours as needed) <style name="DarkBackground"> <property name="background-color">#000066</property> </style> <style name="TextForeground"> <property name="color">#0000FF</property> </style> c cd $OA_HTML/cabo/styles/cache dTake a backup of all the css files. eDelete all the files of following pattern oracle-desktop*.css The idea here is to delete the cache. Next time when you logon to Oracle Apps Self Service, the Framework will rebuild the css file if found missing for your browser.

Question: Can you extend and substitue a root AM ( Application Module) in OA Framework using JDeveloper.

Answer: You can extend the AM in jDeveloper, but it doesnt work( at least it didnt work in 11.5.9). I am hopeful that Oracle will deliver a solution to this in the future.

Question: In a workflow notification, you have a free text response field where the user enters the Vendor Number for the new vendor. You want to validate the value entered in the notification response field upon the submission of a response. How will you do it? Answer: You will need to attach a post notification function to the Workflow Notification. The PL/SQL code will look similar to below:The below code will display an error in the notification when user attempts to create a Duplicate Vendor Number. PROCEDURE validate_response_from_notif ( itemtype IN VARCHAR2 ,itemkey IN VARCHAR2 ,actid IN NUMBER ,funcmode IN VARCHAR2 ,RESULT IN OUT VARCHAR2 ) IS l_nid NUMBER; l_activity_result_code VARCHAR2(200); v_newly_entered_vendor_num VARCHAR2(50); CURSOR c_get_response_for_new_vendor IS SELECT wl.lookup_code FROM wf_notification_attributes wna ,wf_notifications wn ,wf_message_attributes_vl wma ,wf_lookups wl WHERE wna.notification_id = l_nid AND wna.notification_id = wn.notification_id AND wn.message_name = wma.message_name AND wn.message_type = wma.message_type AND wna.NAME = wma.NAME AND wma.SUBTYPE = 'RESPOND' AND wma.format = wl.lookup_type

AND wna.text_value = wl.lookup_code AND wma.TYPE = 'LOOKUP' AND decode(wma.NAME, 'RESULT', 'RESULT', 'NORESULT') = 'RESULT'; BEGIN IF (funcmode IN ('RESPOND')) THEN l_nid := wf_engine.context_nid; OPEN c_get_response_for_new_vendor; FETCH c_get_response_for_new_vendor INTO l_activity_result_code; CLOSE c_get_response_for_new_vendor; v_newly_entered_vendor_num := wf_notification.getattrtext(l_nid,'NEWLY_ENTERED_VENDOR_NUM_4_PO'); IF l_activity_result_code = 'NEW_VENDOR' AND does_vendor_exist(p_vendor => v_newly_entered_vendor_num) THEN RESULT := 'ERROR: VendorNumber you entered already exists'; RETURN; END IF; END IF; EXCEPTION WHEN OTHERS THEN RESULT := SQLERRM; END validate_response_from_notif;

Question: How to make concurrent program end with warning? Answer: If the concurrent program is of type PL/SQL, you can assign a value of 1 to the retcode OUT Parameter. For a Java Concurrent program, use the code similar to below ReqCompletion lRC; //get handle on request completion object for reporting status lRC = pCpContext.getReqCompletion(); lRC.setCompletion(ReqCompletion.WARNING, "WARNING");

Question: How do you link a Host type concurrent program to Concurrent Manager? Answer: Assuming your executable script is LOADPO.prog, then use the commands below cd $XXPO_TOP/bin ln -s $FND_TOP/bin/fndcpesr $XXPO_TOP/bin/LOADPO

Question: How do you know if a specific Oracle patch has been applied in apps to your environment. Answer: Use table ad_bugs, in which column bug_number is the patch number. SELECT bug_number ,to_char(creation_date, 'DD-MON-YYYY HH24:MI:SS') dated FROM apps.ad_bugs WHERE bug_number = TRIM('&bug_number') ;

Question: How do you send a particular Oracle Apps Workflow Activity/Function within a workflow process into background mode. Answer: If cost of the workflow activity is greater than 50, then the workflow activity will be processed in background mode only, and it wont be processed in online mode.

Question: What are the various ways to kick-off a workflow Answer: You can eiter use wf_engine.start_process or you can attach a runnable process such ghat it subscribes to a workflow event.

Question: When starting (kicking off) an oracle workflow process, how do you ensure that it happens in a background mode? --a)if initiating the process using start_process, do the below wf_engine.threshold := -1; wf_engine.createprocess(l_itemtype ,l_itemkey ,'<YOUR PROCESS NAME>'); wf_engine.startprocess(l_itemtype, l_itemkey)

--B) When initiating the workflow process through an event subscription, set the Execution Condition Phase to be equal to or above 100 for it to be executed by background process.

Question: On 10g, how will you use awr? Answer: By running below scripts. These are both the same scripts, but with differing parameters. $ORACLE_HOME/rdbms/admin/awrrpt.sql $ORACLE_HOME/rdbms/admin/awrrpti.sql

Question : How will you configure Apache to run in Debug mode, specifically usefull when debugging iProcurement ( prior to 11.5.10). Answer: After 11.5.10, FND Logging can be used for debugging Oracle iProcurement. Prior to 11.5.10 ----STEPS IN A NUTSHELL----cd $ORACLE_HOME/../iAS/Apache vi $ORACLE_HOME/../iAS/Apache/Jserv/etc/ssp_init.txt DebugOutput=/home/<<SID>>/ora9/iAS/Apache/Apache/logs/debug.log DebugLevel=5 DebugSwitch=ON

vi $ORACLE_HOME/../iAS/Apache/Jserv/etc/jserv.conf ApJServLogLevel debug

vi $ORACLE_HOME/../iAS/Apache/Jserv/etc/jserv.properties log=true

Question: How will you add a new column to a List Of Values ( LOV ) in Oracle Applications Framework? Can this be done without customization? Answer: Yes, this can be done without customization, i.e. by using OA Framework Extension coupled with Personalization. Implement the following Steps :a) Extend the VO ( View Object ), to implement the new SQL required to support the LOV. b) Substitute the base VO, by using jpximport [ similar to as explained in Link ]

c) Personalize the LOV Region, by clicking on Add New Item. While adding the new Item, you will cross reference the newly added column to VO.

Question: Can you do fnd_request.submit_request from SQL Plus in Oracle? Answer: You will need to initialize the global variables first using fnd_global.initialize DECLARE v_session_id INTEGER := userenv('sessionid') ; BEGIN fnd_global.initialize ( SESSION_ID => v_session_id ,USER_ID => <your user id from fnd_user.user_id> ,RESP_ID => <You may use Examine from the screen PROFILE/RESP_ID> ,RESP_APPL_ID => <You may use Examine from the screen PROFILE/RESP_APPL_ID> ,SECURITY_GROUP_ID => 0 ,SITE_ID => NULL ,LOGIN_ID => 3115003--Any number here ,CONC_LOGIN_ID => NULL ,PROG_APPL_ID => NULL ,CONC_PROGRAM_ID => NULL ,CONC_REQUEST_ID => NULL ,CONC_PRIORITY_REQUEST => NULL ); commit ; END ; / Optionally you may use fnd_global.apps_initialize, which internally calls fnd_global.initialize fnd_global.apps_initialize(user_id => :user_id, resp_id => :resp_id, resp_appl_id => :resp_appl_id, security_id => :security_id, server_id => :server_id); By doing the above, your global variables upon which Concurrent Managers depend upon will be populated. This will be equivalent to logging into Oracle Apps and submitting the concurrent request from a responsibility.

Question: You are told that the certain steps in the Oracle Apps Form/Screen are running slow, and you are asked to tune it. How do you go about it. Answer: First thing to do is to enable trace. Preferably, enable the trace with Bind Variables. This can be done by selecting menu Help/Diagnostics/Trace/Trace With Binds and Wait Internally Oracle Forms issues a statement similar to below:alter session set events='10046 trace name context forever, level 12' ;

Enable Trace with Bind Variables in Apps

This will enable the trace with Bind Variable values being shown in the trace file. The screen in Oracle Apps will also provide the name of the trace file which is located in directly identified by select value from v$parameter where name like '%us%r%dump%' Doing a tkprof with explain plan option, reviewing plans and stats in trace file can help identify the slow performing SQL.

Question: What is the difference between running Gather Stats and Program Optimizer[RGOPTM] in Oracle General Ledger? Answer: Gather Stats will simply gather the stats against existing tables, indexes etc. However Gather Stats does not create any new indexes. But Program Optimizer[RGOPTM] can create indexes on GL_CODE_COMBINATIONS, provided accounting segment has the indexed flag enabled,

Question: You have written a piece of code in POR_CUSTOM_PKG for Oracle iProcurement, but its not taking any effect? What may be the reason? Answer: Depending upon which procedure in POR_CUSTOM_PKG has been programmed, one or more of the below profile options must be set to Yes POR: Enable Req Header Customization POR: Enable Requisition Line Customization POR: Enable Req Distribution Customization

Question: What is the key benefit of punching out to suppliers catalogs rather than loading their catalogs locally in Oracle iProcurement? Answer: Punchout has several advantages like, Catalogs dont need to be loaded locally saves space on

your system. You can get up-to-date list of catalogs by punching out and also you get the benefit of up-to-date pricing information on vendor items.

Question: Does oracle have a test environment on exchange? Answer: http://testexchange.oracle.com

Question: Does Oracle Grants use its own schema or does it uses Oracle Project Accounting schema? Answer: Although Oracle Grants has its own schema i.e. GMS, it reuses many of the tables with in Oracle Projects Schema like PA_PROJECTS_ALL, PA_EXPENDITURE_ITEMS_ALL, PA_EXPENDITURE_TYPES etc.

Question: How to make an Oracle Report Type concurrent program produce an excel friendly output? Answer: Comma can be concatenated between the column values, however a better option is to create tab delimited file, as it takes care of commas within the string. For this, use SQL similar to below in the report select 'a' || chr(9) || 'b' from dual;

Question: What are the settings needed for printing bitmap reports? Answer: Get your DBA to configure two files i.e. uiprint.txt & default.ppd For details, refer to Metalink Note 189708.1

Question: For a PL/SQL based concurrent program do you have to issue a commit at the end? Answer: The concurrent program runs within its own new session. In APPS, the default database setting enforces a commit at the end of each session. Hence no explicit COMMIT is required.

Question: What is the best way to add debugging to the code in apps? Answer: Use fnd_log.string , i.e. FND Logging. Behind the scenes Oracles FND Logging uses autonomous transaction to insert records in a table named fnd_log_messages. For example DECLARE BEGIN fnd_log.STRING(log_level => fnd_log.level_statement ,module => 'xxxx ' || 'pkg/procedurename ' ,message => 'your debug message here'); END ; Three profile options effecting FND Logging are FND: Debug Log Mode FND: Debug Log Enabled FND: Debug Log Module

Question: If you wish to trigger of an update or insert in bespoke table or take some action in response to a TCA record being created or modified, how would you do it? Will you write a database triggers on TCA Tables? Answer: There are various pre-defined Events that are invoked from the Oracle TCA APIs. TCA was Oracles first initiative towards a fully API based approach, which means the screen and the processes all use the same set of APIs for doing same task. In order to take an action when these events occur, you can subscribe a custom PL/SQL procedure or a Custom Workflow to these events. Some of the important TCA events are listed below:oracle.apps.ar.hz.ContactPoint.update oracle.apps.ar.hz.CustAccount.create oracle.apps.ar.hz.CustAccount.update oracle.apps.ar.hz.CustAcctSite.create oracle.apps.ar.hz.CustAcctSite.update oracle.apps.ar.hz.CustAcctSiteUse.create oracle.apps.ar.hz.CustAcctSiteUse.update oracle.apps.ar.hz.Location.create oracle.apps.ar.hz.Location.update oracle.apps.ar.hz.Organization.create oracle.apps.ar.hz.Organization.update oracle.apps.ar.hz.PartySite.create oracle.apps.ar.hz.PartySite.update oracle.apps.ar.hz.PartySiteUse.create oracle.apps.ar.hz.PartySiteUse.update oracle.apps.ar.hz.Person.create oracle.apps.ar.hz.Person.update

Question: In Oracle OA Framework, is the MDS page/document definition stored in database or in the file system? Answer: The MDS document details are loaded into database, in the following sets of tables. JDR_ATTRIBUTES JDR_ATTRIBUTES_TRANS JDR_COMPONENTS JDR_PATHS The Document is loaded via XMLImporter, as detailed in XMLImporter Article

Question: In a Oracle Report data group, you have a data link between two queries. How do you ensure that the data link is made Outer Joined? Answer: The data link is an Outer Join by default.

Question: How does substitution work in OA Framework? What are the benefits of using Substitution in OA Framework? Answer: Based on the user that has logged into OA Framework, MDS defines the context of the logged in user.

Based upon this logged in context, all applicable personalization are applied by MDS. Given that substitutions are loaded as site level personalizations, MDS applies the substituted BC4J objects along with the personalizations. The above listed steps occur as soon as Root Application module has been loaded. The benefit of using Substitution is to extend the OA Framework without customization of the underlying code. This is of great help during Upgrades. Entity Objects and Validation Objects can be substituted. I think Root AMs cant be substituted given that substitution kicks off after Root AM gets loaded. Question: In OA Framework, once your application has been extended by substitutions, is it possible to revert back to remove those substitutions? Answer: yes, by setting profile option Disable Self-Service Personal% to Yes, keeping in mind that all your personalizations will get disabled by this profile option. This profile is also very useful when debugging your OA Framework based application in the event of some error. By disabling the personalization via profile, you can isolate the error, i.e. is being caused by your extension/substitution code or by Oracles standard functionality. Question: How can you import invoices into Oracle Receivables? Answer: You can either use AutoInvoice by populating tables RA_INTERFACE_LINES_ALL, RA_INTERFACE_DISTRIBUTIONS_ALL & RA_INTERFACE_SALESCREDITS_ALL. Alternately you may decide to use API ar_invoice_api_pub.create_single_invoice for Receivables Invoice Import. Question: How do you setup a context sensitive flexfield Answer: Note: I will publish a white paper to sho step by step approach. But for the purpose of your interview, a brief explanation isa)Create a reference field, b) Use that reference field in Context Field section of DFF Segment screen c) For each possible value of the context field, you will need to create one record in section Context Field Value ( beneath the global data elements). Question: Does Oracle iProcurement use same tables as Oracle Purchasing? Answer: Yes, iProcurement uses the same set of requisition tables as are used by Core Purchasing. Question: What is the name of the schema for tables in tca Answer: AR (at least till 11.5.10, not sure about 11.5.10). Question: Are suppliers a part of TCA? Answer: Unfortunately not yet. However, Release 12 will be merging Suppliers into TCA. Question: What is the link between order management and purchasing Answer: Internal Requisitions get translated into Internal Sales Orders. Question: How would you know if the purchase order XML has been transmitted to vendor, looking at the tables. Answer: The XML delivery status can be found from a table named ecx_oxta_logmsg. Use the query below SELECT edoc.document_number ,decode(eol.result_code, 1000, 'Success', 'Failure') AS status ,eol.result_text FROM ecx_oxta_logmsg eol ,ecx_doclogs edoc ,ecx_outbound_logs eog WHERE edoc.msgid = eol.sender_message_id

AND eog.out_msgid = edoc.msgid ORDER BY edoc.document_number Question: You have done forms personalization, now how will you move it from one environment to another? Answer: Use FNDLOAD. For examples visit FNDLOAD Article

Question: What are the key benefits of forms personalization over custom.pll? Answer: -->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. Question: Tell me some limitations of forms personalization when compared to CUSTOM.pll? Answer: -->Can't create record group queries, hence cant implement LOV Query changes. -->Can't make things interactive, i.e. cant have a message box that gives multiple choices for example Proceed or Stop etc.

Question: Give me one example where apps uses partitioning? Answer: WF_LOCAL_ROLES

Question: Give me one example of securing attributes in iProcurement. Answer: You can define Realm to bundle suppliers into a Category. Such realm can then be assigned to the User using Define User Screen. Security Attribute ICX_POR_REALM_ID can be used. By doing so, the user will only be made visible those Punchout suppliers that belong to the realm against their securing attributes.

Question: Can you send blob attachments via workflow notifications? Answer: Yes, you can send BLOB Attachments. For details on how to do this, refer to link for BLOG atachments to notifications Set as favorite Bookmark Email This Hits: 105117

Comments (81)
Subscribe to this comment's feed

...
written by subbarao , October 19, 2006

CAN U PLZ PUBLISH THE DESCRIPTION OF POS IN INTERFACES

report abuse vote down vote up


Votes: -1

...
written by Anil Passi , October 19, 2006

Do you mean Purchase Order Interfaces?

Please let me know, I will include the same.

Thanks Anil report abuse vote down vote up


Votes: +0

...
written by subbarao , October 19, 2006

CAN U PLZ PUBLISH THE DESCRIPTION OF POS IN INTERFACES report abuse vote down vote up
Votes: +1

...
written by Anil Passi , October 19, 2006

Do you mean Purchase Order Interfaces?

Please let me know, I will include the same.

Thanks Anil report abuse vote down vote up


Votes: +0

...
written by SAYEED AHAMED , November 17, 2006

Excellent Article. By this one can have a idea on Oracle apps FAQ. report abuse vote down vote up

Votes: +1

...
written by SAYEED AHAMED , November 17, 2006

Excellent Article. By this one can have a idea on Oracle apps FAQ. report abuse vote down vote up
Votes: +2

...
written by Phani , December 11, 2006

Please include Purchase Order Interfaces report abuse vote down vote up
Votes: +0

...
written by Phani , December 11, 2006

Please include Purchase Order Interfaces report abuse vote down vote up
Votes: +0

...
written by amar , December 15, 2006

CAN U SEND ME TABLES FOR ORACLE APPS FINANCIAL MODULES

CHEERS, AMAR. report abuse vote down vote up


Votes: -1

...
written by amar , December 15, 2006

CAN U SEND ME TABLES FOR ORACLE APPS FINANCIAL MODULES

CHEERS, AMAR. report abuse vote down vote up

Votes: +0

...
written by busireddy , December 20, 2006

hi, Iam looking for job in Oracleapps technical consultant. Plz send any documents in Po which is use full in technical side report abuse vote down vote up
Votes: -1

...
written by busireddy , December 20, 2006

hi, Iam looking for job in Oracleapps technical consultant. Plz send any documents in Po which is use full in technical side report abuse vote down vote up
Votes: +1

...
written by artur bakhtriger , December 21, 2006

AS ALWAYS - Anil - BRAVO !!!!! report abuse vote down vote up


Votes: +1

...
written by artur bakhtriger , December 21, 2006

AS ALWAYS - Anil - BRAVO !!!!! report abuse vote down vote up


Votes: +0

...
written by ashwinkumar , January 10, 2007

Hi, Anil

I want to ask u one question that may i know all the interfaces which are used in PO,AP,AR,GL,INV,OM Modules with the FAQS on that.

with regards, Ashwin Kumar

report abuse vote down vote up


Votes: +0

...
written by ashwinkumar , January 10, 2007

Hi, Anil

I want to ask u one question that may i know all the interfaces which are used in PO,AP,AR,GL,INV,OM Modules with the FAQS on that.

with regards, Ashwin Kumar report abuse vote down vote up


Votes: +1

...
written by Rajendra , January 22, 2007

Hi Anil...

Iam looking for job in Oracleapps technical consultant. Plz send me the PO,AR Interface related Documents and the tables used in these two interfaces..

With Regards, Rajendra report abuse vote down vote up


Votes: +0

...
written by Rajendra , January 22, 2007

Hi Anil...

Iam looking for job in Oracleapps technical consultant. Plz send me the PO,AR Interface related Documents and the tables used in these two interfaces..

With Regards, Rajendra report abuse vote down vote up


Votes: -1

...
written by Manju , January 26, 2007

hi Anil, i have a doubt how to attach more than one table name in valueset of type TABLE? pls explain with example.

Thanks report abuse vote down vote up


Votes: +0

...
written by venkata , February 06, 2007

this is a great effort.. good info in this article.keep going.. all the best report abuse vote down vote up
Votes: +0

...
written by kumar , February 17, 2007

Hi Anil,

How can we Link an Org_id with a responsibility in reports? Thanks Kumar report abuse vote down vote up
Votes: +0

...
written by Muskan , February 23, 2007

Hi Anil,

Would request you to kindly post Oracle functional interview questions.

Thanks Muskan report abuse vote down vote up


Votes: +0

...
written by Anil Passi , February 24, 2007

Hi Muskan

I will try Muskan, but if preparing for interviews, it is good to read FAQ on Metalink for respective modules.

THanks, Anil report abuse vote down vote up


Votes: +0

...
written by Anil Passi , March 12, 2007

Hi Koushik

The concurrent program is being defaulted in SRS screen possibly because the Form Function passes it SRS Screen a parameter [passing it concurrent program short name]. Have a look at the form function defiition] for that Responsibility Menu

Thanks, Anil report abuse vote down vote up


Votes: +0

...
written by mohan , May 04, 2007

I am a software professional , with 4.5 year in IT industry , for the last 1.8 years i am in Oracle Applications with basically technical flavour.

First 3 years of my IT were non oracle , non apps , i find them affecting now in my career.??

What is more benefitial for me in future, functional or technical ?? report abuse vote down vote up
Votes: +1

...
written by anil passi , May 04, 2007

Hi mohan

If you are hardworking and dedicated to working and learning, then both functional or technical options are equally good choices.

I had first 1.5 yrs of my career in non-oracle and non-IT too, and also I am instrumentation engineer by background. Based on my experience I can say that its nothing to do with background. Given that you already have techie experience, then its better to carry on with your skillsets and enhance them where possible.

thanks anil report abuse vote down vote up


Votes: -1

...
written by santhosh , May 16, 2007

Hi Anil, I have a doubt in Oracle Alerts. Is that possible to submit a concurrent program through Alerts? If so how can we achieve it?

Regards Santhosh report abuse vote down vote up


Votes: +0

...
written by basu_manasi , May 16, 2007

Hi Anil

I am pharmacy graduate with post graduation in biotechnology with 5 plus years of non IT work experience and 2 yrs of IT I underwent training in Apps and presently on search for jobs in Apps. How much opportunity do I hold to get into job and what would u suggest Thanx and regards Manasi report abuse vote down vote up
Votes: +0

...
written by manasi , May 17, 2007

Hi Anil Thanx for the constant guidance to all apps professionals. Can u just tell me the validations carried for journal import in gl_interface. A real time example wud be helpful. How do we know as to what validations r to be carried for the open interfaces in AP AR. Do they depend on the data in flat file?. Bear with me I am a beginner. Thanx and regards manasi report abuse vote down vote up
Votes: +3

...
written by Santhosh , May 18, 2007

Hi Anil,

It would be helpful for me if u send some screenshots of how to submit a concurrent program through an Alert.

Regards Santhosh report abuse vote down vote up


Votes: +0

...
written by Anil Passi , May 18, 2007

Hi Santosh

Please use this link, i have detailed the steps there http://docs.google.com/Doc?id=dcfd8fsc_98drjbns

Thanks, Anil Passi report abuse vote down vote up


Votes: +0

...
written by Sunny , May 22, 2007

Hi Anil

Can you please share an article / faqs on Order Management...its a huge module together with INV, BOM, OM, Pricing etc..I am confused. report abuse vote down vote up

Votes: +0

...
written by Anil , May 29, 2007

You can find the placeholder column details at this link http://www.oracle.com/webapps/...#x7E;htm/

THanks Anil report abuse vote down vote up


Votes: +0

...
written by Anil , June 06, 2007

Hi Paolo

The statement was correct at the time of publication of this interview question. Initial versions of FP did not support creation of Record Groups.

However, latter CU patchsets have made this possible.

An example of record group/LOV is also available at http://oracle.anilpassi.com/fo...tions.html

Thanks for bringing this to notice.

Regards, Anil Passi report abuse vote down vote up


Votes: +0

...
written by Uma , June 06, 2007

HI Anil, I want to find out the forms names in apps? how to check the form names?

I am a functional consultant and i request you to guide me step by step.

Thanks Uma report abuse vote down vote up


Votes: +0

...
written by satish , June 16, 2007

http://oracle.anilpassi.com/in...=27&show=1 report abuse vote down vote up


Votes: +0

...
written by sathyan ramaswamy , July 31, 2007

Hi Anil, I am having one doubt in API-HOOK.Actually I have created a Package ,using SIT.For that i have Hooked.The API-HOOK is working for the Oracle Forms. But if i going to the create the data in selservice the hook is not working..why ? i have used hr_sit_api... please help me on.. report abuse vote down vote up
Votes: +0

...
written by Anil Passi , July 31, 2007

Hi Satyan

hr_sit_api calls hook hr_sit_bk1.create_sit_b

Please use this API Hook

Thanks Anil Passi report abuse vote down vote up


Votes: +0

...
written by Uttam , August 07, 2007

Anil, Thought this was the best way to reach you. I am having an issue with my Oracle Workflow Manager. In the console, where u have options to restart the notification mailer and all those stuff, When i try to click on the workflow items under Related links -- Throughput-- Work Items, it just hangs for eternity. I am not able to view any of the workflow items. I tried analysing all the Workflow tables and also the restart of some components, but it still hangs. Can you please let me know how to resolve this or what the reason for this would be. Appreciate your help in this.

Regards, Uttam report abuse vote down vote up


Votes: +0

...
written by Mark , August 12, 2007

Hi,

Regarding the question where you suggested to use AR_INVOICE_API_PUB to populate Invoices into Oracle AR. I managed to do this at office with Apps 11.5.10.2 with no problem but I could not find the package AR_INVOICE_API_PUB at the customer site. Our customer has apps 11.5.7 and they are not interested to upgrade to 11.5.10.2 !!

How can I install this package without affecting the current installation ?

Great thanks in advance Mark report abuse vote down vote up


Votes: +0

...
written by preethi_vasala , August 20, 2007

Hello Mr.Anil Thanks for the guidance to all apps professionals... i had 5 years experience as a oracle developer. Recently i finish course for oracle apps technical (finance)...Please i need interview question for only technical (finance) . I can see all questions and answers in this blog, but i confuse which one technical or functional...if possible can you provide for me only technical (finance) questions and answers...and any other tips for getting job for technical consultant

Thanks&Regards Preethi

report abuse vote down vote up


Votes: +0

...
written by manasi , September 01, 2007

Hi Anil, Pl explain about TCA. Have gone thru SolutionBeacon's PDF but unable to get a clear concept. All I get is that it is a model to deal with the complex customer relationships. Also I wud like to know the difference between AR and TCA and why actually this came into existence. Regards Manasi report abuse vote down vote up
Votes: +0

...
written by Ashish Bhatt , September 01, 2007

How can i Get Sales Order Number from gl_import_references and its link to AR tables.

pl help as soon as possible on my mail id.. report abuse vote down vote up
Votes: +0

...
written by Anil Passi , September 01, 2007

Hi Manasi

For TCA/AR/Other Modules, please read the article below http://oracle.anilpassi.com/fu...se-12.html

You may also decide to read http://oracle.anilpassi.com/dqm-tca.html

Thanks, Anil Passi report abuse vote down vote up


Votes: +0

...
written by Anil Passi , September 01, 2007

Hi Ashish

You can find the desired details from the link below http://scripts4oracle.blogspot...ences.html

This will give you linkages between AR and GL_IMPORT_REFRENCES

Thanks Anil Passi report abuse vote down vote up


Votes: +0

...
written by manasi , September 03, 2007

Hi Thanx Anil. Can u suggest me a link which wud help me understand the Oracle service contracts and oracle core contracts apart from the pdf. Regards Manasi report abuse vote down vote up
Votes: +0

...
written by shankar choudary , September 22, 2007

hi anil can u suggest me a good guide for reports and forms

regards shankar choudary report abuse vote down vote up


Votes: +0

...
written by Suresh1 , September 27, 2007

I am wondering about Anil!!!!! report abuse vote down vote up


Votes: +0

...
written by madhusudhan , October 01, 2007

Hi Anil Can you please share FAQ's about Apps Manufacturing(Functional) report abuse vote down

vote up
Votes: +0

OA Framework
written by Nakhla , October 14, 2007

Dear sear,

how i can upload the module SSHR for extensible, plz the steps

Br report abuse vote down vote up


Votes: +0

Userhooks
written by sarithad , October 15, 2007

can u explian about userhooks(API) in Oracle HRMS with Examples.

Thanks, saritha report abuse vote down vote up


Votes: +0

P_CONC_REQUEST_ID
written by krishnab , October 16, 2007

What is the Use of User Exit in Oracle apps and when we are developeing the new report you need to pass one parameter called P_CONC_REQUEST_ID,what is the use of this parameter and is it mandatory?can't we develop report without this User exit's and P_CONC_REQUEST_ID parameter?

report abuse vote down vote up


Votes: +0

what are the tax codes in gl


written by suguna , October 20, 2007

what are the taxcodes in gl report abuse vote down vote up


Votes: +0

...
written by Anil Passi , October 20, 2007

Suguna

Tax codes are usually created in Payables. Please can you elaborate your question.

THanks, Anil report abuse vote down vote up


Votes: +0

P_CONC_REQUEST_ID
written by krishnab , October 22, 2007

What is the Use of User Exit in Oracle apps and when we are developeing the new report you need to pass one parameter called P_CONC_REQUEST_ID,what is the use of this parameter and is it mandatory?can't we develop report without this User exit's and P_CONC_REQUEST_ID parameter? report abuse vote down vote up
Votes: +1

P_CONC_REQUEST_ID
written by krishnab , October 22, 2007

What is the Use of User Exit in Oracle apps and when we are developeing the new report you need to pass one parameter called P_CONC_REQUEST_ID,what is the use of this parameter and is it mandatory?can't we develop report without this User exit's and P_CONC_REQUEST_ID parameter? report abuse vote down vote up
Votes: +0

P_CONC_REQUEST_ID
written by krishnab , October 30, 2007

What is the Use of User Exit in Oracle apps and when we are developeing the new report you need to pass one parameter called P_CONC_REQUEST_ID,what is the use of this parameter and is it mandatory?can't we develop report without this User exit's and P_CONC_REQUEST_ID parameter? report abuse vote down vote up
Votes: +0

resume
written by silpa , November 01, 2007

hi anil, its great job.

moreover, Iam looking for job in Oracleapps technical consultant. can u send me a resume report abuse vote down vote up
Votes: +0

resume
written by silpa , November 01, 2007

hi anil, its gr8 job. moreover iam looking for job in Oracleapps technical consultant. so can u guide to prepare a oracle resume report abuse vote down vote up
Votes: +0

...
written by Frida , November 13, 2007

Wanna thank you for information you have provided. I was just searching for answer to one questionand here i found answers to numerous ones.

------------Best homes report abuse vote down vote up


Votes: +0

Hi Anil
written by RajeshD , November 16, 2007

Thanks in advance

Could You please include the Customer Interface using API s..?

Awaiting your Reply........ report abuse vote down vote up


Votes: +0

Hi Sir
written by SSaritha , November 16, 2007

Please let me know how to do a Multi-Layout Report...If we have 5 layouts...and want to move to 3 rd ..then what to do....how to write the code for this ..?

Thankyou sir

Saritha report abuse vote down vote up


Votes: +0

Hi Shilpa
written by RajeshD , November 16, 2007

Do you want a Resume or Oracle Apps Projects ? Let me know..so that I could send you the same...

Regards Rajesh report abuse vote down vote up


Votes: +0

...
written by Liji , November 19, 2007

Anil

U r just superb. Please include information about interface tables, programs in Procure to pay cycle.

Regards

Liji report abuse vote down vote up


Votes: +0

Forms and Reports


written by ramesh katla , November 24, 2007

Hi Anil,

can u suggest me a good guide for reports and forms.

Regards

Ramesh Katla report abuse vote down vote up


Votes: -1

Oracle APPS
written by ramesh katla , November 24, 2007

Hi Anil,

i have 3 and half years of experinece on oracle pl/sql and 6 months experience on forms,reports.Now i am willing to learn and work on Oracle Apps.Kindly suggest me.

Regards Ramesh Katla report abuse vote down vote up


Votes: +1

Hi Anil
written by Athahar Parvez , November 27, 2007

I am working in an MNC in Oracle apps. I unable to display "Available to reserve" value in the reports. In front end we can find this value in On hand Availability window. Please provide solution for this problem ASAP as it is so urgent for me. report abuse vote down vote up
Votes: +0

No Record History in Self-Service Modules


written by Chandra 123 , November 27, 2007

Hi Anil, How come Oracle is not giving option to see "Record History" from self service modules. What if we wanted to see table name and who,when updated that particular data ?

Is it coming in Oracle Apps 12i ??

Chandra report abuse vote down vote up


Votes: +0

...
written by Anil Passi , November 27, 2007

Hi Chandra

You can set profile FND Diagnostics to Yes. By clicking on About this page you can then see the view objects, and from thereon drilldown to SQL used by view object.

It is a good observation regarding record history. The record history is stored but not visible. Perhaps because Self Service modules were original designed to be used by the end-user themselves for modifying their own records. This is no longer true though.

Thanks Anil report abuse vote down vote up


Votes: +1

Help required on Importing Closed Sales Orders


written by Srinivas Thatikonda , December 08, 2007

Hi Anil,

I am Srinivas Thatikonda working as a Oracle Applications Technical Consultant for one of the US based client. i am working on sales order conversion and the requirement is importing orders where some of the order lines CLOSED and some with OPEN status and the order header status is BOOKED.

I would like to have your advise on how to deal with the above scenario.

Thanks & Regards, Srinivas. report abuse vote down vote up


Votes: +0

sending a report output file as an attachment via email using oracle applications
written by SrinivasReddy , January 03, 2008

Hi, I need to send a report output file as an attachment via email using oracle applications.when i run the report,output should sent to user who is inside of our organization as well as to customer who is outside of our organization(he dont have our URL access). I do not know where to add the coding for sending the email? i dont know the process

Any help on this appreciated. Thanks Srini

report abuse vote down vote up


Votes: +2

info
written by konasani , January 24, 2008

Do you want a Resume or Oracle Apps Projects ? Let me know..so that I could send you the same...

Regards Rajesh

Hi,

im looking for job in oracle apps technical.

so can u give me info about technical projects. I need a sample resume also. im 2006 passout. report abuse vote down vote up
Votes: +0

Customer interface Using API's in R12


written by Bhaumik Bhatt , February 25, 2008

Hi i am doing customer interface in R12. But i couldnt find any reference manual or any document that helps me to find out which are the mandatory fields and what are the default values for the parameter which is not mandatory.

Please let me now as early as possible so i can go ahead with my task.

Thanks & Regards Bhatt Bhaumik report abuse vote down vote up
Votes: +0

Workflow
written by Sunil_coffee , March 07, 2008

CAn you tell me how to attached form in notification?? report abuse vote down vote up
Votes: +0

HashMaps Concept
written by nagraja , March 20, 2008

HI anil,

Can u please explain the Concept of HashMaps usage in OAF report abuse vote down vote up
Votes: +0

ISSUE WITH SUPPLIER SITE OPEN INTERFACE IMPORT PROGRAM in R12


written by oracleuserpm1 , May 06, 2008

Hi Anil ,

I am facing issue while creating Supplier Site in R12 using the Supplier Site Interface Import Program , that is being called from the custom package.

I am uploading the interface tables with the mandatory data and running the standard Request Set for Suppliers.The program is creating the Suppliers but is unable to create the Supplier Sites programitically.It is getting completed with no rejections as well as no imported records.

It is updating the Supplier Sites Interface table (ap_supplier_sites_int ) with status as rejected with no rejected records in ap_supplier_int_rejections table,but the supplier is getting created succesfully.

### Steps to Reproduce ### INSERT INTO ap_suppliers_int (exclusive_payment_flag, vendor_interface_id, vendor_name, segment1, vendor_type_lookup_code,-- set_of_books_id, status ) VALUES ('N', --'N', ap_suppliers_int_s.NEXTVAL, 'TEST_REC4', 4428813, 'VENDOR', --2041, --rec_spl_site_bank_hdr.set_of_books_id, 'NEW' );

INSERT INTO ap_supplier_sites_int

(vendor_site_interface_id, vendor_interface_id, vendor_site_code, add***s_line1, city, state, zip, country, operating_unit_name, status --exclusive_payment_flag ) VALUES (ap_supplier_sites_int_s.NEXTVAL, -- VENDOR_SITES_INTERFACE_ID ap_suppliers_int_s.CURRVAL, -- VENDOR_INTERFACE_ID 'REC_VDR_SITE4', -- VENDOR_SITE_CODE 'REC_ADDR4', -- ADd***s_LINE1, 'REC_CITY4', --CITY 'REC_STATE4', --STATE 3442121, 'US', -- COUNTRY, ' Test US Operating Unit', 'NEW' );

Can you please look into this issue.

report abuse vote down vote up


Votes: +1

Custom Data Groups


written by Ashwini , May 16, 2008

Hi Anil

I have a requirement where in we need to restrict users access to transactions in all the subledgers responsibility wise. First to start with we have used Payables.

I have created a view which will have all the business and cost-center segment values based on responsibility id. Then went on filetring the invoice id's applicable to only the business and cost center segment values selected. Created a view which is based on ap_invoices_all table and restricted the view to the invoice_id's extracted earlier.

Now that I have created a custom data group and assigned a custom data group to the AP Inquiry responsibility. It has to point to the custom view created by me. But it still points to the standard view ap_invoices_v. Please guide me on this. If I have missed any link or need to do anything more.

Thanks Ashwini report abuse vote down vote up


Votes: +0

Views with parameters


written by AshwiniAA , May 28, 2008

Hi Anil

Please let me know whether we can create views with parameters and then call the 'create view' DDL from the custom procedure by passing values using Dynamic SQL.

Thanks Ashwini. report abuse vote down vote up


Votes: +1

DATA MODELLER
written by DHASON PADMAKUMAR , August 19, 2008

Dear Anil,

Your articles are excellent and useful.

With many thanks, Dhason Padmakumar report abuse vote down vote up
Votes: +1

...
written by Mukunthan Lakshmanan , November 15, 2008

Hi Anil,

God bless you will all well-being!!! I just ran through a question where parameters were mentioned for a form function in Apps. This sparked the below question in me:

What are the parameters usable in this field; kindly let me know, if this exists in anyother page with the url of the same. Thanks for all your support.

With best regards, Mukunthan L report abuse vote down vote up


Votes: +0

How to see the base table names for suppliers in R12


written by sasidhar , May 25, 2010

Hi I want to know how can we find the base table names for suppliers in R12. The supplier form in R12 is web based i am not able to understand the framework to find base table names. report abuse vote down vote up
Votes: +0

Write comment
Name Email Title Comment

smaller | bigger Subscribe via email (Registered users only)

Write the displayed characters

Add Comment

RELATED ITEMS

Oracle HRMS Payroll Interview Questions FNDLOAD for Oracle Web ADI iProcurement Interview Questions In oracle OA Framework Interview Questions Further Tecnical Apps Interview Questions Oracle Apps Technical Interview Questions

SEARCH APPS2FUSION
SEARCH

So far there are solutions available which are talking about fixing table height for the 1st pages onwards not for the first page itself, i.e. where actual report run is returning lines which are less than lines_fixed_per_page. For example Invoice run is returning only 5 rows where as pre-printed stationary has fixed 30 lines per page.I struggled a lot to get this solution and now I got this and sharing it in this whitepaper.

So far it has not been discovered because of the limitation of for-loop in XSL-FO (XML Technology).Limitation I mean is ,we can not write loop like for (i=10;i<15;i++) in XML. In XML for loop will always iterate till it gets data, if we want to go beyond that then we can not go. I mean we can write for loop based on data value. To overcome this problem, I have used Sub-template concept which I am calling recursively.

Detail Solution
I am giving this solution for Standard Check Printing Report. Tree structure of data (Sample XML data is as follow).
<LIST_G_CHECKS> <G_CHECKS> -- Top Most root -- Header <C_CHECK_NUMBER>21897</C_CHECK_NUMBER> <C_VENDOR_NUMBER>2205</C_VENDOR_NUMBER> <LIST_G_INVOICES> <G_INVOICES> -- Inner loop - Line Section <C_PAYMENT_NUMBER>1</C_PAYMENT_NUMBER> <C_INVOICE_NUMBER>ERS-20-SEP-06-243</C_INVOICE_NUMBER> </G_INVOICES> <G_INVOICES> -- Inner loop - Line Section <C_PAYMENT_NUMBER>2</C_PAYMENT_NUMBER> <C_INVOICE_NUMBER>ERS-20-SEP-06-244</C_INVOICE_NUMBER> </G_INVOICES> </LIST_G_INVOICES> </G_CHECKS> </LIST_G_CHECKS>

Below is the step-step guide which I follow.

1) Open the Outermost for loop -- G_CHECKS <?for-each@section:G_CHECKS?>

2) Declare Global Variable called no_of_lines_per_page -- In this case I have fixed 40 lines per page. <xsl:variable name="no_of_lines_per_page" select="number(40)"/>

3) Declare incontext variable for inner group (G_INVOICES), variable is called inner_group <xsl:variable xdofo:ctx="incontext" name="inner_group select=".//G_INVOICES"/>

4) Open the Inner Loop <?for-each:$inner_group?>

5) Before putting any elements with the help of current record pointer 'position(), I am checking if the current position is modulizing with the no_of_lines_per_page equals zero or not. If it reaches the first record after modulizing then I will create local variable 'first_rec' and initialize it with '0'. <?if:(position()-1) mod $no_of_lines_per_page=0?><xsl:variable name="first_rec" xdofo:ctx="incontext" select="position()"/>

Note : -- Above 3 steps ( 3,4,5) are created under V_inner_group_And_V_First_rec formfield. Here there is limitation of Microsoft-word. We can enter upto 138 characters only in Status field of Add help text button.If you want to add more , you can do this by clicking on Help Key which is adjacent to Status tab.

6) If above condition holds true then we will iterate the inner loop. <?for-each:$inner_group?>

7) I will check with the help of current record pointer 'position()' that the current record position is either greater than 'first_rec' i.e. the first record or less the 'no_of_lines_per_page' value set up earlier. If it is then show the record otherwise not otherwise it will not go in loop. <?if:position()>=$first_rec and position()<$first_rec+$no_of_lines_per_page?>

8) Here I am closing the inner for loop and if condition <?end if?><?end for-each?>

9) Here I am checking if no_of_lines of invoice is modulizing with the no_of_lines_per_page equals to zero or not ,and the same time I am checking if $first_rec+$no_of_lines_per_page is greater than no_of_lines of invoice or not. This is important step for filling the blank rows. <?if:not(count($inner_group) mod $no_of_lines_per_page=0) and ($first_rec+$no_of_lines_per_page>count($inner_group))?>

10) Now I am calling sub-template recursively for filling the blank rows. While calling this template I am passing one parameter which is having value of no_of_rows to fill. Sub-template will have just one row table. <xsl:call-template xdofo:ctx="inline" name="countdown"><xsl:with-param name="countdown" select="$no_of_lines_per_page - (count($inner_group) mod $no_of_lines_per_page)"/></xsl:call-template>

11) Sub-template declaration <xsl:template name="countdown"> <xsl:param name="countdown"/><xsl:if test="$countdown"><xsl:call-template name="countdown"><xsl:with-param name="countdown" select="$countdown - 1"/> </xsl:call-template></xsl:if> </xsl:template>

12) I have created page break after the fixed number of rows have been displayed. <xsl:if xdofo:ctx="inblock" test="$first_rec+$no_of_lines_per_page<=count($inner_group)"> <xsl:attribute name="break-before">page</xsl:attribute> </xsl:if>

13) Finally closing outer if and inner for loop and outer for loop. <?end if?><?end for-each?><?end for-each?>

S-ar putea să vă placă și