IScriptingEventsOnSaleBeforeDelete Method |
Identity is the id of the current object.
If you need to update information in external applications based on this entity, this is the time to collect the information you (like identity, name, numbers, any user defined field and so on).
Namespace:
SuperOffice.COM.ScriptEvents
Assembly:
Scripting.Interop (in Scripting.Interop.dll) Version: 8.0.0.0
Syntaxvoid OnSaleBeforeDelete(
int identity
)
Sub OnSaleBeforeDelete (
identity As Integer
)
Dim instance As IScriptingEvents
Dim identity As Integer
instance.OnSaleBeforeDelete(identity)
void OnSaleBeforeDelete(
[InAttribute] int identity
)
Parameters
- identity
- Type: SystemInt32
sale_id
Examplessub OnSaleBeforeDelete(id)
somessagebox "If you need any values from this sale you need to get them now. After this the sale with sale_id= " & id & " would be gone from the database"
end sub
See Also