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

Version Routines validation

  • pontienmisago
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 4 months ago #23628 by pontienmisago
Version Routines validation was created by pontienmisago
Hi there, can anyone help me with a code i might use in order to validate F.NAME field with Version routine?

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
3 years 4 months ago #23630 by VK
Replied by VK on topic Version Routines validation
Hi
what you mean "help with the code"? the code is very simple and can be written by any T24 techie... do you have any in the team?

Meanwhile you'd better clarify your task - which application, which field, what sort of validation?
 

Cheers
VK

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

  • pontienmisago
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 4 months ago #23631 by pontienmisago
Replied by pontienmisago on topic Version Routines validation
Thanks Sir. Let's Say i just want to validate a field(named: Email) in any application (for example account) and then restrictes the field to have a Lenght of 20 for ex. and not uppercase. So help me how i Can create a version routine to validate that field

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
3 years 4 months ago #23632 by VK
Replied by VK on topic Version Routines validation
Hi
see:

www.dropbox.com/s/n9o1j5t0zk10qr8/hhguide2T24-4.pdf?dl=0

Chapter 12.6: VERSION/VALIDATION.RTN

Cheers
VK

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

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
3 years 4 months ago - 3 years 4 months ago #23634 by silvergem
Replied by silvergem on topic Version Routines validation

validate a field(named: Email)

You can use core function EB.VALIDATE.EMAIL.ADDRESS to validate the email

in any application

Attached the routine on VERSION.CONTROL and make sure the EXC.INC.RTN is set to YES when you want changes affect on specific application(CUSTOMER). Attaching on version level is limited on that screen

not uppercase

You can use case conv field on VERSION, uppercase, propercase and lowercase is available

Lenght of 20 

use jbase function LEN on your validation routine
Last edit: 3 years 4 months ago by silvergem.

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

Time to create page: 0.038 seconds