コード例 #1
0
        /// <summary>
        /// Creator: Brandyn T. Coverdill
        /// Created: 2020/04/07
        /// Approver: Dalton Reierson
        /// Approver:  Jesse Tomash
        ///
        /// Edits an Item Report.
        /// </summary>
        ///
        /// <remarks>
        /// Updated By:
        /// Updated:
        /// Update:
        /// </remarks>
        public bool editItemReports(int oldQty, string oldReport, int newQty, string newReport, int itemId)
        {
            bool result = false;

            try
            {
                result = 1 == _itemReportAccessor.updateItemReport(oldQty, oldReport, newQty, newReport, itemId);
            }
            catch (Exception ex)
            {
                throw new ApplicationException("Update Item Report Failed.", ex);
            }

            return(result);
        }