Rename Trade Agreement Group Id

Hello,

I need to rename customer Trade agreement group Id.

I try to use RenamePrimaryKey() but it doesn’t work.

I beleive the EDT “PriceGroupId” does not have relation so AX does not work on RenamePrimaryKey()

Does anyone has method to rename the Group Id?