Professional Documents
Culture Documents
FCIDE (Core) Multirec Quick Reference
FCIDE (Core) Multirec Quick Reference
(Core) 2.5.0
Multirec Quick Reference Guide
5/1/2013
Document No.
Version No. 1.0
Created by Ashish Verma
© 2013 Infosys Limited. Strictly private and confidential. No part of this document should
be reproduced or distributed without the prior permission of Infosys Limited.
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
Table of Contents
1. Introduction .............................................................................................................................. 3
1.1 What is a Multirec? ................................................................................................................. 3
1.1.1 MRH Type 1 (Table or List Multirec) ............................................................................. 3
1.1.2 MRH Type 2 (Table or List Multirec) ............................................................................. 3
1.1.3 MRH Type 3 (Page Multirec) .......................................................................................... 4
1.1.4 MRM ................................................................................................................................... 5
Page 2 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
1. Introduction
1.1 What is a Multirec?
In Finacle, the term “Multirec” refers to the display of records in a linked list for viewing/editing by the
user. A multirec provides an interface through which the user can add, modify or browse through
records in a linked list format.
Abbreviations –
MRH – Multiple Record Handler
MRM – Multiple Record Modifier
Page 3 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
Page 4 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
1.1.4 MRM
Grid with multiple row and column and user can edit a grid directly. All the fields of all the records are
editable at a time.
MRM
MRM can also be used for creation of an inquiry menu where all the fields are required to be non-
editable as shown below.
Page 5 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
Steps for designing a Custom menu having MRH type 1 or 2 (Table Multirec)
A Multirec Specification dialog box will open. It has two tabs – Column details and Row details
Specifications viz. Type of Multirec, Number of columns, column details (column header,
control type) and row details are required to be provided.
Additional details such as column width, class applied can also be specified.
Page 6 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
NOTE: “Class applied” is not mandatory. Default values will be set if class is not specified.
Page 7 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
After specifying the Multirec related parameters, click Save. The multirec will be added to the
HTML under design as in the below image.
Multirec design
If required, the ‘name’ attributes if individual controls can be modified for better readability of
code.
For changing the name attributes, click and select the field in the Design Pane, go to
Customization Properties pane and provide new name. To save the changes done in
Customization Properties pane, tab out of the “name” attribute and click the save button as
shown in the following image.
Page 8 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
For making the Multirec fully functional, user has to add functionality in the Link JS File
Page 9 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
Specifies number
of columns in the
Multirec
Sample <pagename>_link.js –
Validate Group HTMLs: After designing all group HTML(s) they should be validated.
Select group folder FCIDE Core Validate Group HTMLs
If the HTMLs are syntactically and functionally correct a success message will be displayed.
Build or Build and Deploy – Post successful validation of HTMLs, customization code can be
generated -
Select group folder FCIDE Core Build / Build and Deploy
to generate and deploy code on the local web server.
Page 10 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
A Multirec Specification dialog box will open (refer to below image). It has one tabs – Column
details Specifications viz. Type of Multirec, Number of columns, column details (column
header, control type) are required to be provided.
Additional details such as column width, class applied can also be specified.
Page 11 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
NOTE: “Column width” and “Class applied” is not mandatory. Default values will be set if class is not
specified.
Row details are not application in case of MRH 3 (page multirec)
Page 12 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
After specifying the Multirec related parameters, click Save. The multirec will be added to the
HTML under design
If required, the ‘name’ attributes if individual controls can be modified for better readability of
code.
For changing the name attributes, click and select the field in the Design Pane, go to
Customization Properties pane and provide new name. To save the changes done in
Customization Properties pane, tab out of the “name” attribute and click the save button as (as
indicated in the below image).
Validate Group HTMLs: After designing all group HTML(s) they should be validated.
Select group folder FCIDE Core Validate Group HTMLs
Build and Deploy – Post successful validation of HTMLs, customization code can be
generated -
Select group folder FCIDE Core Build / Build and Deploy
to generate and deploy code on the local web server.
Page 13 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
Drag and drop MRM control from palette to the HTML design pane
A Multirec Specification dialog box will open (as in the following image). It has one tabs –
Column details Specifications viz. Number of columns, Is Select All required column details
(column header, control type) and Row details are required to be provided.
Additional details such as column width, class applied can also be specified.
Page 14 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
NOTE: “Column Width” and “Class applied” is not mandatory. Default values will be set if class is not
specified.
Page 15 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
After specifying the Multirec related parameters, click Save. The multirec will be added to the
HTML under design
If required, the ‘name’ attributes if individual controls can be modified for better readability of
code.
For changing the name attributes, click and select the field in the Design Pane, go to
Customization Properties pane and provide new name. To save the changes done in
Customization Properties pane, tab out of the “name” attribute and click the save button (as
indicated in the following image)
Save all the changes made in the HTML and then Validate the HTMLs
Select group folder FCIDE Core Validate Group HTMLs
Build or Build and Deploy – Post successful validation of HTMLs, customization code can be
generated -
Select group folder FCIDE Core Build / Build and Deploy
to generate and deploy code on the local web server.
Page 16 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
Multirec table can be pre-populated with data for requirement based scenarios (e.g. Inquire, Verify,
Modify modes).
Format in backend scripts for data pre-population –
MRH Pre-population -
sv_a = "<MultirecName>_<txtfldname00>_" + <RowNumber> + "|" + <value>
MRM Pre-population –
sv_a = urhk_SetOrbOut("<pageName>.setSize|10") // setSize here is total no. of records
sv_a = urhk_SetOrbOut("<pageName>.MaxRecsPerPage|5")
sv_a = "MRM_<txtfldname00>_" + <RowNumber> + "|" + <value>
MRH Pre-population -
sv_a = "<txtfldname00>_" + <RowNumber> + "|" + <value>
MRM Pre-population -
sv_a = "MRM_<txtfldname00>_" + <RowNumber> + "|" + <value>
Page 17 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
In FCIDE (Core) v2.4 and above, feature of adding multiple Multirecs on a page is provided. The
Multirecs can be of the same type or a combination of Table or Page multirecs.
Designer can add more than one Multirec on the page by simply dragging and dropping the desired
multirec (refer to below image). Design process is the same as described in Sections 2, 3 and 4.
Page 18 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
In Multirecs where number of fields is on the higher side, generally MRH type 2 is used.
Arrangement of MRH type 2 is such that only few columns appear in the multirec table, but ALL
controls are presented below the table for input (Refer Section 1).
Designer can further customize this display by hiding desired columns in the Multirec table, with the
corresponding input control present below the table.
Please note that this is applicable in the case of MRH type 2 only.
For example, in the below multirec the column “Debit” has to be removed from the table but is still
required to be displayed in the input section for regular multirec functioning.
This can be done by making modifying the already generated front end files. The following files have
to be changed for this:
1. < pageName>_link.js (mrhtwo_det_link.js in the sample code)
2. < pageName>_glink.js (mrhtwo_det_glink.js in the sample code)
3. <pageName>_ginc.jsp (mrhtwo_det_ginc.jsp in the sample code)
From the link.js file, remove the line corresponding to the column that has to be removed from the
table. In this example, “Debit” is the last column of the multirec table.
Highlighted code snippet needs to be removed in the example (refer to line no. 76 of
mrhtwo_det_link.js in the attached sample code) –
Page 19 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
with(document)
{
write('<tr ' + locStyle + 'class="ctext">');
write('<td align="left">'+jsUtil.encodeChar(arrObj[2]) + ' </td>'); //code for column1
write('<td align="left">'+jsUtil.encodeChar(arrObj[3]) + ' </td>'); //code for column2
write('<td align="left">'+jsUtil.encodeChar(arrObj[4]) + ' </td>'); //code for column3
write('<td align="left">'+jsUtil.encodeChar(arrObj[5]) + ' </td>'); //code for column4
write('<td align="left">'+jsUtil.encodeChar(arrObj[6]) + ' </td>'); //code for column5
write('<td class="leftscroll"> </td>');
write('</tr>');
}
2. < pageName>_glink.js
The column header corresponding to the removed column also needs to be deleted.
Highlighted code has corresponding to “Debit” column header has to be removed from the glink.jsp in
the example (refer to line no. 61 of mrhtwo_det_glink.js in the attached sample code) –
write('<tr>');
write('<td class="searcheader1a" type="text">' + jspResArr.get("FLT700020") + '</td>');
write('<td class="searcheader" type="text">' + jspResArr.get("FLT000020") + '</td>');
write('<td class="searcheader" type="text">' + jspResArr.get("FLT000013") + '</td>');
write('<td class="searcheader" type="text">' + jspResArr.get("FLT000014") + '</td>');
write('<td class="searcheader" type="checkbox">' + jspResArr.get("FLT000015") + '</td>');
write('</tr>');
3. <pageName>_ginc.jsp
Finally, remove the highlighted code from the ginc.jsp file (refer to line no. 29 of mrhtwo_det_ginc.jsp
in the attached sample code) –
String inputFields[][] = {
{"txtfldname13","text",""},
{"txtfldname25","text",""},
{"txtfldname28","text",""},
{"txtfldname310","text",""},
{"name313","text",""},
Page 20 of 22
FCIDE (Core) 2.5.0 Multirec Quick Reference Guide Infosys Limited
With these changes, the “Debit” column will be removed for the table but will be available for input and
for other multirec related frontend and backend functionalities. Below is the screenshot of the modified
multirec -
Page 21 of 22