cancel
Showing results for 
Search instead for 
Did you mean: 

Display Bank Account Type on Banks Overview

Former Member
0 Kudos

Hello,

I am on EP7.0 ERP05 NW04s and want to add a field Bank Account Type on the ESS Bank Overview Page under Account Number ...I tried the follwoing code in the Bizcard overview page -- wdDoModifyView method

String bizcardField1 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField1");

String bizcardField2 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField2");

String bizcardField3 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField3");

String bizcardField4 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField4");

String bizcardField5 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField5");

//Code to add field Bank Account Type on the Overview Page

fieldInfo = new BizcardFieldInfo[] { new BizcardFieldInfo(bizcardField1, "Emftx"),

new BizcardFieldInfo(bizcardField2, "Banka"),

new BizcardFieldInfo(bizcardField3, "Bankn"),

new BizcardFieldInfo(bizcardField4, "Bkont")

When I actually run this code I get the field Account Number type but with a number as 01 or 02 ,this is because in the backend it is stored like that, ...what;s the way to show Checking or Savings rather than numbers...

Any help would be highly appreciated..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

contd.

Sharadha,

Am I really missing something after making changes in the Overview Helper.java file? ....because I think its not recognizing my changes.

Looking forward to your reply.

Sharadha1
Active Contributor
0 Kudos

Hi Subhash,

I think you have to write this piece of code in the method 'createoverview' of Fcpersinfo component controller..This is the method which is called from the bizcard of ess~bank applicaiton.. isn't it?? sorry i do not have the source code with me as of now. I am just trying to remember the method calls..Am i correct?

Regards,

Sharadha

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello Sharadha,

I did what you said and it worked ,thank you so much ... Full points to you.

Thankyou again

Former Member
0 Kudos

Hi,

I tried to debug but essper does not have any Application(entry point) associated with it and when I try to debug essbank application it does not take the control over to the createOverview() method

Sharadha1
Active Contributor
0 Kudos

Hi subhash,

Do the following

1. Create a debug configuration for the ess~bank

2. Add the ess~per to the 'source' of tje debug application, you can see a 'Source' tab when you create a new debug configuration.

3. keep a break point in the per application.

4. Now debug the bank application.

regards,

sharadha

Former Member
0 Kudos

Sharadha,

Actually I modified the Overview Helper.java file in ess~per application at the time when the Text is set for the TextView like :

if(fieldText.equalsIgnoreCase("01"))

textView.setText("Checking");

else if(fieldText.equalsIgnoreCase("02"))

textView.setText("Savings");

else

textView.setText(fieldText);

but still it shows up as 01 or 02 on the page...

Please help.

Sharadha1
Active Contributor
0 Kudos

Hi Subhash,

I really do not why is this piece of code not working??

Did u debug,,is it executing the lines??

Regards,

Sharadha

Former Member
0 Kudos

Hello Sharadha,

This field is not displayed in the standard. And I have already tried adding the check condition you are talking about but still it does'ent display it properly.....

Looking forward to your reply.

Sharadha1
Active Contributor
0 Kudos

Hi Subhash,

You have to first get the type ( as numbers '01' and '02' ) from the backend.

create new strings like

If atype = '01'

atype = 'checkings'

else

atype = 'savings'.

Add these things to the bizcard now. This is the only way i can think of.

Is this field not in standard??i remember seeing this in standard??

Regards,

sharadha