コード例 #1
0
        public AcumaticaReferenceDataState GetAcumaticaReferenceDataStatus()
        {
            var state = _stateRepository.RetrieveSystemStateNoTracking();

            var referenceData = _combinedRefDataService.RetrieveRefData();

            var model = new AcumaticaReferenceDataState()
            {
                IsRandomAccessMode = state.IsRandomAccessMode,
                ReferenceDataState = state.AcumaticaRefDataState,
                Validations        = referenceData.Validation,
            };

            return(model);
        }
コード例 #2
0
        public ActionResult AcumaticaReferenceData()
        {
            var data = _combinedRefDataService.RetrieveRefData();

            return(new JsonNetResult(data));
        }