neu
This commit is contained in:
@@ -10,7 +10,7 @@ Public Class cRKSV
|
||||
Try
|
||||
|
||||
Dim client As RKSVWcfClient = New RKSVWcfClient()
|
||||
client.Endpoint.Address = New System.ServiceModel.EndpointAddress("http://192.168.0.106:8733/Design_Time_Addresses/RKSVCompleteServer/Service1/?singleWsdl")
|
||||
client.Endpoint.Address = New System.ServiceModel.EndpointAddress(getRKSVLink(kasse))
|
||||
client.Open()
|
||||
' svcRKSV.DBUserCredentials m_credentials = new svcRKSV.DBUserCredentials();
|
||||
Dim credentials As New SDL.RKSVServer.DBUserCredentials
|
||||
@@ -111,8 +111,9 @@ Public Class cRKSV
|
||||
End Function
|
||||
Shared Function getDEP(ByVal kasse_id As Integer, ByRef exportResult As String) As Boolean
|
||||
|
||||
Dim KASSE As New cRKSV_Kasse(kasse_id)
|
||||
Dim client As RKSVWcfClient = New RKSVWcfClient()
|
||||
client.Endpoint.Address = New System.ServiceModel.EndpointAddress("http://192.168.0.106:8733/Design_Time_Addresses/RKSVCompleteServer/Service1/?singleWsdl")
|
||||
client.Endpoint.Address = New System.ServiceModel.EndpointAddress(getRKSVLink(KASSE))
|
||||
client.Open()
|
||||
' svcRKSV.DBUserCredentials m_credentials = new svcRKSV.DBUserCredentials();
|
||||
Dim credentials As New SDL.RKSVServer.DBUserCredentials
|
||||
@@ -126,7 +127,6 @@ Public Class cRKSV
|
||||
credentials.Password = "verag#2"
|
||||
|
||||
|
||||
Dim KASSE As New cRKSV_Kasse(kasse_id)
|
||||
|
||||
If KASSE.rksv_ITG_id Is Nothing Then
|
||||
MsgBox("Keine RKSV-ITG-ID vorhanden!")
|
||||
@@ -161,7 +161,16 @@ Public Class cRKSV
|
||||
Return True
|
||||
End Function
|
||||
|
||||
Shared Function getRKSVLink(ByVal kasse As String) As String
|
||||
If kasse = "FRONT-OFFICE-SUB-KASSE" Then
|
||||
Return "http://192.168.0.25:8733/Design_Time_Addresses/RKSVCompleteServer/Service1/?singleWsdl"
|
||||
End If
|
||||
Return "http://192.168.0.106:8733/Design_Time_Addresses/RKSVCompleteServer/Service1/?singleWsdl"
|
||||
End Function
|
||||
|
||||
Shared Function getRKSVLink(ByVal kasse As cRKSV_Kasse) As String
|
||||
Return getRKSVLink(kasse.rksv_bez)
|
||||
End Function
|
||||
Shared Function stornoRKSV(ByVal kasse As cRKSV_Kasse, ByVal belegDat As DateTime, ByVal steuerSchluessel As Integer, ByVal RKSV_Beleg_Id As Integer, ByVal summeBRUTTO As Double, ByRef QR_CodeString As String, ByRef LastJWS As String, ByRef answer As String) As Boolean
|
||||
Try
|
||||
|
||||
@@ -170,7 +179,7 @@ Public Class cRKSV
|
||||
Return False
|
||||
End If
|
||||
Dim client As RKSVWcfClient = New RKSVWcfClient()
|
||||
client.Endpoint.Address = New System.ServiceModel.EndpointAddress("http://192.168.0.106:8733/Design_Time_Addresses/RKSVCompleteServer/Service1/?singleWsdl")
|
||||
client.Endpoint.Address = New System.ServiceModel.EndpointAddress(getRKSVLink(kasse))
|
||||
client.Open()
|
||||
' svcRKSV.DBUserCredentials m_credentials = new svcRKSV.DBUserCredentials();
|
||||
Dim credentials As New SDL.RKSVServer.DBUserCredentials
|
||||
@@ -466,6 +475,11 @@ Public Class cRKSV
|
||||
rpt.picVERAG.Image = My.Resources.IMEX_LOGO_simple
|
||||
rpt.lblFirma_Name.Text = "IMEX Customs Service GmbH"
|
||||
rpt.lblFirma_Details.Text = "A 4975 Suben | Suben 15" & vbNewLine & "UID: ATU68490714 "
|
||||
Case "FRONT-OFFICE-SUB-KASSE"
|
||||
'Default Werte:
|
||||
rpt.picVERAG.Image = My.Resources.FrontOfficeSUB
|
||||
rpt.lblFirma_Name.Text = "Front-Office Suben eG"
|
||||
rpt.lblFirma_Details.Text = "A 4975 Suben | Suben 14" & vbNewLine & "UID: ATU74813856 "
|
||||
End Select
|
||||
|
||||
If KASSE.rksv_aktiv Then
|
||||
@@ -678,6 +692,12 @@ Public Class cRKSV
|
||||
rpt.lblFirma_Name.Text = "IMEX Customs Service GmbH"
|
||||
rpt.lblFirma_Details.Text = "A 4975 Suben | Suben 15" & vbNewLine & "UID: ATU68490714 "
|
||||
rpt.Label1.Text = "Wir bestätigen, den o.g. Betrag von der Firma IMEX Customs Service GmbH erhalten zu haben."
|
||||
Case "FRONT-OFFICE-SUB-KASSE"
|
||||
'Default Werte:
|
||||
rpt.picVERAG.Image = My.Resources.FrontOfficeSUB
|
||||
rpt.lblFirma_Name.Text = "Front-Office Suben eG"
|
||||
rpt.lblFirma_Details.Text = "A 4975 Suben | Suben 14" & vbNewLine & "UID: ATU74813856 "
|
||||
rpt.Label1.Text = "Wir bestätigen, den o.g. Betrag von der Firma Front-Office Suben eG erhalten zu haben."
|
||||
End Select
|
||||
|
||||
|
||||
@@ -885,10 +905,11 @@ Public Class cRKSV
|
||||
End Function
|
||||
|
||||
|
||||
Public Shared Function getCardSerialInReader(reader As String)
|
||||
Public Shared Function getCardSerialInReader(kasse_id As Integer, reader As String)
|
||||
Try
|
||||
Dim KASSE As New cRKSV_Kasse(kasse_id)
|
||||
Dim client As RKSVWcfClient = New RKSVWcfClient()
|
||||
client.Endpoint.Address = New System.ServiceModel.EndpointAddress("http://192.168.0.106:8733/Design_Time_Addresses/RKSVCompleteServer/Service1/?singleWsdl")
|
||||
client.Endpoint.Address = New System.ServiceModel.EndpointAddress(getRKSVLink(KASSE))
|
||||
client.Open()
|
||||
' svcRKSV.DBUserCredentials m_credentials = new svcRKSV.DBUserCredentials();
|
||||
Dim credentials As New SDL.RKSVServer.DBUserCredentials
|
||||
@@ -903,7 +924,6 @@ Public Class cRKSV
|
||||
|
||||
|
||||
|
||||
|
||||
Return client.GetCardInReader(reader)
|
||||
Catch ex As Exception
|
||||
MsgBox("ERROR " & ex.Message & ex.StackTrace)
|
||||
@@ -1008,6 +1028,11 @@ Public Class cRKSV
|
||||
rpt.picVERAG.Image = My.Resources.IMEX_LOGO_simple
|
||||
rpt.lblFirma_Name.Text = "IMEX Customs Service GmbH"
|
||||
rpt.lblFirma_Details.Text = "A 4975 Suben | Suben 15" & vbNewLine & "UID: ATU68490714 "
|
||||
Case "FRONT-OFFICE-SUB-KASSE"
|
||||
'Default Werte:
|
||||
rpt.picVERAG.Image = My.Resources.FrontOfficeSUB
|
||||
rpt.lblFirma_Name.Text = "Front-Office Suben eG"
|
||||
rpt.lblFirma_Details.Text = "A 4975 Suben | Suben 14" & vbNewLine & "UID: ATU74813856 "
|
||||
End Select
|
||||
End If
|
||||
|
||||
@@ -1129,6 +1154,11 @@ Public Class cRKSV
|
||||
rpt.picVERAG.Image = My.Resources.IMEX_LOGO_simple
|
||||
rpt.lblFirma_Name.Text = "IMEX Customs Service GmbH"
|
||||
rpt.lblFirma_Details.Text = "A 4975 Suben | Suben 15" & vbNewLine & "UID: ATU68490714 "
|
||||
Case "FRONT-OFFICE-SUB-KASSE"
|
||||
'Default Werte:
|
||||
rpt.picVERAG.Image = My.Resources.FrontOfficeSUB
|
||||
rpt.lblFirma_Name.Text = "Front-Office Suben eG"
|
||||
rpt.lblFirma_Details.Text = "A 4975 Suben | Suben 14" & vbNewLine & "UID: ATU74813856 "
|
||||
End Select
|
||||
|
||||
print.ViewType = GrapeCity.Viewer.Common.Model.ViewType.Continuous
|
||||
|
||||
Reference in New Issue
Block a user