Skip to content

SQL-035: Criteria

This document records the SQL used by Criteria in SAIF.Business.Claim.Bill.

Classification

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

Parameters

Parameter Direction Type Max length Description
:MessageText Input String N/A Binds MessageText from active calling code or Oracle signature.
:MessageCategoryCode Input String N/A Binds MessageCategoryCode from active calling code or Oracle signature.
:UpdateUser Input Date N/A Binds UpdateUser from active calling code or Oracle signature.
:UpdateDate Input Date N/A Binds UpdateDate from active calling code or Oracle signature.
:MessageID Input Number N/A Binds MessageID from active calling code or Oracle signature.
:BillID Input Number N/A Binds BillID from active calling code or Oracle signature.
:UpdateNumber Input Date N/A Binds UpdateNumber from active calling code or Oracle signature.

Tables

Table Access Columns used
CBP_AUDIT_MESSAGE UPDATE AND, B, BILL_ID, C, CBP_AUDIT_MESSAGE, CBP_AUDIT_MESSAGE_SEQ_NUM, D, ID, M, MESSAGE_CATEGORY_CODE, MESSAGE_TXT, N

Sample SQL

Update CBP_AUDIT_MESSAGE 
SET MESSAGE_TXT = :MessageText, MESSAGE_CATEGORY_CODE = :MessageCategoryCode, UPDATE_USER = :UpdateUser, UPDATE_NUM = UPDATE_NUM + 1, UPDATE_DATE = :UpdateDate 
WHERE CBP_AUDIT_MESSAGE_SEQ_NUM = :MessageID 
  AND BILL_ID = :BillID 
  AND UPDATE_NUM = :UpdateNumber

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.Bill\Core\clsAuditMessage.vb