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 | |
---|---|
Request | web\wwwroot\ws\java\supply\AddEditSupplyWarehouseRequestType.java |
Return | web\wwwroot\ws\java\supply\AddEditSupplyWarehouseResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDBOJECT | X | Object ID # |
IDSTOREROOM | X | ID # of the storeroom to be associated |
VLOPTIMUM | Ideal quantity | |
VLREPLACEMENT | Minimum 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 |
---|---|
return | SUCCESS: Return regarding the executed item FAILURE: -1 |