Announcement

Collapse
No announcement yet.

How to automatically set the accountId?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to automatically set the accountId?

    I have created two entities, RequestManagement and Requestlist, with a one-to-many relationship between them. Both entities have a link named "accountId." I would like to automatically set the accountId of a Requestlist record to match the accountId of the corresponding RequestManagement when creating the Requestlist record.

  • #2
    accountId.RequestManagement = accountId.Requestlist

    Comment


    • #3
      Originally posted by lj4353 View Post
      I have created two entities, RequestManagement and Requestlist, with a one-to-many relationship between them. Both entities have a link named "accountId." I would like to automatically set the accountId of a Requestlist record to match the accountId of the corresponding RequestManagement when creating the Requestlist record.
      set this code in formula of the RequestList entity: make sure that you use the correct link field name between the two entities requestManagment ???

      PHP Code:
      if (requestManagment.accountId) {
          
      accountId requestManagment.accountId;
      }
      ​ 
      Rabii
      Web Dev

      Comment

      Working...
      X