× 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 change enrichment in a local field in associated version

  • alexp2005
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 5 months ago #22548 by alexp2005
Hi All,

I have a main version that contains some associated versions. In one of them, I need to change the enrichment field. So, basically it is what I have:

1) Main version containing a field A that I make it as a hot field. It will trigger a subroutine that will populate a list of documents in an associated version.

2) Associated version that contains a local field (multi-value field) that will display the list of documents populated by the rourtine triggered from the main version. So, as example I will have as result:

Document.1 XXXXXX Default Enrichment text XXXXXX
Document.2 YYYYYYY Default Enrichment text YYYYYY
Document.3 ZZZZZZZ Default Enrichment text ZZZZZZZ
.
.
.
Document.N LLLLLLL Default Enrichment text LLLLLL

So, I need to change from the routine the enrichment for the list of documents that will be generated. In this case the enrichment will be different from the default one.

Could you please guide me on how to do this? If you have any sample it would be great,

** We aee using R16.

Thanks in advance,
Alex

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

  • subhashmurali
  • Visitor
  • Visitor
5 years 5 months ago #22568 by subhashmurali
Hi Alex

Please try below
AF = <FIELD NO>
AV = <MULTI-VALUE NO>
AS = <SUB-VALUE NO>

FIELD.NUMBER = AF:'.':AV:'.':AS ; FIELD.ENRICHMENT = <ENRICHMENT TEXT>
CALL EB.SET.FIELD.ENRICHMENT(FIELD.NUMBER, FIELD.ENRICHMENT)

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

Time to create page: 0.044 seconds