Mahnlauf, Mailbenachrichtung, Fakt, MDMEinarbeitung, etc.
This commit is contained in:
@@ -2430,7 +2430,7 @@ Public Class usrCntlFaktAbrechnung
|
||||
Call przFixeTaxe(RECHNUNG) ' Fixe Taxe errechnen
|
||||
Call przPP(RECHNUNG) ' Porto/Papiere errechnen
|
||||
Call przBS415(RECHNUNG) ' Bankspesen errechnen
|
||||
Call setFixeTaxeMin(RECHNUNG, 500, 20) ' Mind Fixe Taxe errechnen
|
||||
'Call setFixeTaxeMin(RECHNUNG, 500, 20) ' Mind Fixe Taxe errechnen
|
||||
|
||||
'Me![SteuerpflichtigerGesamtbetrag] = 0.0#
|
||||
'Me![SteuerfreierGesamtbetrag] = 0.0#
|
||||
@@ -3069,24 +3069,27 @@ Public Class usrCntlFaktAbrechnung
|
||||
|
||||
If FixeTaxe_Berechnungbetrag < 0 Then FixeTaxe_Berechnungbetrag *= -1
|
||||
|
||||
If FixeTaxe_Berechnungbetrag < minBetrag Then
|
||||
|
||||
'Sucht, ob Fixetaxe schon vorhanden ist,...
|
||||
Dim FixeTaxePOS = RECHNUNG.POSITIONEN.Find(Function(x) x.LeistungsNr = 441)
|
||||
'... sonst wird eine neue Pos eingefügt...
|
||||
If FixeTaxePOS IsNot Nothing Then
|
||||
'FixeTaxePOS = New VERAG_PROG_ALLGEMEIN.cRechnungsausgangPositionen
|
||||
FixeTaxePOS.LeistungsNr = 441 '441 und nicht 440 laut Brigitte weil Steuerfrei!!
|
||||
FixeTaxePOS.LeistungsBez = "P.P./Fixe Taxe"
|
||||
FixeTaxePOS.BerechnungsartNr = 1
|
||||
'RECHNUNG.POSITIONEN.Add(FixeTaxePOS)
|
||||
'...und der Wert gesetzt.
|
||||
'Sucht, ob Fixetaxe schon vorhanden ist,...
|
||||
Dim FixeTaxePOS = RECHNUNG.POSITIONEN.Find(Function(x) x.LeistungsNr = 441)
|
||||
'... sonst wird eine neue Pos eingefügt...
|
||||
If FixeTaxePOS IsNot Nothing Then
|
||||
'FixeTaxePOS = New VERAG_PROG_ALLGEMEIN.cRechnungsausgangPositionen
|
||||
FixeTaxePOS.LeistungsNr = 441 '441 und nicht 440 laut Brigitte weil Steuerfrei!!
|
||||
FixeTaxePOS.LeistungsBez = "P.P./Fixe Taxe"
|
||||
FixeTaxePOS.BerechnungsartNr = 1
|
||||
'RECHNUNG.POSITIONEN.Add(FixeTaxePOS)
|
||||
'...und der Wert gesetzt.
|
||||
If FixeTaxe_Berechnungbetrag < minBetrag Then
|
||||
FixeTaxePOS.Anzahl = 1
|
||||
FixeTaxePOS.Preis = getVorzeichen(RECHNUNG) * fixeTaxe 'Preis wird bewusst überschrieben!!!
|
||||
|
||||
initSteuerbetraege(RECHNUNG, FixeTaxePOS)
|
||||
Else
|
||||
FixeTaxePOS.Anzahl = 0
|
||||
End If
|
||||
FixeTaxePOS.Preis = getVorzeichen(RECHNUNG) * fixeTaxe 'Preis wird bewusst überschrieben!!!
|
||||
initSteuerbetraege(RECHNUNG, FixeTaxePOS)
|
||||
End If
|
||||
|
||||
If FixeTaxePOS.Anzahl = 0 Then
|
||||
RECHNUNG.POSITIONEN.Remove(FixeTaxePOS)
|
||||
End If
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user