clsTradingAs¶
clsTradingAs records a business name a policyholder trades under, together with the registration, effective, and cancellation dates that bound its use and the identifiers — FEID, UITR, affiliate SSN — that tie it to a legal entity. Because names are dated, a consumer can tell a current trading name from a prior legal name rather than treating all of them as equivalent.
Purpose¶
- Records one registered trading name for a policy, with the dates that bound it (Retrieve supporting policy aggregates).
- Distinguishes a prior legal name from a current trading name.
- Resolves the coded trading-as type to a readable description.
Context¶
- Namespace:
SAIF.Business.View.Policy - Assembly/package:
SAIF.BOF.Business.View.Policy - Declared in:
Business/SAIF.Business.View.Policy/clsTradingAs.vb
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| TradingSeqNum | Public ReadOnly Property TradingSeqNum() As Decimal |
Identifier of the trading sequence attached to the trading-as name.* |
| TradingASNameEffDate | Public ReadOnly Property TradingASNameEffDate() As Date |
The trading as name effective date recorded on the trading-as name.* |
| CreateUser | Public ReadOnly Property CreateUser() As String |
Account of the user who performed the create action on the trading-as name.* |
| CreateDate | Public ReadOnly Property CreateDate() As Date |
The create date recorded on the trading-as name.* |
| BusSeqNum | Public ReadOnly Property BusSeqNum() As Decimal |
Identifier of the business sequence attached to the trading-as name.* |
| PolicyNum | Public ReadOnly Property PolicyNum() As Decimal |
Identifier of the policy attached to the trading-as name.* |
| FeidNum | Public ReadOnly Property FeidNum() As String |
Identifier of the FEID attached to the trading-as name.* |
| TradingASCancelDate | Public ReadOnly Property TradingASCancelDate() As Date |
The trading as cancel date recorded on the trading-as name.* |
| TradingAsName | Public ReadOnly Property TradingAsName() As String |
Name of the trading as recorded against the trading-as name.* |
| UitrNumber | Public ReadOnly Property UitrNumber() As Decimal |
Identifier of the UITR attached to the trading-as name.* |
| AffiliateSsn | Public ReadOnly Property AffiliateSsn() As String |
The affiliate SSN recorded on the trading-as name.* |
| UpdateUser | Public ReadOnly Property UpdateUser() As String |
Account of the user who performed the update action on the trading-as name.* |
| UpdateDate | Public ReadOnly Property UpdateDate() As Date |
The update date recorded on the trading-as name.* |
| RegistrationDate | Public ReadOnly Property RegistrationDate() As Date |
The registration date recorded on the trading-as name.* |
| TradingASTypeCode | Public ReadOnly Property TradingASTypeCode() As String |
Coded value classifying the trading as type of the trading-as name.* |
| TradingAsDescription | Public ReadOnly Property TradingAsDescription As String |
Readable text describing the trading as of the trading-as name.* |
| TradingAsDesriptions | Public ReadOnly Property TradingAsDesriptions As clsCodeCollection |
The code collection the trading-as type description is resolved from. The misspelled name is retained for backwards compatibility.* |
| IsPriorLegal | Public ReadOnly Property IsPriorLegal As Boolean |
True when this name is a prior legal name rather than a name currently traded under.* |
| Equals | Public Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean |
Compares two instances for equality without requiring either reference to be non-null. |
| Equals | Public Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean |
Compares this instance with an arbitrary object. |
| Equals | Public Overloads Function Equals(ByVal inObject As clsTradingAs) As Boolean |
Compares this instance with another of the same type. |
| GetHashCode | Public Overrides Function GetHashCode() As Integer |
Hashes on the same values that define equality for this type. |
| ToString | Public Overrides Function ToString() As String |
Renders the instance for logging and debugging.* |
| GetTradingAs | Public Shared Function GetTradingAs(ByVal inDataportal As iDataPortalInfo, inTradingSeqNum as DECIMAL) As clsTradingAs |
Returns the trading as associated with the trading-as name.* |
Inherited public members¶
Members in this section are inherited from clsBusinessBase in SAIF.Framework.Core. They are available on this type through inheritance.
| Member | Signature | Purpose | Origin |
|---|---|---|---|
| IsValid | Public Overridable ReadOnly Property IsValid() As Boolean |
Reports whether the object currently breaks any registered business rule.† | SAIF.Framework.Core — clsBusinessBase |
| IsSavable | Public Overridable ReadOnly Property IsSavable() As Boolean |
Reports whether the object may be written back; the read-only types in this library override it to refuse persistence.† | SAIF.Framework.Core — clsBusinessBase |
| BrokenRulesCollection | Public ReadOnly Property BrokenRulesCollection() As clsBrokenRulesCollection |
Carries the messages for the rules currently broken, which is what drives IsValid to false.† |
SAIF.Framework.Core — clsBusinessBase |
Note: Statements marked with
†are derived from dependency library documentation via the Legends CLI. Statements marked with*were inferred from code structure or contextual evidence. Statements marked with**could not be confirmed; treat as unknown until verified.
Sources¶
Business/SAIF.Business.View.Policy/clsTradingAs.vb