1
wankeda
2025-02-12 8326222e65f0bb258c99d93f1954d7696c4ef00d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static WIDESEA_Common.HouseInventoryIn.data;
using static WIDESEA_Common.InventoryAllocate.Allocate.data1;
 
namespace WIDESEA_Common
{
    /// <summary>
    /// 调拨出入库任务数量回传
    /// </summary>
    public class InventoryAllocate
    {
        public List<Allocate> Parameters = new List<Allocate>();
        public string ApiType { get; set; }
        public string Method { get; set; }
        public Dictionary<string, string> Context { get; set; }
        public class Allocate
        {
            //public class values
            //{
            //    public int Value { get; set; }
            //}
            public List<data1> Value = new List<data1>();
 
            public class data1
            {
                /// <summary>
                /// 单号
                /// </summary>
                public string No { get; set; }
                /// <summary>
                /// 仓库
                /// </summary>
                public string InWarehouse { get; set; }
                /// <summary>
                /// 单据大类
                /// </summary>
                public string OrderType { get; set; }
                /// <summary>
                /// 单据小类
                /// </summary>
                public string TransactionCode { get; set; }
                /// <summary>
                /// 出入库类型
                /// </summary>
                public int InoutType { get; set; }
                /// <summary>
                /// 时间
                /// </summary>
                //public string order_Time { get; set; }
 
                public List<Inventory> DetailList = new List<Inventory>();
                public class Inventory
                {
                    /// <summary>
                    ///   明细ID
                    /// </summary>
                    public string LinId { get; set; }
                    /// <summary>
                    /// LPN号
                    /// </summary>
                    public string LPN_No { get; set; }
                    /// <summary>
                    /// 物料编码
                    /// </summary>
                    public string MaterielCode { get; set; }
                    /// <summary>
                    /// 调拨数量
                    /// </summary>
                    public decimal OrderQuantity { get; set; }
                    /// <summary>
                    /// 批次号
                    /// </summary>
                    public string BatchNo { get; set; }
                    /// <summary>
                    /// 实际调拨数量
                    /// </summary>
                    public decimal FinishQty { get; set; }
                    /// <summary>
                    /// 库位
                    /// </summary>
                    public string LocationName { get; set; }
                }
 
            }
        }
    }
}