clsSetAwardPaymentPending¶
clsSetAwardPaymentPending drives the award-to-Pending workflow: it retrieves an active award, cascades a benefit-payment retrieve when active, and on save updates both the award status and the associated benefit payment (see Set award to Pending).
Purpose¶
- Retrieves an active award and its associated benefit payment (SQL-031, SQL-032).
- Updates the award status to Pending and cascades the benefit payment to In Progress (SQL-048, SQL-049), enforcing BR-011.
Context¶
- Namespace:
SAIF.Business.Claim - Assembly/package:
SAIF.Business.Claim.dll
Public members¶
| Member | Signature | Purpose |
|---|---|---|
Retrieve |
Public Function Retrieve(claimId As Decimal, awardNum As Decimal) As Boolean |
Retrieves the active award and cascades a benefit-payment retrieve when HasActiveAward is true (SQL-031). |
Update |
Public Function Update() As Boolean |
Persists the award status change to Pending, triggering ProcessBenefitPayment() on success (SQL-048). |
ProcessBenefitPayment |
Public Function ProcessBenefitPayment() As Boolean |
Moves the associated benefit payment to In Progress (SQL-049). |
HasActiveAward |
Public ReadOnly Property HasActiveAward As Boolean |
Indicates whether an active award (AWARD_STATUS_CODE = 'A') was found for the claim/award key. |
Behavioral notes¶
- The award update (SQL-048) has no
UPDATE_NUMpredicate in its WHERE clause and is therefore not protected by the optimistic-concurrency check used elsewhere in this library.*
Constraints and usage notes¶
- Callers should check
HasActiveAwardbefore assuming a benefit-payment cascade will occur.
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.
Related documentation¶
- Library index
- API reference index
- Overview
- Architecture
- Dependencies
- Operations and processes
- Business rules
- Database tables
- SQL catalog
Sources¶
- SAIF.Business.Claim/clsSetAwardPaymentPending.vb