RealyHub API

This commit is contained in:
2026-11-09 15:13:12 +01:00
parent 761ce93d25
commit 93804039e8
2 changed files with 3 additions and 1 deletions

View File

@@ -1673,7 +1673,8 @@ Public Class cATLAS_EZA_IMPORT
If currency <> "" Then pos.ezaWP_ArtikelpreisWaehrung = currency
Dim n As Decimal
If TetraTryDecimal(netText, n) Then pos.ezaWP_Eigenmasse = n.ToString("0.###", CultureInfo.CurrentCulture)
If TetraTryDecimal(grossText, n) Then pos.ezaWP_Rohmasse = CDbl(n)
' If TetraTryDecimal(grossText, n) Then pos.ezaWP_Rohmasse = CDbl(n)
If TetraTryDecimal(grossText, n) Then pos.ezaWP_Rohmasse = CDbl(Math.Round(n, 1, MidpointRounding.AwayFromZero))
If TetraTryDecimal(valueText, n) Then pos.ezaWP_Artikelpreis = n.ToString("0.00", CultureInfo.CurrentCulture)
If procedure.Length >= 2 Then pos.ezaWP_AnmeldeVErfahren = procedure.Substring(0, 2)
If procedure.Length >= 4 Then pos.ezaWP_VerfahrensCodeVorangegangenesVerfahren = procedure.Substring(2, 2)

View File

@@ -356,6 +356,7 @@ Public Class cRelayHub
Case "Freihandelszone", "FTZ" : fileType = "ftz"
Case "EUR1", "EUR", "EUR.1" : fileType = "eur"
Case "GGED_D", "GGED-D" : fileType = "gged_p"
Case "Bill of Lading", "BoL" : fileType = "bill_of_lading"
Case Else : fileType = "unknown" '"other"
End Select