コード例 #1
0
        public AsglentryGLReOpenJournalResponseAPI GLReOpenJournal(Glopenjournalcriteria glopenjournalcriteria)
        {
            var result = new AsglentryGLReOpenJournalResponseAPI();

            var pdsglopenjournal = new pdsglopenjournalDataSet();

            DataRow ttblglopenjournalcriteriaCriteria = pdsglopenjournal.ttblglopenjournalcriteria.NewttblglopenjournalcriteriaRow();

            Glopenjournalcriteria.UpdateRowFromGlopenjournalcriteria(ref ttblglopenjournalcriteriaCriteria, glopenjournalcriteria);
            pdsglopenjournal.ttblglopenjournalcriteria.AddttblglopenjournalcriteriaRow((pdsglopenjournalDataSet.ttblglopenjournalcriteriaRow)ttblglopenjournalcriteriaCriteria);

            string cErrorMessage   = string.Empty;
            string cWarningMessage = string.Empty;


            NLogLoggerP.Trace("GLReOpenJournal - Asglentry - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAsglentryproxy = this.proxyAppObject.CreatePO_asglentryproxy())
                {
                    this.SetRequiredContextParameters();
                    poAsglentryproxy.GLReOpenJournal(ref pdsContext, ref pdsglopenjournal, out cErrorMessage, out cWarningMessage);
                }
            });
            NLogLoggerP.Info("GLReOpenJournal - Asglentry - After Call");


            this.ReportErrors(cErrorMessage);
            this.ReportErrors(this.pdsContext);
            this.ReportErrors(pdsglopenjournal);

            if (pdsglopenjournal.ttblglopenjournalresults.Count > 0)
            {
                result.glopenjournalresults = Glopenjournalresults.BuildGlopenjournalresultsFromRow(pdsglopenjournal.ttblglopenjournalresults[0]);
            }

            result.cWarningMessage = cWarningMessage;

            return(result);
        }
コード例 #2
0
 public AsglentryGLReOpenJournalResponseAPI GLReOpenJournal(Glopenjournalcriteria glopenjournalcriteria)
 {
     return(this.repository.GLReOpenJournal(glopenjournalcriteria));
 }
コード例 #3
0
 public AsglentryGLOpenJournalResponseAPI GLOpenJournal(Glopenjournalcriteria glopenjournalcriteria)
 {
     return(this.adapter.GLOpenJournal(glopenjournalcriteria));
 }