> For the complete documentation index, see [llms.txt](https://doc.simax.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.simax.fr/parametrage/simaxcli-en-ligne-de-commande/commande-annuler-pour-annuler-une-action-avec-simaxcli.md).

# Commande #ANNULER pour annuler une action avec SIMAXCLI

La commande interne #ANNULER est disponible avec SIMAXCLI pour annuler une action.

&#x20;

Parfois une grosse action d'annulation mobilise plus de mémoire en client Windows qu'il n'y a de mémoire disponible, nous avons donc mis en place une annulation par SIMAXCli moins gourmande afin de faciliter ces annulations exceptionnellement importantes.

&#x20;

&#x20;

Utilisation directement dans la ligne de commande:

SIMAXCLI.exe  /ACTION='#ANNULER \<idmessage à annuler en base 10>' ...

&#x20;

Utilisation dans le fichier de commande :

SIMAXCLI.exe  /ACTION=@action.txt ...

&#x20;

Contenu du fichier action.txt:

\#ANNULER \<idmessage à annuler en base 10>

&#x20;

Récupération de l'identifiant du message à annuler :

\- dans la fenêtre d'annulation

\- sélectionner le message à annuler

\- CTRL + MAJ + clic gauche sur "Fait Par" au-dessus du contenu du message.

&#x20;

La ligne GUID apparaît avec les identifiants du message : la base 10 est celui du milieu.

&#x20;

&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://doc.simax.fr/parametrage/simaxcli-en-ligne-de-commande/commande-annuler-pour-annuler-une-action-avec-simaxcli.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
