20.01.2015 Views

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example 10.10. Transaction.Build Method in ASP.NET VB<br />

codebehind<br />

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

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

' Build business object.<br />

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

'Parameters:<br />

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

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

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

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

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

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

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

As String, ByVal XmlIn As String) As String<br />

Dim xmlOut As String<br />

Dim EncoreBuild As New Encore.Transaction()<br />

xmlOut = EncoreBuild.Build(Uid, BusObject, XmlIn)<br />

EncoreBuild = Nothing<br />

Return xmlOut<br />

End Function<br />

10–22

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

Saved successfully!

Ooh no, something went wrong!