F-Script |
![]() |
Wichtigusing "ST-BaseTools.FBL"
|
Nr.
|
Argument
|
Typ
|
Beschreibung
|
1
|
mlsKey
|
string
|
Key of wanted mlsText.
|
2
|
uiLangNo
|
int
|
Desired UILangNo (default according
context).
|
3
|
newText
|
string
|
New text if not found (german only).
|
4
|
newShortText
|
string
|
New shorttext if not found (german only).
|
5
|
newInfoText
|
string
|
New info if not found (german only).
|
6 - 14
|
replacetext<1-9>
|
string
|
Replace text for %1 - %9.
|
XFAS.AddHeads('MlsKey','MlsText','MlsShortText','MlsInfo') var uiLangNo := 0 var mlsKey := 'U.Article.NotFound' var resultName := BaseTools_MlsText('mlsKey', 0, 'NEUER TEXT', 'NEUER SHORTTEXT','Artikel "%1" konnte nicht gefunden werden!','101 Winkelschleifer') var mlsText := XRES.GetColValByName(resultName, 'Text') var mlsShortText := XRES.GetColValByName(resultName, 'ShortText') var mlsInfo := XRES.GetColValByName(resultName, 'Info') XFAS.AddCells(mlsKey,mlsText,mlsShortText,mlsInfo)
Nr.
|
Argument
|
Typ
|
Beschreibung
|
1
|
mlsKey
|
string
|
Key of wanted mlsText.
|
2
|
uiLangNo
|
int
|
Desired UILangNo (default according
context).
|
3 - 11
|
replacetext<1-9>
|
string
|
Replace text for %1 - %9.
|
var mlsKey2 := 'U.Article.NotFound2' var resultName2 := BaseTools_GetMlsText('U.Article.NotFound2',53,'101 Meuleuses d`angle') var mlsText2 := XRES.GetColValByName(resultName2, 'Text') var mlsShortText2 := XRES.GetColValByName(resultName2, 'ShortText') var mlsInfo2 := XRES.GetColValByName(resultName2, 'Info') XFAS.AddCells(mlsKey2,mlsText2,mlsShortText2,mlsInfo2) var textValue := BaseTools_MlsText_Text('Addr.LastName') var shotTextValue := BaseTools_MlsText_ShortText('Addr.LastName') var infoValue := BaseTools_MlsText_Info('Addr.LastName')
Nr.
|
Argument
|
Typ
|
Beschreibung
|
1
|
mlsKey
|
string
|
Key of wanted mlsText.
|
2
|
uiLangNo
|
int
|
Desired UILangNo (default according
context).
|
3
|
newText
|
string
|
New text if not found (german only).
|
4
|
newShortText
|
string
|
New shorttext if not found (german only).
|
5
|
newInfoText
|
string
|
New info if not found (german only).
|
6 - 14
|
replacetext<1-9>
|
string
|
Replace text for %1 - %9.
|
Nr.
|
Argument
|
Typ
|
Beschreibung
|
1
|
mlsKey
|
string
|
Key of wanted mlsText.
|
2
|
uiLangNo
|
int
|
Desired UILangNo (default according
context).
|
3
|
newText
|
string
|
New text if not found (german only).
|
4
|
newShortText
|
string
|
New shorttext if not found (german only).
|
5
|
newInfoText
|
string
|
New info if not found (german only).
|
6 - 14
|
replacetext<1-9>
|
string
|
Replace text for %1 - %9.
|
Nr.
|
Argument
|
Typ
|
Beschreibung
|
1
|
mlsKey
|
string
|
Key of wanted mlsText.
|
2
|
uiLangNo
|
int
|
Desired UILangNo (default according
context).
|
3
|
newText
|
string
|
New text if not found (german only).
|
4
|
newShortText
|
string
|
New shorttext if not found (german only).
|
5
|
newInfoText
|
string
|
New info if not found (german only).
|
6 - 14
|
replacetext<1-9>
|
string
|
Replace text for %1 - %9.
|