on 06-24-2007 2:33 AM
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..
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hello Sharadha,
I did what you said and it worked ,thank you so much ... Full points to you.
Thankyou again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.