| # Questions Questions are language-independent software components that are used to ask situation-dependent questions to which the user must respond. At runtime, the questions are displayed in the language that is specified for the current user. Sample question For each question, you can specify: The question code. This is the unique identifier of the question across all languages. The question type, e.g. "Warning". The question. This is the question text as it is shown when activated. The question text can contain codes that are substituted when the question is displayed. For details on substitution symbols, refer to the description of the sprintf$() function in the ERP Enterprise (LN) Programmer's Guide. The domain belonging to the question, and the default answer. The domain determines the possible answers to the question. The domain must have the Enumerated data type. This table shows a sample question:
Question code | Question Type | Domain | Language | Question
ttaad31022 | Warning | ttyeno | 1 (Dutch) | Device geblokkeerd, opnieuw proberen?
2 (English) | Device is locked, try again?
To create questions You can create questions in the Questions (ttadv4561m000) session. You can use questions within program scripts and libraries using the ask.enum() function. For more information, refer to: the Web Help the description of the ask.enum() function in the ERP Enterprise (LN) Programmer's Guide Related topics To translate software components |