ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Salesforce functions
  • Properties specific to the description of sfDeletedRecord variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
sfDeletedRecord (Type of variable)
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.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connect to Salesforce
Cnt is sfConnection
Cnt.Login = "balthazar@gmail.com"
Cnt.Password = "qwerty" + "XXB12VCZ54"
IF SFConnect(Cnt) = False THEN
Error("The connection failed")
RETURN
END
 
ResGetDel is sfSeekDeletedResult
ResGetDel = SFSeekDeleted(Cnt, "Mileage__c", "20090101", "20090131")
 
MyRecord is sfDeletedRecord
FOR EACH MyRecord OF ResGetDel.DeletedRecord
Trace("--- ID: " + MyRecord.ID)
END
Remarks

Properties specific to the description of 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: 08/24/2022

Send a report | Local help