exg
This commit is contained in:
@@ -99,13 +99,12 @@ Public Class cWorker_AES_EXG
|
||||
EXG_ITEM.exgPos_GoodsItemNumber = ITEM.GoodsItemNumber
|
||||
|
||||
|
||||
'Tarifnummer prüfen und zusammenstellen
|
||||
'Tarifnummer als 8-stelligen String zusammensetzen
|
||||
Dim hsCode As String = If(ITEM.HarmonizedSystemSubHeadingCode, "").Trim()
|
||||
Dim cnCode As String = If(ITEM.CombinedNomenclatureCode, "").Trim()
|
||||
If cnCode <> "" Then cnCode = cnCode.PadLeft(2, "0"c)
|
||||
EXG_ITEM.exgPos_CommodityCode = hsCode & cnCode
|
||||
If (hsCode <> "" AndAlso hsCode.Length <> 6) OrElse (cnCode <> "" AndAlso cnCode.Length <> 2) OrElse (hsCode = "" AndAlso cnCode <> "") Then
|
||||
Debug.WriteLine("Ungültige Warentarifnummer in Position " & ITEM.GoodsItemNumber & ": " & EXG_ITEM.exgPos_CommodityCode)
|
||||
End If
|
||||
|
||||
|
||||
|
||||
EXG_ITEM.exgPos_DescriptionOfGoods = ITEM.DescriptionOfGoods
|
||||
|
||||
Reference in New Issue
Block a user