Hi,
i have written a code, which auto assign dimension value Customer."Country/Region Code" := DefaultDimension."Customer Country".
I have issue, that if i change Country/Region Code i got error, that in DefaultDimension already exist record assigned to this Customer No.
So how i can write code, which does if record already exist in the table, then modify, if not then create new one.
Thansk for help.