using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using WMS.Web.Core;
namespace WMS.Web.Domain.Entitys
{
///
/// erp入库任务明细表
///
[Serializable]
[Table("t_erp_instock_task_details")]
public class InStockTaskDetails : EntityBase
{
///
/// ID
///
public override int Id { get; set; }
///
/// 单据头ID
///
public int Fid { get; set; }
///
/// 对应金蝶的明细ID
///
public int ErpDetailId { get; set; }
///
/// 供应商Id
///
public int SupplierId { get; set; }
///
/// 组织ID
///
public int OrgId { get; set; }
///
/// 组织编码
///
public string OrgCode { get; set; }
///
/// 物料编码
///
public string MaterialNumber { get; set; }
///
/// 收货仓库编码(对应金蝶和单点)
///
public string StockCode { get; set; }
///
/// 出厂价(对应金蝶数据)
///
public decimal FactoryPrice { get; set; }
///
/// 应入数量(对应金蝶的订单数量-对应物料)
///
public decimal AccruedQty { get; set; }
///
/// 已交数量(对应金蝶的已交数量-对应物料),目前只有采购订单有
///
public decimal DeliveredQty{ get; set; }
///
/// 收货数量(仓库现场收货动作的数量)
///
public decimal ReceiveQty { get; set; }
///
/// 实际入库数量(仓库人员现场入库的数量)上架动作
///
public decimal RealityQty { get; set; }
///
/// 明细备注
///
public string Remark { get; set; }
///
/// 是否作废
///
public bool? IsRepeal { get; set; } = false;
///
/// 销售订单号
///
public string SaleBillNo { get; set; }
///
/// 客户编码
///
public string CustomerCode { get; set; }
}
}