Пример #1
0
        //Constructor 1
        public MainconfigDS()
        {
            //MAIN
            var oData = this.getData();

            this.RECEIPT_NO     = oData.RECEIPT_NO;
            this.RECEIPT_FORMAT = oData.RECEIPT_FORMAT;
            this.HQBRANCH_ID    = oData.HQBRANCH_ID;
            this.DEFBRANCH_ID   = oData.DEFBRANCH_ID;
            //YEAR
            var oDataYear = oDSYear.getData_currentYear();

            this.YEAR_ID              = oDataYear.ID;
            this.CACHE_YEAR_CODE      = oDataYear.YEAR_CODE;
            this.CACHE_YEAR_SHORTDESC = oDataYear.YEAR_SHORTDESC;
            this.CACHE_YEAR_DESC      = oDataYear.YEAR_DESC;
            this.CACHE_YEAR_FROM      = oDataYear.YEAR_FROM;
            this.CACHE_YEAR_TO        = oDataYear.YEAR_TO;
            //SEMSETER
            this.SEMESTER_ID = oDSSemester.getData_currentSemesterID();
            //TRN
            this.TRN_DT = oDSSysinfo.getSYSDATE();
        } //End public MainconfigDS
Пример #2
0
        } //End public int? getData_YearID(DateTime? pdDatetime = null)

        public YeardetailVM getData_currentYear()
        {
            SysinfoDS oDSSysinfo = new SysinfoDS();

            return(this.getData(oDSSysinfo.getSYSDATE()));
        } //End public int? getData_currentYearID()
Пример #3
0
        }     //End public YeardetailVM getData(int? id = null)

        public int?getData_currentYearID()
        {
            SysinfoDS oDSSysinfo = new SysinfoDS();

            return(getData_YearID(oDSSysinfo.getSYSDATE()));
        } //End public int? getData_currentYearID()