using Apache.NMS;
using Newtonsoft.Json;
using Rhea.Common;
using SqlSugar;
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Tiger.IBusiness;
using Tiger.Model;
namespace Tiger.Business.WMS
{
public partial class BS
{
///
/// 创建调拨单号
///
///
public ApiAction CreateTFBillCode()
{
var action = new ApiAction();
Result ruleResult = Cache.CodeRule["TF001"].Generate("TF"); //iWMS.GetBillNoByType("CI");
if (!ruleResult.IsSuccessed)
{
throw new Exception(ruleResult.ExceptionMsg.Message);
}
action.Data = ruleResult.Data;
return action;
}
}
}