SQL-011: clsPersonTaxIDHistory
This SQL artifact supports clsPersonTaxIDHistory by executing a read operation through Inline.
Classification
Field
Value
SQL ID
SQL-011
Operation type
Read
Execution method
Inline
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsPersonTaxIDHistory
Criteria property
CheckForPrimarySQL
Lifecycle method
GetPrimaryTaxID
Parameters
Parameter
Direction
Type
Max length
Description
:TaxId
Input
Unknown
N/A
Passed from clsPersonTaxIDHistory via GetPrimaryTaxID.
:PersonID
Input
Unknown
N/A
Passed from clsPersonTaxIDHistory via GetPrimaryTaxID.
:PrimaryFlag
Input
Unknown
N/A
Passed from clsPersonTaxIDHistory via GetPrimaryTaxID.
Tables
Sample SQL
SELECT
COUNT ( * )
FROM CL_PERSON_TAX_ID_HISTORY h , CL_CLAIM_PERSON p
WHERE
h . TAX_ID = : TaxID
AND p . PERSON_ID = h . PERSON_ID
AND h . PERSON_ID <> : PersonID
AND h . PRIMARY_FLAG = : PrimaryFlag
AND p . PERSON_CODE = 'W'
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.Claim.Person\clsPersonTaxIDHistory.vb