addCharacteristicVar
This method allows for:
- Adding a variable type characteristic.
- Editing a variable type characteristic.
To insert each of these items, the standard documented below must be followed.
| Java class | |
|---|---|
| Request | web\wwwroot\ws\java\item\AddCharacteristicVarRequestType.java |
| Return | web\wwwroot\ws\java\item\AddCharacteristicVarResponseType.java |
Request:
| ID | Required | Description |
|---|---|---|
| IDOBJECT | X | Item ID # |
| IDREVISION | X | Item revision ID # |
| IDCHARACTERISTIC | X | Characteristic ID # |
| NMCHARACTERISTIC | X | Characteristic name |
| IDINPUTCHARACTYPE | Characteristic type ID # | |
| DSCHARACSPECIAL | Special characteristic: 1 - Yes; 2 - No. If the "Require symbol in the characteristic" general parameter from SoftExpert PDM is checked, the system will always consider it as "1 - Yes", even when any value is entered, requiring the input of a symbol. | |
| NMCLIENTSYMBOL | X¹ | Customer symbol name |
| NMSUPPLIERSYMBOL | X¹ | Supplier symbol name |
| QTDECIMAL | X | Number of decimal places |
| FGLIMIT | X | Limits: 0 - Bilateral; 1 - Unilateral up; 2 - Unilateral down; |
| IDMEASUNITY | X | Measurement unit ID # |
| VLNOMINAL | X | Nominal value |
| VLUPPER | X² | Upper tolerance |
| VLLOWER | X³ | Lower tolerance |
| QTSAMPLESIZE | Field for # of readings, used in the SPC tab, in the item characteristic. Prerequisite for # of required readings | |
| QTREQREADING | Field for # of required readings | |
| DSOBSERVATION | Comments |
info
- X¹ - Required if the characteristic is special.
- X² - Required only when the limit is bilateral or unilateral up.
- X³ - Required only when the limit is bilateral or unilateral down.
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:item">
<soapenv:Header/>
<soapenv:Body>
<urn:addCharacteristicVar>
<!--You may enter the following 16 items in any order-->
<urn:IDOBJECT>?</urn:IDOBJECT>
<urn:IDREVISION>?</urn:IDREVISION>
<urn:IDCHARACTERISTIC>?</urn:IDCHARACTERISTIC>
<urn:NMCHARACTERISTIC>?</urn:NMCHARACTERISTIC>
<urn:IDINPUTCHARACTYPE>?</urn:IDINPUTCHARACTYPE>
<urn:DSCHARACSPECIAL>?</urn:DSCHARACSPECIAL>
<urn:NMCLIENTSYMBOL>?</urn:NMCLIENTSYMBOL>
<urn:NMSUPPLIERSYMBOL>?</urn:NMSUPPLIERSYMBOL>
<urn:QTDECIMAL>?</urn:QTDECIMAL>
<urn:FGLIMIT>?</urn:FGLIMIT>
<urn:IDMEASUNITY>?</urn:IDMEASUNITY>
<urn:VLNOMINAL>?</urn:VLNOMINAL>
<urn:VLUPPER>?</urn:VLUPPER>
<urn:VLLOWER>?</urn:VLLOWER>
<urn:QTSAMPLESIZE>?</urn:QTSAMPLESIZE>
<urn:DSOBSERVATION>?</urn:DSOBSERVATION>
</urn:addCharacteristicVar>
</soapenv:Body>
</soapenv:Envelope>
Return:
| ID | Description |
|---|---|
| Status | SUCCESS: SUCCESS FAILURE: FAILURE |
| Code | Success (1) or failure (0) |
| Detail | FAILURE: Returns a message regarding the error that occurred |