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.

5.3.2. Setup.Update<br />

Syntax:<br />

Setup.Update(UserID, BusinessObject, XmlParameters, XmlIn)<br />

The Update method enables data contained in the SYSPRO data structures to be<br />

modified.<br />

The Setup.Update method requires two XML input strings. The first,<br />

XmlParameters, is used to pass parameters to the business object. The second, XmlIn,<br />

contains the data that will replace the current data contained in SYSPRO. The business<br />

object will return an XML string indicating success or failure.<br />

The structure and parameters allowed in XmlParameters and XmlIn is dependent on<br />

the business object being called.<br />

Business objects available to this method can be found in the Business Object Reference<br />

Library list available on the SYSPRO SupportZone e.<strong>net</strong> solutions menu.<br />

Use the e.<strong>net</strong> Diagnostics suite's Harness tool and select Setup.Update. Load the<br />

APSSSP business object:<br />

Now click on the Load XML button to view the sample XmlIn.<br />

By using the e.<strong>net</strong> Diagnostics suite's Harness tool you can view and edit the sample<br />

XmlIn and process it through the e.<strong>net</strong> solutions application server, receiving the XmlOut<br />

in the Business Object Output tab of the Harness screen. Using this tool enables you to<br />

test and troubleshoot your application's XmlIn and quickly see the results and the XML<br />

structures used to convey the returned data. This is possible with all the business objects<br />

listed for the Setup.Update method.<br />

5–32

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

Saved successfully!

Ooh no, something went wrong!