SQL-041: Retrieve Note
Retrieves note data from Oracle.
Classification
| Field |
Value |
| SQL ID |
SQL-041 |
| Operation type |
Read |
| Execution method |
Inline |
| Database |
Oracle |
| Schema |
[unqualified]** |
| Command type |
Text |
| Business object |
clsNote |
| Criteria property |
RetrieveSQL |
| Lifecycle method |
BeforeRetrieve |
Parameters
| Parameter |
Direction |
Type |
Max length |
Description |
| :CbpNoteSeqNum |
Input |
Decimal |
N/A |
Value from MyCriteria.CbpNoteSeqNum |
Tables
| Table |
Access |
Columns used |
| CBP_NOTE |
SELECT |
See business-object criteria for key columns. |
| CBP_NOTE_TYPE_CODE |
SELECT |
See business-object criteria for key columns. |
Sample SQL
Select CBP_NOTE.CBP_NOTE_SEQ_NUM as CbpNoteSeqNum, CBP_NOTE.NOTE_TYPE_CODE as NoteTypeCode, CBP_NOTE.NOTE_CATEGORY_CODE as NoteCategoryCode, CBP_NOTE.ACTIVE_FLAG as ActiveFlag, CBP_NOTE.CREATE_DATE as CreateDate, CBP_NOTE.CREATE_USER as CreateUser, CBP_NOTE.UPDATE_DATE as UpdateDate, CBP_NOTE.UPDATE_NUM as UpdateNum, CBP_NOTE.UPDATE_USER as UpdateUser, CBP_NOTE.BILL_ID as BillID, CBP_NOTE.CLAIM_ID as ClaimID, CBP_NOTE.PROVIDER_SEQ_NUM as ProviderSeqNum, CBP_NOTE.PROVIDER_LOCATION_SEQ_NUM as ProviderLocationSeqNum, CBP_NOTE.NOTE_TXT as NoteTxt, CBP_NOTE_TYPE_CODE.PROVIDER_CONTACT_NOTE_FLAG as ContactNoteFlag From CBP_NOTE JOIN CBP_NOTE_TYPE_CODE ON CBP_NOTE.NOTE_TYPE_CODE = CBP_NOTE_TYPE_CODE.CODE AND CBP_NOTE.NOTE_CATEGORY_CODE = CBP_NOTE_TYPE_CODE.CBP_NOTE_CATEGORY_CODE Where CBP_NOTE.CBP_NOTE_SEQ_NUM = :CbpNoteSeqNum
Operations and processes
Business rules
Note: Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources
Business\SAIF.Business.Provider\clsNote.vb