× 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...

change the status of LOCAL REF field to NOINPUT

  • Noureddine
  • Topic Author
  • Visitor
  • Visitor
8 years 6 months ago #20814 by Noureddine
Hi,

Can someone help us in the following case:
I want to change the type of a local ref field at validation routine level from INPUT TO NOINPUT
noting that if you want to change the type of a system field you write the following code:
T(AA.ARR.ACT.REASON)<3> = 'NOINPUT';
where REASON is the field we want to change its status and is the prefix of the application

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

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
8 years 6 months ago #20820 by jpb
For LocalField the syntax is

T.LOCREF<position.of.field,7> = 'NOINPUT'

see also I_RULES :
* T.LOCREF = FIELD 1 =
* Value Field 1 = like F(x) = Description =
* from 'F.LOCAL.TABLE' field SHORT.NAME (Description
* may start with 'XX.', 'XX<', 'XX-', 'XX>' to
* define sub value fields)
* Value Field 2 = like N(x) = Numbers =
* from 'F.LOCAL.TABLE' field MAXIMUM.CHAR and
* MINIMUM.CHAR
* Value Field 3 = like T(x) = Type =
* from 'F.LOCAL.TABLE' field CHAR.TYPE
* When Vetting Table:
* Value Field 4 = 'Y'
* Value Field 5 = ID of LOCAL.REF-file
* When no Vetting Table:
* Value Field 4 = APPLICATION =
* from 'F.LOCAL.TABLE' field APPLICATION.VET (Input
* must be an ID of APPLICATION)
* Value Field 5 = No. of Field for Enrichment =
* from 'F.LOCAL.TABLE' field APPL.ENRICHM.FIELD
* Value Field 6 = 'Y' for autom. defaults, "" otherwise
* Value Field 7 = 'NOCHANGE' for NOCHANGE definition,
* = 'NOINPUT' for NOINPUT definition, "" otherwise
* Field 2 = next sequence = like field 1
* etc.

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

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
8 years 6 months ago #20822 by VK
Hi
would we need to update R.VERSION as well to add new NOINPUT field there?

Cheers
VK

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

  • manoj@1993
  • manoj@1993's Avatar
  • Offline
  • New Member
  • New Member
  • t24 CONSULTANT
More
7 years 3 months ago #21696 by manoj@1993
Replied by manoj@1993 on topic change the status of LOCAL REF field to NOINPUT
Hi Jpb,

I want to make a local field to no expand property, after assigning the value using chk rec rtn.

Kindly suggest me an optimal way to achieve it .

Thanks,
Manoj J

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

Time to create page: 0.028 seconds