Skip to main content
Version: 2.2.3

createUpdateConfiguration

This import template allows adding, editing, and deleting:

  • Inspection form data.

To insert each of these items, it is necessary to follow the standard documented below.

Java class
Requestweb\wwwroot\ws\java\inspection\CreateUpdateConfigurationRequestType.java
Returnweb\wwwroot\ws\java\inspection\CreateUpdateConfigurationResponseType.java

Request:

ID #RequiredDescription
FGOPTIONXCode of the operation to be performed:
14 - Insert;
15 - Edit;
16 - Insert/Edit.
IDGENTYPEInspection form type ID #
IDCONFIGURATIONXInspection form ID #
IDOBJECTItem/Supply ID #
IDREVISIONItem/Supply revision ID #
IDPROCESSProcess ID #
IDPROCREVISIONProcess revision ID #
IDACTIVITYProcess activity ID #
NMEVALCONFGRUPEvaluation group name
IDQUALITYINDEXQuality index ID #
FGALLOWEDITWFAllow editing the receiving flow:
1 - Allow;
2 - Do not allow (default option).
IDWORKFLOWInspection flow ID #
FGBLOCKBlock receiving for this inspection form:
1 - Block
2 - Do not block (default option).
FGTYPEFREQUENCEX⁴Frequency type:
1 - Uncontrolled;
2 - Execution date;
3 - Inspect an instance every... (available only when there are processes involved)
QTFREQUENCEX⁵Frequency/Number of instances
FGFREQUENCEX⁵Frequency unit:
1 - Days;
2 - Weeks;
3 - Months;
4 - Years.
DTNEXTEXECUTIONX⁵Next execution date
IDTEAMX⁵Responsible team
FGINSPFREQX⁶Inspection frequency:
1 - Skip-lot
2 - Total inspection
3 - No inspection
NMSKIPTYPEX⁶Skip-lot type name
NRSEQX⁶Frequency sequence of the selected skip-lot
FGINITIALSMPControl initial sample:
1 - Yes;
2 - No (default option).
FGSTATUSINITIALSMPX⁷Sample status:
1 - Blocked;
2 - Initial sample;
3 - Released.
DTDUEDATEX⁷Deadline
FGVALIDITYRIAControl initial sampling validity:
1 - Yes;
2 - No (default option).
QTVALIDITYRIAX⁸Initial sampling validity frequency
FGFREQVALIDITYRIAX⁸Initial sampling validity frequency unit:
1 - Days;
2 - Weeks;
3 - Months;
4 - Inspections
DSINITIALSMPInitial sampling comments
FGAVGREADINGRegister averages/readings:
1 - Register averages;
2 - Register readings.
FGSAMPLEPLANX⁹Rule:
1 - Sampling plan;
2 - Sampling table;
3 - Defined size;
4 - Percentage.
FGDEFAULSAMPLEPLANX⁹Sampling plan:
1 - Simple;
2 - Double;
3 - Multiple
IDLEVELX⁹Inspection level:
[01, 02, 03, S1, S2, S3, S4]
FGSWITCHRULEX⁹Work regime:
1 - Reduced;
2 - Normal;
3 - Tightened.
VLAQLX⁹AQL:
[0.010, 0.015, 0.025, 0.04, 0.65, 0.1, 0.15, 0.25, 0.4, 0.65, 1, 1.5, 2.5, 4, 6.5, 10, 15, 25, 40, 65, 100, 150, 250, 400, 650, 1000]
IDTABLEX⁹Sampling table ID #
VLSAMPLESIZEX⁹Sample size
VLACCEPTABLEX⁹Maximum number/percentage of rejects
VLPERCENTAGEX⁹Percentage
info
  • X¹ - Mandatory for insertion; ignored for other actions.
  • X² - Mandatory for insertion; optional for editing and deletion.
  • X³ - Mandatory if editing the inspection flow is not allowed.
  • X⁴ - Mandatory for insertion if the form object type allows the frequency to be controlled.
  • X⁵ - Mandatory for insertion if the frequency is controlled.
  • X⁶ - Mandatory for insertion if the form object type requires the inspection frequency to be entered.
  • X⁷ - Mandatory for insertion if the form object type requires the inspection frequency to be entered and the option to control the initial sample is enabled.
  • X⁸ - Mandatory for insertion if the form object type requires the inspection frequency to be entered and the options to control initial sample and to control validity are enabled.
  • X⁹ - Mandatory if the form object type requires a sampling plan to be entered and if the sampling rule option requires completion.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:inspection">
