Deserialize EXG

This commit is contained in:
2026-10-15 21:31:09 +02:00
parent 718134608e
commit eec4e8e3dd
3 changed files with 84 additions and 11 deletions

View File

@@ -245,6 +245,12 @@ Public Class cImporter_DakosyToVERAG
item.zaItem_PackageColli = (wp.ezaWP_PackstueckAnzahl)
item.zaItem_PackageType = wp.ezaWP_PackstueckArt
Dim packageNumber As Integer
item.Packages.Add(New cVERAG_CustomsDeclarations_ItemPackage With {
.zaPkg_Type = item.zaItem_PackageType,
.zaPkg_Number = If(Integer.TryParse(item.zaItem_PackageColli, packageNumber), CType(packageNumber, Integer?), Nothing),
.zaPkg_Marks = item.zaItem_PackageMark
})
item.zaItem_GrossMass = ToNullableDecimal(wp.ezaWP_Rohmasse)
item.zaItem_NetMass = ToNullableDecimal(wp.ezaWP_Eigenmasse)