/// <summary>
 /// 根据flag获取原因信息
 /// </summary>
 /// <param name="CompanyCD"></param>
 /// <param name="flag">类型原因类别(1出入库原因,2借货原因,3库存调整原因,4库存调拨原因,5库存报损原因,20销售退货原因,21采购退货原因)</param>
 /// <returns></returns>
 public static DataTable GetReasonTypeByFlag(string CompanyCD, string flag)
 {
     return(CodeReasonTypeDBHelper.GetReasonTypeByFlag(CompanyCD, flag));
 }
 /// <summary>
 /// 获取出入库原因信息
 /// </summary>
 /// <param name="CompanyCD"></param>
 /// <returns></returns>
 public static DataTable GetReasonType(string CompanyCD)
 {
     return(CodeReasonTypeDBHelper.GetReasonType(CompanyCD));
 }