4D v19

dataStore.cancelTransaction( )

Accueil

 
4D v19
dataStore.cancelTransaction( )

dataStore.cancelTransaction( )  


 

La méthode dataStore.cancelTransaction( ) annule la transaction ouverte par la méthode dataStore.startTransaction( ) au niveau correspondant dans le process courant du datastore diqué. 

La méthode dataStore.cancelTransaction( ) annule les modifications apportées aux données durant la transaction.

Vous pouvez imbriquer plusieurs transactions (sous-transactions). Si la transaction principale est annulée, toutes ses sous-transactions sont également annulées, même si elles ont été validées individuellement à l'aide de la méthode dataStore.validateTransaction( ).

Exemple  

Voir l'exemple de la méthode dataStore.startTransaction( ).



Voir aussi  

ANNULER TRANSACTION
dataStore.startTransaction( )
dataStore.validateTransaction( )

 
PROPRIÉTÉS 

Produit : 4D
Thème : ORDA - DataStore
Nom intl. : dataStore.cancelTransaction( )

Commande(s) éligible(s) à l'exécution dans un process préemptif

 
PAGE CONTENTS 
 
HISTORIQUE 

 
UTILISATION DE L'ARTICLE

4D - Langage ( 4D v19)
4D - Langage ( 4D v19.1)