Hello,
I have a requirement to enter the value of dirpartytable.instancerelationshiptype via code.
I tried with following lines but getting below error.
DirPartyTable.overwriteSystemfields(true); Dirpartytable.Instancerelationshiptype = enum2int(dirpartytype::person); DirPartyTable.overwriteSystemfields(true); Dirpartytable.Instancerelationshiptype = '2975';
Thanks
Mav