SQL-072: Update Provider Identity
Updates an existing provider identity record in Oracle.
Classification
| Field |
Value |
| SQL ID |
SQL-072 |
| Operation type |
Update |
| Execution method |
Inline |
| Database |
Oracle |
| Schema |
[unqualified]** |
| Command type |
Text |
| Business object |
clsProviderIdentity |
| Criteria property |
UpdateSQL |
| Lifecycle method |
BeforeUpdate |
Parameters
| Parameter |
Direction |
Type |
Max length |
Description |
| :ProviderLocationSeqNum |
Input |
DECIMAL |
N/A |
Value from ProviderLocationSeqNum |
| :ProviderIdentityCode |
Input |
STRING |
5 |
Value from ProviderIdentityCode |
| :IdentityValue |
Input |
Unspecified |
16 |
Value from IdentityValue.ToUpper |
| :IdentityName |
Input |
clsSmartSTRING |
20 |
Value from m_IdentityName |
| :UpdateUser |
Input |
STRING |
30 |
Value from UpdateUser |
| :UpdateNum |
Input |
DECIMAL |
N/A |
Value from UpdateNum |
| :UpdateDate |
Input |
DATE |
N/A |
Value from UpdateDate |
| :ProviderIdentitySeqNum |
Input |
DECIMAL |
N/A |
Value from ProviderIdentitySeqNum |
Tables
| Table |
Access |
Columns used |
| PROVIDER_IDENTITY |
UPDATE |
See business-object criteria for key columns. |
Sample SQL
Update PROVIDER_IDENTITY Set PROVIDER_IDENTITY_SEQ_NUM = :ProviderIdentitySeqNum, PROVIDER_LOCATION_SEQ_NUM = :ProviderLocationSeqNum, PROVIDER_IDENTITY_CODE = :ProviderIdentityCode, IDENTITY_VALUE = :IdentityValue, IDENTITY_NAME = :IdentityName, UPDATE_USER = :UpdateUser, UPDATE_NUM = UPDATE_NUM + 1, UPDATE_DATE = :UpdateDate Where PROVIDER_IDENTITY.PROVIDER_IDENTITY_SEQ_NUM = :ProviderIdentitySeqNum AND UPDATE_NUM = :UpdateNum
Business rules
Note: Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources
Business\SAIF.Business.Provider\clsProviderIdentity.vb