Forum
Keyword
× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

Enrichment how to

  • monirku
  • monirku's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0

monirku created the topic: Enrichment how to

When in T-24 we input an account number at the time of funds transfer or teller txn,name of that branch appear by the right side in the browser.
I want to bring account name with branch name as you can see from attachment image.Any can help me regarding the matter.
#18607
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2838
  • Karma: 510
  • Thank you received: 639

jpb replied the topic: Enrichment how to

You can try to replace the standard enrichment T.ENRI(pos) / OFS$ENRI<AF,AV,AS> for the fields in a validation routine.

Some people feel the rain - others just get wet (Bob Marley)
#18624
The following user(s) said Thank You: monirku

Please Log in or Create an account to join the conversation.

  • monirku
  • monirku's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0

monirku replied the topic: Enrichment how to

Thanks JPB
My routine is like this. Please tell me where to update
SUBROUTINE NBR.NAME
$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_F.FUNDS.TRANSFER
$INSERT I_F.ACCOUNT
$INSERT I_F.COMPANY

FN.ACC="F.ACCOUNT"
FN.COM="F.COMPANY"
F.ACC=''
F.COM=''

REC.ACC=''
REC.COM=''
COM.CODE=''

CALL OPF(FN.ACC,F.ACC)
Y.AC.ID = COMI



CALL F.READ(FN.ACC,Y.AC.ID,REC.ACC,F.ACC,ERR.ACC)

COM.CODE = REC.ACC<196>
CALL F.READ(FN.COM,COM.CODE,REC.COM,F.COM,ERR.COM)
* ETEXT = REC.COM<EB.COM.COMPANY.NAME>

* T.ENRI = REC.COM<EB.COM.COMPANY.NAME>
* REFRESH.FIELD
FIELD.ENRI = REC.COM<EB.COM.COMPANY.NAME>
*COMI.ENRI = REC.COM<EB.COM.COMPANY.NAME>

RETURN
#18633

Please Log in or Create an account to join the conversation.

  • Posts: 2838
  • Karma: 510
  • Thank you received: 639

jpb replied the topic: Enrichment how to

You should update T.ENRI at the position of your account field.
This is for desktop/classic, as we don't use browser I don't know if it has to be chaned to using OFS$ENRI (and the setting for hot validate etc.)
SUBROUTINE NBR.NAME
 $INSERT I_COMMON
 $INSERT I_EQUATE
 $INSERT I_F.FUNDS.TRANSFER
 $INSERT I_F.ACCOUNT
 $INSERT I_F.COMPANY

 FN.ACC="F.ACCOUNT"
 FN.COM="F.COMPANY"
 F.ACC=''
 F.COM=''

 REC.ACC=''
 REC.COM=''
 COM.CODE=''

 CALL OPF(FN.ACC,F.ACC)
 Y.AC.ID = COMI
 CALL F.READ(FN.ACC,Y.AC.ID,REC.ACC,F.ACC,ERR.ACC)

 COM.CODE = REC.ACC<Account_WhatField_196>
 CALL F.READ(FN.COM,COM.CODE,REC.COM,F.COM,ERR.COM)

 LOCATE AF IN T.FIELDNO<1> SETTING ENRIPOS THEN
     T.ENRI<ENRIPOS> := ' - ' : REC.COM<EB.COM.COMPANY.NAME>
 END
 
 RETURN 
END

Instead of LOCATE ... to update the enrichment you might use
NEW.ENRI = ...
CALL REFRESH.FIELD(AF,NEW.ENRI)

Some people feel the rain - others just get wet (Bob Marley)
#18637
The following user(s) said Thank You: monirku

Please Log in or Create an account to join the conversation.

  • monirku
  • monirku's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0

monirku replied the topic: Enrichment how to

Dear JPB

Thanks for your coordination. I have tried both way. ie
LOCATE AF IN T.FIELDNO<1> SETTING ENRIPOS THEN
T.ENRI<ENRIPOS> := ' - ' : REC.COM<EB.COM.COMPANY.NAME>
END

and NEW.ENRI = REC.COM<EB.COM.COMPANY.NAME>
CALL REFRESH.FIELD(AF,NEW.ENRI)

