Ejemplo n.º 1
0
        /// <summary>
        /// 通过单别和日期生成ERP号
        /// </summary>
        /// <param name="danbie">单别</param>
        /// <param name="date">日期</param>
        /// <returns></returns>
        public string GetInvtaErpNum(string danbie, string date)
        {
            string num = null;

            if (danbie != null && date != null && danbie != "" && date != "")
            {
                // orderNoField, table, columnName, SingleName, datecolumnName, date
                num = ErpUtil.GetErpNum("INVTA", "TA001", danbie, "TA002", "TA014");
            }
            return(num);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// 根据单别获取单号
 /// </summary>
 /// <param name="danbie"></param>
 /// <returns></returns>
 public string GetCoptgErpNo(string danbie)
 {
     return(ErpUtil.GetErpNum("COPTG", "TG001", danbie, "TG002", "TG042"));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// 传入单别获取单号
 /// </summary>
 /// <param name="danbie"></param>
 /// <returns></returns>
 public string GetPurtgErpNo(string danbie)
 {
     return(ErpUtil.GetErpNum("PURTG", "TG001", danbie, "TG002", "TG014"));
 }