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.

Sample Applications<br />

Example 10.17. Setup.Update Method in ASP.NET C# codebehind<br />

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

//- <strong>Syspro</strong>Update 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 update<br />

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

//mlIn:- The input xml to be used in update<br />

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

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

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

string <strong>Syspro</strong>Update(string Uid, string BusObject, string \<br />

XmlParam, string XmlIn) {<br />

string xmlOut;<br />

Encore.Setup EncoreUpdate = new Encore.Setup();<br />

xmlOut=EncoreUpdate.Update(Uid, BusObject, XmlParam, XmlIn);<br />

EncoreUpdate = null;<br />

return xmlOut;<br />

}<br />

10–29

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

Saved successfully!

Ooh no, something went wrong!