× Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…

Version field NOINPUT

  • anpal
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 4 months ago - 10 years 4 months ago #17011 by anpal
Version field NOINPUT was created by anpal
Hi,
I have a VCH routine that makes a field (PRI.CUS.CARD.ID) as NOINPUT by using T(fld pos)<3> = "NOINPUT".
When the version is opened, I have a dropdown field and If I select a specific value ('P' : image below), I want to make PRI.CUS.CARD.ID as inputtable again.
I do T(fld pos)<3>= "" but the field is not shown on the screen as inputtable.
I also tried CALL REBUILD.SCREEN but it didn't work.
Note that I have T24 Desktop.

Also I noted this: I have many tabs (associated versions), and If a change tabs and come back to the first tab the field is shown now as inputtable.





Your advice please
Thanks
Attachments:
Last edit: 10 years 4 months ago by anpal.

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

  • armin
  • armin's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • “So long - and thanks for all the fish!”
More
10 years 4 months ago #17012 by armin
Replied by armin on topic Version field NOINPUT
CALL REBUILD.SCREEN should do the job, works fine for me since years with desktop.
Are you sure CARD.TYPE has the actual value ? Do you move COMI to this field ??

using R11 on Unix
The following user(s) said Thank You: anpal

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

  • anpal
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 4 months ago #17013 by anpal
Replied by anpal on topic Version field NOINPUT
I do this ...

1) On Field "CARD.TYPE" I have this VVR routine.

2) In routine ....
CARD.TYPE (variable) = COMI (Which now has value "P" as I selected from Version Input)

T (LT.CRD.ISS.PRI.CUS.CARD.ID)<3> = ""
CALL REBUILD.SCREEN

Rest of the flow that defaults some fields (R.NEW(...) = ...)

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

  • anpal
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 4 months ago - 10 years 4 months ago #17024 by anpal
Replied by anpal on topic Version field NOINPUT
1) - Version is opened with the @ID “121212-0003”
- The first 2 fields are defaulted and made “NONINPUT” from VCH routine (Check record routine)



2) - A value is selected from dropdown field “Card Type”
- VVR HOT.FIELD routine that is attached on “Card Type” field is run that makes another field - “Primary Card Customer ID” as Input –
T(field pos)<3> =””, and then REBUILD.SCREEN is called.
The result is shown below (Field “Primary Card Customer ID”) remains as NOINPUT



I have noticed the following:
1. If I go to any other tab and come back to “Main”, the field “Primary Card Customer ID” is now shown as Inputtable (see image below).
2. If I press Commit (knowing that the record will not commit due to other validations), again the field “Primary Card Customer ID” is now
shown as Inputtable (see image below).



Any ideas on how to solve this problem?
Thanks
Attachments:
Last edit: 10 years 4 months ago by anpal.

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

Time to create page: 0.053 seconds