internal ADMSPDecisionBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.ADMSPDecision) { myA = pBEMng; myADMSPDecisionDT = (SST.ADMSPDecisionDataTable)myDT; //if (myODAL == null) // myODAL = myA.AtMng.DALMngr.GetADMSPDecision(); }
internal FormHearingBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.FormHearing) { myA = pBEMng; myFormHearingDT = (SST.FormHearingDataTable)myDT; //if (myODAL == null) // myODAL = myA.AtMng.DALMngr.GetFormHearing(); }
internal SSTReqRecipientBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.SSTReqRecipient) { myA = pBEMng; mySSTReqRecipientDT = (SST.SSTReqRecipientDataTable)myDT; //if (myODAL == null) // myODAL = myA.AtMng.DALMngr.GetSSTReqRecipient(); }
internal ADMSPIssuesBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.ADMSPIssues) { myA = pBEMng; myADMSPIssuesDT = (SST.ADMSPIssuesDataTable)myDT; //if (myODAL == null) // myODAL = myA.AtMng.DALMngr.GetADMSPIssues(); }
internal SSTGroupBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.SSTGroup) { myA = pBEMng; mySSTGroupDT = (SST.SSTGroupDataTable)myDT; //if (myODAL == null) // myODAL = myA.AtMng.DALMngr.GetSSTGroup(); }
internal ADMSPAppealBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.ADMSPAppeal) { myA = pBEMng; myADMSPAppealDT = (SST.ADMSPAppealDataTable)myDT; ////if (myODAL == null) //// myODAL = myA.AtMng.DALMngr.GetADMSPAppeal(); }
internal ADMSEParticipantBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.ADMSEParticipant) { myA = pBEMng; myADMSEParticipantDT = (SST.ADMSEParticipantDataTable)myDT; //if (myODAL == null) // myODAL = myA.AtMng.DALMngr.GetADMSEParticipant(); }
internal SSTAppealGroundBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.SSTAppealGround) { myA = pBEMng; mySSTAppealGroundDT = (SST.SSTAppealGroundDataTable)myDT; //if (myODAL == null) // myODAL = myA.AtMng.DALMngr.GetSSTAppealGround(); }
internal ADMSLookupBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.ADMSLookup) { myA = pBEMng; myPartyLookupDT = (SST.ADMSLookupDataTable)myDT; IsVirtual = true; }
internal SSTCaseMatterBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.SSTCaseMatter) { myA = pBEMng; mySSTCaseMatterDT = (SST.SSTCaseMatterDataTable)myDT; //if (myODAL == null) // myODAL = myA.AtMng.DALMngr.GetSSTCaseMatter(); }
internal DocTransferBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.DocTransfer) { myA = pBEMng; myDocTransferDT = (SST.DocTransferDataTable)myDT; IsVirtual = true; }
internal HearingBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.Hearing) { myA = pBEMng; myHearingDT = (SST.HearingDataTable)myDT; if (myODAL == null) { myODAL = myA.AtMng.DALMngr.GetHearing(); } }
internal DocDumpBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.DocDump) { myA = pBEMng; myDocDumpDT = (SST.DocDumpDataTable)myDT; IsVirtual = true; LoadDocs(); }
internal FilePartyBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.FileParty) { myA = pBEMng; myFilePartyDT = (SST.FilePartyDataTable)myDT; if (myODAL == null) { myODAL = myA.AtMng.DALMngr.GetFileParty(); } }
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"); }
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); } }
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; } } }