×
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...
ID validation
- VENKI6694
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
7 years 3 months ago #20720
by VENKI6694
ID validation was created by VENKI6694
Hi,
I've created a template with xxx and xxx.fields..
when I log into t24 and input id for template ,the input id should be valid id from CUSTOMER .
If the entered ID is not a valid CUSTOMER ID then ERROR message should pop up.
This has to be done without any routines.
Is it possible to do so, if so please help
Thank you
I've created a template with xxx and xxx.fields..
when I log into t24 and input id for template ,the input id should be valid id from CUSTOMER .
If the entered ID is not a valid CUSTOMER ID then ERROR message should pop up.
This has to be done without any routines.
Is it possible to do so, if so please help
Thank you
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus|G09-G13 TAFC|R05-R23 TAFJ|R19,R23-test
Less
More
- Posts: 1106
- Thank you received: 148
7 years 3 months ago #20721
by VK
Cheers
VK
Replied by VK on topic ID validation
Hi
Put the following to ".FIELDS" routine:
ID.CHECKFILE = 'CUSTOMER'
Put the following to ".FIELDS" routine:
ID.CHECKFILE = 'CUSTOMER'
Cheers
VK
The following user(s) said Thank You: UglyKidJoe
Please Log in or Create an account to join the conversation.
- VENKI6694
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
7 years 3 months ago #20751
by VENKI6694
Replied by VENKI6694 on topic ID validation
Thanks a lot.it worked perfectly..
Please Log in or Create an account to join the conversation.
- VENKI6694
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
7 years 3 months ago #20752
by VENKI6694
Replied by VENKI6694 on topic ID validation
Hi,
some help would be appreciated .
If I input record id in the format of ' customer_id . sequence_no.'
there is a pop with ' no decimal'
how do I allow decimal or '.' character during recird id input
Thank you,
some help would be appreciated .
If I input record id in the format of ' customer_id . sequence_no.'
there is a pop with ' no decimal'
how do I allow decimal or '.' character during recird id input
Thank you,
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus|G09-G13 TAFC|R05-R23 TAFJ|R19,R23-test
Less
More
- Posts: 1106
- Thank you received: 148
7 years 3 months ago #20754
by VK
Cheers
VK
Replied by VK on topic ID validation
Hi
If you set "ID.CHECKFILE = 'CUSTOMER'" as stated before, you can only input CUSTOMER ID.
To input the dot and number after it, you need to remove this setting and write ".ID" routine where you'll check the input.
To raise an error there you can use an example from the template:
E = 'EB-NOT.VALID.ID'
If you set "ID.CHECKFILE = 'CUSTOMER'" as stated before, you can only input CUSTOMER ID.
To input the dot and number after it, you need to remove this setting and write ".ID" routine where you'll check the input.
To raise an error there you can use an example from the template:
E = 'EB-NOT.VALID.ID'
Cheers
VK
Please Log in or Create an account to join the conversation.
- VENKI6694
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
7 years 3 months ago #20755
by VENKI6694
Replied by VENKI6694 on topic ID validation
Hi,
I've written a .ID routine to validate id.
But I need id to be in 'CUSTOMER_ID.SOME_NUMBER' format.
But when I enter any ID with such format, 'No decimal allowed'.
Is there anyway to accept such format.
Thank you
I've written a .ID routine to validate id.
But I need id to be in 'CUSTOMER_ID.SOME_NUMBER' format.
But when I enter any ID with such format, 'No decimal allowed'.
Is there anyway to accept such format.
Thank you
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus|G09-G13 TAFC|R05-R23 TAFJ|R19,R23-test
Less
More
- Posts: 1106
- Thank you received: 148
7 years 3 months ago #20757
by VK
Cheers
VK
Replied by VK on topic ID validation
Post here the beginning of your ".FIELD" routine (where ID is defined)
Cheers
VK
Please Log in or Create an account to join the conversation.
- VENKI6694
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
7 years 3 months ago #20758
by VENKI6694
Replied by VENKI6694 on topic ID validation
Hi,
your suggestions helped lot.
I changed the attributes of the ID field.
I also tried to attach the snapshots. But browser is not supporting.
If you don't mind drop me blank mail
This email address is being protected from spambots. You need JavaScript enabled to view it.
Thank you.@VK
your suggestions helped lot.
I changed the attributes of the ID field.
I also tried to attach the snapshots. But browser is not supporting.
If you don't mind drop me blank mail
This email address is being protected from spambots. You need JavaScript enabled to view it.
Thank you.@VK
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus|G09-G13 TAFC|R05-R23 TAFJ|R19,R23-test
Less
More
- Posts: 1106
- Thank you received: 148
7 years 3 months ago #20760
by VK
Cheers
VK
Replied by VK on topic ID validation
Hi
Sorry I'd rather not to take the discussion off this forum... If something doesn't work, please address the site administrators. For the source code - you can simply paste it to your post...
Sorry I'd rather not to take the discussion off this forum... If something doesn't work, please address the site administrators. For the source code - you can simply paste it to your post...
Cheers
VK
Please Log in or Create an account to join the conversation.
Time to create page: 0.547 seconds