Description
|
Updates columns CKO_FLAG and NEW_NAME for records in T_CAX_FIL_TMP. |
Input parameter
|
cpStructId
string |
STRUCTURE_ID for T_CAX_FIL_TMP entries. |
cpRecNum
string |
Number of records to update. |
cpColValues_1
stringlist |
Values for first record to update:
Sequence: DOC_C_ID, FILE_C_ID, CKO_FLAG[, NEW_NAME]
- DOC_C_ID and FILE_C_ID
Are used to identify the record to update
- CKO_FLAG
- "y"
Checkout the file (default)
- "n"
Do not checkout the file
- NEW_NAME
If not provided or "" (null string), keep the file name (default)
|
...
cpColValues_n
stringlist |
Values for last record to update.
|
|
Output
parameter
|
cpUpdOk
string |
Number of updated records.
|
cpUpdFail
string |
Number of failed updates.
|
cpFailedValues_1
stringlist |
Values for first record which failed to update.
Sequence: DOC_C_ID, FILE_C_ID, and error code. |
...
cpFailedValues_n
stringlist |
Values for last record which failed to update.
Sequence: DOC_C_ID, FILE_C_ID, and error code. |
|
If record is not found, no error is returned (epqupd). |
Example |
Update columns CKO_FLAG and NEW_NAME for 3 records in T_CAX_FIL_TMP
Input parameter:
cpStructId |
"12345" |
cpRecNum |
"3" |
cpColValues_1 |
"1012345232" |
|
"1002341293" |
|
"n" |
|
"NewFile01.prt" |
cpColValues_2 |
"1012345232" |
|
"1004321311" |
|
"n" |
|
"NewFile02.prt" |
cpColValues_3 |
"1012345232" |
|
"1054321333" |
|
"n" |
|
"NewFile03.prt" |
|