Wanted to add new custom field

i have two tables TPS Interchange and TFM Trinary. Primary key of TFM Trinary is foreing key of TPS Interchange which is Trinary_id . TFM Trinary contains key Column which has some text data like TESTCALL, TESTEMAIL

also created a record type TPS Interchange  and record type TFM Trinary . Now i want to create an custom field  like 


if   'recordType!TPS interchnage.Trinary_id = 15 then it showsTFM Trinary .key= TESTCALL
 if 'recordType!TPS interchnage.Trinary_id = 20 then it showsTFM Trinary .key= TESTEMAIL otherwise Default null

How to do this ?


  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    hi   go to your record and follow the below step:

    click on new custom record filed:

     select write your own expression: it allows related record fields also

    write your expression here: example : 

    a!customFieldMatch(
      value: recordType!Order.relationships.customers.fields.supportLevel,
      equals: 3,
      then: "Critical Customer Order",
      default: "Customer Order"
    )

    select & give your custom record filed name and select data type of your field

    after completing  it will be created and visible in your record as below:

Reply
  • 0
    Certified Senior Developer

    hi   go to your record and follow the below step:

    click on new custom record filed:

     select write your own expression: it allows related record fields also

    write your expression here: example : 

    a!customFieldMatch(
      value: recordType!Order.relationships.customers.fields.supportLevel,
      equals: 3,
      then: "Critical Customer Order",
      default: "Customer Order"
    )

    select & give your custom record filed name and select data type of your field

    after completing  it will be created and visible in your record as below:

Children