ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Salesforce functions
  • Properties specific to sfDeletedRecord variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
sfDeletedRecord (Variable type)
In french: sfEnregistrementSupprimé
The sfSeekDeletedResult type is used to find out the characteristics of a deleted record that was retrieved by SFSeekDeleted.
This type of variable is used by the sfSeekDeletedResult type.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connexion à Salesforce
Cnx is sfConnection
Cnx.Login = "balthazar@gmail.com"
Cnx.Password = "azerty" + "XXB12VCZ54"
IF SFConnect(Cnx) = False THEN
	Error("La connexion a échoué")
	RETURN
END

ResRecupSuppr is sfSeekDeletedResult
ResRecupSuppr = SFSeekDeleted(Cnx, "Mileage__c", "20090101", "20090131")

MonEnregistrement is sfDeletedRecord
FOR EACH MonEnregistrement OF ResRecupSuppr.DeletedRecord
	Trace("--- ID : " + MonEnregistrement.ID)
END
Properties

Properties specific to sfDeletedRecord variables

The following properties can be used to handle a deleted record that was retrieved by SFSeekDeleted:
Property nameType used Effect
DeletionDateDateTimeDate and time of record deletion (in UTC format).
This property is read-only.
IDCharacter stringIdentifier of the deleted record.
This property is read-only.
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help