namespace RB_MES_API.Models.Cloud
{
    /// <summary>
    /// 一次调拨需要的【发货通知单】原单信息
    /// </summary>
    public class STKTransferDirect
    {
        /// <summary>
        /// 发货通知单id
        /// </summary>
        public string FID { get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        public string FBussinessType { get; set; }
        /// <summary>
        /// 发货组织
        /// </summary>
        public string FDeliveryOrgID { get; set; }
        /// <summary>
        /// 仓管员
        /// </summary>
        public string FStockerID { get; set; }
        /// <summary>
        /// 库存组
        /// </summary>
        public string FStockerGroupID { get; set; }
        /// <summary>
        /// 销售组织
        /// </summary>
        public string FSaleOrgId { get; set; }
        /// <summary>
        ///  收款条件
        /// </summary>
        public string FRECEIPTCONDITIONID { get; set; }
        /// <summary>
        /// 销售部门
        /// </summary>
        public string FSaleDeptID { get; set; }
        /// <summary>
        /// 销售组
        /// </summary>
        public string FSaleGroupID { get; set; }
        /// <summary>
        /// 销售员
        /// </summary>
        public string FSalesManID { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string FBillNo { get; set; }
        /// <summary>
        /// 货主类型
        /// </summary>
        public string FOwnerTypeID { get; set; }
        /// <summary>
        /// 货主
        /// </summary>
        public string FOwnerID { get; set; }
        /// <summary>
        /// 生产日期
        /// </summary>
        public string FPRODUCEDATE { get; set; }
        /// <summary>
        /// 库存单位
        /// </summary>
        public string FStockUnitID { get; set; }
        /// <summary>
        ///  辅助属性
        /// </summary>
        public string FAuxpropID { get; set; }
        /// <summary>
        /// 出货仓位
        /// </summary>
        public string FStockLocID { get; set; }
        /// <summary>
        /// 本位币
        /// </summary>
        public string FLocalCurrID { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string FMaterialID { get; set; }
        /// <summary>
        /// 原单明细内码
        /// </summary>
        public string FEntryID { get; set; }

        /// <summary>
        /// 批号
        /// </summary>
        public string FLot { get; set; }
        /// <summary>
        /// 备货仓库
        /// </summary>
        public string FBACKUPSTOCKID { get; set; }
        /// <summary>
        /// 备货仓位
        /// </summary>
        public string FBACKUPSTOCKLOCID { get; set; }
        /// <summary>
        /// 出货仓库
        /// </summary>
        public string FStockID { get; set; }
        /// <summary>
        /// BOM版本
        /// </summary>
        public string FBomID { get; set; }
        /// <summary>
        /// 有效期至
        /// </summary>
        public string FEXPIRYDATE { get; set; }
        /// <summary>
        ///  计划跟踪号
        /// </summary>
        public string FMtoNo { get; set; }
        /// <summary>
        /// 订单单号
        /// </summary>
        public string FOrderNo { get; set; }
        /// <summary>
        /// 结算币别
        /// </summary>
        public string FSettleCurrID { get; set; }
        /// <summary>
        /// 结算组织
        /// </summary>
        public string FSettleOrgID { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public string FPrice { get; set; }
        /// <summary>
        /// 含税单价
        /// </summary>
        public string FTaxPrice { get; set; }
        /// <summary>
        /// 税率%
        /// </summary>
        public string FEntryTaxRate { get; set; }
        /// <summary>
        /// 净价
        /// </summary>
        public string FTaxNetPrice { get; set; }
        /// <summary>
        /// 客户物料编码
        /// </summary>
        public string FCustMatID { get; set; }
        /// <summary>
        /// 汇率类型
        /// </summary>
        public string FExchangeTypeID { get; set; }
        /// <summary>
        /// 结算方式
        /// </summary>
        public string FSettleTypeID { get; set; }
        /// <summary>
        /// 折扣率%
        /// </summary>
        public string FDiscountRate { get; set; }
        /// <summary>
        /// 是否含税
        /// </summary>
        public bool FIsIncludedTax { get; set; } = true;
        /// <summary>
        /// 销售单位
        /// </summary>
        public string FUnitID { get; set; }
        /// <summary>
        /// 计价单位
        /// </summary>
        public string FPriceUnitId { get; set; }
        /// <summary>
        /// 销售订单EntryId
        /// </summary>
        public string FSOEntryId { get; set; }
        /// <summary>
        /// 价外税
        /// </summary>
        public string FIsPriceExcludeTax { get; set; }
        /// <summary>
        /// 是否赠品
        /// </summary>
        public string FIsFree { get; set; }
        /// <summary>
        /// 发货检验
        /// </summary>
        public string FCheckDelivery { get; set; }
        /// <summary>
        /// 产品类型
        /// </summary>
        public string FRowType { get; set; }
        /// <summary>
        /// 父项产品
        /// </summary>
        public string FParentMatId { get; set; }
        /// <summary>
        /// 行标识
        /// </summary>
        public string FRowId { get; set; }
        /// <summary>
        /// 父行标识
        /// </summary>
        public string FParentRowId { get; set; }
        /// <summary>
        /// BOM分录内码
        /// </summary>
        public string FBOMEntryId { get; set; }
        /// <summary>
        /// 源单分录行号 FSrcBillEntrySeq 
        /// </summary>
        public string FSeq { get; set; }
        /// <summary>
        /// 未出库数量
        /// </summary>
        public decimal FRemainOutQty { get; set; }
        /// <summary>
        /// 累计出库数量
        /// </summary>
        public decimal FSumOutQty { get; set; }
        /// <summary>
        /// 单据类型
        /// </summary>
        public string FBillTypeID { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public string FCustomerID { get; set; }
    }
}
