Skip to main content
Version: 2.2.1

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
Requestweb\wwwroot\ws\java\item\RelateProductionInspectionToCharRequestType.java
Returnweb\wwwroot\ws\java\item\RelateProductionInspectionToCharResponseType.java

Request:

ID #RequiredDescription
IDOBJECTXItem ID #.
IDREVISIONXItem revision #.
IDCHARACTERISTICXItem characteristic ID #.
HASINSPXProduction inspection:
1 - Enabled;
2 - Disabled.
FGSAMPLEPLANSampling rule:
1 - Sampling plan;
3 - Defined size.
FGDEFAULTSAMPLEPLANSampling plan:
1 - Simple;
2 - Double;
3 - Multiple.
IDLEVELInspection level:
1 – 01;
2 – 02;
3 – 03;
4 – S1;
5 – S2;
6 – S3;
7 – S4.
FGSWITCHRULE_PLANWork regime:
1 - Reduced;
2 - Normal;
3 - Multiple.
VLAQLAQL:
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.
QTSAMPLENumber of samples.
IDUNIDSAMPLEUnit of the number of samples.
QTREADSNumber of readings (Required in variable characteristics).
QTSAMPLEITEMNumber of items per sample (Required in attribute characteristics).
QTACCEPTABLEMaximum number of rejects (Required in attribute characteristics).
FGUSERETESTRetest rule:
1 - Enabled;
2 - Disabled.
FGRETESTRESULTX⁴Retest result:
1 - Rejected;
2 - New retest.
QTSAMPLERETESTX⁴Number of samples.
IDUNIDSAMPLERETESTX⁴Unit of the number of samples.
QTACCEPTABLERETESTX⁴Maximum number of rejects.
FGUSEFREQUENCEControl time frequency:
1 - Enabled;
2 - Disabled.
QTFREQUENCYX⁵Test frequency.
FGFREQUENCYX⁵Unit:
5 - Minute(s);
6 - Hour(s).
QTTESTTIMETest time.
IDUNIDTESTTIMEX⁶Test time unit.
QTHUMITYRelative humidity.
IDUNIDHUMITYX⁷Relative humidity unit.
VLTESTTEMPTest temperature.
IDUNIDTESTTEMPX⁸Test temperature unit.
VLPRESSUREAtmospheric pressure.
IDUNIDPRESSUREX⁹Atmospheric pressure unit.
ATTRIBUTELISTAttribute value.
Notes according to the attribute type:
_ Numeric: numeric digits without thousand separator and with period (.) as decimal separator
_ Currency: numeric digits without thousand separator and with period (.) as decimal separator
_ Date: YYYY-MM-DD
_ Time: HHHH:MM
FGRESPONSIBLEType of responsible party
IDRESPONSIBLEResponsible party
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:FGRESPONSIBLE>?</urn:FGRESPONSIBLE>
<urn:IDRESPONSIBLE>?</urn:IDRESPONSIBLE>
</urn:relateProductionInspectionToChar>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: Return regarding the executed item
FAILURE: -1