diff --git a/DSWeb.Service.Output.DS7/DS7Service.cs b/DSWeb.Service.Output.DS7/DS7Service.cs index 8a24c969..7ff8d6f8 100644 --- a/DSWeb.Service.Output.DS7/DS7Service.cs +++ b/DSWeb.Service.Output.DS7/DS7Service.cs @@ -820,7 +820,8 @@ namespace DSWeb.Service.Output.DS7 BLFRT = _edi.BLFRT, SENDTIME = _edi.SENDTIME, YARD = _edi.YARD, - FORWARDER = _edi.FORWARDER + FORWARDER = _edi.FORWARDER, + CORPID= Corpid }; dS7Data.op_seae_edi.Add(newedi); diff --git a/DSWeb/Areas/MvcShipping/DAL/MsOpSeaeEdi/MsOpSeaeEdiDAL.cs b/DSWeb/Areas/MvcShipping/DAL/MsOpSeaeEdi/MsOpSeaeEdiDAL.cs index 8713ad3c..01b43c7d 100644 --- a/DSWeb/Areas/MvcShipping/DAL/MsOpSeaeEdi/MsOpSeaeEdiDAL.cs +++ b/DSWeb/Areas/MvcShipping/DAL/MsOpSeaeEdi/MsOpSeaeEdiDAL.cs @@ -89,7 +89,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiDAL } else { - strSql.Append(" order by INPUTDATE desc"); + strSql.Append(" order by HBLNO asc"); } return SetData(strSql); }