王 垚
2021-02-28 3b819605e47e354eeafc696ea3bcb837b8eb063f
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
92
93
94
95
96
97
98
99
100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace Demo.Model.Model
{
    /// <summary>
    /// 日计划用料清单Bom
    /// </summary>
    public class DayPlanMaterial
    {
        /*
        model.Add("FHDate", DateTime.Now);
        model.Add("FOrgId", new JObject() {["Fnumber"] = DataRow[0]["FORGNUMBER"].ToString() });//发料组织
        model.Add("FHMaterID", new JObject() {["Fnumber"] = DataRow[0]["FNUMBER"].ToString() });//物料
        model.Add("FHWorkDate", DataRow[0]["FHMASTERDATE"].ToString());//日工单日期 FHWorkDate
        model.Add("FHQty", DataRow[0]["FHQTY"].ToString());//主产品数量:FHQty 
        model.Add("FHUnitID", new JObject() {["Fnumber"] = DataRow[0]["FUNITNUMBER"].ToString() });//单位:FHUnitID 
        model.Add("FDayPlanFID", DataRow[0]["FID"].ToString());//日计划工单内码 
        ModelEnty.Add("FHMaterSubID", new JObject() {["Fnumber"] = DataRow[i]["FNUMBER2"].ToString() });//子物料FHMaterSubID
        ModelEnty.Add("FHUnitSubID", new JObject() {["Fnumber"] = DataRow[i]["FUNITNUMBER2"].ToString() });//单位FHUnitSubID
        ModelEnty.Add("FHQtyMust", DataRow[i]["FHQtyMust"].ToString());//应发数量FHQtyMust
        ModelEnty.Add("FHQtySub", DataRow[i]["FHQtyMust"].ToString());//数量FHQtySub
        ModelEnty.Add("FHPPBomInterID", DataRow[i]["FPPBOM"].ToString());//用料清单主内码FHPPBomInterID
        ModelEnty.Add("FHPPBomEntryID", DataRow[i]["FENTRYID"].ToString());//用料清单子内码FHPPBomEntryID
        ModelEnty.Add("FHSourceID", new JObject() {["Fnumber"] = DataRow[i]["FHSOURCENUMBER"].ToString() });//生产资源FHSourceID
        ModelEnty.Add("FNumerator", DataRow[i]["FNumerator"].ToString());//分母
        ModelEnty.Add("FDenominator", DataRow[i]["FDenominator"].ToString());//分子
        ModelEnty.Add("FFIXSCRAPQTY", DataRow[i]["FFIXSCRAPQTY"].ToString());//固定损耗
        ModelEnty.Add("FHQtyScrap", DataRow[i]["FSCRAPRATE"].ToString());//变动损耗率%
        */
        public string FID { get; set; }
        public string FEntryID { get; set; }
        public string FHDate { get; set; }
        public string FOrgId { get; set; }
        public string FHMaterID { get; set; }
        public string FHWorkDate { get; set; }
        public string FHQty { get; set; }
        public string FHUnitID { get; set; }
        public string FDayPlanFID { get; set; }
        public string FHMaterSubID { get; set; }
        public string FHUnitSubID { get; set; }
        public string FHQtyMust { get; set; }
        public string FHQtySub { get; set; }
        public string FHPPBomInterID { get; set; }
        public string FHPPBomEntryID { get; set; }
        public string FHSourceID { get; set; }
        public string FNumerator { get; set; }
        public string FDenominator { get; set; }
        public string FFIXSCRAPQTY { get; set; }
        public string FHQtyScrap { get; set; }
        
        /// <summary>
        /// 生产订单号
        /// </summary>
        public string FMOBILLNO { get; set; }
 
        /// <summary>
        /// 生产订单分录内码
        /// </summary>
        public string FMOENTRYID { get; set; }
 
        /// <summary>
        /// 生产订单内码
        /// </summary>
        public string FMOID { get; set; }
 
        /// <summary>
        /// 生产用料清单编号
        /// </summary>
        public string FPPBOMBILLNO { get; set; }
 
        /// <summary>
        /// 生产用料清单明细行号
        /// </summary>
        public string FPPBOMFSEQ { get; set; }
 
        /// <summary>
        /// 产品货主
        /// </summary>
        public string FEntrustPickOrgId { get; set; }
 
        /// <summary>
        /// 货主类型
        /// </summary>
        public string FOwnerTypeId { get; set; }
 
        /// <summary>
        /// 货主
        /// </summary>
        public string FOwnerID { get; set; }
 
        /// <summary>
        /// 发料方式
        /// </summary>
        public string FIssueType { get; set; }
    }
}