Bookshelf Home | Contents | Index | PDF |
Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > Other Preprogrammed SmartScript Question Methods > SetCurrentValueSetCurrentValue is a procedure to set the value for the answer to a question. SyntaxSetCurrentValue(value, [CurrencyCode, ExchangeDate])
ReturnsUsageThe SetCurrentValue procedure sets the value for the question as though the user had entered it. All validation and branching is activated. If the question is a currency question (that is, the answer type is "Currency"), the currency code and exchange date should also be specified in the function's parameters. The currency code and exchange date parameters are optional. If a question is to be saved to a business component field, SetCurrentValue() should not be used for this question until after the SmartScript has been correctly positioned on that business component. SetCurrentValue is declared as a string. Siebel eScript ExampleSee Also |
Siebel SmartScript Administration Guide |