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