The following lines contain the word 'select', 'insert', 'update' or 'delete':
tempApprover.api_insertion := ame_util.oamGenerated;
tempApproverNames.delete;
tempApproverOrderNumbers.delete;
tempApproverDisplayNames.delete;
tempOrigSystemIds.delete;
tempOrigSystems.delete;
Preserve the deleted rule's ID in the preserved rule's source field, if space permits.
In the very unlikely event otherwise, silently omit the extra source value(s). (This
is the same functionality as ame_util.appendRuleIdToSource, but here we could be
appending several rule IDs, so we can't use that procedure.)
*/
if(lengthb(sources(i - 1)) + lengthb(sources(i)) + 1 <= ame_util.longStringTypeLength) then
sources(i) := sources(i) || ame_util.fieldDelimiter || sources(i - 1);
/* Delete the duplicate group. */
approverCategories.delete(i - 1);
groupIds.delete(i - 1);
groupOrderNumbers.delete(i - 1);
ruleIds.delete(i - 1);
parameters.delete(i - 1);
parameterTwos.delete(i - 1);
sources.delete(i - 1);
votingRegimes.delete(i - 1);