Zum Inhalt

GetLetterSalutationText (Opus Funktion)

Beschreibung

Gibt den Briefanredetext zurück. Returns the letter salutation text for the given address. The single-argument form uses the address's own language. Extended forms allow specifying language and salutation type explicitly.

Argumente

Name

Typ

Beschreibung

AddressID

integer

ID of the address record for which to build the letter salutation

LanguageID

integer

(optional) ID of the language to use; defaults to the address language

SalutationTypeID

integer

(optional) ID of the salutation type; 0 = default type

Rückgabewert string

Briefanredetext formatted letter salutation text (e.g. "Dear Mr. Smith,")

Beispiel

Gleiche Person, verschiedene Briefanreden möglich durch Verwendung der SalutationTypeID

Ls_Salutation = GetLetterSalutationText(Ai_ID,Ai_LanguageID,Ai_SalutationTypeID);

Resultat Ls_Salutation: "Liebe Anna"

Ls_Salutation = GetLetterSalutationText(Ai_ID,Ai_LanguageID);

Resultat Ls_Salutation: "Sehr geehrte Frau Muster"

Siehe auch