Beispiel #1
0
        private FabProcess CheckProcess(string factoryID, string shopID, string processID, string where, ref bool hasError)
        {
            FabProcess process = BopHelper.FindProcess(shopID, processID);

            if (process == null)
            {
                hasError = true;

                ErrHist.WriteIf(where + processID,
                                ErrCategory.PERSIST,
                                ErrLevel.WARNING,
                                factoryID,
                                shopID,
                                Constants.NULL_ID,
                                Constants.NULL_ID,
                                Constants.NULL_ID,
                                processID,
                                Constants.NULL_ID,
                                Constants.NULL_ID,
                                "NOT FOUND PROCESS",
                                string.Format("Table:{0}", where)
                                );
            }

            return(process);
        }