Files
WMS-Api/src/WMS.Web.Domain/Values/ResultCodes.cs
18942506660 9568c4770c 修复bug
2023-12-29 11:32:23 +08:00

79 lines
6.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Text;
namespace WMS.Web.Domain.Values
{
/// <summary>
/// 错误提示信息
/// </summary>
public partial class ResultCodes
{
public static ValueTuple<int, string> Erp_Login_Error = (1001, "同步金蝶登录错误,请稍候再试");
public static ValueTuple<int, string> Erp_BillQuery_Error = (1002, "同步金蝶数据出错,请稍等再试");
/// <summary>
/// 无效
/// </summary>
public static ValueTuple<int, string> Token_Invalid_Error = (401, "验证Token无效请重新登录");
/// <summary>
/// 数据操作失败
/// </summary>
public static ValueTuple<int, string> DateWriteError = (40004, "数据操作失败");
public static ValueTuple<int, string> NoDateError = (40005, "数据不存在");
public static ValueTuple<int, string> SourceBillNoDateError = (40005, "来源单不存在,请核对后再试");
//出库任务单
public static ValueTuple<int, string> MergeStatusError = (70000, "请选择出库状态为”待出库”且出库类型为”销售出库”发货组织和收货客户以及发货仓库一致的数据");
public static ValueTuple<int, string> OutStockQtyError = (70001, "可出库数量不足");
public static ValueTuple<int, string> OutStockTaskNoData = (70002, "出库单不存在");
public static ValueTuple<int, string> OutStockMaterialError = (70003, "出库物料在任务单中不存在");
public static ValueTuple<int, string> OutStockTaskAlready = (70004, "任务单已全部出库");
public static ValueTuple<int, string> OutStockTaskRepeal = (70005, "任务单已作废");
public static ValueTuple<int, string> MergeNumberError = (70006, "必须选择两个及以上的单合并");
public static ValueTuple<int, string> BoxNumberError= (70007, "该批箱数量不符,不能出库");
public static ValueTuple<int, string> BoxOutStockTaskMaterialError = (70008, "该批箱物料和出库单中不存在,不能出库");
public static ValueTuple<int, string> BoxIsTrueShelf = (80000, "箱号已上架入库");
public static ValueTuple<int, string> BoxNoData = (80000, "系统找不到该箱号");
public static ValueTuple<int, string> InStockTaskBoxIsHaveData = (80000, "该箱已收货");
public static ValueTuple<int, string> BoxMateriaNoData = (800010, "箱对应物料信息不存在");
public static ValueTuple<int, string> MateriaNoData = (800011, "产品信息不存在");
public static ValueTuple<int, string> BoxInventorySerialNumbersNoData = (800012, "序列号不存在于箱库存数据中");
public static ValueTuple<int, string> InStockTaskNoData = (900000, "来源单不存在");
public static ValueTuple<int, string> BoxBindTaskDetailsIdNotChoose = (900000, "箱号仓库不对");
public static ValueTuple<int, string> ErpStockNoData = (900000, "Erp仓库信息不完整");
public static ValueTuple<int, string> Box_NoBind_Task_Data = (80001, "箱号未收货");
public static ValueTuple<int, string> OrderNoData = (80002, "单据信息不存在,请核对后再试!");
public static ValueTuple<int, string> ContrastError = (80003, "箱内产品和数量与来源单不一致");
public static ValueTuple<int, string> Contrast_Purchase_Error = (80003, "箱内产品和数量与采购单不一致");
public static ValueTuple<int, string> Contrast_Purchase_Count_Error = (80003, "箱内产品和采购单不一致");
public static ValueTuple<int, string> Contrast_Count_Error = (80003, "箱内产品和来源单不一致");
public static ValueTuple<int, string> Contrast_Qty_Error = (80003, "箱内产品数量超过可入库数量");
public static ValueTuple<int, string> ShelfNoPurchaseSave_Qty_Error = (80003, "上架数量不能大于当前应入库数量");
public static ValueTuple<int, string> ErpOrgError = (80004, "获取Erp相关组织数据失败请稍候再试");
public static ValueTuple<int, string> ErpSupplierError = (80005, "获取Erp相关供应商数据失败请稍候再试");
public static ValueTuple<int, string> ErpStockError = (80006, "获取Erp相关仓库数据失败请稍候再试");
public static ValueTuple<int, string> ErpMaterialError = (80007, "获取Erp相关物料数据失败请稍候再试");
public static ValueTuple<int, string> BoxHaveError = (80008, "箱号已收货");
public static ValueTuple<int, string> AdjustError = (80009, "与金蝶校准发生错误,请稍候再试!");
public static ValueTuple<int, string> InventoryNoSourceError = (800010, "来源数据不存在,请稍候再试!");
public static ValueTuple<int, string> BoxInventoryNoDataError = (800011, "该箱号不存在库存");
public static ValueTuple<int, string> BoxInventoryMaterialNoDataError = (800041, "箱物料库存数据不存在,请稍候再试!");
public static ValueTuple<int, string> BoxInventoryNoInventoryError = (800012, "箱库存物料数量不足,请核对后再试!");
public static ValueTuple<int, string> InventoryDetailsNoInventoryError = (800012, "物料库存数量不足,请核对后再试!");
public static ValueTuple<int, string> BoxInventoryHaveInventoryError = (800013, "箱号已上架入库");
public static ValueTuple<int, string> InventoryInOutDetailsWriteError = (800014, "写入物料收发明细失败!");
public static ValueTuple<int, string> InventoryDetailsWriteError = (800014, "写入即时库存明细失败!");
public static ValueTuple<int, string> MoveInventoryError = (800015, "箱已经上架,不能重复上架");
public static ValueTuple<int, string> SerialNumbersNoData = (610000, "序列号不存在");
public static ValueTuple<int, string> SerialNumbersBoxError = (610002, "序列号已经绑定箱");
public static ValueTuple<int, string> SerialNumbersSrcBoxError = (610003, "序列号不在原有箱号内");
public static ValueTuple<int, string> TakeStockStockError = (610001, "一次不能盘多个仓库");
public static ValueTuple<int, string> TakeStockErpSubStockError = (610005, "HD或GD仓时子仓库必填");
public static ValueTuple<int, string> TakeStockBoxError = (610004, "一次只能盘一个箱");
}
}