1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| Quintiq file version 2.0
| #parent: #root
| Method SetLastDataExchangeActionError (
| String errormsg
| )
| {
| Description: 'set last user action error message, will sum up all error if that specific action contains multiple broker call.'
| TextBody:
| [*
| // desmondt May-27-2014 (created)
| errormsg := this.LastDataExchangeErrorMessage()
| + ifexpr( this.LastDataExchangeErrorMessage() = '', '', String::NewLine() ) // skip new line if it's the first message
| + errormsg;
|
| this.LastDataExchangeErrorMessage( errormsg );
| this.IsLastDataExchangeSucceed( false );
| *]
| }
|
|