diff --git a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Shipments/ShipmentExtensions.cs b/WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Shipments/ShipmentExtensions.cs index 7482a35..cd39573 100644 --- a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Shipments/ShipmentExtensions.cs +++ b/WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Shipments/ShipmentExtensions.cs @@ -77,7 +77,7 @@ public static class ShipmentExtensions orphanItem.HL.HL01 = shipNotice.GetNextHl(orphanItem.SN1.Qty); orphanItem.HL.HL02 = shipment.HL.HL01; shipment.OrphanItems.Add(orphanItem); - shipNotice.AddSegment(5+orphanItem.REF_LS_LTs.Count); + shipNotice.AddSegment(5+orphanItem.REF_LS_LTs.Count*2); return shipment; } diff --git a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Tares/TareExtensions.cs b/WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Tares/TareExtensions.cs index 9cf4b18..8b5d189 100644 --- a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Tares/TareExtensions.cs +++ b/WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Tares/TareExtensions.cs @@ -23,7 +23,7 @@ public static class TareExtensions item.HL.HL01 = shipNotice.GetNextHl(item.SN1.Qty); item.HL.HL02 = tare.HL.HL01; tare.Items.Add(item); - shipNotice.AddSegment(5+item.REF_LS_LTs.Count); + shipNotice.AddSegment(5+item.REF_LS_LTs.Count*2); return tare; }