Summe wird nicht richtig dargestellt
Sascha Balke
Hallo Zusammen,in dem StandardDIN Beleg wird die MwSt richtig angegegeben
So wird die Summe aus der die 19% MwST errechnet wird mit angedruckt, jedoch fehlt mir das Tausend - Trennerzeichen.
Angedruckt wird 1000,00, jedoch möchte ich 1.000,00 Euro dort stehen haben, so wie es auch bei dem zuvorstehenden Nettobetrag der Fall ist.
Habe schon einiges probiert, jedoch bekomme ich es so nicht hin.
GetData("LD.Txt.T0000057")& " " & " " & "( " & LD.Fstr(DocumentVatSum("VatPrcnt")/100,"0.00 %") & " " & " " & GetData("LD.Txt.T0000093") & " " & " " & LD.FStr((IIF(isFC,DocumentVatSum("SumVatSumFrgn"),DocumentVatSum("SumVatSum"))*100)/IIF(DocumentVatSum("VatPrcnt")=0,1,DocumentVatSum("VatPrcnt")),"0.00")& ")"
Wer hat eine Idee, von euch???
Gruß
Sascha
Manuel Marhold
Hi Sascha,"#,##0.00" im FStr wäre passend..
http://technet.microsoft.com/de-de/library/59bz1f0h.aspx
Gruß
Manuel
Philipp Knecht
Hi ManuelDanke für den Link. Wäre was für die FAQ.
fyi:
In der neuen version des DIN Layouts müssen wir jetzt die MwSt Nettbeträge nicht mehr berrechnen sondern kriegen sie von der DataSource:
' Define the Vat Text for example: Vat 7.6% (A1) from 300.00
txtVatLine.Value = GetData("LD.Txt.T0000057") & " "
' Define the Vat Procent Value (MwSt Prozent)
txtVatLine.Value &= LD.Fstr(DocumentVatSum("VatPrcnt")/100,"0.0%") & " (" & DocumentVatSum("VatGroup") & ") "
' Define the Base Amount (MwSt Basisbetrag)
txtVatLine.Value &= GetData("LD.Txt.T0000093") & " " & LD.FStr(iif(isFC,DocumentVatSum("SumTotalFrgn"),DocumentVatSum("SumLineTotal")),"0.00")
A. van Keulen
The new expression VB.NET is not working with discount or downpayment.Philipp Knecht
Hi ArjenThanks for this hint.
We corrected it already in the datasource in Versions > 1.618
Regards
A. van Keulen
May be a stupid question. What is datasource 1.618. Do you mean a future release of the designer?Philipp Emmenegger
Hi A. van KeulenYes this the next LD Version. Which is coming out within the next few days. You'll see after the CEBIT-Exhibition in Germany.
Regards, Philipp
0
Please sign in to leave a comment.
Comments
0 comments