|
|
using Estsh.Core.Model.Result;
|
|
|
using Estsh.Core.Models;
|
|
|
using Estsh.Core.Util;
|
|
|
using System.Collections;
|
|
|
using System.Data;
|
|
|
|
|
|
namespace Estsh.Core.Services.IServices
|
|
|
{
|
|
|
public interface ISAPOrderImportService : IBaseService<SapMisco>
|
|
|
{
|
|
|
#region 公共方法
|
|
|
|
|
|
public Hashtable ReadExcelFile(Stream inputStream, int orderType, int userId);
|
|
|
public bool IsDate(string date);
|
|
|
public bool IsMonth(string date);
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
//#region 采购计划导入--自动生成订单号版本
|
|
|
|
|
|
|
|
|
//private bool CheckSAPOInput(DataTable dtCheck, int orderType);
|
|
|
|
|
|
//private bool CheckDayPlanSAPOInput(DataTable dtCheck, int orderType);
|
|
|
|
|
|
|
|
|
//private int ImportSAPOData(DataTable dtFile, int empId, int orderType);
|
|
|
//#endregion
|
|
|
|
|
|
//#region 采购计划导入
|
|
|
|
|
|
//private bool ImportSapDspoData(DataTable dtCheck);
|
|
|
//#endregion
|
|
|
|
|
|
//#region 月计划导入
|
|
|
//private int ImportMonthlyPlanData(DataTable dtFile, int empId);
|
|
|
//#endregion
|
|
|
|
|
|
//private int DayPlanImportSAPOData(DataTable dtFile, int empId, int orderType);
|
|
|
|
|
|
|
|
|
//#region 零星领(退)料指令业务
|
|
|
//private bool ImportSapMiscoData(DataTable dtCheck, int orderType);
|
|
|
//#endregion
|
|
|
|
|
|
//#region 非JIS发运指令
|
|
|
|
|
|
//private bool ImportSapDnData(DataTable dtCheck);
|
|
|
//#endregion
|
|
|
|
|
|
//#region 供应商退货(SMRR/DMR)
|
|
|
//private bool ImportSapRetoData(DataTable dtCheck);
|
|
|
//#endregion
|
|
|
|
|
|
//#region NC入库指令
|
|
|
|
|
|
//private bool ImportSapMovoData(DataTable dtCheck);
|
|
|
//#endregion
|
|
|
|
|
|
//#region SAP盘点表指令
|
|
|
|
|
|
//private bool ImportSapCycoData(DataTable dtCheck);
|
|
|
//#endregion
|
|
|
|
|
|
//#region SAP盘点调差指令
|
|
|
|
|
|
//private bool CheckInput20(DataTable dtCheck, DataTable _dtExits20);
|
|
|
//#endregion
|
|
|
|
|
|
//#region SAP销售退货收货指令
|
|
|
|
|
|
//private bool ImportSapRdnData(DataTable dtCheck);
|
|
|
|
|
|
//#endregion
|
|
|
}
|
|
|
}
|