relateProductionInspectionToChar
This method allows associating/editing:
- Production inspection in the item characteristic.
To insert each of these items, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web\wwwroot\ws\java\item\RelateProductionInspectionToCharRequestType.java |
Return | web\wwwroot\ws\java\item\RelateProductionInspectionToCharResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDOBJECT | X | Item ID #. |
IDREVISION | X | Item revision #. |
IDCHARACTERISTIC | X | Item characteristic ID #. |
HASINSP | X | Production inspection: 1 - Enabled; 2 - Disabled. |
FGSAMPLEPLAN | X¹ | Sampling rule: 1 - Sampling plan; 3 - Defined size. |
FGDEFAULTSAMPLEPLAN | X² | Sampling plan: 1 - Simple; 2 - Double; 3 - Multiple. |
IDLEVEL | X² | Inspection level: 1 - 01; 2 - 02; 3 - 03; 4 - S1; 5 - S2; 6 - S3; 7 - S4. |
FGSWITCHRULE_PLAN | X² | Work regime: 1 - Reduced; 2 - Normal; 3 - Multiple. |
VLAQL | X² | AQL: 1 - 0.01000000; 2 - 0.01500000; 3 - 0.02500000; 4 - 0.04000000; 5 - 0.65000000; 6 - 0.10000000; 7 - 0.15000000; 8 - 0.25000000; 9 - 0.40000000; 10 - 0.65000000; 11 - 1.00000000; 12 - 1.50000000; 13 - 2.50000000; 14 - 4.00000000; 15 - 6.50000000; 16 - 10.00000000; 17 - 15.00000000; 18 - 25.00000000; 19 - 40.00000000; 20 - 65.00000000; 21 - 100.00000000; 22 - 150.00000000; 23 - 250.00000000; 24 - 400.00000000; 25 - 650.00000000; 26 - 1000.00000000. |
QTSAMPLE | X³ | Number of samples. |
IDUNIDSAMPLE | Unit of the number of samples. | |
QTREADS | X³ | Number of readings (Required in variable characteristics). |
QTSAMPLEITEM | X³ | Number of items per sample (Required in attribute characteristics). |
QTACCEPTABLE | X³ | Maximum number of rejects (Required in attribute characteristics). |
FGUSERETEST | Retest rule: 1 - Enabled; 2 - Disabled. | |
FGRETESTRESULT | X⁴ | Retest result: 1 - Rejected; 2 - New retest. |
QTSAMPLERETEST | X⁴ | Number of samples. |
IDUNIDSAMPLERETEST | X⁴ | Unit of the number of samples. |
QTACCEPTABLERETEST | X⁴ | Maximum number of rejects. |
FGUSEFREQUENCE | Control time frequency: 1 - Enabled; 2 - Disabled. | |
QTFREQUENCY | X⁵ | Test frequency. |
FGFREQUENCY | X⁵ | Unit: 5 - Minute(s); 6 - Hour(s). |
QTTESTTIME | Test time. | |
IDUNIDTESTTIME | X⁶ | Test time unit. |
QTHUMITY | Relative humidity. | |
IDUNIDHUMITY | X⁷ | Relative humidity unit. |
VLTESTTEMP | Test temperature. | |
IDUNIDTESTTEMP | X⁸ | Test temperature unit. |
VLPRESSURE | Atmospheric pressure. | |
IDUNIDPRESSURE | X⁹ | Atmospheric pressure unit. |
info
- X¹ - Required when Production inspection is enabled.
- X² - Required when Sampling rule is: Sampling plan.
- X³ - Required when Sampling rule is: Defined size.
- X⁴ - Required when Retest rule is enabled.
- X⁵ - Required when the option of controlling time frequency is enabled.
- X⁶ - Required when the Test time field is completed.
- X⁷ - Required when the Relative humidity field is completed.
- X⁸ - Required when the Test temperature field is completed.
- X⁹ - Required when the Atmospheric pressure field is completed.
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:item">
<soapenv:Header/>
<soapenv:Body>
<urn:relateProductionInspectionToChar>
<!--You may enter the following 31 items in any order-->
<urn:IDOBJECT>?</urn:IDOBJECT>
<urn:IDREVISION>?</urn:IDREVISION>
<urn:IDCHARACTERISTIC>?</urn:IDCHARACTERISTIC>
<urn:HASINSP>?</urn:HASINSP>
<urn:FGSAMPLEPLAN>?</urn:FGSAMPLEPLAN>
<urn:FGDEFAULTSAMPLEPLAN>?</urn:FGDEFAULTSAMPLEPLAN>
<urn:IDLEVEL>?</urn:IDLEVEL>
<urn:FGSWITCHRULE_PLAN>?</urn:FGSWITCHRULE_PLAN>
<urn:VLAQL>?</urn:VLAQL>
<urn:QTSAMPLE>?</urn:QTSAMPLE>
<urn:IDUNIDSAMPLE>?</urn:IDUNIDSAMPLE>
<urn:QTREADS>?</urn:QTREADS>
<urn:QTSAMPLEITEM>?</urn:QTSAMPLEITEM>
<urn:QTACCEPTABLE>?</urn:QTACCEPTABLE>
<urn:FGUSERETEST>?</urn:FGUSERETEST>
<urn:FGRETESTRESULT>?</urn:FGRETESTRESULT>
<urn:QTSAMPLERETEST>?</urn:QTSAMPLERETEST>
<urn:IDUNIDSAMPLERETEST>?</urn:IDUNIDSAMPLERETEST>
<urn:QTACCEPTABLERETEST>?</urn:QTACCEPTABLERETEST>
<urn:FGUSEFREQUENCE>?</urn:FGUSEFREQUENCE>
<urn:QTFREQUENCY>?</urn:QTFREQUENCY>
<urn:FGFREQUENCY>?</urn:FGFREQUENCY>
<urn:QTTESTTIME>?</urn:QTTESTTIME>
<urn:IDUNIDTESTTIME>?</urn:IDUNIDTESTTIME>
<urn:QTHUMITY>?</urn:QTHUMITY>
<urn:IDUNIDHUMITY>?</urn:IDUNIDHUMITY>
<urn:VLTESTTEMP>?</urn:VLTESTTEMP>
<urn:IDUNIDTESTTEMP>?</urn:IDUNIDTESTTEMP>
<urn:VLPRESSURE>?</urn:VLPRESSURE>
<urn:IDUNIDPRESSURE>?</urn:IDUNIDPRESSURE>
<urn:ATTRIBUTELIST>
<!--Zero or more repetitions:-->
<urn:ATTRIBUTE>
<!--You may enter the following 5 items in any order-->
<urn:ATTRIBUTEID>?</urn:ATTRIBUTEID>
<urn:ATTRIBUTETP>?</urn:ATTRIBUTETP>
<urn:ATTRIBUTEVALUE>?</urn:ATTRIBUTEVALUE>
<urn:ATTRIBUTEREQUIRED>?</urn:ATTRIBUTEREQUIRED>
<urn:ATTRIBUTEREADONLY>?</urn:ATTRIBUTEREADONLY>
</urn:ATTRIBUTE>
</urn:ATTRIBUTELIST>
</urn:relateProductionInspectionToChar>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
return | SUCCESS: Return regarding the executed item FAILURE: -1 |