namespace RB_MES_API.Models.Cloud
{
    /// <summary>
    /// 二次调拨，源单为调拨单
    /// </summary>
    public class STKTransferDirect_2
    {
        /// <summary>
        /// 发货通知单id
        /// </summary>
        public string FID { get; set; }
        /// <summary>
        /// 一次调拨单号
        /// </summary>
        public string FBillNo { get; set; }
        /// <summary>
        /// 调拨单行ID
        /// </summary>
        public int FBillEntry_FEntryID { get; set; }
        /// <summary>
        /// 调拨单行号
        /// </summary>
        public int FSeq { get; set; }
        /// <summary>
        /// 调出库存组织
        /// </summary>
        public string FStockOutOrgId { get; set; }
        /// <summary>
        /// 调出货主类型
        /// </summary>
        public string FOwnerTypeOutIdHead { get; set; }
        /// <summary>
        /// 调出货主
        /// </summary>
        public string FOwnerOutIdHead { get; set; }
        /// <summary>
        ///  调拨类型
        /// </summary>
        public string FTransferBizType { get; set; }
        /// <summary>
        /// 调入库存组织
        /// </summary>
        public string FStockOrgId { get; set; }
        /// <summary>
        /// 调入货主类型
        /// </summary>
        public string FOwnerTypeIdHead { get; set; }
        /// <summary>
        /// 调入货主
        /// </summary>
        public string FOwnerIdHead { get; set; }
        /// <summary>
        /// 调拨方向
        /// </summary>
        public string FTransferDirect { get; set; }
        /// <summary>
        /// 仓管员
        /// </summary>
        public string FStockerId { get; set; }
        /// <summary>
        /// 库存组
        /// </summary>
        public string FStockerGroupId { get; set; }
        /// <summary>
        /// 本位币
        /// </summary>
        public string FBaseCurrId { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string FUnitID { get; set; }
        /// <summary>
        ///  调入库存状态
        /// </summary>
        public string FDestStockStatusId { get; set; }
        /// <summary>
        /// 调出库存状态
        /// </summary>
        public string FSrcStockStatusId { get; set; }
        /// <summary>
        /// 基本单位
        /// </summary>
        public string FBaseUnitId { get; set; }
        /// <summary>
        /// 调入保管者类型
        /// </summary>
        public string FKeeperTypeId { get; set; }
        /// <summary>
        /// 调入保管者
        /// </summary>
        public string FKeeperId { get; set; }
        /// <summary>
        /// 调出保管者类型
        /// </summary>
        public string FKeeperTypeOutId { get; set; }
        /// <summary>
        /// 调出保管者
        /// </summary>
        public string FKeeperOutId { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string FOrderNo { get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        public string FBizType { get; set; }
        /// <summary>
        /// 订单类别
        /// </summary>
        public string FORDERTYPE { get; set; }
        /// <summary>
        /// 结算币别
        /// </summary>
        public string FSETTLECURRID { get; set; }
        /// <summary>
        ///  销售组织
        /// </summary>
        public string FSaleOrgId { get; set; }
        /// <summary>
        /// 结算组织
        /// </summary>
        public string FSettleOrgId { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public string FConsignPrice { get; set; }
        /// <summary>
        /// 含税单价
        /// </summary>
        public string FTaxPrice { get; set; }
        /// <summary>
        /// 税率%
        /// </summary>
        public string FTaxRate { get; set; }
        /// <summary>
        /// 净价
        /// </summary>
        public string FTaxNetPrice { get; set; }
        /// <summary>
        /// 汇率
        /// </summary>
        public string FExchangeRate { get; set; }
        /// <summary>
        /// 汇率类型
        /// </summary>
        public string FExchangeTypeId { get; set; }
        /// <summary>
        /// 销售部门
        /// </summary>
        public string FSaleDeptId { get; set; }
        /// <summary>
        /// 销售员
        /// </summary>
        public string FSalerId { get; set; }
        /// <summary>
        /// 折扣率%
        /// </summary>
        public string FDiscountRate { get; set; }
        /// <summary>
        /// 销售单位
        /// </summary>
        public string FSaleUnitId { get; set; }
        /// <summary>
        /// 计价单位
        /// </summary>
        public string FPriceUnitID { get; set; }
        /// <summary>
        /// 通知单编号
        /// </summary>
        public string FNoticeNo { get; set; }
        /// <summary>
        /// 销售订单EntryId
        /// </summary>
        public string FSOEntryId { get; set; }
        /// <summary>
        /// 价外税
        /// </summary>
        public string FIsPriceExcludeTax { get; set; }
        /// <summary>
        /// 销售数量
        /// </summary>
        public decimal FSaleQty { get; set; }
        /// <summary>
        /// 调拨数量
        /// </summary>
        public decimal FQty { get; set; }
        /// <summary>
        /// 收款条件
        /// </summary>
        public string FRecConditionId { get; set; }
        /// <summary>
        /// 是否赠品
        /// </summary>
        public bool FISFREE { get; set; }
    }
}
