diff --git a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Agent/AsnBackgroundWorker/AsnBackgroundWorker.cs b/WebApiService/src/Win_in.Sfs.Scp.WebApi.Agent/AsnBackgroundWorker/AsnBackgroundWorker.cs index 3e4dc12..c22c5ce 100644 --- a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Agent/AsnBackgroundWorker/AsnBackgroundWorker.cs +++ b/WebApiService/src/Win_in.Sfs.Scp.WebApi.Agent/AsnBackgroundWorker/AsnBackgroundWorker.cs @@ -147,15 +147,18 @@ namespace Win_in.Sfs.Scp.WebApi VendorCode = asn.VendId, Contacts = asn.ReceiveUser, Phone = "", - TruckNbr = asn.PlateNumber, + TruckNbr = asn.PlateNumber, Whse = "", - Dock = "", + Dock = "RM1", ShipDate = asn.ShipTime, DueDate = asn.ReceiveTime, - TimeWindow = asn.ReceivedPort, + TimeWindow =asn.ReceivedPort, Remark = asn.Remark, }; - + if (string.IsNullOrEmpty(asnMstr.TimeWindow)) + { + asnMstr.TimeWindow = "00:00-00:00"; + } foreach (var barcode in barcodes) { var det = new AsnDet()