Quantcast
Channel: Martin Dráb's Activities
Viewing all articles
Browse latest Browse all 17532

'Wrong parameters specified' at renamePrimaryKey()

$
0
0

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;

Viewing all articles
Browse latest Browse all 17532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>