Associates one object in Dynamics with another, using the given relationship type.
See the Dynamics documentation for the Associate operation for details regarding the parameters and other remarks.
a!dynAssociate( scsExternalSystemKey, usePerUserCredentials, endpoint, parameters)
scsExternalSystemKey: (Text) The key from the Third Party Credentials admin console page that corresponds to the set of credentials that should be used to authenticate.
usePerUserCredentials: (Boolean) If
true the credentials set in the Third-Party Credentials settings page by the current user running the expression will be used. If
false the site-wide credential values will be used.
endpoint: (Text) The Dynamics organization endpoint URL. For example,
parameters: (Any Type) The entities to associate, given as a dictionary with fields for EntityName, EntityId (GUID), Relationship, and RelatedEntities.
This function returns a writer and must be used with the bind() function.
Associate an Opportunity with an Account
Copy and paste the expression into the Interface Designer, save it, then call the interface in a Tempo Report to test.