inputObjectInterface
This method allows:
- Associating an object with the input event.
To insert each of these items, it is necessary to follow the standard documented below.
| Java class | |
|---|---|
| Request | web\wwwroot\ws\java\storeroom\InputObjectInterfaceRequestType.java |
| Return | web\wwwroot\ws\java\storeroom\InputObjectInterfaceResponseType.java |
Request:
| ID # | Required | Description |
|---|---|---|
| INPUTEVENTID | X | Input event ID # |
| OBJECTID | X | Object ID # |
| STORAGEPLACEID | X | Storage place ID # |
| AMOUNT | X | Quantity |
| LOTNUMBER | Lot number | |
| SERIALNUMBER | Serial number | |
| UNITCOST | Unit cost | |
| DTVALIDITY | Validity date Date format must be Y-M-D (Year-Month-Day) | |
| ATTRIBUTES | Attributes. Example: identifier_of_attribute1=value_of_attribute1; identifier_of_attribute2=value_of_attribute2; identifier_of_attribute3=value_of_attribute3.Example with a multivalued attribute: identifier_of_attribute1=value1_of_attribute1, value2_of_attribute1, value3_of_attibute1Note: For attributes with a numeric value, the decimal place separator must be ".". For date fields, the value must have the āY-M-Dā (Year-Month-Day) format. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:storeroom">
<soapenv:Header/>
<soapenv:Body>
<urn:inputObjectInterface>
<!--You may enter the following 8 items in any order-->
<urn:InputEventId>?</urn:InputEventId>
<urn:ObjectId>?</urn:ObjectId>
<urn:StoragePlaceId>?</urn:StoragePlaceId>
<urn:Amount>?</urn:Amount>
<urn:LotNumber>?</urn:LotNumber>
<urn:SerialNumber>?</urn:SerialNumber>
<urn:UnitCost>?</urn:UnitCost>
<urn:ValidityDate>?</urn:ValidityDate>
<urn:Attributes>?</urn:Attributes>
</urn:inputObjectInterface>
</soapenv:Body>
</soapenv:Envelope>
Return:
| ID # | Description |
|---|---|
| return | SUCCESS: Operation successfully performed. FAILURE: Returns a message regarding the error that occurred |