Skip to main content
Version: 2.2.2

addSupplyStructure

This method allows creating/editing:

  • Data of a supply structure.

To insert each of these items, it is necessary to follow the standard documented below.

Java class
Requestweb\wwwroot\ws\java\supply\AddSupplyStructureRequestType.java
Returnweb\wwwroot\ws\java\supply\AddSupplyStructureResponseType.java

Request:

ID #RequiredDescription
IDBOJECTXSupply ID #
IDREVISIONXRevision ID #
IDOBJECTOWNERXID # (Upper level object)
IDREVISIONOWNERXRevision (Upper level object)
VLQUANTITYXQuantity

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sp">
<soapenv:Header/>
<soapenv:Body>
<urn:addSupplyStructure>
<!--You may enter the following 5 items in any order-->
<urn:IDOBJECT>?</urn:IDOBJECT>
<urn:IDREVISION>?</urn:IDREVISION>
<urn:IDOBJECTOWNER>?</urn:IDOBJECTOWNER>
<urn:IDREVISIONOWNER>?</urn:IDREVISIONOWNER>
<urn:VLQUANTITY>?</urn:VLQUANTITY>
</urn:addSupplyStructure>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: Return regarding the executed item
FAILURE: -1