clsCoverageBTask¶
clsCoverageBTask is the Coverage B counterpart to clsClaimTask — structurally parallel (same Create → GetClaimData → PostFill shape) but constrained to Coverage B claims, with its own due-date window and no notepad requirement.
Purpose¶
- Creates and validates Coverage B tasks against a claim whose coverage code is
B(Create and validate a Coverage B task, BR-CB-01). - Overrides the base due-date rule to enforce a one-year window (BR-CB-03).
- Rolls non-working due dates to the next working day at construction (BR-CB-05).
Context¶
- Namespace:
SAIF.Business.Tasks.Claim - Assembly/package:
SAIF.Business.Tasks.Claim.dll(embedded)
Public members¶
| Member | Signature | Purpose |
|---|---|---|
CategoryDescr |
Public ReadOnly Property CategoryDescr As String |
Returns the human-readable category description, cached at the parent collection level (Resolve a Coverage B category description). |
ClaimNum |
Public Property ClaimNum As String |
Resolves the claim via clsClaimData and validates coverage code B (BR-CB-01). |
Deleted |
Public Property Deleted As Boolean |
Reflects/sets the soft-delete flag on the task row. |
WorkerName |
Public ReadOnly Property WorkerName As String |
Returns the injured worker's name for the bound claim. |
Shared NewTask(dpi, claimId) |
Public Shared Function NewTask(dpi As IDataPortalInfo, claimId As Integer) As clsCoverageBTask |
Creates a new Coverage B task bound to the given claim. |
Shared NewTask(dpi, claimId, createUser) |
Public Shared Function NewTask(dpi As IDataPortalInfo, claimId As Integer, createUser As String) As clsCoverageBTask |
Creates a new Coverage B task, stamping the supplied create user. |
CopyTo |
Public Function CopyTo(inMailID As String) As iTask |
Duplicates the task for a new claim and assigns it to inMailID (Copy a task to another user). |
Save() |
Public Overrides Function Save() As iTask |
Persists the task via the inherited stored-procedure path. |
SaveChild() |
Public Overrides Sub SaveChild() |
Persists the task as a child object in a parent save operation. |
MarkCompleted() |
Public Sub MarkCompleted() |
Soft-deletes the task by setting DeleteFlag; no notepad step (Complete a task). |
Inherited public members¶
Members in this section are inherited from clsTask in SAIF.Business.Tasks. They are available on this type through inheritance.
| Member | Signature | Purpose | Origin |
|---|---|---|---|
ActionCode |
Public Overrides ReadOnly Property ActionCode As String |
Always returns clsTaskActionCodeCollection.cNoActionRequired for Coverage B tasks.† |
SAIF.Business.Tasks — clsTask |
RequiresNotePadEntry |
Public Overrides ReadOnly Property RequiresNotePadEntry As Boolean |
Always False for Coverage B tasks (BR-CB-04).† |
SAIF.Business.Tasks — clsTask |
SourceCode |
Public Overrides ReadOnly Property SourceCode As String |
Always returns clsTaskSourceCodeCollection.cCoverageB, constraining retrieval to COVB rows.† |
SAIF.Business.Tasks — clsTask |
SourceSystem |
Public Overrides ReadOnly Property SourceSystem As TaskSourceSystem |
Always returns TaskSourceSystem.CoverageB.† |
SAIF.Business.Tasks — clsTask |
Behavioral notes¶
- The constructor sets
TaskDateModifier = TaskDateModifierType.NextWorkDay, which the base date logic applies to roll non-working due dates forward (BR-CB-05). OverrideRulesintercepts the inherited base ruleTASK2to re-evaluate the due-date window as today .. today + 1 year (BR-CB-03).
Constraints and usage notes¶
PostFillcallsGetClaimData()for every loaded row — Coverage B has no bulk extra-fields procedure equivalent to claim tasks'PK82284_CLAIM_TASK.
Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified. Statements marked with † were retrieved from dependency library documentation via the Legends CLI RAG service. They describe inherited behavior from the indicated origin library and should be verified if the dependency version changes.
Sources¶
- SAIF.Business.Tasks.Claim/clsCoverageBTask.vb