Skip to content

SQL-079: Pk82033_ThirdParty.thrdparty_expense_update

This SQL artifact supports Criteria by executing a update operation through StoredProc.

Classification

Field Value
SQL ID SQL-079
Operation type Update
Execution method StoredProc
Database Oracle
Schema [unqualified]**
Command type StoredProcedure
Business object Criteria
Criteria property updatesql
Lifecycle method Criteria update

Parameters

Parameter Direction Type Max length Description
:approvaldate Input Date N/A Source value ApprovalDate
:approverUser Input String 30 Source value ApproverUser
:budgetCode Input String 20 Source value BudgetCode
:recoveryAmount Input Number N/A Source value RecoveryAmount
:expenseAmount Input Number N/A Source value ExpenseAmount
:expenseDate Input Date N/A Source value ExpenseDate
:expenseText Input String 100 Source value ExpenseText
:thrdpartyCaseSeqNum Input Number N/A Source value MyCriteria.ThrdpartyCaseSeqNum
:thrdpartyExpenseSeqNum Input Number N/A Source value ThrdpartyExpenseSeqNum
:updateSeqNum Input Date N/A Source value UpdateSeqNum
:updateUser Input Date 30 Source value UpdateUser
:RowsAffected ReturnValue Return value N/A Source value m_RowsAffected

Tables

Table Access Columns used
THRDPARTY_EXPENSE UPDATE See sample SQL.
v_select_count UPDATE See sample SQL.
thrdparty_case UPDATE See sample SQL.

Sample SQL

BEGIN Pk82033_ThirdParty.thrdparty_expense_update(:approvaldate, :approverUser, :budgetCode, :recoveryAmount, :expenseAmount, :expenseDate, :expenseText, :thrdpartyCaseSeqNum, :thrdpartyExpenseSeqNum, :updateSeqNum, :updateUser, :RowsAffected); END;
-- Stored procedure body retrieved from Oracle package WCIS_DBA.Pk82033_ThirdParty.

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.ThirdParty\clsThrdpartyExpense.vb