예제 #1
0
 internal ADMSPDecisionBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.ADMSPDecision)
 {
     myA = pBEMng;
     myADMSPDecisionDT = (SST.ADMSPDecisionDataTable)myDT;
     //if (myODAL == null)
     //    myODAL = myA.AtMng.DALMngr.GetADMSPDecision();
 }
예제 #2
0
 internal FormHearingBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.FormHearing)
 {
     myA             = pBEMng;
     myFormHearingDT = (SST.FormHearingDataTable)myDT;
     //if (myODAL == null)
     //    myODAL = myA.AtMng.DALMngr.GetFormHearing();
 }
예제 #3
0
 internal SSTReqRecipientBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.SSTReqRecipient)
 {
     myA = pBEMng;
     mySSTReqRecipientDT = (SST.SSTReqRecipientDataTable)myDT;
     //if (myODAL == null)
     //    myODAL = myA.AtMng.DALMngr.GetSSTReqRecipient();
 }
예제 #4
0
 internal ADMSPIssuesBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.ADMSPIssues)
 {
     myA             = pBEMng;
     myADMSPIssuesDT = (SST.ADMSPIssuesDataTable)myDT;
     //if (myODAL == null)
     //    myODAL = myA.AtMng.DALMngr.GetADMSPIssues();
 }
예제 #5
0
 internal SSTGroupBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.SSTGroup)
 {
     myA          = pBEMng;
     mySSTGroupDT = (SST.SSTGroupDataTable)myDT;
     //if (myODAL == null)
     //    myODAL = myA.AtMng.DALMngr.GetSSTGroup();
 }
예제 #6
0
 internal ADMSPAppealBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.ADMSPAppeal)
 {
     myA             = pBEMng;
     myADMSPAppealDT = (SST.ADMSPAppealDataTable)myDT;
     ////if (myODAL == null)
     ////    myODAL = myA.AtMng.DALMngr.GetADMSPAppeal();
 }
예제 #7
0
 internal ADMSEParticipantBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.ADMSEParticipant)
 {
     myA = pBEMng;
     myADMSEParticipantDT = (SST.ADMSEParticipantDataTable)myDT;
     //if (myODAL == null)
     //    myODAL = myA.AtMng.DALMngr.GetADMSEParticipant();
 }
예제 #8
0
 internal SSTAppealGroundBE(SSTManager pBEMng)
     : base(pBEMng, pBEMng.DB.SSTAppealGround)
 {
     myA = pBEMng;
     mySSTAppealGroundDT = (SST.SSTAppealGroundDataTable)myDT;
     //if (myODAL == null)
     //    myODAL = myA.AtMng.DALMngr.GetSSTAppealGround();
 }
예제 #9
0
        internal ADMSLookupBE(SSTManager pBEMng)
            : base(pBEMng, pBEMng.DB.ADMSLookup)
        {
            myA             = pBEMng;
            myPartyLookupDT = (SST.ADMSLookupDataTable)myDT;

            IsVirtual = true;
        }
예제 #10
0
 internal SSTCaseMatterBE(SSTManager pBEMng)
     : base(pBEMng, pBEMng.DB.SSTCaseMatter)
 {
     myA = pBEMng;
     mySSTCaseMatterDT = (SST.SSTCaseMatterDataTable)myDT;
     //if (myODAL == null)
     //    myODAL = myA.AtMng.DALMngr.GetSSTCaseMatter();
 }
예제 #11
0
        internal DocTransferBE(SSTManager pBEMng)
            : base(pBEMng, pBEMng.DB.DocTransfer)
        {
            myA             = pBEMng;
            myDocTransferDT = (SST.DocTransferDataTable)myDT;

            IsVirtual = true;
        }
예제 #12
0
 internal HearingBE(SSTManager pBEMng)
     : base(pBEMng, pBEMng.DB.Hearing)
 {
     myA         = pBEMng;
     myHearingDT = (SST.HearingDataTable)myDT;
     if (myODAL == null)
     {
         myODAL = myA.AtMng.DALMngr.GetHearing();
     }
 }
예제 #13
0
        internal DocDumpBE(SSTManager pBEMng)
            : base(pBEMng, pBEMng.DB.DocDump)
        {
            myA         = pBEMng;
            myDocDumpDT = (SST.DocDumpDataTable)myDT;

            IsVirtual = true;

            LoadDocs();
        }
