Enrichment how to
- monirku
- Topic Author
- Offline
- New Member
-
- Posts: 16
- Thank you received: 0
I want to bring account name with branch name as you can see from attachment image.Any can help me regarding the matter.
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
Please Log in or Create an account to join the conversation.
- monirku
- Topic Author
- Offline
- New Member
-
- Posts: 16
- Thank you received: 0
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
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
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)
Please Log in or Create an account to join the conversation.
- monirku
- Topic Author
- Offline
- New Member
-
- Posts: 16
- Thank you received: 0
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
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
Please Log in or Create an account to join the conversation.
- baskarjay
-
- Offline
- Senior Member
-
- Posts: 51
- Thank you received: 0
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
Please Log in or Create an account to join the conversation.
- baskarjay
-
- Offline
- Senior Member
-
- Posts: 51
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- VK
-
- Offline
- Platinum Member
-
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
- Posts: 1209
- Thank you received: 158
If you have a solution, please post it here.
Cheers
VK
Please Log in or Create an account to join the conversation.
- giangvt1
- Offline
- New Member
-
- Posts: 4
- Thank you received: 1
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.
Please Log in or Create an account to join the conversation.
- giangvt1
- Offline
- New Member
-
- Posts: 4
- Thank you received: 1
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,
Please Log in or Create an account to join the conversation.
- VK
-
- Offline
- Platinum Member
-
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
- Posts: 1209
- Thank you received: 158
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
Please Log in or Create an account to join the conversation.
- giangvt1
- Offline
- New Member
-
- Posts: 4
- Thank you received: 1
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,
Please Log in or Create an account to join the conversation.
- VK
-
- Offline
- Platinum Member
-
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
- Posts: 1209
- Thank you received: 158
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
Please Log in or Create an account to join the conversation.