feat: add ERP material issue outbound callback

This commit is contained in:
mtf committed 2026-07-18 13:41:54 +08:00
1 parent 3da4bddb98
commit eda824cea7
13 files changed
+587 -20

No files matched your search

@@ -9,6 +9,8 @@ namespace HHWMS.Web.Models
[Table("InventoryTransaction")]
public class InventoryTransaction : BasePoco
{
public const string ErpOtherOutBillType = "AddOtherOut";
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public new int ID { get; set; }
@@ -94,5 +96,8 @@ namespace HHWMS.Web.Models
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string Status { get; set; }
[Display(Name = "ERP回传状态", Description = "0失败,1成功")]
public int? UploadErpFlag { get; set; }
}
}
@@ -0,0 +1,32 @@
using System.Collections.Generic;
namespace HHWMS.Web.Models
{
/// <summary>
/// ERP其他出库请求
/// </summary>
public class AddOtherOutRequest
{
public AddOtherOutMain Main { get; set; }
public List<AddOtherOutDetail> Details { get; set; }
}
public class AddOtherOutMain
{
public string ErpCode { get; set; }
public string OutCode { get; set; }
public string WhCode { get; set; }
public string Maker { get; set; }
}
public class AddOtherOutDetail
{
public string InvCode { get; set; }
public decimal OutQty { get; set; }
}
}