Skip to content

SQL-023: Pk82033_ThirdParty.thrdparty_distribution_insert

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

Classification

Field Value
SQL ID SQL-023
Operation type Create
Execution method StoredProc
Database Oracle
Schema [unqualified]**
Command type StoredProcedure
Business object Criteria
Criteria property insertsql
Lifecycle method Criteria create

Parameters

Parameter Direction Type Max length Description
:AraAmount Input Number N/A Source value AraAmount
:CheckAmount Input Number N/A Source value CheckAmount
:CheckDate Input Date N/A Source value CheckDate
:CheckNum Input Number 25 Source value CheckNum
:ClaimCostAmount Input Number N/A Source value ClaimCostAmount
:CreateDate Input Date N/A Source value CreateDate
:CreateUser Input String 30 Source value CreateUser
:EmployerCreditAmount Input Number N/A Source value EmployerCreditAmount
:OtherAmount1 Input Number N/A Source value OtherAmount1
:OtherAmount2 Input Number N/A Source value OtherAmount2
:OtherDescr1 Input Unknown 100 Source value OtherDescr1
:OtherDescr2 Input Unknown 100 Source value OtherDescr2
:PayeeName Input String 100 Source value PayeeName
:RefundAmount Input Number N/A Source value RefundAmount
:CaseSeqNum Input Number N/A Source value CaseSeqNum
:DistributionCode Input String 5 Source value DistributionCode.ToString
:DistributionSeqNum Input Number N/A Source value DistributionSeqNum
:SettlementSeqNum Input Number N/A Source value SettlementSeqNum
:CorrectedNum Input Number N/A Source value CorrectedNum
:RefundAmount1 Input Number N/A Source value refund1.RefundAmount
:RefundName1 Input String 100 Source value refund1.RefundName
:RefundAmount2 Input Number N/A Source value refund2.RefundAmount
:RefundName2 Input String 100 Source value refund2.RefundName
:RowsAffected ReturnValue Return value N/A Source value RowsAffected

Tables

Table Access Columns used
dual CREATE See sample SQL.
thrdparty_distribution_refund CREATE See sample SQL.
thrdparty_distribution CREATE See sample SQL.
v_refundSeqNum CREATE See sample SQL.

Sample SQL

BEGIN Pk82033_ThirdParty.thrdparty_distribution_insert(:AraAmount, :CheckAmount, :CheckDate, :CheckNum, :ClaimCostAmount, :CreateDate, :CreateUser, :EmployerCreditAmount, :OtherAmount1, :OtherAmount2, :OtherDescr1, :OtherDescr2, :PayeeName, :RefundAmount, :CaseSeqNum, :DistributionCode, :DistributionSeqNum, :SettlementSeqNum, :CorrectedNum, :RefundAmount1, :RefundName1, :RefundAmount2, :RefundName2, :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\clsThirdpartyDistribution.vb