- Forum
- T24 Technical Discussions
- T24 Development & Customization
- How to display account name along with category in enrichment of version
×
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...
How to display account name along with category in enrichment of version
- sailen
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 127
- Thank you received: 1
1 year 3 months ago #23952
by sailen
How to display account name along with category in enrichment of version was created by sailen
Hi,
I want to display category name along with account name as enrichment in the version. I had written a routine to display the enrichment. It shows correctly as per my requirement while validating the records. However, once all the errors in the validation are cleared, the default account name is shown automatically rather than the account name along with category name. But I want to display the account name along with category name while committing and in see mode as well.
Please suggest me how can I achieve my requirement.
Thanks & Regards,
I want to display category name along with account name as enrichment in the version. I had written a routine to display the enrichment. It shows correctly as per my requirement while validating the records. However, once all the errors in the validation are cleared, the default account name is shown automatically rather than the account name along with category name. But I want to display the account name along with category name while committing and in see mode as well.
Please suggest me how can I achieve my requirement.
Thanks & Regards,
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
Less
More
- Posts: 1116
- Thank you received: 150
1 year 3 months ago #23953
by VK
Cheers
VK
Replied by VK on topic How to display account name along with category in enrichment of version
Hi
what's in your routine and where have you attached it?
what's in your routine and where have you attached it?
Cheers
VK
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
Less
More
- Posts: 247
- Thank you received: 20
1 year 3 months ago #23959
by silvergem
Replied by silvergem on topic How to display account name along with category in enrichment of version
try to use COMI.ENRI when you are using COMI. might work
Please Log in or Create an account to join the conversation.
- sailen
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 127
- Thank you received: 1
1 year 3 months ago #23961
by sailen
Replied by sailen on topic How to display account name along with category in enrichment of version
I am using R18 browser based version and routine is as follows.
$INSERT I_EQUATE
$INSERT I_COMMON
$INSERT I_TEC.COMMON
$INSERT I_F.ACCOUNT
$INSERT I_F.CATEGORY
$INSERT I_GTS.COMMON
FN.AC = 'F.ACCOUNT'
F.AC = ''
CALL OPF(FN.AC, F.AC)
FN.CAT = 'F.CATEGORY'
F.CAT = ''
CALL OPF(FN.CAT, F.CAT)
Y.ACNO = COMI
CALL F.READ(FN.AC, Y.ACNO, R.AC.LIST, F.AC, Y.ERR)
Y.CATEGORY = R.AC.LIST<AC.CATEGORY>
Y.NAME = R.AC.LIST<AC.ACCOUNT.TITLE.1>
CALL F.READ(FN.CAT, Y.CATEGORY, R.CAT.LIST, F.CAT, Y.ERR1)
Y.CAT.DESC = R.CAT.LIST<EB.CAT.DESCRIPTION>
Y.ENRI = Y.NAME:'(':Y.CAT.DESC:')'
IF AF = '2' THEN
IF COMI THEN
OFS$ENRI<2> = Y.ENRI
END
END ELSE
IF AF = '11' THEN
IF COMI THEN
OFS$ENRI<11> = Y.ENRI
END
END
*LOCATE AF IN T.FIELDNO<1> SETTING Y.POS THEN
*OFS$ENRI<Y.POS> = Y.NAME:'(':Y.CAT.DESC:')'
END
END
I have attached this routine as validation routine.
Thanks in advance,
$INSERT I_EQUATE
$INSERT I_COMMON
$INSERT I_TEC.COMMON
$INSERT I_F.ACCOUNT
$INSERT I_F.CATEGORY
$INSERT I_GTS.COMMON
FN.AC = 'F.ACCOUNT'
F.AC = ''
CALL OPF(FN.AC, F.AC)
FN.CAT = 'F.CATEGORY'
F.CAT = ''
CALL OPF(FN.CAT, F.CAT)
Y.ACNO = COMI
CALL F.READ(FN.AC, Y.ACNO, R.AC.LIST, F.AC, Y.ERR)
Y.CATEGORY = R.AC.LIST<AC.CATEGORY>
Y.NAME = R.AC.LIST<AC.ACCOUNT.TITLE.1>
CALL F.READ(FN.CAT, Y.CATEGORY, R.CAT.LIST, F.CAT, Y.ERR1)
Y.CAT.DESC = R.CAT.LIST<EB.CAT.DESCRIPTION>
Y.ENRI = Y.NAME:'(':Y.CAT.DESC:')'
IF AF = '2' THEN
IF COMI THEN
OFS$ENRI<2> = Y.ENRI
END
END ELSE
IF AF = '11' THEN
IF COMI THEN
OFS$ENRI<11> = Y.ENRI
END
END
*LOCATE AF IN T.FIELDNO<1> SETTING Y.POS THEN
*OFS$ENRI<Y.POS> = Y.NAME:'(':Y.CAT.DESC:')'
END
END
I have attached this routine as validation routine.
Thanks in advance,
Please Log in or Create an account to join the conversation.
- sailen
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 127
- Thank you received: 1
1 year 3 months ago #23962
by sailen
Replied by sailen on topic How to display account name along with category in enrichment of version
COMI.ENRI didn't work.
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
Less
More
- Posts: 247
- Thank you received: 20
1 year 3 months ago - 1 year 3 months ago #23963
by silvergem
Replied by silvergem on topic How to display account name along with category in enrichment of version
this is attached on validation field or input validation?
im assuming this is on input validation since it has conditional statement of AF
im assuming this is on input validation since it has conditional statement of AF
Last edit: 1 year 3 months ago by silvergem.
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
Less
More
- Posts: 247
- Thank you received: 20
1 year 3 months ago - 1 year 3 months ago #23964
by silvergem
Replied by silvergem on topic How to display account name along with category in enrichment of version
COMI is best used on validation routine. since you will attached this on field validation with attribute hot field
R.NEW<field name> is used on input routine with attribute hot validate
Ref: tcsp.temenos.com/HowTo/Enrichment.aspx
R.NEW<field name> is used on input routine with attribute hot validate
Ref: tcsp.temenos.com/HowTo/Enrichment.aspx
Last edit: 1 year 3 months ago by silvergem.
Please Log in or Create an account to join the conversation.
- sailen
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 127
- Thank you received: 1
1 year 3 months ago #23967
by sailen
Replied by sailen on topic How to display account name along with category in enrichment of version
Hi,
I have attached the screenshots where an enrichment is shown as per my requirement when there is a validation error (Validation_1.jpg). However, when there is no any validation error, default enrichment is shown (Validation_2.jpg).
I need to show the enrichment as in Validation_1.jpg forever and in see mode as well.
Thanks in advance,
I have attached the screenshots where an enrichment is shown as per my requirement when there is a validation error (Validation_1.jpg). However, when there is no any validation error, default enrichment is shown (Validation_2.jpg).
I need to show the enrichment as in Validation_1.jpg forever and in see mode as well.
Thanks in advance,
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
Less
More
- Posts: 1116
- Thank you received: 150
1 year 3 months ago #23968
by VK
Cheers
VK
Replied by VK on topic How to display account name along with category in enrichment of version
Hi
if there wasn't validation error, the core redraws the default enrichment.
Also: in "See mode" no routines are triggered (maybe only ID.RTN)...
So you can't have it in S function.
You can try to create an I-descriptor (that will hold all that is necessary to show) and then add it to your VERSION to appropriate position (suppressing the showing of default enrichment).
if there wasn't validation error, the core redraws the default enrichment.
Also: in "See mode" no routines are triggered (maybe only ID.RTN)...
So you can't have it in S function.
You can try to create an I-descriptor (that will hold all that is necessary to show) and then add it to your VERSION to appropriate position (suppressing the showing of default enrichment).
Cheers
VK
Please Log in or Create an account to join the conversation.
- sailen
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 127
- Thank you received: 1
1 year 3 months ago #23972
by sailen
Replied by sailen on topic How to display account name along with category in enrichment of version
Hi,
Can you please provide an example on this?
Thanks in advance,
Can you please provide an example on this?
Thanks in advance,
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
Less
More
- Posts: 1116
- Thank you received: 150
1 year 3 months ago - 1 year 3 months ago #23974
by VK
Cheers
VK
Replied by VK on topic How to display account name along with category in enrichment of version
Hi
I don't have ready examples but I believe any T24 developer can do that.
I don't have ready examples but I believe any T24 developer can do that.
Cheers
VK
Last edit: 1 year 3 months ago by VK.
Please Log in or Create an account to join the conversation.
- Forum
- T24 Technical Discussions
- T24 Development & Customization
- How to display account name along with category in enrichment of version
Time to create page: 0.152 seconds