-
Forum
-
T24 Technical Discussions
-
T24 Development & Customization
-
Change enrichment for a mult value local field in associated version
Change enrichment for a mult value local field in associated version
-
alexp2005
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
5 years 5 months ago #22549
by alexp2005
Hi All,
I have a main version with some associated versions linked to it. In one specific associated version, I have a local value (multivalue field) containin a list of documents. This list is populated by a subroutine linked to a field A in the main version. So, at the end I have the following:
1) Main version containing a field A (I defined field A as a hot field) that will trigger a subroutine to populate the list of documents in the associated version.
2) Associated version containing a local field (multivalue field) that contains a list of documents populated from main version (subroutine). Each document contains a default enrichment as below:
Document.1..... XXXXXX Default Enrichment XXXXXX
Document.2..... YYYYYY Default Enrichment YYYYYY
Document.3...... ZZZZZZ Default Enrichment ZZZZZZ
...
Document.N ..... NNNNNN Default Enrichment NNNNNN
What I need to do is to redefine the Default Enrichment text from the main version.
I am using R16.
Can you help me on how to resolve it? Any example yould be greatly appreciated.
Thanks in advance,
Alex
Please Log in or Create an account to join the conversation.
-
silvergem
-
-
Offline
-
Elite Member
-
-
TAFC|R12/R13, TAFJ|R20
Less
More
-
Posts: 270
-
Thank you received: 21
-
-
5 years 5 months ago #22554
by silvergem
You can use the T.ENRI or COMI.ENRI or OFS$ENRI. sample code below
LOCATE YENRI.FLD IN T.FIELDNO<1> SETTING YPOS THEN
T.ENRI<YPOS> = V.ENRI
OFS$ENRI<TFS.NARRATIVE,AV,AS> = V.ENRI
COMI.ENRI = ACC.SHORT.TITLE
END
Please Log in or Create an account to join the conversation.
-
Forum
-
T24 Technical Discussions
-
T24 Development & Customization
-
Change enrichment for a mult value local field in associated version
Time to create page: 0.025 seconds