# Set Synchronization Status

Changes the synchronization status of one or more records of the specified Database Table. By default, Kalipso automatically manages which records should be sent to the server. Use this Action to manually define which records should be sent to the server.

Action available for the following operating systems:

![](/files/-MAlQBZuuTnc6hyzKSVQ)

### Parameters

* **Table** - Database Table to set the records from.
* **Status** *\<numeric> -* Status to to set the records.
  * *Synchronized* - Records included in the **Filter** will not be sent to the server.
  * *Not Synchronized -* Records included in the **Filter** will be sent to the server.
* **Filter** *\<Kalipso Filter> or \<string> -* Condition to specify which records should should have their status changed. Check [**Expressions** ](/kalipso5/developing/form/expressions.md)chapter for more information about Kalipso Filter and String expressions.

### Usage

Consider the following offline Database Table:

| **Products**       |                   |                     |                      |
| ------------------ | ----------------- | ------------------- | -------------------- |
| **Code** *Numeric* | **Name** *String* | **Stock** *Numeric* | **Status**           |
| 1                  | Coca Cola         | 100                 | **Synchronized**     |
| 2                  | Pepsi Cola        | 200                 | **Not Synchronized** |
| 3                  | Pork Chops        | 300                 | **Not Synchronized** |

#### **Example 1**

|            |                                   |
| ---------- | --------------------------------- |
| **Table**  | Products                          |
| **Status** | Not Synchronized                  |
| **Filter** | FIELD(Products,Name) LIKE "%Cola" |

*Result:*

| **Products** |            |           |                      |
| ------------ | ---------- | --------- | -------------------- |
| **Code**     | **Name**   | **Stock** | **Status**           |
| 1            | Coca Cola  | 100       | **Not Synchronized** |
| 2            | Pepsi Cola | 200       | **Not Synchronized** |
| 3            | Pork Chops | 300       | **Not Synchronized** |

#### **Example 2**

|            |                           |
| ---------- | ------------------------- |
| **Table**  | Products                  |
| **Status** | Synchronized              |
| **Filter** | FIELD(Products,Code) <> 0 |

*Result:*

| **Products** |            |           |                  |
| ------------ | ---------- | --------- | ---------------- |
| **Code**     | **Name**   | **Stock** | **Status**       |
| 1            | Coca Cola  | 100       | **Synchronized** |
| 2            | Pepsi Cola | 200       | **Synchronized** |
| 3            | Pork Chops | 300       | **Synchronized** |

{% hint style="info" %}
See [Database ](broken://pages/-M9xeS95S1XRS69Ow17-)chapter for more information.
{% endhint %}

{% hint style="info" %}
When you specify more than one condition in **Filter** parameter, the operator used between the conditions is "**AND**" or "**OR**".
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-database/set-synchronization-status.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
