20.01.2015 Views

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example 10.18. Setup.Delete Method in ASP.NET VB codebehind<br />

'********************************************************<br />

'-- <strong>Syspro</strong>Delete does the actual call to the specified<br />

' Delete business object.<br />

'********************************************************<br />

'Parameters:<br />

'Uid:- GUID returned by Logon<br />

'BusObject:- business object used to do delete<br />

'XmlParam:- The parameter xml to be used in delete<br />

'XmlIn:- The input xml to be used in delete<br />

'********************************************************<br />

'Returns:- The XML returned by the business object.<br />

'********************************************************<br />

Function <strong>Syspro</strong>Delete(ByVal Uid As String, ByVal BusObject \<br />

As String, ByVal XmlParam As String, ByVal XmlIn As \<br />

String) As String<br />

Dim xmlOut As String<br />

Dim EncoreDelete As Encore.Setup()<br />

xmlOut = EncoreDelete.Delete(Uid, BusObject, XmlParam, XmlIn)<br />

EncoreDelete = Nothing<br />

Return xmlOut<br />

End Function<br />

10–30

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!