Ejemplo n.º 1
0
        public static string CheckInvRemark(string icode)
        {
            string r               = "";
            string ccode           = "";
            SessionUserValidate iv = SysValidateBll.ValidateSession();

            if (iv.f)
            {
                ccode = srb.GetProductionBz(icode);
                if (ccode != "")
                {
                    Sys_Remark scc = srb.Query(" and rcode='" + ccode + "'");
                    if (scc != null)
                    {
                        r = scc.rchangtext;
                    }
                    else
                    {
                        r = "";
                    }
                }
                else
                {
                    r = "";
                }
            }
            else
            {
                r = iv.badstr;
            }
            return(r);
        }
Ejemplo n.º 2
0
        public static string GetProductionRemarks(string pcode)
        {
            string              r   = "";
            Sys_RemarkBll       srb = new Sys_RemarkBll();
            SessionUserValidate iv  = SysValidateBll.ValidateSession();

            if (iv.f)
            {
                r = srb.GetProductionBz(pcode);
            }
            else
            {
                r = iv.badstr;
            }
            return(r);
        }