but when I am giving branch code it is showing only name as shown below. But I need name with branch_name.
Debit Account.......... 0200000177735 IFFAT JERIN

Awaiting for your valuable response

Regards
Monir
#18638

Please Log in or Create an account to join the conversation.

  • Posts: 2838
  • Karma: 510
  • Thank you received: 639

jpb replied the topic: Enrichment how to

Try adding CALL REBUILD.SCREEN as last statement

Some people feel the rain - others just get wet (Bob Marley)
#18639
The following user(s) said Thank You: monirku

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Karma: -1
  • Thank you received: 0

baskarjay replied the topic: Enrichment Not working in Browser

Dear All

I used OFS$ENRI<FIELD.NO, VALUE.NO, SUBVALUE.NO> = MESSAGE to display enrichment to the field

This works only when validating,, Enrichment not shown at the time of see mode..
I need to show enrichment constantly

Plz Let me know if you did this before....

BR,
Baskar Jay
#21668

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Karma: -1
  • Thank you received: 0

baskarjay replied the topic: Enrichment Not working in Browser

got solution for this...
#21673

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • R13|TAFC|jBASE|windoze
  • Posts: 543
  • Karma: 9
  • Thank you received: 78

VK replied the topic: Enrichment Not working in Browser

Hi
If you have a solution, please post it here.

Cheers
VK
#21676

Please Log in or Create an account to join the conversation.

  • Posts: 4
  • Thank you received: 1

giangvt1 replied the topic: Enrichment Not working in Browser

baskarjay wrote: got solution for this...


Dear Baskarjay,

I have the same issue like yours, i am glad when i see someone get it done. Could you share your solution for me and for those who have the same problem?

Your sharing will help me so much and i will appreciated that.

Best regards,

Thank you.
#21709

Please Log in or Create an account to join the conversation.

  • Posts: 4
  • Thank you received: 1

giangvt1 replied the topic: Enrichment Not working in Browser

giangvt1 wrote:

baskarjay wrote: got solution for this...


Dear Baskarjay,

I have the same issue like yours, i am glad when i see someone get it done. Could you share your solution for me and for those who have the same problem?

Your sharing will help me so much and i will appreciated that.

Best regards,

Thank you.


Hi all, hi JBP,

Is there anyone who did this issue before? please guide me how to solve it.

Thank in advance!

BR,
#21710

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • R13|TAFC|jBASE|windoze
  • Posts: 543
  • Karma: 9
  • Thank you received: 78

VK replied the topic: Enrichment Not working in Browser

Hi
there was a proposition earlier in this thread to use:
CALL REFRESH.FIELD(AF,NEW.ENRI)

But I'd rather try:
CALL REFRESH.FIELD(AF : '.' : AV: '.' : AS, NEW.ENRI)

... so you specify full field number like 35.1.2 - even if it's not an MV or SV field.

Cheers
VK
#21711
The following user(s) said Thank You: giangvt1

Please Log in or Create an account to join the conversation.

  • Posts: 4
  • Thank you received: 1

giangvt1 replied the topic: Enrichment Not working in Browser

Hi VK,

Thank you for your prompt reply,

Actually, my issue is about how to display the enrichment on the right side of specific field when user open a record in see mode (the same question with Mr. Baskarjay above). I tried to use OFS$ENRI<...> = 'Message' in routine but it's just show when user click on Validate mode not in the See mode (please take a look at the image below to see).

enrichment requirehttps://drive.google.com/open?id=1pYQ8G9YZgBSZ8sb5RGiV6JyjcU-K9xO1

I am sorry if i post this in the wrong topic, i am a beginner with T24 so please help me to figure it out.

Thank in advance

Best regards,
#21713

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • R13|TAFC|jBASE|windoze
  • Posts: 543
  • Karma: 9
  • Thank you received: 78

VK replied the topic: Enrichment Not working in Browser

Hi
Validation routine isn't triggered on "See" mode. I don't think anything else does.

I afraid the only way would be to create I-DESC and put it to VERSION design.

Cheers
VK
#21716
The following user(s) said Thank You: giangvt1

Please Log in or Create an account to join the conversation.

Time to create page: 0.175 seconds