|
@ -229,7 +229,7 @@ namespace Win_in.Sfs.Scp.WebApi |
|
|
var jsonString = JsonSerializer.Serialize(asnMstr); |
|
|
var jsonString = JsonSerializer.Serialize(asnMstr); |
|
|
var ediString = jsonString; |
|
|
var ediString = jsonString; |
|
|
var asnX12 = new X12Asn(asn.Id, asn.Site, asn.AsnBillNum, ScpWebApiConsts.NO_PO_ASN, jsonString, ediString, |
|
|
var asnX12 = new X12Asn(asn.Id, asn.Site, asn.AsnBillNum, ScpWebApiConsts.NO_PO_ASN, jsonString, ediString, |
|
|
asn.ShipTime ?? DateTime.Today); |
|
|
asn.ShipTime ?? DateTime.Today,asn.WebSubSite); |
|
|
return asnX12; |
|
|
return asnX12; |
|
|
} |
|
|
} |
|
|
private static X12Asn CreateX12Asn(AsnOptions.Site site, TB_ASN asn, List<TS_BARCODE> barcodes) |
|
|
private static X12Asn CreateX12Asn(AsnOptions.Site site, TB_ASN asn, List<TS_BARCODE> barcodes) |
|
@ -240,7 +240,7 @@ namespace Win_in.Sfs.Scp.WebApi |
|
|
var jsonString = JsonSerializer.Serialize(asnX128563060); |
|
|
var jsonString = JsonSerializer.Serialize(asnX128563060); |
|
|
var ediString = asnX128563060.ToString(); |
|
|
var ediString = asnX128563060.ToString(); |
|
|
var asnX12 = new X12Asn(asn.Id, asn.Site, asn.AsnBillNum, ScpWebApiConsts.ASN, jsonString, ediString, |
|
|
var asnX12 = new X12Asn(asn.Id, asn.Site, asn.AsnBillNum, ScpWebApiConsts.ASN, jsonString, ediString, |
|
|
asn.ShipTime ?? DateTime.Today); |
|
|
asn.ShipTime ?? DateTime.Today, asn.WebSubSite); |
|
|
return asnX12; |
|
|
return asnX12; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|