Hi ,
While running the following piece of code, I am getting the error of wrong parameter specified at "vendTable.renamePrimaryKey()". Tried to debug too but did't get the solution.
ttsbegin; while select crosscompany AccountNum,count(RecId) from vendTable order by vendTable.AccountNum asc group by vendTable.AccountNum where vendTable.AccountNum == 'V-001165' { if(vendTable.RecId > 1 ) { vendTable.AccountNum = sequence.num(); vendTable.renamePrimaryKey(); } } ttscommit;