DDQING
6th September 2002, 08:58
you know in Maintain Message Session,we can define and modify a new message, which we can use in script.But some special Message defined by System,such as Digit expected(ttgfds0001),Amount not allowed(ttstps0108), I cannot find in the session and script.
Can you tell me how baan define and use these system messages?
Thank you very much!!!

NPRao
6th September 2002, 09:13
Hi,

All the tools and packages messages are stored in the table ttadv450. But you cannot modify the tools messages on your system as you do not have the development authorization on tools to do that from the messages session. But you can modify the tools message codes too of the table ttadv450 from the GTM. BUT this is not advisable.

Can you please specify why do you like to modify BaaN Standard messages ?

BaaN handles messages by language, message code and VRC. The message codes are programmed in the scripts [used by functions like mess(), message(), dal.set.error.message()..etc], and the corresponding language based messages are picked up based on the language used in the user data.

Hitesh Shah
6th September 2002, 14:39
Yes u r right . There are certain messages which u may not find in the program script or includes. These messages are the domain / reference error messages which standard program (ttstpstandard ) uses whenever there out of domain value , illegal character entered , data without reference is entered or DBMS does not allow certain actions to preserve referential integrity.

You may find these message codes in 'Maintain domains' / 'Maintain table fields'.

DDQING
7th September 2002, 09:57
hi,thank you
I dont want modify this message,I want to konw why this mes appear,Baan system how define when use this message ,for example ,when I enter a number less than 100 in a field,then tabbed,mes will appear,this mes cant find in script(mes code is ttstp*), when entered number larger 100,mes will not appear.So I bothered where define the rule(N<100,System Mes appear).Thank you for your help.

OmeLuuk
9th September 2002, 10:53
What version are you talking about?

If iBaanERP 5.x there is a separate Data Access Layer that safeguards the data by checking on domain, consistency and parameter constraints.

These kind of checks are also done in previous versions, partly by standard program (you cannot see the code here) partly by the session scripts.