| | |
| | | Logger.Interface.Info($"U9C登录token: {input.token}"); |
| | | } |
| | | } |
| | | List<CreateRcvBySrcASNParam> param = new() { |
| | | new() { |
| | | aSNToRcvTransDTOs = new(){ |
| | | new(){ |
| | | TransQty=new() { |
| | | m_amount1= input.CurRevQty, |
| | | m_uOM1 = new() { |
| | | UOMMain = "1002212260110007", |
| | | UOMMain_SKey=new(){ |
| | | ID="1002212260110007", |
| | | }, |
| | | UOMSub_SKey = new(){ |
| | | ID="1002212260110007", |
| | | } |
| | | }, |
| | | }, |
| | | ASNLineKey=input.ASNLineKey, |
| | | } |
| | | } |
| | | } |
| | | }; |
| | | List<CreateRcvBySrcASNParam> param = new(); |
| | | param.Add(input.CreateRcvBySrcASNParam); |
| | | var response = await HttpHelper.PostAsync(CreateRcvBySrcASNUrl, JsonConvert.SerializeObject(param), new Dictionary<string, string>() { { "token", input.token } }); |
| | | var result = JsonConvert.DeserializeObject<U9CResult2>(response.Message); |
| | | if (result != null) |
| | |
| | | { |
| | | BusinessDate = DateTime.Now, |
| | | Supplier = new() { m_code = input.Supplier }, |
| | | RcvDocType = new() { m_code = "RCV01" }, |
| | | RcvDocType = new() { m_code = input.RcvDocType }, |
| | | RcvLines= input.RcvLines, |
| | | }, |
| | | OtherID = "WMS" |