rahul.kolhe22
27th August 2008, 09:29
Hello all,
I am using the standard Baan domain tcwght for the table. When I try to enter the negative value, it gives me the error message (message code tccom.wght) "Weight value not allowed" (mentioned for the domain as the range message, while defining the domain). I want to supress this message and give the customized error message. In the respective field section for the subsection domain.error I am able to give my customized error message, but not able to supress the standard error message. :confused:

Can anyone please help me.

IT IS URGENT Please. Thanks in advance

george7a
27th August 2008, 11:35
Hi,

Check the following post:
http://www.baanboard.com/baanboard/showpost.php?p=145270&postcount=6

- George

rahul.kolhe22
28th August 2008, 11:35
Hi,

Check the following post:
http://www.baanboard.com/baanboard/showpost.php?p=145270&postcount=6

- George

Hello George,
First of all THANKS a lot for your reply.

I tried putting the check in check.input, but it did not work. Actually I am using the domain tcwght. For this domain in the the domain defination the condition is specified in the Range field that it cannot accept the -ve value. So when I enter the -ve value the message popped up, is the message which is mentioned in Range message for that domain.

I am unable to check the value of that field in check.field, becoz the message is popped before control of the code goes in check.field section.

Is there any other solution for this problem.

Regards
Rahul

george7a
28th August 2008, 15:23
Hi,

Try to use the "before.checks:" section instead of "check.input:" I tried it and it worked for me in our LN system (I was trying Baan IV before).

I hope it helps,

- George