clsLegalPersonManager maintenance¶
Legal person / firm maintenance.
| Field | Value |
|---|---|
| Operation ID | OP-006 |
| Trigger | legal person / firm maintenance |
| Inputs | Current manager state, current claim/case context, and any workflow-specific parameters or collections. |
| Outputs | Updated collections, messages, or side effects specific to the operation. |
| Primary components | clsLegalPersonManager |
| Entry point | SAIF.Application.Claim.Legal\clsLegalPersonManager.vb |
Steps¶
- Lazily load legal persons, legal person types, and other firms (inline SQL lookups for type/firm code lists).
InsertNewPerson,InsertNewPersonType,InsertNewFirmadd rows to the respective collections.DeletePersonis guarded byCanDeleteLegalPerson;DeletePersonTypeandDeleteFirmremove from their collections.-
OnWritesaves the 3 collections, then nullsm_LegalPersonColto force a reload on next access.
Failure and edge-case behavior¶
- Failures surface as manager messages or blocked workflow actions specific to the source operation.
Process flow¶
The following diagram visualizes this operation's control flow.
flowchart TD
Start([Trigger]) --> S1[Load current state]
S1 --> S2[Apply operation rules]
S2 --> D{"Validation or security<br>issue?"}
D -->|Yes| EndErr(["Return message or block<br>action"])
D -->|No| EndOk(["Return updated workflow<br>state"])
Related documentation¶
- Index
- Operations and processes
- Business rules
- Security and authorization
- Database tables
- SQL catalog
- Procedures
- API reference
Sources¶
- SAIF.Application.Claim.Legal\clsLegalPersonManager.vb