Esempio n. 1
0
        public static InforResult ReportMaterialNonConformance(InvTransfer matNonConformance)
        {
            var result = new InforResult();

            try
            {
                result = InforConnector.CallWebService(matNonConformance);

                return(result);
            }
            catch (Exception ex)
            {
                result = new InforResult(false, ex.Message);

                return(result);
            }
        }
Esempio n. 2
0
        public static InforResult ReportConsumedMaterials(List <UnplannedMat> unplannedMats)
        {
            var result = new InforResult();

            try
            {
                result = InforConnector.CallWebService(unplannedMats);

                return(result);
            }
            catch (Exception ex)
            {
                result = new InforResult(false, ex.Message);

                return(result);
            }
        }
Esempio n. 3
0
        public static InforResult ReportOperationProgress(OperatorOperation opProgress)
        {
            var result = new InforResult();

            try
            {
                result = InforConnector.CallWebService(opProgress);

                return(result);
            }
            catch (Exception ex)
            {
                result = new InforResult(false, ex.Message);

                return(result);
            }
        }
Esempio n. 4
0
        public static InforResult ReportProducedQuantity(ReportProduction reportProd)
        {
            var result = new InforResult();

            try
            {
                result = InforConnector.CallWebService(reportProd);

                return(result);
            }
            catch (Exception ex)
            {
                result = new InforResult(false, ex.Message);

                return(result);
            }
        }