Navigation:  Integration via SOAP web services > Published web services > Inspection >

createUpdateConfiguration

Previous  Top  Next

This import template enables to insert, edit, and delete:

Inspection form data.

 

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

Java class

Request

web\wwwroot\ws\java\inspection\CreateUpdateConfigurationRequestType.java

Return

web\wwwroot\ws\java\inspection\CreateUpdateConfigurationResponseType.java

 

Request

ID #

Required

Description

FGOPTION

X

Code of the operation to be performed:

14 – Insert;

15 – Edit;

16 – Insert/Edit.

IDGENTYPE

X1

Inspection form type ID #

IDCONFIGURATION

X

Inspection form ID #

IDOBJECT

X1

Item/Supply ID #

IDREVISION

X1

Item/Supply revision ID #

IDPROCESS

X1

Process ID #

IDPROCREVISION

X1

Process revision ID #

IDACTIVITY

X1

Process activity ID #

NMEVALCONFGRUP

X2

Evaluation group name

IDQUALITYINDEX

X2

Quality index ID #

FGALLOWEDITWF

 

Allow editing the receiving flow:

1 – Allow;

2 – Do not allow (default option);

IDWORKFLOW

X3

Inspection flow ID #

FGBLOCK

 

Block receiving for this inspection form:

1 – Block

2 – Do not block (default option);

FGTYPEFREQUENCE

X4

Frequency type:

1 – Uncontrolled;

2 – Execution date;

3 – Inspect an instance every... (only available when there are processes involved)

QTFREQUENCE

X5

Frequency/Number of instances

FGFREQUENCE

X5

Frequency unit:

1 – Days;

2 – Weeks;

3 – Months;

4 – Years

DTNEXTEXECUTION

X5

Next execution date

IDTEAM

X5

Responsible team

FGINSPFREQ

X6

Inspection frequency:

1 - Skip-lot

2 - Total inspection

3 - No inspection

NMSKIPTYPE

X6

Skip-lot type name

NRSEQ

X6

Frequency sequence of the selected skip-lot

FGINITIALSMP

 

Control initial sample:

1 – Yes;

2 – No (default option)

FGSTATUSINITIALSMP

X7

Sample status:

1 – Blocked;

2 – Initial sample;

3 – Released

DTDUEDATE

X7

Deadline

FGVALIDITYRIA

 

Control initial sampling validity:

1 – Yes;

2 – No (default option)

QTVALIDITYRIA

X8

Initial sampling validity frequency

FGFREQVALIDITYRIA

X8

Initial sampling validity frequency unit

1 – Days;

2 – Weeks;

3 – Months;

4 – Inspections

DSINITIALSMP

 

Initial sampling comments

FGAVGREADING

X2

Register averages/readings:

1 – Register averages;

2 – Register readings

FGSAMPLEPLAN

X9

Rule:

1 – Sampling plan;

2 – Sampling table;

3 – Defined size;

4 – Percentage

FGDEFAULSAMPLEPLAN

X9

Sampling plan:

1 – Simple;

2 – Double;

3 – Multiple

IDLEVEL

X9

Inspection level:

[01, 02, 03, S1, S2, S3, S4]

FGSWITCHRULE

X9

Work regime:

1 – Reduced;

2 – Normal;

3 – Tightened

VLAQL

X9

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]

IDTABLE

X9

Sampling table ID #

VLSAMPLESIZE

X9

Sample size

VLACCEPTABLE

X9

Maximum number/percentage of rejects

VLPERCENTAGE

X9

Percentage

 

X1 – Required when adding; ignored for other actions.

X2 – Mandatory when adding, optional while editing and deleting.

X3 – Required if it does not allow editing the inspection flow.

X4 – Required when adding if the form object type allows the frequency to be controlled.

X5 – Required when adding if the frequency is controlled.

X6 – Required when adding if the form object type requires the inspection frequency to be entered.

X7 – Required when adding if the form object type requires the inspection frequency to be entered and the option to control the initial sample is active.

X8 – Required when adding if the form object type requires the inspection frequency to be entered and the option to control the initial sample and the validity are active.

X9 – Required if the form object type requires filling out a sampling plan and the option of the sampling rule requires it to be filled in.

 

Return

ID #

Description

return

Returns Status, Code and Detail

The Status can be SUCCESS or FAILURE.

The Code returns 1 when successful or 0 when there is a failure.

Detail returns the error description in case of failure.