Accounting Ãœbersetung

smee

Hallo,

ich finde den Fehler in folgender Zeile nicht
ld.GetMLDesc(L8("Description"),"OACT","AcctName",L8("Level8"),GetData("LD.Par.LangCode"))
Es ist im GuV Bericht vom Accounting und es soll die Übersetzung ausgegeben werden.

Allerdings wird nur der Fallback L8("Description") ausgegeben.

Was hab ich falsch gemacht. Wiso eigentlich Level8. In der Kontoübersicht steht Level 5.
Danke im vorraus.

Friederike Mundt

Hi,
Try the following



LD.GetMLDesc(L8("Description"),"OACT","AcctName",L8("AcctCode"),GetData("LD.Par.LangCode"))



L8 since the datasource is designed to provide account information in the last level possible.
The forth parameter of the function LD.GetMLDesc must be the primary key of the translation which is the value in the code (see [attachment=275:PKTranslation.png]). Not sure if you should use the formatcode or the acctcode for segmented accounts.
Hope this answers your question.
Kind Regards,

Friederike[img]C:UsersmufDownloadsPKTranslation.png[/img]

smee

It works.
Merci
0

Comments

0 comments

Please sign in to leave a comment.

Didn't find what you were looking for?

New post