using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
namespace BLL
{
public class ClsSc_PackSplitBill
{
//生成拆包单临时记录
///
/// 生成拆包单临时记录
///
/// 过滤条件
///
public DataSet GetSc_PackSplitBillSub_Temp(long HInterID, string sWhere)
{
DAL.ClsSc_PackSplitBill dal = new DAL.ClsSc_PackSplitBill();
return dal.GetInfoByID_View(HInterID, sWhere);
}
//生成拆包单临时记录
public bool set_SavePackSplitBill_Temp(Model.ClsSc_PackSplitBillSub oEntry, ref string sErrMsg)
{
DAL.ClsSc_PackSplitBill dal = new DAL.ClsSc_PackSplitBill();
if (dal.AddBill_PDA(oEntry, ref sErrMsg))
{
//sErrMsg = "保存成功!";
return true;
}
else
{
//sErrMsg = "保存失败!";
return false;
}
}
//生成拆包单
public bool set_SavePackSplitBill(Model.ClsSc_PackSplitBillMain oMain, ref string sErrMsg)
{
DAL.ClsSc_PackSplitBill dal = new DAL.ClsSc_PackSplitBill();
if (dal.AddBill_PDA(oMain, ref sErrMsg))
{
//sErrMsg = "保存成功!";
return true;
}
else
{
//sErrMsg = "保存失败!";
return false;
}
}
}
}