p$TDV:SMPAPI:WkTx_LTS
p$TDV:SMPAPI:WkTx_LTS
Read the position text data of a shopping cart position. The data has to be provided beforehand by p$TDV:SMPAPI:WkTx_SIN for a specific shopping cart and the desired language.
The data to be read is determined by the MaterialID assigned to the shopping cart position. This MaterialID for example is provided in the parameter group of the position data in the parameter MaterialIdent (see PG SMWkPos).
After reading the information, it is written to a parameter group which is also transferred to this function as well. This parameter group can be arbitrarily named. The complete list of the possible parameters is found in the description for the parameter group POSText.
In case that reading the position texts is not necessary for all positions of a shopping cart or if position texts are to be read subsequently in several different languages, p$TDV:SMPAPI:WkTx_LTX can also be used instead of this function.
Syntax: | Status = p$TDV:SMPAPI:WkTx_LTS( MaterialID, PG ) | ||
| Argument | Type | Meaning |
| MaterialID | String | Identification number of the shopping cart position (the MaterialID from TM_Warenpos) |
| PG | String | Name of a parameter group with any arrays from the PG PosText. After successfully reading the address this parameter group is filled with the data or otherwise its content will be set to EMPTY. |
Result: | Integer | Status of the operation | |
Example: | See p$TDV:SMPAPI:WkTx_LTX | ||