新增PIL EDI 运费协议号必填

optimize
jianghaiqing 2 years ago
parent 49bec12c16
commit 6135e2ff74

@ -453,6 +453,10 @@ namespace Myshipping.Application.EDI.PIL
if (bill.CARGOID == null || bill.CARGOID == "")
{ error = error + "<br />提单号:" + bill.MBLNO + "货物标示不能为空"; }
//2023-05-19 增加运费协议号必填
if (string.IsNullOrWhiteSpace(bill.CONTRACTNO))
{ error = error + "<br />提单号:" + bill.MBLNO + "运费协议号不能为空"; }
if (bill.CARGOID == "D")
{
if (bill.DCLASS == null || bill.DCLASS == "")
@ -1067,7 +1071,7 @@ namespace Myshipping.Application.EDI.PIL
}
else
{
if (contractno == "")
if (string.IsNullOrWhiteSpace(contractno))
{
tempstr += GetSpaceStr("DUM000001", 11);//3 //Deciding Party Code//O//X(10)//6 //15 //webcsm Partner Code//mandtory (DUM000001),填RFA;美国线的S/C或者TAA填写在record 74美国线留空
}

Loading…
Cancel
Save