The indicator that the object has already been deleted. It is equal to 0 if the object is not deleted, otherwise it is equal to the object ID.
object.DeletedId
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISService interface |
int
Display some information about the service.
sub main()
Dim aService
Dim aMessage
Set aService = Profile.LoadServiceById(296) 'the stored Id of the service which may be already deleted
aMessage = aMessage & vbNewLine & "----------------------------" & vbNewLine &_
"Description: " & aService.Description & vbNewLine &_
"Code: " & aService.Code & vbNewLine &_
"Added: " & aService.Added & vbNewLine &_
"Changed: " & aService.Changed & vbNewLine &_
"Status: " & aService.Status & vbNewLine &_
"ID: " & aService.ID & vbNewLine &_
"Output Code: " & aService.OutputCode & vbNewLine &_
"Default Delivery Time: " & aService.DefaultDeliveryTime & vbNewLine &_
"Deleted Id: " & aService.DeletedId & vbNewLine
Profile.MsgBox(aMessage)
end sub
In Profile Client v8 on User Interface Deleted ID cannot be found.