Skip to main content
Version: 2.2.2

createUpdateDeleteReceiving

This import template allows inserting/editing/deleting:

  • Receiving data.

For the insertion of each one of these items, the standard documented below must be followed.

Java class
Requestweb\wwwroot\ws\java\inspection\CreateUpdateDeleteReceivingRequestType.java
Returnweb\wwwroot\ws\java\inspection\CreateUpdateDeleteReceivingResponseType.java

Request:

ID #RequiredDescription
FGOPTIONXAction option:
3 - Add;
4 - Edit;
5 - Delete.
IDCONFIGURATIONInspection form ID #
IDCOMMERCIALCustomer company ID.
IDLOTLot number
IDINVOICEInvoice number
DTINVOICEInvoice date
Patterns for date-type data input:
dd-mm-yyyy;
yyyy-mm-dd;
IDORDEROrder number
DTORDEROrder date
Patterns for date-type data input:
dd-mm-yyyy;
yyyy-mm-dd;
IDSORequest order number
DTSORequest order date
IDPOProduction order number
DTPOProduction order date
Patterns for date-type data input:
dd-mm-yyyy;
yyyy-mm-dd;
DTRECVESTEstimated date
Patterns for date-type data input:
dd-mm-yyyy;
yyyy-mm-dd;
QTRECVTIMEESTEstimated time
DTRECVACTActual date
Patterns for date-type data input:
dd-mm-yyyy;
yyyy-mm-dd;
QTRECVTIMEACTActual time
VLQTYESTExpected amount
VLQTYACTActual quantity
VLCOSTESTEstimated cost
VLCOSTACTActual cost
IDWORKFLOWX⁴Inspection flow ID #
DSRECEIVINGComments
FGEXECUTESend to the next step (only for editing):
1 - Send to next step;
2 - Do not send to next step.
IDWFPROCESSX⁵Workflow instance ID #
IDRECEIVINGX⁶Receiving ID # (number)
info
  • X¹ - Required for insertion; disregarded for other actions.
  • X² - Required for inspections of Supplies, Services, and External finished products; ignored for other object types.
  • X³ - Required, non-required or ignored, depending on the type configurations for the defined inspection form.
  • X⁴ - Required if the "Allow editing flow during receiving" option is checked on the inspection form, or ignored otherwise.
  • X⁵ - Required if the inspection object is a Workflow process instance, or ignored otherwise.
  • X⁶ - Required for editing and deletion.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:inspection">
<soapenv:Header/>
<soapenv:Body>
<urn:createUpdateDeleteReceiving>
<!--You may enter the following 25 items in any order-->
<urn:FGOPTION>?</urn:FGOPTION>
<urn:IDCONFIGURATION>?</urn:IDCONFIGURATION>
<urn:IDCOMMERCIAL>?</urn:IDCOMMERCIAL>
<urn:IDLOT>?</urn:IDLOT>
<urn:IDINVOICE>?</urn:IDINVOICE>
<urn:DTINVOICE>?</urn:DTINVOICE>
<urn:IDORDER>?</urn:IDORDER>
<urn:DTORDER>?</urn:DTORDER>
<urn:IDSO>?</urn:IDSO>
<urn:DTSO>?</urn:DTSO>
<urn:IDPO>?</urn:IDPO>
<urn:DTPO>?</urn:DTPO>
<urn:DTRECVEST>?</urn:DTRECVEST>
<urn:QTRECVTIMEEST>?</urn:QTRECVTIMEEST>
<urn:DTRECVACT>?</urn:DTRECVACT>
<urn:QTRECVTIMEACT>?</urn:QTRECVTIMEACT>
<urn:VLQTYEST>?</urn:VLQTYEST>
<urn:VLQTYACT>?</urn:VLQTYACT>
<urn:VLCOSTEST>?</urn:VLCOSTEST>
<urn:VLCOSTACT>?</urn:VLCOSTACT>
<urn:IDWORKFLOW>?</urn:IDWORKFLOW>
<urn:FGEXECUTE>?</urn:FGEXECUTE>
<urn:IDWFPROCESS>?</urn:IDWFPROCESS>
<urn:IDRECEIVING>?</urn:IDRECEIVING>
<urn:DSRECEIVING>?</urn:DSRECEIVING>
</urn:createUpdateDeleteReceiving>
</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 the description of the error in case of failure.