using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace BarCode.Web.Core.Dto.Erp.OutStock
{
///
/// 出库单同步金蝶
///
public class ErpOutStockSaveDto
{
///
/// 单据编号
///
[JsonProperty("BillNo")]
public string BillNo { get; set; }
///
/// 单据类型
///
[JsonProperty("BillNo")]
public string Type { get; set; }
///
/// 发货组织
///
[JsonProperty("DeliveryOrgId")]
public int DeliveryOrgId { get; set; }
///
/// 收货客户
///
[JsonProperty("ReceiptCustomerId")]
public int ReceiptCustomerId { get; set; }
///
/// 创建时间(出库时间)
///
[JsonProperty("CreateTime")]
public DateTime CreateTime { get; set; } = DateTime.Now;
///
/// 结算币别默认为: 人民币
///
[JsonProperty("Currency")]
public string Currency { get; set; }
///
/// 销售组织取对应发货通知单的销售组织
///
[JsonProperty("Currency")]
public string SalOrg { get; set; }
///
/// 销售部门取对应发货通知单的销售部门
///
[JsonProperty("Currency")]
public string SalDept { get; set; }
}
public class ErpOutStockSaveDetailsDto
{
///
/// 物料Id
///
[JsonProperty("MaterialId")]
public string MaterialId { get; set; }
///
/// 仓库ID
///
[JsonProperty("StockId")]
public string StockId { get; set; }
///
/// 出库数量
///
[JsonProperty("UnitId")]
public string UnitId { get; set; }
///
/// 出库数量
///
[JsonProperty("Qty")]
public decimal Qty { get; set; }
///
/// 应发数量,取对应发货通知单的销售数量
///
[JsonProperty("YFQty")]
public string YFQty { get; set; }
///
/// 单价 取对应发货通知单对应物料编码行的 单价
///
[JsonProperty("Price")]
public string Price { get; set; }
///
///含税单价 取对应发货通知单对应物料编码行的 含税单价
///
[JsonProperty("HSPrice")]
public string HSPrice { get; set; }
}
}