SQL-017: Insert Note
Inserts a new note record into Oracle.
Classification
| Field |
Value |
| SQL ID |
SQL-017 |
| Operation type |
Create |
| Execution method |
Inline |
| Database |
Oracle |
| Schema |
[unqualified]** |
| Command type |
Text |
| Business object |
clsNote |
| Criteria property |
InsertSQL |
| Lifecycle method |
BeforeInsert |
Parameters
| Parameter |
Direction |
Type |
Max length |
Description |
| :NoteTypeCode |
Input |
String |
5 |
Value from m_NoteTypeCode |
| :NoteCategoryCode |
Input |
String |
5 |
Value from m_NoteCategoryCode |
| :ActiveFlag |
Input |
String |
1 |
Value from m_ActiveFlag |
| :BillID |
Input |
clsSmartDecimal |
N/A |
Value from m_BillID |
| :ClaimID |
Input |
clsSmartDecimal |
N/A |
Value from m_ClaimID |
| :ProviderSeqNum |
Input |
clsSmartDecimal |
N/A |
Value from m_ProviderSeqNum |
| :ProviderLocationSeqNum |
Input |
Decimal |
N/A |
Value from m_ProviderLocationSeqNum |
| :NoteTxt |
Input |
clsSmartString |
600 |
Value from m_NoteTxt |
| :CreateDate |
Input |
Date |
N/A |
Value from m_CreateDate |
| :CreateUser |
Input |
String |
30 |
Value from m_CreateUser |
| :UpdateNum |
Input |
Decimal |
N/A |
Value from m_UpdateNum |
| :CbpNoteSeqNum |
Input |
Decimal |
N/A |
Value from m_CbpNoteSeqNum |
Tables
| Table |
Access |
Columns used |
| CBP_NOTE |
INSERT |
See business-object criteria for key columns. |
Sample SQL
Insert into CBP_NOTE ( CBP_NOTE_SEQ_NUM, NOTE_TYPE_CODE, NOTE_CATEGORY_CODE, ACTIVE_FLAG, CREATE_DATE, CREATE_USER, UPDATE_NUM, BILL_ID, CLAIM_ID, PROVIDER_SEQ_NUM, PROVIDER_LOCATION_SEQ_NUM, NOTE_TXT ) Values ( :CbpNoteSeqNum, :NoteTypeCode, :NoteCategoryCode, :ActiveFlag, :CreateDate, :CreateUser, :UpdateNum, :BillID, :ClaimID, :ProviderSeqNum, :ProviderLocationSeqNum, :NoteTxt)
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