Skip to main content
Version: 2.2.3

addEditSupplyWarehouse

This method allows associating/editing a storeroom with a supply. To insert each of these items, it is necessary to follow the standard documented below:

Java class
Requestweb\wwwroot\ws\java\supply\AddEditSupplyWarehouseRequestType.java
Returnweb\wwwroot\ws\java\supply\AddEditSupplyWarehouseResponseType.java

Request:

ID #RequiredDescription
IDBOJECTXObject ID #
IDSTOREROOMXID # of the storeroom to be associated
VLOPTIMUMIdeal quantity
VLREPLACEMENTMinimum reorder quantity

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sp">
<soapenv:Header/>
<soapenv:Body>
<urn:addEditSupplyWarehouse>
<!--You may enter the following 4 items in any order-->
<urn:IDOBJECT>?</urn:IDOBJECT>
<urn:IDSTOREROOM>?</urn:IDSTOREROOM>
<urn:VLOPTIMUM>?</urn:VLOPTIMUM>
<urn:VLREPLACEMENT>?</urn:VLREPLACEMENT>
</urn:addEditSupplyWarehouse>
</soapenv:Body>
</soapenv:Envelope>

Return:

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