Skip to main content
Skip table of contents

p$TDV:SMPAPI:EtTxMemo


p$TDV:SMPAPI:EtTxMemo

Insert a memo text from the SalesManager directly to the text document. No dedicated text component has to be created.

Only fields from V_Warenpos can be returned using this function. Other tables can be edited using the function p$TDV:SMPAPI:EtTxRtf.

A dedicated format template for this text can be defined by the parameter DocTempl. If the parameter is left out (transfer of ’’) the text will appear using the document template of the proceeding text.

Syntax:

p$TDV:SMPAPI:EtTxMemo(MaterialID, Fieldname, Format )

 

Argument

Type

Meaning

 

MaterialID

Integer

Identification number of the position in the cart

 

Field name

String

Field name of the View containing the text.

 

DocumentTempl

String

Name of a Word document template or '' (not EMPTY)

Result:

-

 

Example:

Insert a comment from the dataset with the ID 4711 from TM_Warenpos:

p$TDV:SMPAPI:EtTxMemo( 4711, 'Comment', '' )

JavaScript errors detected

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

If this problem persists, please contact our support.