|
|
|
@ -936,12 +936,12 @@ namespace Myshipping.Application.EDI.VOLTA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Shipping = formatEdiStr("txt", bill.SHIPPER);
|
|
|
|
|
ShippingList = formatlengthStr(Shipping, 35);
|
|
|
|
|
ShippingList = formatlengthStr(Shipping, 75);
|
|
|
|
|
|
|
|
|
|
if (ShippingList.Count != 0 && Shipping.Length > 0)
|
|
|
|
|
{
|
|
|
|
|
//2024-09-13 韩工确认最大行数6改为9
|
|
|
|
|
r.WriteLine("20::" + formatListStr(ShippingList, 9) + "'");
|
|
|
|
|
r.WriteLine("20::" + formatListStr(ShippingList, 6) + "'");
|
|
|
|
|
icount = icount + 1;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -949,31 +949,31 @@ namespace Myshipping.Application.EDI.VOLTA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Shipping = formatEdiStr("txt", bill.CONSIGNEE);
|
|
|
|
|
ShippingList = formatlengthStr(Shipping, 35);
|
|
|
|
|
ShippingList = formatlengthStr(Shipping, 75);
|
|
|
|
|
|
|
|
|
|
if (ShippingList.Count != 0 && Shipping.Length > 0)
|
|
|
|
|
{
|
|
|
|
|
//2024-09-13 韩工确认最大行数6改为9
|
|
|
|
|
r.WriteLine("21::" + formatListStr(ShippingList, 9) + "'");
|
|
|
|
|
r.WriteLine("21::" + formatListStr(ShippingList, 6) + "'");
|
|
|
|
|
icount = icount + 1;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Shipping = formatEdiStr("txt", bill.NOTIFYPARTY);
|
|
|
|
|
ShippingList = formatlengthStr(Shipping, 35);
|
|
|
|
|
ShippingList = formatlengthStr(Shipping, 75);
|
|
|
|
|
|
|
|
|
|
if (ShippingList.Count != 0 && Shipping.Length > 0)
|
|
|
|
|
{
|
|
|
|
|
//2024-09-13 韩工确认最大行数6改为9
|
|
|
|
|
r.WriteLine("22::" + formatListStr(ShippingList, 9) + "'");
|
|
|
|
|
r.WriteLine("22::" + formatListStr(ShippingList, 6) + "'");
|
|
|
|
|
icount = icount + 1;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Shipping = formatEdiStr("txt", !string.IsNullOrWhiteSpace(bill.NOTIFYPARTY2) ? bill.NOTIFYPARTY2 : "");
|
|
|
|
|
ShippingList = formatlengthStr(Shipping, 35);
|
|
|
|
|
ShippingList = formatlengthStr(Shipping, 75);
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(Shipping))
|
|
|
|
|
{
|
|
|
|
@ -986,7 +986,7 @@ namespace Myshipping.Application.EDI.VOLTA
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Shipping = bill.AMSCONSIGNEE;
|
|
|
|
|
ShippingList = formatlengthStr(Shipping, 35);
|
|
|
|
|
ShippingList = formatlengthStr(Shipping, 75);
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(Shipping))
|
|
|
|
|
{
|
|
|
|
@ -997,7 +997,7 @@ namespace Myshipping.Application.EDI.VOLTA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Shipping = bill.AMSNOTIFYPARTY;
|
|
|
|
|
ShippingList = formatlengthStr(Shipping, 35);
|
|
|
|
|
ShippingList = formatlengthStr(Shipping, 75);
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(Shipping))
|
|
|
|
|
{
|
|
|
|
|