fremdrechnung, etc.
This commit is contained in:
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
||||
' übernehmen, indem Sie "*" eingeben:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("1.4.7.3")>
|
||||
<Assembly: AssemblyFileVersion("1.4.7.3")>
|
||||
<Assembly: AssemblyVersion("1.4.7.4")>
|
||||
<Assembly: AssemblyFileVersion("1.4.7.4")>
|
||||
|
||||
@@ -937,13 +937,13 @@ Public Class usrcntlFremdrechnungen
|
||||
|
||||
If onlyRelevantInvioces AndAlso Lieferant <> "IDS" AndAlso erw.kde_keineMWSt Then Exit For 'abbruchbedingung
|
||||
|
||||
Dim sendÍnvoice As Boolean = IIf(onlyRelevantInvioces, False, True)
|
||||
Dim sendÍnvoice As Boolean = IIf(onlyRelevantInvioces AndAlso KUNDE.KundenNr = 0, False, True)
|
||||
|
||||
'ORIGINAL-RECHNUNG senden wenn:
|
||||
If onlyRelevantInvioces Then
|
||||
|
||||
'1. wenn die Rechnung in dem Land in dem er ansässig ist ausgestellt wurde (rumän. Kunde – Rechnung ausgestellt in Rumänien = z.B. IDS in RO getankt…)
|
||||
If row.Cells("Land").Value <> "" AndAlso landKZiso2 = row.Cells("Land").Value Then sendÍnvoice = True
|
||||
If Not sendÍnvoice AndAlso row.Cells("Land").Value <> "" AndAlso landKZiso2 = row.Cells("Land").Value Then sendÍnvoice = True
|
||||
|
||||
'2. wenn die Rechnung die MWST-SUMME 0 aufweist!!!
|
||||
If Not sendÍnvoice AndAlso row.Cells("MWSt").Value = 0 Then sendÍnvoice = True
|
||||
|
||||
Reference in New Issue
Block a user