Skip to content

clsAudit

Aggregate root for premium audits, owning policy periods, events, test results, review results, and persisted result payloads.

Purpose

  • Aggregate root for premium audits, owning policy periods, events, test results, review results, and persisted result payloads.

Context

  • Namespace: SAIF.Business.Policy.Audit.Premium
  • Assembly/package: SAIF.BOF.Business.Policy.Audit.Premium

Public members

Member Signature Purpose
ConvertAuditType Public Shared Function ConvertAuditType(ByVal inAuditType As String) As AuditTypes Converts a stored audit-type code into the library's AuditTypes enumeration.*
ConvertAuditType Public Shared Function ConvertAuditType(ByVal inAuditType As AuditTypes) As String Converts an AuditTypes value back to the persisted audit-type code.*
CanKeyInGuideWire Public ReadOnly Property CanKeyInGuideWire() As Boolean Eligibility gate for key in guide wire; returns True only when status is one of Submitted; the audit type checks in code pass; workbook status is Billed.
CanUpdateAssignmentDate Public ReadOnly Property CanUpdateAssignmentDate() As Boolean Eligibility gate for update assignment date; returns True only when status is one of Assigned; the audit is still new.
CanUpdateAuditResults Public ReadOnly Property CanUpdateAuditResults() As Boolean Eligibility gate for update audit results; returns True only when status is one of Assigned, Scheduled, Submitted, Completed.
AfterAuditStdPremAmount Public ReadOnly Property AfterAuditStdPremAmount() As Decimal Rolls up after-audit standard premium across the audit's policy periods.
HasAppointmentDateOrTimeChanged Public ReadOnly Property HasAppointmentDateOrTimeChanged() As Boolean Tracks whether appointment date or time changed changed since the object was loaded from persistence.
AppointmentLocation Public ReadOnly Property AppointmentLocation() As clsPolicyLocation Lazily loads the appointment location record for the current location sequence number.
AssignmentDateDisplay Public ReadOnly Property AssignmentDateDisplay() As Date Exposes the assignment date as a plain Date value for UI and report display.
AssignmentSortKey Public ReadOnly Property AssignmentSortKey() As String Normalized sort key derived from the assignment value.*
AuditAddress Public ReadOnly Property AuditAddress(Optional ByVal WebReady As Boolean = False) As clsPolicyAddress Lazily loads the audit address for the current location sequence number and applies the requested web-formatting flag before returning it.
AppointmentAddress Public ReadOnly Property AppointmentAddress(Optional ByVal WebReady As Boolean = False) As clsPolicyAddress Lazily loads the appointment address for the current location sequence number and applies the requested web-formatting flag before returning it.
AuditAddressFormatted Public ReadOnly Property AuditAddressFormatted(Optional ByVal WebReady As Boolean = True) As String Returns the audit address using the address object's built-in formatted-address routine.
AuditAddressCityZipStreet Public ReadOnly Property AuditAddressCityZipStreet(Optional ByVal WebReady As Boolean = True) As String Formats the audit address as city/state/ZIP over street for domestic addresses and uses the foreign-address helper for non-US addresses.
ForeignAddressLine Public ReadOnly Property ForeignAddressLine(ByVal inAddress As clsPolicyAddress) As String Returns the last populated foreign-address line so non-US addresses can be rendered without assuming a domestic city/state/ZIP layout.
AuditAddressCityZipStreetPrintReady Public ReadOnly Property AuditAddressCityZipStreetPrintReady() As String Print-oriented audit address city ZIP street text ready for correspondence or reports.*
AuditAddressCityZipStreetWebReady Public ReadOnly Property AuditAddressCityZipStreetWebReady() As String Web-oriented audit address city ZIP street text ready for screen display.*
AuditAddressStreetCityZip Public ReadOnly Property AuditAddressStreetCityZip() As String Formats the audit address as street over city/state/ZIP for domestic addresses and street over foreign-address line for non-US addresses.
IsContactForAudit Public ReadOnly Property IsContactForAudit As Boolean Returns True when the audit address contact role is one of the recognized audit-contact codes (AUD, PRL, BKP, CPA, ACT, CTR, TAX).
AuditAddressContactNameAndPhone Public ReadOnly Property AuditAddressContactNameAndPhone() As String Returns the audit-contact name and phone only when the address contact role is an audit-contact role.
AuditablePeriod Public ReadOnly Property AuditablePeriod() As clsAuditablePeriod Returns the auditable period whose date range contains the audit start date.
AuditAssignmentOverride Public ReadOnly Property AuditAssignmentOverride() As clsAuditAssignmentOverride Lazily loads the per-policy assignment override that can force or block specific auditor assignments.
AuditLocation Public ReadOnly Property AuditLocation() As clsPolicyLocation Lazily loads the audit location record for the current location sequence number.
AuditMethodCodes Public ReadOnly Property AuditMethodCodes As clsCodeCollection Lazily loads the audit-method code table used to resolve method labels and valid choices.
AuditEvents Public ReadOnly Property AuditEvents() As clsAuditEventCollection Lazily loads the audit's child event collection and registers it as a tracked child for save operations.
AuditEventsSorted Public ReadOnly Property AuditEventsSorted As IEnumerable(Of clsAuditEvent) Returns audit events sorted newest-first by event sequence number for timeline display.
AuditMethodDescription Public ReadOnly Property AuditMethodDescription As String Resolves the stored audit-method code into its display label.
AuditLocationSeqNum Public ReadOnly Property AuditLocationSeqNum() As Decimal Resolves and caches the location sequence number used to load the audit address and location.
AuditOffices Public ReadOnly Property AuditOffices() As clsSAIFOfficeCollection Lazily loads the SAIF office list used for routing and default-office assignment.
RenewalPolicyPeriods Public ReadOnly Property RenewalPolicyPeriods() As IList(Of clsRenewalPolicyPeriod) Lazily builds the post-audit renewal periods for each distinct policy represented in the audit.
AuditPolicyPeriods Public ReadOnly Property AuditPolicyPeriods() As clsAuditPolicyPeriodCollection Lazily loads the audit's child policy periods and registers them as tracked children for save operations.
AuditPolicySchedulingDetail Public ReadOnly Property AuditPolicySchedulingDetail() As clsAuditPolicySchedulingDetail Loads the policy-level scheduling detail for the audit or creates a new detail record when none exists, then tracks it for saves.
AuditReasonDescription Public ReadOnly Property AuditReasonDescription() As String Resolves the stored audit reason code to its display description.
AuditReasonsAll Public ReadOnly Property AuditReasonsAll() As clsPAReasonCodeCollection Lazily loads the full premium-audit reason code set used to interpret AuditReasonCode.
AuditReasonsNonRevisionBatch Public ReadOnly Property AuditReasonsNonRevisionBatch() As clsPAReasonCodeCollection Lazily loads the non-revision reason codes allowed for batch-selected audits.
AuditReasonsNonRevisionOnline Public ReadOnly Property AuditReasonsNonRevisionOnline() As clsPAReasonCodeCollection Lazily loads the non-revision reason codes allowed for online-selected audits.
AuditReasonsRevision Public ReadOnly Property AuditReasonsRevision() As clsPAReasonCodeCollection Lazily loads the reason codes allowed for revision audits.
AuditResultPercent Public ReadOnly Property AuditResultPercent() As Decimal Meaning of AuditResultPercent could not be confirmed beyond its compiled implementation context.**
AuditSelectionTestResults Public ReadOnly Property AuditSelectionTestResults() As clsAuditSelectionTestResultCollection Lazily loads the audit's selection-test results and registers them as tracked children for save operations.
Auditor Public ReadOnly Property Auditor() As clsAuditor Lazily loads the auditor currently assigned to the audit.
AuditorPhone Public ReadOnly Property AuditorPhone() As String Loads the assigned SAIF auditor's employee profile when needed and returns its phone number.
AuditorFax Public ReadOnly Property AuditorFax() As String Loads the assigned SAIF auditor's employee profile when needed and returns its fax number.
AuditorName Public ReadOnly Property AuditorName() As String Returns the display name of the assigned auditor.
AuditorShortName Public ReadOnly Property AuditorShortName() As String Returns the short or mail name of the assigned auditor.
AuditorUserID Public ReadOnly Property AuditorUserID() As String Returns the user ID associated with the assigned auditor.
AuditSeqNum Public ReadOnly Property AuditSeqNum() As Decimal Persisted audit seq num used to identify or classify this business object.
AuditResultAmount Public ReadOnly Property AuditResultAmount() As Decimal Meaning of AuditResultAmount could not be confirmed beyond its compiled implementation context.**
AuditResultAmountWithWaiver Public ReadOnly Property AuditResultAmountWithWaiver() As Decimal Meaning of AuditResultAmountWithWaiver could not be confirmed beyond its compiled implementation context.**
BeforeAuditStdPremAmount Public ReadOnly Property BeforeAuditStdPremAmount() As Decimal Rolls up before-audit standard premium across the audit's policy periods.
CanAssignAudit Public ReadOnly Property CanAssignAudit() As Boolean Eligibility gate for assign audit; returns True only when status is one of Submitted, Completed, Cancelled.
CanCancelAudit Public ReadOnly Property CanCancelAudit() As Boolean Eligibility gate for cancel audit; returns True only when status is one of Cancelled, Submitted.
CanCancelComplianceAudit Public ReadOnly Property CanCancelComplianceAudit() As Boolean Eligibility gate for cancel compliance audit; returns True only when status is one of Submitted.
CancelReasons Public ReadOnly Property CancelReasons() As clsCodeCollection Eligibility gate used before cel reasons; returns True only when the audit's current state satisfies the code's checks.*
CanReviseAudit Public ReadOnly Property CanReviseAudit() As Boolean Eligibility gate for revise audit; returns True only when status is one of Completed.
CancelReasonDescription Public ReadOnly Property CancelReasonDescription() As String Eligibility gate used before cel reason description; returns True only when the audit's current state satisfies the code's checks.*
CanUpdateAppointmentDate Public ReadOnly Property CanUpdateAppointmentDate() As Boolean Eligibility gate for update appointment date; returns True only when status is one of Assigned, Scheduled.
CanUpdateWarningLetterDate Public ReadOnly Property CanUpdateWarningLetterDate() As Boolean Eligibility gate for update warning letter date; returns True only when status is one of Assigned, Scheduled.
CanUpdateCompletedDate Public ReadOnly Property CanUpdateCompletedDate() As Boolean Eligibility gate for update completed date; returns True only when status is one of Completed, Submitted; the audit type checks in code pass.
CanUpdateWaiverData Public ReadOnly Property CanUpdateWaiverData() As Boolean Eligibility gate for update waiver data; returns True only when the audit type checks in code pass.
CanUpdateAppealData Public ReadOnly Property CanUpdateAppealData() As Boolean Eligibility gate for update appeal data; returns True only when the audit type checks in code pass.
CreateUser Public ReadOnly Property CreateUser() As String User ID recorded when the audit record was created.
CurrentReview Public ReadOnly Property CurrentReview() As clsAuditReviewResult Returns the most recent review result in the audit's review history.
CurrentReviewerAuditorID Public ReadOnly Property CurrentReviewerAuditorID() As String Auditor ID from the most recent review result.
CurrentReviewerName Public ReadOnly Property CurrentReviewerName() As String Reviewer name from the most recent review result when the reviewer record can be loaded.
DBNow Public ReadOnly Property DBNow() As Date Fetches the current database/server timestamp for time-sensitive audit logic.
DBToday Public ReadOnly Property DBToday() As Date Returns the current database date from the data-portal context.
DefaultAuditor Public ReadOnly Property DefaultAuditor() As clsAuditor Lazily resolves the default auditor for the policy, ZIP code, and premium audit type.
DefaultAuditOfficeCode Public ReadOnly Property DefaultAuditOfficeCode() As String Looks up the audit office mapped to the audit address ZIP code for non-NCCITest audits.
DueDate Public ReadOnly Property DueDate() As Date Persisted due date for completing the audit.
FinishedStatuses Public ReadOnly Property FinishedStatuses() As clsStatus.Statuses() Status values the audit workflow treats as finished.
HasAppointment Public ReadOnly Property HasAppointment() As Boolean Derived flag used by workflow logic to detect appointment from the current persisted state.*
HasOtherStatesCoverage Public ReadOnly Property HasOtherStatesCoverage As Boolean Derived flag used by workflow logic to detect other states coverage from the current persisted state.*
HasAuditorIDChanged Public ReadOnly Property HasAuditorIDChanged() As Boolean Tracks whether auditor id changed changed since the object was loaded from persistence.
IsAssigned Public ReadOnly Property IsAssigned() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as assigned.*
IsAuditOfficeAllowed Public ReadOnly Property IsAuditOfficeAllowed() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as audit office allowed.*
IsAuditInProgress Public ReadOnly Property IsAuditInProgress() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as audit in progress.*
IsConversionAudit Public ReadOnly Property IsConversionAudit() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as conversion audit.*
IsInSyncWithPolicySystem Public ReadOnly Property IsInSyncWithPolicySystem() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as in sync with policy system.*
HasCancelledAuditBilling Public ReadOnly Property HasCancelledAuditBilling() As Boolean Derived flag used by workflow logic to detect cancelled audit billing from the current persisted state.*
HasAllAuditBillingsCancelled Public ReadOnly Property HasAllAuditBillingsCancelled() As Boolean Derived flag used by workflow logic to detect all audit billings cancelled from the current persisted state.*
IsAuditNotificationLetterOKToSend Public ReadOnly Property IsAuditNotificationLetterOKToSend() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as audit notification letter ok to send.*
IsNewlyCompletedAudit Public ReadOnly Property IsNewlyCompletedAudit As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as newly completed audit.*
IsLatestVersion Public ReadOnly Property IsLatestVersion() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as latest version.*
IsNonRevision Public ReadOnly Property IsNonRevision() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as non revision.*
IsOKForAutomatedSelection Public ReadOnly Property IsOKForAutomatedSelection() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as ok for automated selection.*
IsRevision Public ReadOnly Property IsRevision() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as revision.*
IsPolicyLeasingCompany Public ReadOnly Property IsPolicyLeasingCompany() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as policy leasing company.*
IsPolicyTempAgency Public ReadOnly Property IsPolicyTempAgency() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as policy temp agency.*
IsPolicyWrapUp Public ReadOnly Property IsPolicyWrapUp() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as policy wrap up.*
IsGwAudit Public ReadOnly Property IsGwAudit As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as gw audit.*
MarketTypeCode Public ReadOnly Property MarketTypeCode() As String Returns the market type code from the linked policy snapshot.
MarketType Public ReadOnly Property MarketType() As Enums.MarketTypes Returns only the audits whose derived market type matches the requested value.
NewPolicyNotes Public ReadOnly Property NewPolicyNotes() As List(Of String) Captures free-form policy notes attached to the audit.
PremiumAuditTypes Public ReadOnly Property PremiumAuditTypes() As clsPremiumAuditTypeCodeCollection Lazily loads the premium-audit type code table used to resolve type metadata.
PremiumAuditTypeDescription Public ReadOnly Property PremiumAuditTypeDescription() As String Resolves the current premium-audit type code and market type to a display description.
PremiumAuditTypeSummaryReportDescription Public ReadOnly Property PremiumAuditTypeSummaryReportDescription() As String Meaning of PremiumAuditTypeSummaryReportDescription could not be confirmed beyond its compiled implementation context.**
PremiumAuditTypeInventoryDescription Public ReadOnly Property PremiumAuditTypeInventoryDescription() As String Meaning of PremiumAuditTypeInventoryDescription could not be confirmed beyond its compiled implementation context.**
PremiumAuditTypeReportDescription Public ReadOnly Property PremiumAuditTypeReportDescription() As String Meaning of PremiumAuditTypeReportDescription could not be confirmed beyond its compiled implementation context.**
PremiumAuditTypeObject Public ReadOnly Property PremiumAuditTypeObject() As clsPremiumAuditTypeCode Meaning of PremiumAuditTypeObject could not be confirmed beyond its compiled implementation context.**
PriorAuditSeqNum Public ReadOnly Property PriorAuditSeqNum() As Decimal Returns the prior audit sequence number, loading prior-audit fields on demand.
LastAuditDate Public ReadOnly Property LastAuditDate() As Date Returns the prior audit date, loading prior-audit fields on demand.
PriorAuditCompleteDate Public ReadOnly Property PriorAuditCompleteDate() As Date Returns the prior audit completion date, loading prior-audit fields on demand.
PriorAuditResultAmount Public ReadOnly Property PriorAuditResultAmount() As Decimal Returns the prior audit result amount, loading prior-audit fields on demand.
PriorAuditTypeCode Public ReadOnly Property PriorAuditTypeCode() As String Returns the prior audit type code, loading prior-audit fields on demand.
PriorAuditTypeDescription Public ReadOnly Property PriorAuditTypeDescription() As String Resolves the prior audit type code and current market type to a display description.
PriorAuditorID Public ReadOnly Property PriorAuditorID() As String Returns the prior auditor ID, loading prior-audit fields on demand.
PriorAuditorName Public ReadOnly Property PriorAuditorName() As String Loads the prior auditor record and returns its display name.
Priority Public ReadOnly Property Priority() As Integer Meaning of Priority could not be confirmed beyond its compiled implementation context.**
PriorPolicyNumbers Public ReadOnly Property PriorPolicyNumbers() As List(Of Decimal) Lazily collects prior policy numbers for the FEIN when the policy is not using the default placeholder FEID.
ProgramDueDate Public ReadOnly Property ProgramDueDate() As Date Persisted program due date for the audit.
PolicyData Public ReadOnly Property PolicyData() As clsPolicyData Lazily loads the policy snapshot associated with the audit's policy number.
Policy Public ReadOnly Property Policy(ByVal inPolicyNumber As Decimal) As clsPolicy Meaning of Policy could not be confirmed beyond its compiled implementation context.**
MaxApplicationDate Public ReadOnly Property MaxApplicationDate() As Date Meaning of MaxApplicationDate could not be confirmed beyond its compiled implementation context.**
MaxPolicyCancelDate Public ReadOnly Property MaxPolicyCancelDate() As Date Meaning of MaxPolicyCancelDate could not be confirmed beyond its compiled implementation context.**
MaxPolicyCancelRequestDate Public ReadOnly Property MaxPolicyCancelRequestDate() As Date Meaning of MaxPolicyCancelRequestDate could not be confirmed beyond its compiled implementation context.**
PolicyHasABN Public ReadOnly Property PolicyHasABN() As Boolean Meaning of PolicyHasABN could not be confirmed beyond its compiled implementation context.**
PolicyName Public ReadOnly Property PolicyName() As String Returns the policy name from the linked policy snapshot.
PolicyNameProperCased Public ReadOnly Property PolicyNameProperCased() As String Meaning of PolicyNameProperCased could not be confirmed beyond its compiled implementation context.**
PolicyOfficeCode Public ReadOnly Property PolicyOfficeCode() As String Returns the policy office code from the linked policy snapshot.
PolicyPeriodEffectiveDate Public ReadOnly Property PolicyPeriodEffectiveDate() As Date Returns the expiration date of the audit policy period that matches the audit's policy number and date range.
PolicyRelationshipType Public ReadOnly Property PolicyRelationshipType() As String Returns the relationship code from the linked policy snapshot.
PolicyRelationshipTypeShort Public ReadOnly Property PolicyRelationshipTypeShort() As String Returns the first-character abbreviation of the policy relationship code.
PolicyRelationshipPolicyNumber Public ReadOnly Property PolicyRelationshipPolicyNumber() As Decimal Returns the related policy number from the linked policy snapshot.
RateAccount Public ReadOnly Property RateAccount() As Decimal Returns the rate account from the linked policy snapshot.
ReviewResults Public ReadOnly Property ReviewResults() As clsAuditReviewResultCollection Lazily loads the audit's review-result history.
IsReviewStatusComplete Public ReadOnly Property IsReviewStatusComplete As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as review status complete.*
ReviewStatusDescription Public ReadOnly Property ReviewStatusDescription() As String Resolves the stored review status code to its display description.
ISSAIFPolicy Public ReadOnly Property ISSAIFPolicy() As Boolean Indicates whether the secure-policy code marks the audit as a SAIF policy.
SelectionCategoryCode Public WriteOnly Property SelectionCategoryCode() As String Meaning of SelectionCategoryCode could not be confirmed beyond its compiled implementation context.**
SelectionCategoryCodes Public ReadOnly Property SelectionCategoryCodes() As clsAuditSelectionCategoryCodeCollection Lazily loads the selection-category code table used by audit selection logic.
SelectionCategoryDescription Public ReadOnly Property SelectionCategoryDescription() As String Returns the group description for the audit's current selection-category group.
SelectionCategoryGroupCodes Public ReadOnly Property SelectionCategoryGroupCodes() As clsAuditSelectionCategoryCodeCollection Returns the selection-category codes that share the audit's current group code.
Statuses Public ReadOnly Property Statuses() As clsStatusCollection Lazily loads the audit status code table used to interpret StatusCode.
StatusDescription Public ReadOnly Property StatusDescription() As String Resolves the stored audit status code to its display description.
CanUpdateSubmittedDate Public ReadOnly Property CanUpdateSubmittedDate() As Boolean Eligibility gate for update submitted date; returns True only when status is one of Assigned, Scheduled, Submitted.
UpdateSeqNum Public ReadOnly Property UpdateSeqNum() As Decimal Persisted update seq num used to identify or classify this business object.
WaiverAmount Public ReadOnly Property WaiverAmount() As Decimal Rolls up waiver amount across the audit's policy periods.
WorkbookStatusDescription Public ReadOnly Property WorkbookStatusDescription() As String Meaning of WorkbookStatusDescription could not be confirmed beyond its compiled implementation context.**
IsWorkbookDownloaded Public ReadOnly Property IsWorkbookDownloaded() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as workbook downloaded.*
WCISBillable Public ReadOnly Property WCISBillable() As Boolean Meaning of WCISBillable could not be confirmed beyond its compiled implementation context.**
IsCancelled Public ReadOnly Property IsCancelled() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as cancelled.*
IsCompleted Public ReadOnly Property IsCompleted() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as completed.*
IsScheduled Public ReadOnly Property IsScheduled() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as scheduled.*
IsDifficultToSchedule Public ReadOnly Property IsDifficultToSchedule() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as difficult to schedule.*
AuditPolicyPeriodRangeTypeRevision Public ReadOnly Property AuditPolicyPeriodRangeTypeRevision() As String Formats the audit date range with the premium-audit type and appends (Revision) for revision audits.
AuditResults Public ReadOnly Property AuditResults() As clsAuditResultCollection Lazily loads the audit's result lines.
IsValid Public Overrides ReadOnly Property IsValid() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as valid.*
IsDirty Public Overrides ReadOnly Property IsDirty() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as dirty.*
IsChild Public Shadows ReadOnly Property IsChild() As Boolean Derived lifecycle flag used by workflow logic when the current record state must be treated as child.*
Save Public Overrides Function Save() As Boolean Persists pending changes in the collection and its tracked child objects through the BOF data portal.
SaveChild Public Overrides Function SaveChild() As Boolean Meaning of SaveChild could not be confirmed beyond its compiled implementation context.**
CleanString Public Shared Function CleanString(ByVal inString As String) As String Normalizes free-text values before they are compared, searched, or rendered by audit workflows.*
CanReturnAuditToAuditor Public ReadOnly Property CanReturnAuditToAuditor() As Boolean Eligibility gate for return audit to auditor; returns True only when status is one of Submitted.
Equals Public Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean Compares two objects using the type's equality implementation.
Equals Public Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean Meaning of Equals could not be confirmed beyond its compiled implementation context.**
Equals Public Overloads Function Equals(ByVal inObject As clsAudit) As Boolean Returns True when the supplied object represents the same logical record.
GetHashCode Public Overrides Function GetHashCode() As Integer Returns a hash code based on the type's equality fields so instances behave correctly in keyed collections.*
ToString Public Overrides Function ToString() As String Returns the display string assembled by this type for logs, lists, or UI display.*
NewAudit Public Shared Function NewAudit(ByVal inDataportal As IDataPortalInfo, ByVal inAuditStartDate As Date, Creates a new unsaved audit initialized with the data-portal context needed for validation and save operations.
NewAudit Public Shared Function NewAudit(ByVal inDataportal As IDataPortalInfo, Creates a new unsaved audit initialized with the data-portal context needed for validation and save operations.
GetAudit Public Shared Function GetAudit(ByVal inDataportal As IDataPortalInfo, ByVal inAuditSeqNum As Decimal) As clsAudit Loads audit through the BOF data portal using the supplied keys and criteria.
GetPriorCompletedAudit Public Shared Function GetPriorCompletedAudit(ByVal inDataportal As IDataPortalInfo, ByVal inPolicyNum As Decimal, ByVal inCurrentAuditSeqNum As Decimal) As clsAudit Loads prior completed audit through the BOF data portal using the supplied keys and criteria.
GetAuditByPolicyPeriod Public Shared Function GetAuditByPolicyPeriod(ByVal inDataportal As IDataPortalInfo, ByVal inPolicyNumber As Decimal, ByVal inAuditTypeCode As String, ByVal inEffectiveDate As Date) As clsAudit Loads audit by policy period through the BOF data portal using the supplied keys and criteria.
GetAuditByPolicyEnd Public Shared Function GetAuditByPolicyEnd(ByVal inDataportal As IDataPortalInfo, ByVal inPolicyNumber As Decimal, ByVal inAuditTypeCode As String, ByVal inAuditEndDate As Date) As clsAudit Loads audit by policy end through the BOF data portal using the supplied keys and criteria.
## Behavioral notes
- This type is part of the premium-audit library's public surface.

Constraints and usage notes

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.

Sources

  • Business\SAIF.Business.Policy.Audit.Premium\clsAudit.vb