# mssetprimcontact

If this function is used, the next contact that is created or modified by Inaport will be set as the primary contact for the parent account.

## Arguments

Argument | Data Type | Description
None |  |

## Returns

Nothing. This function sets an internal variable that is then used when contacts are created or modified in Dynamics CRM.

## Description

Use this function in tab 4 of the profile. It does not return any value, and you do not need to map it to any field.

It works by setting a flag to Inaport that says "when a contact is created or modified in tab 5, set it as the primary contact for the parent account".

## Examples

Example | Description
--- | ---
mssetprimcontact() | Request that the contact created or modified be set as the primary contact for the parent account

## See Also