Skip to main content
Skip table of contents

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:
'A': Address, ObjectID is AddressID from TM_Anschrift
'C': Product catalogue, ObjektID is MaterialID from TM_Product
'F': Contact, ObjectID is KontaktID from TM_Kontakt
'K': Order, ObjectID is AuftragID from TM_Auftrag
'M': Shopping cart position, ObjectID is MaterialID from TM_Warenpos
'P': Person, ObjectID is PersonID from TM_Person

 

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' )
àAll parameters found are transmitted to Microsoft Word (for the subsequent text component)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.