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 | |
---|---|
Request | web\wwwroot\ws\java\supply\AddSupplyStructureRequestType.java |
Return | web\wwwroot\ws\java\supply\AddSupplyStructureResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDBOJECT | X | Supply ID # |
IDREVISION | X | Revision ID # |
IDOBJECTOWNER | X | ID # (Upper level object) |
IDREVISIONOWNER | X | Revision (Upper level object) |
VLQUANTITY | X | Quantity |
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 |
---|---|
return | SUCCESS: Return regarding the executed item FAILURE: -1 |