Hi Marcel,
In order to write a trigger in VB, you should first add a Sub with the desired signature:
Public Sub onInsert(ByVal collection As String, _
ByVal doctype As String, _
ByVal ino_id As String, _
ByVal XMLObject As String)
' onInsert trigger
End Sub
Public Sub onUpdate(ByVal collection As String, _
ByVal doctype As String, _
ByVal ino_id As String, _
ByVal XMLObjectOld As String, _
ByVal XMLObjectNew As String)
' onUpdate trigger
End Sub
Public Sub onDelete(ByVal collection As String, _
ByVal doctype As String, _
ByVal ino_id As String, _
ByVal XMLObject As String)
' onDelete trigger
End Sub
After compilation you have to analyze the generated EXE file using X-Tension analyzer in System Management Hub. As onDelete and onInsert have the same signature, you have to choose the right type and can’t ‘Select with Defaults’.
After packaging, you should be able to install the generated SXP file.
If you should have further problems, please give more details.
Best regards,
Julius Geppert
Software AG
#Tamino#webMethods#API-Management