p$TDV:SMPAPI:EtTxMerk
p$TDV:SMPAPI:EtTxMerk
Read all characteristics (free parameters) of a given SalesManager object and set these characteristics for the next text component that is to be inserted.
Object data (e.g. "Contact") is transferred in the parameter ObjectType in the form of a character code. The object itself is determined by the identification number of the object (this can be the contactID of a contact, for example).
If the name of a characteristics-PG differs from the name of a parameter array in the text component, if not all PGs are to be read, or if the characteristics values are needed for the logic, the characteristics can be first read into the logic (functions p$TDV:SMPAPI:WkTx_LMK or p$TDV:SMPAPI:L_MrkMal).
The parameter values set by p$TDV:SMPAPI:EtTxTxP, p$TDV:SMPAPI:EtTxPar, and p$TDV:SMPAPI:EtTxMerk always have priority over a parameter value substitution by p$TDV:SMPAPI:EtTxBast. If more than one call for the same parameter is conducted the value of the first call will be used.
Please note:
The parameter groups of the characteristics to be read do not have to be defined within the logic. Even if the parameter groups are defined, the characteristics will not be transferred to the logic!
Syntax: | p$TDV:SMPAPI:EtTxMerk( ObjectType, ObjectID ) | ||
| Argument | Type | Meaning |
| ObjectType | String | Determination of the SalesManager object according to: |
| ObjectID | Integer | Identification of the object according to the code transferred to ObjectType |
Result: | - |
| |
Example: | Read all characteristics-PGs in a shopping cart position with the MaterialID "4711": p$TDV:SMPAPI:EtTxMerk( 'M', '4711' ) | ||