A packaged business software system that lets a company automate and integrate the majority of its business processes; share common data and practices across the enterprise; [and] produce and access information in a real-time environment. 2) Tell me some thing about !"#"OA$ER% Sl ! loader is a bulk loader utility used for moving data from e"ternal files into the oracle database. Sl ! loader supports various load formats# selective loading# and multi- tables loads. 1) con&entional --$he conventional path loader essentially loads the data by using standard %insert& statement. 2) direct -- the direct path loader 'direct ( true) by possess of logic involved with that# and loads directly in to the oracle data files. *+,- -y data.csv file .//.# 0scott tiger1#.///#2/ .//3#1gvreddy1#3425#5/ 6oad data 7nfile %c,8data8mydata.csv& 7nto table emp 9ields terminated by 0#1 optionally enclosed by %1& 'empno# empname#sal#deptno) :sqlldr scott/tiger@vis control=loader.ctl log= gvlog.log bad=gvbad.bad discard=gvdis.dsc . ') ho( do u dump data from pl)s*l bloc+ to flat files? ;sing utl<file package# we can dump data from pl=sl block to flat file. PRE#RE!,-RE.E/T for ;$6<976* is specify the accessible directories for the ;$6<976* function in the initiali>ation file '7?7$.@AA) ;sing the ;$6<976*<B7A parameters. *", ;$6<976*<B7A ( CBirectory name: E01# --remember to update 7?7$S7B.@AA# --utl<file<dir ( %c,8oradata& Beclare 9p utl<file.file<type; Degin 9p ,( utl<file.fopen'c,8oradata&#tab..t"t&#&w&); ;tl<file.putf'fp#&Es Es 8n %te"t field&# 55); . ;tl<file.fclose'fp); *nd; 2) What is ET#O3#4OO5? Follection of Fhat of Accounts and Furrency and Falendars is called S@D 6) What is the interface? 7nterface $able is a table which is used as medium for transfer of data between two systems. 7) What is in&oice? Send you a reuest for payment 8) What is -/4O,/$ and O,T 4O,/$? 9$ifferent t:pes of interfaces) 7nbound 7nterface, 9or inbound interfaces# where these products are the destination# interface tables as well as supporting validation# processing# and maintenance programs are provided. @utbound 7nterface, 9or outbound interfaces# where these products are the source# database views are provided and the destination application should provide the validation# processing# and maintenance programs ;) Tell me (hat r the 4ase tables in the AR? hz_parties (party_id) (store info about org, groups and people) GH<IAA$7*S stores information about parties such as organi>ations# people# and groups# including the identifying address information for the party. hz_cust_accounts (cust_account_id) GH<F;S$<AFF@;?$S stores information about customer relationships. 7f a party becomes a customer# information about the customer account is stored in this table. Jou can establish multiplecustomer relationships with a single party# so each party can have multiple customer account records in this table. hz_cust_acct_sites_all (cust_acct_site_id) GH<F;S$<AFF$<S7$*S<A66 stores information about customer sites.@ne customer account can have multiple sites. $he address is maintained in GH<6@FA$7@?S. hz_cust_site_uses_all (site_use_id) GH<F;S$<S7$*<;S*S<A66 stores information about site uses or business purposes. A single customer site can have multiple site uses# such as bill to or ship to# and each site use is stored as a record in this table. hz_party_sites (party_site_id) GH<IAA$J<S7$*S stores information about the relationship between Iarties and 6ocations. $he same party can have multiple party sites.Ihysical addresses are stored in GH<6@FA$7@?S. hz_locations (location_id) GH<6@FA$7@?S stores information about physical locations. 3 hz_Person_Profiles (person_profile_id) GH<I*AS@?<IA@976*S stores detail information about people. hz_Organization_Profiles (organization_profile_id) GH<@AKA?7HA$7@?<IA@976*S stores credit rating# financial statistics# socioeconomic and corporate linkage information for business sites. $he primary key for this table is @AKA?7HA$7@?<IA@976*<7B. <) What r the tables interface tables in the customer interface tables? 1) Ra=customers=interface=all $his table stores customer# address# and business purpose information. Jou do not have to enter values in this table if you do not want to import customers# addresses# or business purposes. A$$RE1 through 2 *nter the address for your customer in these four columns. Jou can enter up to four lines of an address. >alidation1 7f you enter a value in @A7K<SJS$*-<ABBA*SS<A*9# you must enter a value in ABBA*SS.. 9or multiple rows with the same address reference# insert values in address .L2. $estination1 GH<6@FA$7@?S.ABBA*SS.# GH<6@FA$7@?S.ABBA*SS3# GH<6@FA$7@?S.ABBA*SS4# GH<6@FA$7@?S.ABBA*SS2 2) Ra=customer=profile=int=all A customer level profile must e"ist in A<F;S$@-*A<IA@976*S<7?$*A9AF* for new customers and each billLto business purpose. ') Ra=contact=phones=int=all $his table stores telephone numbers for customers# addresses and contacts as well as contacts for customers and addresses. 2) Ra=customer=ban+s=int=all $his table stores bank information for a customer or for a specific DillL$o address# you must enter a bank account for this customer# 6) Ra=cust=pa:method=int=all $o import payment methods for customers and billLto business purposes# 1?) What r the staging tables in the customer interface? 4 Aa<customers<stg Aa<customers<address<stg Aa<customers<point<stg Aa<customers<contact points<stg Aa<customers<relate<stg Aa<customer<error. 11) Tell me some mandator: columns in the customer interface tables? a) Ra=customers=interface=all .) @rig<system<customer<ref 3) insert<update<flag 4) customer<number 2) customer<status 5)last<updated<by
M) last<updated<date N)created<by O) creation<date. b) Ra=customer=profile=int=all .) customer<profile<class<name c) Ra=contact=phones=int=all .)orig<system<telephone<ref 3)telephone 4) telephone<type d) Ra=customer=ban+s=int=all .) bank<a=c<name 3)bank<a=c<no 4)bank<a=c<currency<code e) Ra=cust=pa:method=int=all .) payment<method<name 12)Tell me the /a&igation for customer interface? Aeceivables 7nterface Fustomers 1% What tables cannot be updated through customer interface? ?o updates will be allowed to be made through customer interface for 9ollowing tables 2 AA<S7$*<;S*S<A66 AA<F;S$@-*A<A*6A$7@?SG7IS<A66 AA<F;S$<A*F*7I$<-*$G@BS AI<DA?P<DAA?FG*S AI<DA?P<AFF@;?$S<A66 AI<DA?P<AFF@;?$<;S*S<A66 2% @o( to send additional customer and address information through customer interafce Gere is where attribute columns are used. ! Additional Fustomer data can be populated in AA<F;S$@-*AS<7?$*A9AF*<A66.customer<attribute. to .5 $his will go into AA<F;S$@-*AS.attribute. to .5 ! Additional address information can be populated in AA<F;S$@-*AS<7?$*A9AF*<A66.address<attribute. to .5 $his will go into AA<ABBA*SS*S<A66.attribute. to .5 And so on. 6% What should be the batch siAe 9number of customer records) general guidelines for optimal performance About ./#/// records per bacth is ideal# it is suggested to keep the batch si>e small. 7% Wh: does customer interface error out if there is mismatch in address information? Decause the code validates against these mismatches. arplscin%s*l and arplbcin%s*l 5 7t validates the address being inserted or updated with respect to the ta" location fle"field structure. 9or each row being inserted or updated in AA<F;S$@-*AS<7?$*A9AF*# and that has not already been marked in error# the set<location<ccid function is called to return either an e"isting ccid for the address entered or to create a new entry in AA<6@FA$7@?<QA6;*S for this new address. $he AA<F;S$@-*AS<7?$*A9AF* record is then updated with the value of the ccid returned. 8% @o( do :ou send records at customer le&el profile and address)site le&el profile? 9or every customer record in AA<F;S$@-*AS<7?$*A9AF*<A66# insert two records in table AA<F;S$@-*A<IA@976*S<7?$<A66. 'Aefer ?ote, ./N/O//.M ) <% $oes Bustomer -nterface import salesperson dataR ?o# Aefer *nhancement Dug, .2N2S5 11% Bustomer -nterface process can be used for updating the customer information @o( does the ,P$ATE (or+? Furrent functionality of Fustomer 7nterface is to update all the data. Jou cannot run Fustomer 7nterface to update only changed data. 'Aefer Dug, ONS.3. for the intended functinality) 12% What are some of the important fields that Bustomer -nterface does not load? ?ot all fields in AA<F;S$@-*AS are being loaded by the interface. S7F<F@B* M KSA<7?B7FA$@A 9@D<I@7?$ SA6*S<FGA??*6<F@B* 9A*7KG$<$*A- TAA*G@;S*<7B IA7F* 67S$ SG7I<IAA$7A6 IAJ-*?$<$*A-<7B in AA<S7$*<;S*S.IAJ-*?$<$*A-<7B 'Aefer *nhancement Aeuest Dug, 3254//) 1'% /e( TBA)Bustomer .odelC ho( to load customer as PERO/ or ORDA/-EAT-O/ through Bustomer -nterface? a) Iopulate ra<customers<interface<all . person<flag ( UJU Aun Fustomer 7nterface process will load this record as I*AS@? b) Iopulate ra<customers<interface<all . person<flag ( U?U ' or ?;66 ) Aun Fustomer 7nterface process will load this record as @AKA?7HA$7@? 1') Tell me (hat is the procedure to de&elop an interface? a. 9irst we will get the Aeuirement document. b. Te will create control file based on that plot file. c. $hen the control files which loads the data into staging tables. d. $hrough pl=sl programs we will mapping and validate the data and then dump into the interface tables. e. $hrough the standard programs we will push the data from interface tables to Dase tables. 12)What &alidations u did in the customer interface? a. customer name , the same customer reference can&t have different customer names with in this table GH<IAA$7*S.IAA$J<?A-* b. customer number , must be null if your r using automatic customer numbering# must e"it if you are not using automatic customer numbering. $his value much be uniue with in GH<IAA$7*S N c. customer status , must be %A& for active or %7& for inactive GH<IAA$7*S<S$A$;S d. ban+ account num or ban+ account currenc: code , if the bank a=c already e"ist do not enter a value if the bank a=c does not e"ist you must enter a value e. ban+ a)c name , it must e"ist in AI<DA?P<AFF@;?$S or if it does not e"ist values must e"ist for DA?P<A=F<F;AA*?FJ<F@B* DA?P<A=F<?;- DA?P<?A-* DA?P<DAA?FG<?A-* ?ote , every interface table has two error msg .) *rror code. 3) *rror msg. 16)@o( can u call a standard interface program from s*l or pl)s*l code? 9?B<A*V;*S$.S;D-7$<A*V;*S$ '%I@&#&*+*F;$AD6* ?A-*&####IAAA-*$*AS) 17)AP-s 3OR B,TO.ER -/TER3ABE? GH<F;S$<A=F<QHI;D.;IBA$*<F;S$<A=F GH<F;S$<A=F<QHI;D.FA*A$*<F;S$<A=F 9?B<IA@976*S 9?B<AII67FA$7@?S 9?B<K6@DA6 9?B-976* 9?B<F@?FS;D'can submit conc program in host invironment) 18) Tell me some AP-? 9?B<976*.I;$67?*'9?B<976*.6@K) 9?B<976*.I;$67?*'9?B<976*.@;$I;$) -s the Program eFitsC delete conc program and its eFecutables% 79 9?B<IA@KAA-.IA@KAA-<*+7$S'%*-I&#AII67FA$7@?<?A-*<7?) $G*? 9?B<IA@KAA-.B*6*$*<IA@KAA-'%*-I&#AII67FA$7@?<?A-*<7?) 9?B<IA@KAA-.B*6*$*<*+*F;$AD6*'%*-I&#AII67FA$7@?<?A-*<7?) *?B; 1;)What are profile options? 7s the 9unctional and $echnical behavior of @racle Applications Iackage. *+, - 7 want to assign the user4 responsibility to p2 printer then :stem Administrator Profile :stem (FND_PROFILE_OPION!" 1<)Oracle E#4usiness suite? Oracle a##s $ anal%tical co&#onents so't(are. '@racle discover) '@racle sales analy>er) '@racle financial analy>er) '@racle marketing analy>er) 22) What is multi org? G"egal entit: has more than one operating unit is called as multi orgH a) Dusiness group --- Guman resources information is secured by Dusiness group b) 6egal entity. --- inter-company and fiscal=ta" reporting. O ecurit: responsibilit: operating unit% c) @perating unit --- secures AA# @*# AI# IA and I@ 7nformation. d) @rgani>ations --- is a speciali>e unit of work at particular locations 26) What are the ,ser PARA.ETER in the Reports? P=BO/B=RE!,ET=-$ P=3"E0=>A",E 27) 3/$ ,ER E0-T1# 9?B SAT7?7$ sets your profile option values# multiple organi>ations and allows @racle Application @bject 6ibrary user e"its to detect that they have been called by an @racle Aeports program. 9?B SAT*+7$ ensures that all the memory allocated for A@6 user e"its have been freed up properly. 9?B 96*+7BQA6 are used to display fle" field information like prompt# value etc 9?B 96*+SV6 these user e"its allow you to use fle" fields in your reports 9?B 9@A-A$<F;AA*?FJ is used to print currency in various formats by using formula column 27) P")!" stored procedure parameters? or (hat are the t(o parameters that are mandator: for pl)s*l t:pe concurrent program? Irocedure=function '*AAD;9 @;$ A*$F@B* @;$ WWWWWWW.) *AAD;9 ,- ;sed to write the error message to log or reuest file. A*$F@B* ,- Iopulate log reuest file with program submission details info. 28) What is >alue et? --$he value set is a collection 'or) container of values. --Then ever the value set associated with any report parameters. 7t provides list of values to the end user to accept one of the values as report parameter value. -- 7f the list of values needed to be dynamic and ever changing and define a table based values set. 28) What r the &alidation t:pes? .) ?one -------- validation is minimal. 3) 7ndependent ------input must e"ist on previously defined list of values 4) Bependent ------input is checked against a subset of values based on a prior value. 4) $able ----- input is checked against values in an application table 2) Special ------values set uses a fle" field itself. 5) Iair ------ two fle" fields together specify a range of valid values. S M) $ranslatable independent ----- input must e"ist on previously defined list of values; translated values can be used. N) $ranslatable dependent ------- input is checked against a subset of values based on a prior values; translated value can be used. 2;) 3orm de&elopment process? a) open template form b) Save as Cyour form:.fmb c) Fhange the form module name as form name. d) Belete the default blocks# window# and canvas e) Freate a window. f) Assign the window property class to window g) Freate a canvas 'subclass info) h) Assign canvas property class to the canvas 7) assign the window to the canvas and canvas to the window j) Freate a data block k) -odify the form level properties. 'sub class item $e"t item) l) -odify the app<cusom package. 7n the program unit. m) -odify the pre-form trigger 'form level) n) -odify the module level properties ''console window# 9irst navigation p) Save and compile the form. Ilace the .fm" in the server directory. V) Aegister in the A@6 APP"-BAT-O/ 3OR. APP"-BAT-O/ 3,/BT-O/ APP"-BAT-O/ .E/, 2<)@o( do u customiAe the Reports? a. 7dentify the Short name of the standard report in which module we have to customi>e E)* + i' , (ant to c,sto&i-e in t.e /R &od,le #at. is /##l to#0ar011.2.30re#orts04!0 .rd' b. @pen the .rdf file in Aeport builder and change the name of the module. c. @pen the data module and modify the uery 'what is client reuirements) assign the columns to the attrib,tes. d. Ko to report wi>ard and select# what r the newly created columns. e. $hen Fompile it. $hen u will get a .rep file in the specified module. 7f it is not in the specified directory then we have to put in the server directory. f. $hen Aegister in the A@6 Boncurrent eFecutable. Boncurrent program% g. go to system administrator ecurit:Responsibilit:re*uest h) Add and assign a concurrent program to a reuest group ./ '?) Registering parametric report? Any applications will have two parameters# .) from-period 3) to-period a) Ko to object navigator and create the parameters. ,ser parameters from=noC to=no 9data t:pe char and (idth '?) b) @pen the report layout and write the uery'we have to reg the table in A@6) !elect e&#no5ena&e5'ro& g_e&# (.ere e&#no bet(een *'ro&_no and to_no c) Fompile and put the .ABI file in the server directory. d) Aegistering in A@6. Boncurrent eFecutable Boncurrent program then go to 0PARA.ETERH e) Ko to Application &alidation set% then go to GE$-T -/TOH After entering the 6/L4E !E! '.) And O7EN! '3) f) Ko to Administrations e*urit: responsibilit: Re*uest h) Add and assign a concurrent program to a reuest group '1) Tell me some report names and their table names in D"C APC ARC and PO? .) ra=customer=trF=all c,sto&er_tr)_id tr)_n,&ber (invoice no5 debit &e&o no5 credit &e&o no" c,st_tr)_t%#e_id 3) ra=customer=lines=all 9details of in&oice) c,to&er_tr)_id ') ar=pa:ment=schdules=all c.ec8_id $his table stores all transactions e"cept adjustments and miscellaneous cash receipts. @racle Aeceivables updates this table when activity occurs against an invoice# debit memo# chargeback# credit memo# on account credit# or receipt. 2) ra=cust=trF=t:pes=all 9in&oice t:pes) c,st_tr)_t%#e_id 6) ra=batches=all Datch<id $his table stores information about each receipt batch that you create in @racle Aeceivables. *ach row includes information about a specific batch such as batch source# status# batch type# control count# and control amount 7) ra=recei&able=application=all 8) ra=adIustments=all $his table stores information about your invoice adjustments. *ach row includes general information about the adjustment you are making such as activity name# amount# accounting information# reason# and type of adjustment. Jou need one row for each adjustment you are making to an invoice. ..
O) ra=cash=receiots=all Fash<receipt<id $his table stores one record for each receipt that you enter. @racle Aeceivables creates records concurrently in the AA<FASG<A*F*7I$<G7S$@AJ<A66# AA<IAJ-*?$<SFG*B;6*S<A66# and AA<A*F*7QAD6*<AII67FA$7@?S tables for invoiceLrelated receipts.
.) ap<invoice<all invoice<amount# base<amount# payment<status<flag'%y& Lfully paid %n&Xunpaid %p& Lpartially paid) 3) ap<invoice<payments<all invoice<id# 4) ap<invoice<distibutions<All amount# base<amount# dist<code<combination<id# line<type<lookup<code 2) ap<payment<schdules payment<status<flag'0 %&&&&1) 5) ap<payment<dustributions<all M) ap<checks<all check<id# AI<FG*FPS<A66 stores information about payments issued to suppliers or refunds received from suppliers. Jou need one row for each payment you issue to a supplier or refund received from a supplier. Jour @racle Iayables application uses this information to record payments you make to suppliers or refunds you receive from suppliers. N) ap<accounting<events<all O) ap<bank<accounts<all AI<DA?P<AFF@;?$S<A66 contains information about your bank accounts. Jou need one row for each bank account you define. *ach bank account must be affiliated with one bank branch. Then you initiate an automatic payment batch# enter a manual check# or create a Vuick payment# you can select a bank account that you define in this table. S) ap<bank<accounts<uses<all AI<DA?P<AFF@;?$<;S*S<A66 stores information for the internal and e"ternal bank accounts you define in @racle Iayables and @racle Aeceivables applications.
.) Dl=code=combinations K6<F@B*<F@-D7?A$7@?S stores valid account combinations for each Accounting 9le"field structure within your @racle Keneral 6edger application. Associated with each account are certain codes and flags# including whether the account is enabled# whether detail posting or detail budgeting is allowed# and others. 3) Dl=Ie=batches% K6<Y*<DA$FG*S stores journal entry batches. ') Dl=Ie=headers K6<Y*<G*AB*AS stores journal entries. $here is a oneLtoLmany relationship between journal entry batches and journal entries. *ach row in this table includes the associated batch 7B# the journal entry name and description# and other information about the journal entry. $his table corresponds to the Yournals window of the *nter Yournals form. S$A$;S is &;& for unposted# &I& for posted. @ther statuses indicate that an error condition was found. A complete list is below. 2) Dl=Ie=lines% K6<Y*<67?*S stores the journal entry lines that you enter in the *nter Yournals form. $here is a oneLtoLmany relationship between journal entries and journal entry lines. *ach row in this table stores the associated journal entry header 7B# the line number# the associated code combination 7B# and the debits or credits associated with the journal line. S$A$;S is &;& for unposted or &I& for posted 6) Dl=set of boo+s K6<S*$S<@9<D@@PS stores information about the sets of books you define in your @racle Keneral 6edger application. *ach row includes the set of books name# description# functional currency# and other information. $his table corresponds to the Set of Dooks form. 7) Dl=periods K6<I*A7@BS stores information about the accounting periods you define using the Accounting Falendar form. *ach row includes the start date and end date of the period# the period type# the fiscal year# the period number# and other information. $here is a oneLtoLmany relationship between a row in the K6<I*A7@B<S*$S table and rows in this table. 1) OPE/#$E4-T .E.O REPORT? $his report shows all the open-debit memo transactions# based on customer number and dates. Folumns ,- type# customer<no# tr"<no# amt<due# remaining. Iarameter ,- type# customer# from<date# to<date. 2) DE/ERAT-/D PO-T->E PAJ 3-"E 3OR 4A/5 REPORT? Dasically this report generates a flat file of all the payments in order to send in to the bank. 4) ,P$ATE PO-T->EPAJ B@EB5 REPORT? $his report which updates the data into the 'AI) account payables system from the plot file# the file which is sent by bank .4 2) ,P$ATE PO-T->EPAJ O,T TA/$-/D B@EB5? $his report which shows the out standing checks 6) B,TO.ER PAJ.E/T $ETA-" REPORT? Thich shows each customer original amount# amount pay and due amount based on transaction type 'books# pens) Transaction t:pes in AR Fredit memo transaction types 7nvoice# debit memo# and charge back transaction types Fommitment transaction types !) @OW $O JO, REBT-3J T@E ERROR -/ -/TER3ABE TA4"E? Bepending on the naming convention used# errors appear in either alphabetical order or by error code number. '1) @o( do u identit: its name of report? :stem administrator concurrent program define :stem administrator concurrent program eFecutable '2) Who informations? .) Freated by 3) Freation date 4) 6ast <updated by 2) last<update<date 5) last<update<value '') 3"E0 3-E"$? ,sed to capture the additional business information. $33 533 Additional ;niue 7nfo# -andatory Faptured in attribute prefi"ed columns Segment prefi"ed ?ot reported on standard reports 7s reported on standard reports $o provide e"pansion space on your form Tith the help of []. [] Aepresents descriptive 9le" field. 96*+ 976*B , B*SFA7I$7Q* , A*K7KS$*A ;sed for entering and displaying key information 9or e"ample @racle Keneral uses a key 9le" field called Accounting 9le" field to uniuely identifies a general account. 96*+ 976*B , P*J , A*K7KS$*A Oracle Applications 5EJ 3"E0 3-E"$ .) K6 ,- AFF@;?$7?K .2 3) AA ,- SA6*S $A+ 6@FA$7@?# $*AA7$@AJ# 4) AI ,- DA?P B*$A76S# F@S$ A66@FA$7@?# I*@I6* KA@;I Oracle Applications $EBR-PT->E 3"E0 3-E"$ 9Partial) .) K6 ,- daily rates 3) AA ,- credit history# information 4) IA ,- bank branch# payment terms# site address#
'2) What are the re*uests groups? a) Single reuest, - this allows you to submit an individual reuest. b) Aeuest set , - this allows you to submit a pre-defined set of reuests. '6) :s Admin .odule? a) Befine Fustom ;sers# b) Befine 6ogin ;sers# c) Aegister oracle BD users# d) Befine Foncurrent Irograms# e) Aegister Foncurrent *"ecutables# f) Setting Irofile @ption Qalues# g) Befine Aeuest $ypes. '7) AO"? a) Aegistering tables. b) Aegistering views c) Aegistering db seuences d) Aegistering profile options e) Aegistering lookups and lookup codes f) Aegistering forms g) Aegistering 9orm and ?on-9orm functions i) registering -enus and sub-menus% I) Aegistering B99 and P99. +) 6ibraries '8) What r the t:pe .odels in the system parameters of the report? .) Dit map 3) Fharacter mode ';) %What is RW Pac+age? '!ql Re#ort 9riter" $he Aeport builder Duilt in package know as SAT Iackage $his package e"tends reports #Fontrol report e"ecution# output message at runtime# 7nitiali>e layout fields# Ierform BB6 statements used to create or Brop temporary table# Fall ;ser *"ist# to format width of the columns# to page break the column# to set the colors *", SAT.B@<SV6# 7t&s like BB6 command# we can create table# views # etc.# SAT.S*$<97*6B<?;- SAT. S*$<976*B<FGAA SAT. S*$ 976*B <BA$* '8) $ifference bet(een 4ind and "eFical parameters? 4-/$ >AR-A4"E 1 -- are used to replace a single value in sl# pl=sl -- bind variable may be used to replace e"pressions in select# where# group# order by# having# connect by# start with cause of ueries. -- bind reference may not be referenced in 9A@- clause 'or) in place of reserved words or clauses. "E0-BA" RE3ERE/BE1 -- you can use le"ical reference to replace the clauses appearing A9$*A select# .5 from# group by# having# connect by# start with. -- you can&t make le"ical reference in a pl=sl statmetns% ';) .atriF Report1 Simple# Kroup above# ?ested imple .atriF Report , 2 groups ..Fross Iroduct Kroup 3. Aow and Folumn Kroup 4. Fell Kroup 2. Fell column is the source of a cross product summary that becomes the cell content. 3rames, ..Aepeating frame for rows'down direction) 3.Aepeating frame for columns'Across ) 4.-atri" object the intersection of the two repeating frames '<) (hat is 3leF mode and Bonfine mode? Bonfine mode @n, child objects cannot be moved outside their enclosing parent objects. @ff, child objects can be moved outside their enclosing parent objects. 3leF mode1 @n, parent borders ZstretchZ when child objects are moved against them. @ff, parent borders remain fi"ed when child objects are moved against them. 2?) What is Place holder Bolumns? A placeholder is a column is an empty container at design time. $he placeholder can hold a value at run time has been calculated and placed in to 7t by pl=sl code from anther object. Jou can set the value of a placeholder column is in a Defore Aeport trigger. Store a $emporary value for future reference. *+. Store the current ma" salary as records are retrieved. 2') What is 3ormula Bolumn? A formula column performs a user-defined computation on another column's) data# including placeholder columns. 22) What is ummar: columns? A summary column performs a computation on another columnUs data. ;sing the Aeport Ti>ard or Bata Ti>ard# you can create the following summaries, sum# average# count# minimum# ma"imum# E total. Jou can also create a summary .M column manually in the Bata -odel view# and use the Iroperty Ialette to create the following additional summaries, first# last# standard deviation# variance. 6?) What is cursor? A Fursor is a pointer# which works on active set# 7.e. which points to only one row at a time in the conte"t area&s AF$7Q* S*$. A cursor is a construct of pl=sl# used to process multiple rows using a pl=sl block. 2;) T:pes of cursors? .) -mplicit, declared for all B-6 and pl=sl statements. Dy default it selects one row only. 3) EFplicit, Beclared and named by the programmer. ;se e"plicit cursor to individually process each row returned by a -ultiple statements# is called AF$7Q* S*$. Allows the programmer to manually control e"plicit cursor in the Il=sl block a)declare, create a named sl area b)Open, identify the active set. c)3etch1 load the current row in to variables. d)Blose, release the active set.
F;AS@A A$$A7D;$*S a) Kis open, evaluates to true if the cursor is open. b) Knot found, evaluates to true if the most recent fetch does not return a row c) Kfound, evaluates to true if the most recent fetch returns a row. d) Kro( count, evaluates to the total number of rows returned to far. Example for cursor: 1) Declare Vno emp.empno%type; Vname emp.ename %type; Cursor emp_cursor is Select empno,ename From emp; Begin Open cursor; For I in 1..1 loop Fetc! emp_cursor into "no,"name; D#ms_output.putline$to_c!ar$"no) %%& '%%"name); (n) i*; ( n);
+) Begin Open emp_cursor; ,oop .N Fetc! -!en emp_cursor % ro-count .1 or (mp_curor % not *oun); B)ms_output_put_line$to_c!ar$"no)%%& '%% "name); (n) loop; Close emp_cursor; (n); B,ROR 3OR "OOP A) cursor for loop is a short cut to process e"plicit cursors D) it has higher performance F) cursor for loop reuires only the declaration of the cursor# remaining things like opening# fetching and close are automatically take by the cursor for loop
Example: 1) Declare Cursor emp_cursor is Select empno,ename From emp; Begin For emp_recor) in emp_cursor loop D#ms_output.putline$emp_recor).empno); D#ms_output.putline$emp_recor).ename) (n) loop (n);
Ban (e create a cursor (ithout declaring it? Jes L by using cursor for loop using subueries. D*K7? 9@A emp<record 7? ' S*6*F$ empno# ename 9A@- emp) 6@@I -- implicit open and implicit fetch occur 79 emp<record.empno ( NO4S $G*? ... *?B 6@@I; -- implicit close occurs *?B; a) for update clause1 .) use e"plicit locking to deny access for the duration of a transaction 3) lock the rows before update or delete *" , select WW. 9romWW. 9or update[ of column ref] [no<wait]
b) (here current of clause? .O .) use cursor to update or delete the current row There current of C column ref: 2<) Attribute data t:pes? .) Etype 3) Erow type. '?) EFception @andilings? 7s a mechanism provided by pl=sl to detect runtime errors and process them with out halting the program abnormally .) pre-defined 3) user-defined. PRE#$E3-/E$1 .) cursor<already<open--------attempted to open an already open cursor. 3) Bup<val<on<inde" --------attempted to insert a duplicate values. 4) 7nvalid<cursor -------- illegal cursor operation occurred. 2) 7nvalid<number -------- conversion of character string to number fails. 5) 6ogin<denied ---------loging on to oracle with an invalid user name and password. M) program<error -------- pl=sl has an internal problem. N) storage<error -------- pl=sl ran out of memory or memory is corrupted. O) to<many<row ---------single row select returned more than one row. S) value<error -------- arithmetic#conversion#truncation or si>e constraint error occurred. ./) >ero<devided -------- attempted to divided by >ero. ,ER#$E3-/E$1 Beclare , name the e"ception Aaise , e"plicitly raise the e"ception by using the raise statements Aeference, e"ception handing section. The Raise=Application=Error=Procedure1 Jou can use this procedure to issue user-defined error messages from stored sub programs. Jou can report errors to your applications and avoid returning unhandled e"ceptions. Raise_Application_Error(error_number,message[,{true/false}] *rror number between -3//// to -3/SSS pragma eFception=init? 7t tells the compiler to associate an e"ception with an oracle error. $o get an error message of a specific oracle error. .S *", pragma e"ception<init'e"ception name# oracle error number) EFample for EFceptions? 1) Bhec+ the record is eFist or not? Beclare * empE rowtype Degin e.empno ,( [empno; select ! into e from emp where empno (e.empno; D#ms_output.putline$'empno& %% e.empno); (/ception 0!en no_)ata_*oun) t!en D#ms_output.putline$e.empno %%&)oest e/ist&); (n); 2) User defined exceptions? De*ine p_)ept_)esc 1&g"re))y& De*ine p_)ept_num#er 11+23 Declare (_in"ali)_)ept e/ception; Begin 4p)ate )epartments Set )ept_name1&5p_)ept_)esc& 0!ere )ept_i) 1&5p_)ept_num#er&; I* s6l% not *oun) t!en 7aise e_in"ali)_)epartments; (n) i*; Commit; (/ception 0!en e_in"ali)_)epartments t!en D#ms_output.putline$'no suc! )ept&); (n);
62) (hat is RE3 Bursor? $o e"ecute a multi-row uery# oracle opens an unnamed work area that stores processing information# to access the information# an e"plicit# which names the work area or# a cursor variable# which points to the work area. where as a cursor always refers to the same uery work area# a cursor variable can refer to a different work areas# cursor variable area like %c& or %pascal& pointers# which hold the memory location'address) of some object instead of the object itself. So# declaring a cursor variable creates a pointers# not an object. '2) Ban u define eFceptions t(ice in same bloc+? ?o '') Ban :ou ha&e t(o functions (ith the same name in a pl)s*l bloc+? Jes 3/ '2) Ban :ou ha&e t(o stored functions (ith in the same name? Jes '6) Ban function be o&erload? Jes 4M) What is the maFimum number of statements that can be specified in a trigger statement? @ne. '2) tored procedure? Stored procedure is a seuence of statements that perform specific function. 6') What is procedure? ---- is a named pl=sl block to perform a specific task. ---- A procedure may have B-6 statements. ---- 7t may or may not return a value. ---- Irocedure can return more than one value. EFample for procedure .) $o accept the year as a parameter and list emp belong to the yearR Freate or replace Irocedure empy'y number) is Fursor emp<cursor is Select ! from emp where to<char'hiredate#&yyyy&)(&y&; *mp<record empErowtype; Degin 9or emp<record in emp<cursor loop Irint 'emp<record.empno); Irint 'emp<record.ename); Irint 'emp<record.sal); *nd loop; *nd; Output 1 var emp" number; Degin ,emp" ,( %.342&; *nd; *"ec empy',emp"); Irint empy; 62) What is function? ---- is a named pl=sl block to perform a specific task# is mainly used for calculation purpose. ---- A function is called as part of an e"ception. ---- *very function should return a value 3. EFample for function Freate or replace 9unction get<sal'p<id in emp.emp<noE type) Aeturn number 7s v<sal emp.salEtype ,(/; Degin Select salary into v<salary 9rom emp There emp<no ( p<id; Aeturn v<salary *nd get<sal; *nd; Output 1 var g<sal number; *"ec ,g<sal ,( get<sal'SS); Irint g<salary; <%Ban functions be o&erloaded ? Jes% 1?%Ban 2 functions ha&e same name L input parameters but differ onl: b: return datat:pe /o% 66) What is the pac+age? ---- Kroup logically related pl=sl types# items and subprograms. .) package specification 3) package body Advantages of a package: 8o)ularity (asier 9pplication Design In*ormation :i)ing O"erloa)ing You cannot overload: \$wo subprograms if their formal parameters differ only in name or parameter mode. 'datatype and their total number is same). \$wo subprograms if their formal parameters differ only in datatype and the different datatypes are in the same family 'number and decimal belong to the same family) 33 \$wo subprograms if their formal parameters differ only in subtype and the different subtypes are based on types in the same family 'QAAFGAA and S$A7?K are subtypes of QAAFGAA3) \$wo functions that differ only in return type# even if the types are in different families. 67) What is 3ORWAR$ $EB"ARAT-O/ in Pac+ages? I6=SV6 allows for a special subprogram declaration called a forward declaration. 7t consists of the subprogram specification in the package body terminated by a semicolon. Jou can use forward declarations to do the following, \ Befine subprograms in logical or alphabetical order. \ Befine mutually recursive subprograms.'both calling each other). \ Kroup subprograms in a package EFample of for(ard $eclaration1 FA*A$* @A A*I6AF* IAFPAK* D@BJ forward<pack 7S IA@F*B;A* calc<rating'. . .); -- forward declaration IA@F*B;A* award<bonus'. . .) 7S -- subprograms defined D*K7? -- in alphabetical order calc<rating'. . .); . . . *?B;
IA@F*B;A* calc<rating'. . .) 7S D*K7? . . . *?B;
*?B forward<pack; 67) What are triggers? ---- triggers are similar to procedures# in that they are the named pl=sl blocks with declarative# e"ecutable and e"ception-handling sections# how ever a procedure is e"ecuted e"plicitly from another block via a procedure call# which can also pass arguments. ---- A trigger is e"ecuted implicitly when ever a particular event task places. And is nothing but a event. ---- $he triggering event is a B-6 'insert# update# delete) operations on a data base table ##### fires (hene&er a data e&ent9such as $.") or s:stem e&ent9such as login or shutdo(n) occurs on a schema or database 34 Trigger timing 1 .) before 3) after 4) instead of ' this is used for views) Triggering e&ents , .) insert 3)update 4) delete Trigger t:pe 1 .) statement level 3) row level. 3iring se*uence of database triggers .) before statement trigger 3) before row trigger 4) after row trigger 2) after statement trigger EF1 1) Breate or replace trigger secure=emp Defore 7nsert on emp Degin 7f 'to<char'sysdate#&dy&) in'%sat&#&sun&)) or $o<char'sysdate#&hh32,mi&) ?ot between &/O,//& and &.O,//&) $hen raise<application<error'-3/5//#&u can insert in the office timings&) *nd if; *nd; EF 1# 2) (rite a program to all transitions (ith name smith? Freate or replace $rigger trigger<name Defore insert or update or delete @n emp 9or each row Then 'old.ename (&smith& or ?ew.ename (&smith&) Degin Aaise<application<error'-3///4#&smith&); *nd; 68) $ifference bet(een triggers and procedures? Befined with create trigger Befined with create procedure $he data dictionary contains source code in the user<triggers. Bata dictionary contains source code in user<source 7mplicitly invoked *"plicitly invoked 32 Fommit# save point and rollback are not allowed'$F6) $hose are allowed 6;) "OB5? -- 7s to reduce concurrency .) share loc+ ---it allows the other users for only reading not to insert or update or delete. 3) eFclusi&e loc+ --- only one user can have the privileges of insert or update and delete of particular object --- others can only read. 4) update loc+ ----multiple user can read# update delete "oc+ le&els 1 .) table level 3) table space 4) data base level.
6;) What is template? a) $he $*-I6A$* form is the reuired starting point for all development of new 9orms. b) $he $*-I6A$* form includes platformLindependent attachments of several 6ibraries. APPBORE 1# 7t contains package and procedures that are reuired of all forms to support the -*?;S #$@@6DAAS. APP$AJP5 1# 7t contains packages that control the oracle applications FA6*?B*A 9*A$;A*S. 3/$!3 1# it contains packages and procedures for -*SSAK* B7F$@?AAJ# 96*+ 97*6BS# IA@976*S A?B F@?F;AA*?$ IA@F*SS7?K. B,TO. 1# it allows e"tension of oracle applications forms with out modification of oracle application code# you can use the custom library for customi>ation such as Aoom ' such as moving to another form and uerying up specific records) 6<) What are ad#hoc reports? Ans., Ad-hoc Aeport is made to meet one-time reporting needs. Foncerned with or formed for a particular purpose. 9or e"ample# ad hoc ta" codes or an ad hoc database uery 7?) What is responsibilit:? 7s collection of menus# reuest security groups and data groups .enus, collection of forms is nothing but menus Re*uest securit: groups, collection of programs. $ata groups, is a group of modules to be made accessible by the user through Aesponsibility :stem adminsecurit:define ecurit:userdefine 35 71) What are different execution methods of executabls?
FlexRpt The execution file is wrnitten using the FlexReport AP! Flex"#l The execution file is written using the Flex"#l AP! $ost The execution file is a host script! %racle Reports The execution file is an %racle Reports file! P&'"(& "tored Procedure The execution file is a stored procedure! "(&)&oader The execution file is a "(& script! "(&)Plus The execution file is a "(&)Plus script! "(&)Report The execution file is a "(&)Report script! "pawned The execution file is a * or Pro)* progra+! ++ediate The execution file is a progra+ written to run as a subroutine of the concurrent +anager! ,e reco++end against defining new i++ediate concurrent progra+s, and suggest you use either a P&'"(& "tored Procedure or a "pawned * Progra+ instead! Bomposite $atat:pes , ; <,=S>, ?9B,(S ; <,=S>, 7(CO7DS - @este) ?9B,( - V9779A What is the se*uence of functions M group b:Cha&ingCorderb: in a select statements ? SelectB.. Croup #yB :a"ingB Or)er#y.. $ifference bet(een ,ser and uper ,ser? 4ser D login user or *ront en) user Super user D it !as *ull access o* particular mo)ule 3M