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