增加获取erp仓库接口

This commit is contained in:
18942506660
2023-11-02 10:08:58 +08:00
parent e8645ed73f
commit 7fcc48fd9b
6 changed files with 104 additions and 21 deletions

View File

@@ -10,26 +10,29 @@ namespace WMS.Web.Core.Dto.Erp.TakeStock
/// </summary>
public class ErpTakeStockSaveDto
{
public ErpTakeStockSaveDto() { }
/*
* 单据编号FBillNo
日期FDate (必填项)
库存组织FStockOrgId (必填项)
单据类型FBillTypeID (必填项)
货主类型FOwnerTypeIdHead (必填项)
货主类型FOwnerTypeIdHead (必填项) BD_OwnerOrg
物料编码FMaterialId (必填项)
单位FUnitID (必填项)
仓库FStockId (必填项)
库存状态FStockStatusId (必填项)
货主类型FOwnerTypeId (必填项)
货主FOwnerid (必填项)
保管者类型FKeeperTypeId (必填项)
货主类型FOwnerTypeId (必填项) BD_OwnerOrg
货主FOwnerid (必填项)
保管者类型FKeeperTypeId (必填项) BD_KeeperOrg
保管者FKeeperId (必填项)
子仓库FStockLocId
*/
/// <summary>
/// 单据类型(标准盘亏单; 标准盘盈单)
/// 单据类型(标准盘亏单; 标准盘盈单 PY01_SYS) 盘亏 PK01_SYS
/// </summary>
[JsonProperty("FBillTypeID")]
public string Type { get; set; }
@@ -39,10 +42,10 @@ namespace WMS.Web.Core.Dto.Erp.TakeStock
[JsonProperty("FStockOrgId")]
public string StockOrgId { get; set; }
/// <summary>
/// 货主类型: 默认为业务组织
/// 货主类型: 默认为业务组织 BD_OwnerOrg
/// </summary>
[JsonProperty("FBillTypeID")]
public string FOwnerTypeIdHead { get; set; }
public string FOwnerTypeIdHead { get; set; } = "BD_OwnerOrg";
/// <summary>
/// 单据编号
/// </summary>
@@ -62,50 +65,50 @@ namespace WMS.Web.Core.Dto.Erp.TakeStock
public class ErpTakeStockDetailsSaveDto
{
/// <summary>
/// 库存状态
/// 库存状态 KCZT001
/// </summary>
[JsonProperty("FStockStatusId")]
public int FStockStatusId { get; set; }
/// <summary>
/// 货主类型: 默认为业务组织
public string FStockStatusId { get; set; } = "KCZT001";
/// <summary>
/// 货主类型: 默认为业务组织 BD_OwnerOrg
/// </summary>
[JsonProperty("FOwnerTypeId")]
public int FOwnerTypeId { get; set; }
public string FOwnerTypeId { get; set; } = "BD_OwnerOrg";
/// <summary>
/// 取仓库对应的货主信息
/// 取仓库对应的货主信息 货主: 等于库存组织
/// </summary>
[JsonProperty("FOwnerid")]
public int FOwnerid { get; set; }
public string FOwnerid { get; set; }
/// <summary>
/// 保管者类型
/// </summary>
[JsonProperty("FKeeperTypeId")]
public int FKeeperTypeId { get; set; }
public string FKeeperTypeId { get; set; } = "BD_KeeperOrg";
/// <summary>
/// 保管者
/// 保管者 仓库”库存组织”
/// </summary>
[JsonProperty("FKeeperId")]
public int FKeeperId { get; set; }
public string FKeeperId { get; set; }
/// <summary>
/// 物料ID
/// </summary>
[JsonProperty("FMaterialId")]
public int MaterialId { get; set; }
public string MaterialId { get; set; }
/// <summary>
/// 单位ID
/// </summary>
[JsonProperty("FUnitID")]
public int UnitId { get; set; }
public string UnitId { get; set; }
/// <summary>
/// 仓库ID
/// </summary>
[JsonProperty("FStockId")]
public int StockId { get; set; }
public string StockId { get; set; }
/// <summary>
/// 仓位ID
/// </summary>
[JsonProperty("FStockLocId")]
public int SubStockId { get; set; }
public string SubStockId { get; set; }
/// <summary>
/// 盘点前数量wms系统数量
/// </summary>