<soapenv:Header/>
<soapenv:Body>
<urn:createUpdateConfiguration>
<!--You may enter the following 38 items in any order-->
<urn:FGOPTION>?</urn:FGOPTION>
<urn:IDGENTYPE>?</urn:IDGENTYPE>
<urn:IDCONFIGURATION>?</urn:IDCONFIGURATION>
<urn:IDOBJECT>?</urn:IDOBJECT>
<urn:IDREVISION>?</urn:IDREVISION>
<urn:IDPROCESS>?</urn:IDPROCESS>
<urn:IDPROCREVISION>?</urn:IDPROCREVISION>
<urn:IDACTIVITY>?</urn:IDACTIVITY>
<urn:NMEVALCONFGRUP>?</urn:NMEVALCONFGRUP>
<urn:IDQUALITYINDEX>?</urn:IDQUALITYINDEX>
<urn:FGALLOWEDITWF>?</urn:FGALLOWEDITWF>
<urn:IDWORKFLOW>?</urn:IDWORKFLOW>
<urn:FGBLOCK>?</urn:FGBLOCK>
<urn:FGTYPEFREQUENCE>?</urn:FGTYPEFREQUENCE>
<urn:QTFREQUENCE>?</urn:QTFREQUENCE>
<urn:FGFREQUENCE>?</urn:FGFREQUENCE>
<urn:DTNEXTEXECUTION>?</urn:DTNEXTEXECUTION>
<urn:IDTEAM>?</urn:IDTEAM>
<urn:FGINSPFREQ>?</urn:FGINSPFREQ>
<urn:NMSKIPTYPE>?</urn:NMSKIPTYPE>
<urn:NRSEQ>?</urn:NRSEQ>
<urn:FGINITIALSMP>?</urn:FGINITIALSMP>
<urn:FGSTATUSINITIALSMP>?</urn:FGSTATUSINITIALSMP>
<urn:DTDUEDATE>?</urn:DTDUEDATE>
<urn:FGVALIDITYRIA>?</urn:FGVALIDITYRIA>
<urn:QTVALIDITYRIA>?</urn:QTVALIDITYRIA>
<urn:FGFREQVALIDITYRIA>?</urn:FGFREQVALIDITYRIA>
<urn:DSINITIALSMP>?</urn:DSINITIALSMP>
<urn:FGAVGREADING>?</urn:FGAVGREADING>
<urn:FGSAMPLEPLAN>?</urn:FGSAMPLEPLAN>
<urn:FGDEFAULSAMPLEPLAN>?</urn:FGDEFAULSAMPLEPLAN>
<urn:IDLEVEL>?</urn:IDLEVEL>
<urn:FGSWITCHRULE>?</urn:FGSWITCHRULE>
<urn:VLAQL>?</urn:VLAQL>
<urn:IDTABLE>?</urn:IDTABLE>
<urn:VLSAMPLESIZE>?</urn:VLSAMPLESIZE>
<urn:VLACCEPTABLE>?</urn:VLACCEPTABLE>
<urn:VLPERCENTAGE>?</urn:VLPERCENTAGE>
</urn:createUpdateConfiguration>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnReturns Status, Code, and Detail
▪ Status can be SUCCESS or FAILURE.
▪ Code returns 1 for success, or 0 for failure.
▪ Detail returns error description in case of failure.