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.
How to automatically set the accountId?
Collapse
X
-
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.
PHP Code:if (requestManagment.accountId) { accountId = requestManagment.accountId; }
Rabii
Web DevComment
Comment