# 1200 - Synchronize Module

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/synchronize/1200-synchronize-synchronize-module
>
> Eventos EXT_1200 do módulo de sincronização, também nas sincronizações automáticas, com o perfil de sincronização e o módulo que a lançou.

1200 - Synchronize Module

(executed also in automatic synchronizations)

| Event | Extension action set | Description |
| --- | --- | --- |
| [Before ](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/synchronize/1200-synchronize-synchronize-module.md#before) | EXT_1200_1_Before | Will be executed before MSS opens the Synchronization module; |
| [Replace](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/synchronize/1200-synchronize-synchronize-module.md#replace) | EXT_1200_2_Replace | Will replace MSS Synchronization module; |
| [After](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/synchronize/1200-synchronize-synchronize-module.md#after) | EXT_1200_3_After | Will be executed after closing the Synchronization module; |

### Before

_Input Parameters_

* inSyncProfile - Number of the synchronization profile to run (when opening in automatic synchronization mode);
* inModule - MSS Module which opened the synchronization module (when opening in automatic synchronization mode); Possible values:
  * P - Orders module;
  * A - Sales module;
  * R - Receipts module;
  * V - Visits reports module;
  * S - Services module;
  * I - Services interventions;

### Replace

_Input Parameters_

* inSyncProfile - Number of the synchronization profile to run (when opening in automatic synchronization mode);
* inModule - MSS Module which opened the synchronization module (when opening in automatic synchronization mode); Possible values:
  * P - Orders module;
  * A - Sales module;
  * R - Receipts module;
  * V - Visits reports module;
  * S - Services module;
  * I - Services interventions;

_Output Parameters_

* outOpenMSSModule – Return code: 1 – Open MSS module / 0 – Don’t open MSS module;

### After

_Input Parameters_

* inSyncProfile - Number of the synchronization profile to run (when opening in automatic synchronization mode);
* inModule - MSS Module which opened the synchronization module (when opening in automatic synchronization mode); Possible values:
  * P - Orders module;
  * A - Sales module;
  * R - Receipts module;
  * V - Visits reports module;
  * S - Services module;
  * I - Services interventions;
