SQL-066: Update Provider
Updates an existing provider record in Oracle.
Classification
| Field |
Value |
| SQL ID |
SQL-066 |
| Operation type |
Update |
| Execution method |
Inline |
| Database |
Oracle |
| Schema |
[unqualified]** |
| Command type |
Text |
| Business object |
clsProvider |
| Criteria property |
UpdateSQL |
| Lifecycle method |
BeforeUpdate |
Parameters
| Parameter |
Direction |
Type |
Max length |
Description |
| :PrimaryTaxID |
Input |
clsSmartString |
9 |
Value from m_PrimaryTaxID |
| :ProviderSeqNum |
Input |
Decimal |
N/A |
Value from ProviderSeqNum |
| :UpdateUser |
Input |
String |
30 |
Value from UpdateUser |
| :UpdateNum |
Input |
Decimal |
N/A |
Value from UpdateNum |
| :UpdateDate |
Input |
Date |
N/A |
Value from UpdateDate |
Tables
| Table |
Access |
Columns used |
| PROVIDER |
UPDATE |
See business-object criteria for key columns. |
Sample SQL
Update PROVIDER Set PROVIDER_SEQ_NUM = :ProviderSeqNum, PRIMARY_TAX_ID = :PrimaryTaxID, UPDATE_USER = :UpdateUser, UPDATE_NUM = UPDATE_NUM + 1, UPDATE_DATE = :UpdateDate Where PROVIDER.PROVIDER_SEQ_NUM = :ProviderSeqNum AND UPDATE_NUM = :UpdateNum
Note: Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources
Business\SAIF.Business.Provider\clsProvider.vb