CCB Interview Prepare
CCB Interview Prepare
1-- Batch
Steps:
Batch
write code in eclipse - inside getjobwork() ,its a method if we want to create new
method then write method ouside main
method but call in method (getjobwork) .
batch use -if i need bulk of data then use batch job.
then testing of batch following these steps:
in function side create a batch control then add packages or code name use language
(java)
if i taken parameter then mention alse parameter in batch control .
softparam- we can change in runtime.
hardparam- we can't change in runtime.
2. Buisness service
Steps :
in body - metion filed of o/p.
in header -mention filed of i/p.
after that write code in body then server start after that these following steps
use in ccb page -
@. Service name same those we have given in BS java side code ( Service name)
: If you want to execute some logic against any ‘Spot (Interface)’ then you have
to create Algorithm.
write code in invoke main method but we need create method then create outside the
main method
and call to in main method.
after that deploye the code .
and start the server.
testing -
create -@algo type
@. algo
@. case type :
then get o/p on server(tomcat).
____________________________________________________________________
1. Zone ( in zone write sql query then testing though xai/ ui map)
type- single sql
application service- default
in filter f1, f2 these are input .
in intial display column -C1 C2 its o/p
2. Buisness service:
Add service name - data explore
application server - default
____________________________________________________________________
Case1
Input- SDO _FLG = Y , Acct_Id ,SDO VALUE
BASIS OF REQUIREMENT
input_ 1 SDO FLAG= Y THEN SDO VALUE
2.SDO FLAG= N THEN NO SDO VALUE NEED
Case2;
input in UIMAP- SDO_FLG= N, Acct_Id (2 input)
Case-3 :
Input SDO_FLAG=N , consumer number (2 input)
Case 4—
input( SDO FLAG= Y , Legacy Account Number , SDO Code)
_______________________________________________________________________
7. Bill create :
Fill up acctid or other filled then save it and got bill_Id ( means bill
successfull create )
and status show completed.
other wise if bill id not get means bill not create and status not completed show
in page .
8. service script _
its use for front coding
Sql
a.serial_nbr,a.mtr_type_cd,a.mfg_cd,b.mtr_config_id,c.sp_id,e.acct_id
from ci_mtr a,ci_mtr_config b,ci_sp_mtr_hist c ,ci_sa_sp d, ci_sa e
where a.mtr_id='0370007616'
and a.mtr_id=b.mtr_id
and b.mtr_config_id=c.mtr_config_id
and c.sp_id=d.sp_id
and d.sa_id=e.sa_id;
Notes of script _
Service Script:
Service scripts are nothing more than common routines that have been developed
using the scripting language rather than Java
Service scripts are mainly invoked in UI Map , plugin script,BPA Scripts and in
another service script.
Inputs and Outputs are decided by the programmer and are defined in the schema of
the service script.
Indexes are used to retrieve data from the database more quickly than otherwise.
The users cannot see the indexes, they are just used to speed up searches/queries.