×
Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…
Field Enrichment
- vijaygubbi
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 23
- Thank you received: 1
12 years 1 month ago #14053
by vijaygubbi
Field Enrichment was created by vijaygubbi
Hi All,
Am facing a issue that, need to add the field enrichment through the template programming..
instead of the core field the enrichment has to ammend to the local field through routine.
When i input the value to the particular field the routine has to trigger for the field and have to ammend the enrichment for the particular field..
For the above issue i used the I_GTS.COMMON "OFS$ENRI<AF.AV>="MY TEXT"
But in template programing it wont support the input routine..
Is any one sort out this issue.
Am facing a issue that, need to add the field enrichment through the template programming..
instead of the core field the enrichment has to ammend to the local field through routine.
When i input the value to the particular field the routine has to trigger for the field and have to ammend the enrichment for the particular field..
For the above issue i used the I_GTS.COMMON "OFS$ENRI<AF.AV>="MY TEXT"
But in template programing it wont support the input routine..
Is any one sort out this issue.
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
Less
More
- Posts: 2859
- Thank you received: 650
12 years 1 month ago #14060
by jpb
Replied by jpb on topic Field Enrichment
Try updating T.ENRI at the right position (from I_COMMON) :
LOCATE AF:".":AV IN T.FIELDNO<1> SETTING ENRIPOS THEN
T.ENRI<ENRIPOS> = "My own enrichment"
END
LOCATE AF:".":AV IN T.FIELDNO<1> SETTING ENRIPOS THEN
T.ENRI<ENRIPOS> = "My own enrichment"
END
Please Log in or Create an account to join the conversation.
- vijaygubbi
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 23
- Thank you received: 1
12 years 1 month ago #14062
by vijaygubbi
Replied by vijaygubbi on topic Field Enrichment
BUT am writing this routine in input routine...
$INCLUDE ../T24_BP I_GTS.COMMON
GOSUB PROCESS
RETURN
PROCESS:
DEBUG
IF MESSAGE NE 'VAL' THEN
Y.SHORT=R.NEW(EB.CUS.SHORT.NAME)
IF Y.SHORT NE '' THEN
AF=EB.CUS.SHORT.NAME
OFS$ENRI<AF>="KANNADA"
END
END
CALL REBUILD.SCREEN
RETURN
END
Its not working properly...
$INCLUDE ../T24_BP I_GTS.COMMON
GOSUB PROCESS
RETURN
PROCESS:
DEBUG
IF MESSAGE NE 'VAL' THEN
Y.SHORT=R.NEW(EB.CUS.SHORT.NAME)
IF Y.SHORT NE '' THEN
AF=EB.CUS.SHORT.NAME
OFS$ENRI<AF>="KANNADA"
END
END
CALL REBUILD.SCREEN
RETURN
END
Its not working properly...
Please Log in or Create an account to join the conversation.
Time to create page: 0.043 seconds