Skip to content

SQL-065: Update Note

Updates an existing note record in Oracle.

Classification

Field Value
SQL ID SQL-065
Operation type Update
Execution method Inline
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsNote
Criteria property UpdateSQL
Lifecycle method BeforeUpdate

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
:UpdateDate Input clsSmartDate N/A Value from m_UpdateDate
:UpdateUser Input String 30 Value from m_UpdateUser
: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 UPDATE See business-object criteria for key columns.

Sample SQL

Update CBP_NOTE Set CBP_NOTE_SEQ_NUM = :CbpNoteSeqNum, NOTE_TYPE_CODE = :NoteTypeCode, NOTE_CATEGORY_CODE = :NoteCategoryCode, ACTIVE_FLAG = :ActiveFlag, UPDATE_DATE = :UpdateDate, UPDATE_NUM = UPDATE_NUM + 1, UPDATE_USER = :UpdateUser, BILL_ID = :BillID, CLAIM_ID = :ClaimID, PROVIDER_SEQ_NUM = :ProviderSeqNum, PROVIDER_LOCATION_SEQ_NUM = :ProviderLocationSeqNum, NOTE_TXT = :NoteTxt Where CBP_NOTE.CBP_NOTE_SEQ_NUM = :CbpNoteSeqNum AND UPDATE_NUM = :UpdateNum

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