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

Identify mulitvalue fields from f.version xml files

  • hiraahul
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 1 day ago #24459 by hiraahul
Hi,I'm new to this forum and I need help identifying multivalue and sub multivalue fields. I know how to do this from the front end, but it's a tedious task to go through each screen and tab. I noticed that f.version XML files are available for each screen. Can someone please advise me on how to identify multivalue and sub multivalue fields, along with their associated sub-fields, from these XML files?

Multi Value Associated Fields: Associated groups of multi-values are defined by setting the third character of the 'F' table to '' for the last associated field.

 

Thanks
Attachments:

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
2 months 1 day ago #24460 by VK
Hi
MV and SV fields are defined not on VERSION level but on APPLICATION one. You can check STANDARD.SELECTION record for your application for that - or application dictionary.

About associations - it's defined in the TEMPLATE source code. You can check VERSION fields VAL.ASSOC and SUB.ASSOC but data there might be obsolete (if the source code changed but VERSION record wasn't committed after that).

Cheers
VK

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

  • hiraahul
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 4 weeks ago #24461 by hiraahul
Thanks VK. It really help.

Also, is there anyway to identify field is radio button or dropdown/combobox. If yes, then where I can find along with values.

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
1 month 4 weeks ago - 1 month 4 weeks ago #24462 by VK
Hi
Drop-down - when there's a table to choose values from. See STANDARD.SELECTION. Example (R23 / CUSTOMER):
1.10 SYS. RELATION.CODE
...
14.10. 1 SYS.REL.FILE RELATION            Specifies the types of relation th|

USR.REL.FILE acts the same way for user fields (local ones etc)

Or - it can be set up in VERSION (DROP.DOWN field with linked ENQUIRY).

Radio buttons: again SS for CUSTOMER:
 1.49 SYS. CLS.CPARTY
...
4.49. 1 S IN2A&YES_NO

 

Cheers
VK
Last edit: 1 month 4 weeks ago by VK.

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

  • hiraahul
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 3 weeks ago #24464 by hiraahul
Thank you VK for your quick reply.

I'm sorry to bother you, but I'm new to T24 and still learning.

I am checking two fields from STANDARD.SELECTION, but struggling to identify whether they are dropdowns or radio buttons.

=========================================
Sys Field Name.62 GENDER
Sys Type.62 D
Sys Field No.62.1 63
Sys Val Prog.62.1 IN2A
Sys Display Fmt.62 35L
Sys Alt Index.62 N
Sys Single Mult.62 S
Sys Lang Field.62 N
Sys Generated.62 Y

==============================================
Sys Field Name.186 ADDRESS.TYPE
Sys Type.186 D
Sys Field No.186.1 165
Sys Val Prog.186.1 IN2A
Sys Display Fmt.186 35L
Sys Alt Index.186 N
Sys Single Mult.186 S
Sys Lang Field.186 N
Sys Generated.186 Y

+==========================================

Also, I want to know is there any link between VERSION and STANDARD.SELECTION.

CUSTOMER,CORP - This VERSION file is for corporate customers. How to identify the corresponding value to check in STANDARD.SELECTION.

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
1 month 3 weeks ago - 1 month 3 weeks ago #24465 by VK
Hi
> is there any link between VERSION and STANDARD.SELECTION

Not exactly "link". Consider SS as a dictionary and VERSION as user screen definition. When VERSION is created/updated, some fields are derived from SS.

What's your T24 release?
 

Cheers
VK
Last edit: 1 month 3 weeks ago by VK.

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

  • hiraahul
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 3 weeks ago #24466 by hiraahul
its R22.

Any idea on the below point?
> struggling to identify whether they are dropdowns or radio buttons.

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
1 month 3 weeks ago #24467 by VK
Hi
ADDRESS.TYPE: I see it in R19 but it's NOINPUT. In R23 it doesn't present at all.

GENDER is a radio-button:
   1.62 SYS. GENDER
   2.62 SYS.TYPE....... D
   3.62. 1 SYS.FIELD.NO 63
   4.62. 1 S IN2A&FEMALE_MALE&NOCOPY&&&&&&&&FEMALE_MALE

 

Cheers
VK

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

  • hiraahul
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 3 weeks ago #24468 by hiraahul
But how do you identify its Radio button? Which tag value shows its radio button or dropdown?

Thanks

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
1 month 3 weeks ago - 1 month 3 weeks ago #24469 by VK
Radio-button: SYS.VAL.PROG / USR.VAL.PROG in SS:
4.62. 1 S IN2A&FEMALE_MALE&NOCOPY&&&&&&&&FEMALE_MALE

Dropdown - again - summary: SYS.REL.FILE, USR.REL.FILE in SS, DROP.DOWN in VERSION.

What's the purpose of this task ?

Cheers
VK
Last edit: 1 month 3 weeks ago by VK.

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

  • hiraahul
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 2 weeks ago - 1 month 2 weeks ago #24491 by hiraahul
Purpose: I am writing test cases for fields. So instead of going to screen level one by one, I thought I could refer to VERSION XML files for fields. However, I am not able to identify the field either the Dropdown or the Radio button.

Refer latest image it does not have any values in SYS.REL.FILE, USR.REL.FILE and in the VERSION file also its not defined as DROP.DOWN but still in the front end it's showing as a dropdown. In that case is there any other way?
Same with the radio button.

I am using R22
Attachments:
Last edit: 1 month 2 weeks ago by hiraahul.

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
1 month 2 weeks ago - 1 month 2 weeks ago #24496 by VK
Hi
pay attention to SYS.VAL.PROG....

Cheers
VK
Last edit: 1 month 2 weeks ago by VK.

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

Time to create page: 0.093 seconds