addCharacteristicAttrib
This method allows:
- Adding an attribute type characteristic
- Editing an attribute type characteristic
To insert each of these items, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web\wwwroot\ws\java\item\AddCharacteristicAttribRequestType.java |
Return | web\wwwroot\ws\java\item\AddCharacteristicAttribResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDOBJECT | X | Item ID #. |
IDREVISION | X | Item revision ID #. |
IDCHARECTERISTIC | 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. |
QTSAMPLESIZE | Field for # of items per sample, used in the SPC tab, in the item characteristic. | |
DSOBSERVATION | Comments. | |
DSSPECIFICATION | Specifications. |
info
- X¹ - Required if the characteristic is special.
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:item">
<soapenv:Header/>
<soapenv:Body>
<urn:addCharacteristicAttrib>
<!--You may enter the following 11 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:QTSAMPLESIZE>?</urn:QTSAMPLESIZE>
<urn:DSOBSERVATION>?</urn:DSOBSERVATION>
<urn:DSSPECIFICATION>?</urn:DSSPECIFICATION>
</urn:addCharacteristicAttrib>
</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 |