> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/mss-extensibility/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/mss-extensibility/mss-5.1/functions-mss-to-kalipso/synchronize/1200-synchronize-synchronize-module.md).

# 1200 - Synchronize Module

1200 - Synchronize Module

(executed also in automatic synchronizations)

<table data-header-hidden><thead><tr><th width="182.33333333333331">Event</th><th width="214">Extension action set</th><th>Description</th></tr></thead><tbody><tr><td>Event</td><td>Extension action set</td><td>Description</td></tr><tr><td><a href="#before">Before </a></td><td>EXT_1200_1_Before</td><td>Will be executed before MSS opens the Synchronization module;</td></tr><tr><td><a href="#replace">Replace</a></td><td>EXT_1200_2_Replace</td><td>Will replace MSS Synchronization module;</td></tr><tr><td><a href="#after">After</a></td><td>EXT_1200_3_After</td><td>Will be executed after closing the Synchronization module;</td></tr></tbody></table>

### 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;
