开发者

How do i get a unique sequence no in a formula in salesforce

开发者 https://www.devze.com 2023-02-10 19:36 出处:网络
I am trying to have a formula field which has a unique seq no at th开发者_Python百科e end of the formula

I am trying to have a formula field which has a unique seq no at th开发者_Python百科e end of the formula

 "PJ_"&SHORTNAME&"_"&UNIQUE-SEQ-NUM

Any idea how we can achieve this

Thanks


You need to define a field on the object of type "AutoNumber". You can then either use the display format property of it to achieve what you want or alternatively define a separate formula field (as per your example) but reference the AutoNumber field in place of UNIQUE-SEQ-NUM

0

精彩评论

暂无评论...
验证码 换一张
取 消