Skip to main content
Version: 2.2.0

createUpdateDeleteReceiving

This method allows adding, editing, or deleting:

  • Data of a receiving.

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

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 #
IDCOMMERCIALSupplier company ID
IDLOTLot number
IDINVOICEInvoice number
DTINVOICEInvoice date
IDORDEROrder number
DTORDEROrder date
IDSORequest order number
DTSORequest order date
#IDPOSProduction order number
DTPOProduction order date
DTRECVESTEstimated date
QTRECVTIMEESTEstimated time
DTRECVACTActual date
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 the next step;
2 - Do not send to the next step.
IDWFPROCESSX⁵Workflow instance ID #
IDRECEIVINGX⁶Receiving ID # (number)
info
  • X¹ - Required for insertion; ignored for other actions.
  • X² - Required for inspections of Supplies, Services, and External finished products; ignored for other object types.
  • X³ - Required, not required, or ignored, depending on the inspection form type configurations.
  • X⁴ - Required if the "Allow editing flow during receiving" option is checked on the inspection form tab, 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 error description in case of failure.