예제 #14
0
 internal FilePartyBE(SSTManager pBEMng)
     : base(pBEMng, pBEMng.DB.FileParty)
 {
     myA           = pBEMng;
     myFilePartyDT = (SST.FilePartyDataTable)myDT;
     if (myODAL == null)
     {
         myODAL = myA.AtMng.DALMngr.GetFileParty();
     }
 }
예제 #15
0
        internal SSTCaseBE(SSTManager pBEMng)
            : base(pBEMng, pBEMng.DB.SSTCase)
        {
            myA         = pBEMng;
            mySSTCaseDT = (SST.SSTCaseDataTable)myDT;
            if (myODAL == null)
            {
                myODAL = myA.AtMng.DALMngr.GetSSTCase();
            }

            this.mySSTCaseDT.DeemedDisabilityDateColumn.ExtendedProperties.Add("format", "MMMM yyyy");
            this.mySSTCaseDT.PaymentDateColumn.ExtendedProperties.Add("format", "MMMM yyyy");
            this.mySSTCaseDT.ApplicationDateColumn.ExtendedProperties.Add("format", "MMMM yyyy");
            this.mySSTCaseDT.OnsetDateColumn.ExtendedProperties.Add("format", "MMMM yyyy");
        }
예제 #16
0
 public SSTManager GetSSTMng()
 {
     if (AtMng.GetSetting(AppBoolSetting.useSSTMngr))
     {
         if (mySSTM == null)
         {
             mySSTM = new SSTManager(this);
             myMngrs.Add(mySSTM.DB.DataSetName, mySSTM);
         }
         return(mySSTM);
     }
     else
     {
         return(null);
     }
 }
예제 #17
0
        private void CreateAppeal(int fileAppealedId)
        {
            FileManager fmOrig  = myA.AtMng.GetFile(fileAppealedId);
            SSTManager  sstOrig = fmOrig.GetSSTMng();

            SST.SSTCaseRow scr = mySSTCaseDT[0];
            //copy sstcasematter

            if (!sstOrig.DB.SSTCase[0].IsDecisionSentDateNull())
            {
                scr.OrigDecisionDate = sstOrig.DB.SSTCase[0].DecisionSentDate;
            }


            //is leave to app0eal required!!
            if (sstOrig.DB.SSTCase[0].OutcomeId == 5 || sstOrig.DB.SSTCase[0].OutcomeId == 18)
            {
                scr.LeaveToAppealNotRequired = true;
            }
            else
            {
                scr.LeaveToAppealNotRequired = false;
            }

            scr.ProgramId = sstOrig.DB.SSTCase[0].ProgramId;
            if (!sstOrig.DB.SSTCase[0].IsAccountIdNull())
            {
                scr.AccountId = sstOrig.DB.SSTCase[0].AccountId;
            }

            foreach (SST.SSTCaseMatterRow scmr in sstOrig.DB.SSTCaseMatter)
            {
                SST.SSTCaseMatterRow newScmr = (SST.SSTCaseMatterRow)myA.GetSSTCaseMatter().Add(scr);
                if (!scmr.IsIssueIdNull())
                {
                    newScmr.IssueId = scmr.IssueId;
                }
                if (!scmr.IsAccountIdNull())
                {
                    newScmr.AccountId = scmr.AccountId;
                }

                newScmr.ProgramId = scmr.ProgramId;
            }

            //copy contacts/parties
            foreach (atriumDB.FileContactRow fcr in fmOrig.DB.FileContact)
            {
                if (fcr.ContactClass == "P")
                {
                    atriumDB.FileContactRow newFcr = (atriumDB.FileContactRow)myA.FM.GetFileContact().Add(myA.FM.CurrentFile);
                    newFcr.ContactId   = fcr.ContactId;
                    newFcr.ContactType = fcr.ContactType;

                    SST.FilePartyRow fpr    = (SST.FilePartyRow)sstOrig.DB.FileParty.Select("Filecontactid=" + fcr.FileContactid.ToString())[0];
                    SST.FilePartyRow newFpr = (SST.FilePartyRow)myA.GetFileParty().Add(scr);
                    newFpr.IsAppellant   = fpr.IsAppellant;
                    newFpr.IsRespondent  = fpr.IsRespondent;
                    newFpr.IsPending     = true;
                    newFpr.FileContactId = newFcr.FileContactid;
                }
            }
        }