Ejemplo n.º 1
0
        /// <summary>
        /// Updates the table shReparator.
        /// If the parameter addTo order then a new row will be added
        /// with the current ordernr and AnvId
        /// if false then the row is deleted
        /// </summary>
        /// <param name="ident"></param>
        /// <param name="VartOrdernr"></param>
        /// <param name="AnvID"></param>
        /// <param name="addToOrder"></param>
        /// <returns></returns>
        /// 2018-02-05  KJBO
        public ErrorCL updateShrep(string ident, string VartOrdernr, string AnvID, Boolean addToOrder)
        {
            CMReparator cmr = new CMReparator();

            return(cmr.updateShrep(ident, VartOrdernr, AnvID, addToOrder));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Creates a list of all active reparatör
        /// in alphabetic order. To be used by dropdown controls
        /// or elsewhere when a key-value collection is needed
        /// </summary>
        /// <param name="ident"></param>
        /// <returns></returns>
        public List <ListRepCL> getReparatorList(string ident)
        {
            CMReparator cmr = new CMReparator();

            return(cmr.getReparatorList(ident));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Get a list of all reparators connected to an order
        /// </summary>
        /// <param name="VartOrdernr"></param>
        /// <param name="ident"></param>
        /// <returns></returns>
        /// 2018-02-02 KJBO
        public List <ShReparatorCL> getShReparatorList(string VartOrdernr, string ident)
        {
            CMReparator cmr = new CMReparator();

            return(cmr.getShReparatorList(VartOrdernr, ident));
        }