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 | |
---|---|
Request | web\wwwroot\ws\java\inspection\CreateUpdateDeleteReceivingRequestType.java |
Return | web\wwwroot\ws\java\inspection\CreateUpdateDeleteReceivingResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
FGOPTION | X | Action option: 3 - Add; 4 - Edit; 5 - Delete. |
IDCONFIGURATION | X¹ | Inspection form ID # |
IDCOMMERCIAL | X² | Customer company ID. |
IDLOT | X³ | Lot number |
IDINVOICE | X³ | Invoice number |
DTINVOICE | X³ | Invoice date Patterns for date-type data input: dd-mm-yyyy; yyyy-mm-dd; |
IDORDER | X³ | Order number |
DTORDER | X³ | Order date Patterns for date-type data input: dd-mm-yyyy; yyyy-mm-dd; |
IDSO | X³ | Request order number |
DTSO | X³ | Request order date |
IDPO | X³ | Production order number |
DTPO | X³ | Production order date Patterns for date-type data input: dd-mm-yyyy; yyyy-mm-dd; |
DTRECVEST | X³ | Estimated date Patterns for date-type data input: dd-mm-yyyy; yyyy-mm-dd; |
QTRECVTIMEEST | X³ | Estimated time |
DTRECVACT | X³ | Actual date Patterns for date-type data input: dd-mm-yyyy; yyyy-mm-dd; |
QTRECVTIMEACT | X³ | Actual time |
VLQTYEST | X³ | Expected amount |
VLQTYACT | X³ | Actual quantity |
VLCOSTEST | X³ | Estimated cost |
VLCOSTACT | X³ | Actual cost |
IDWORKFLOW | X⁴ | Inspection flow ID # |
DSRECEIVING | X³ | Comments |
FGEXECUTE | Send to the next step (only for editing): 1 - Send to next step; 2 - Do not send to next step. | |
IDWFPROCESS | X⁵ | Workflow instance ID # |
IDRECEIVING | X⁶ | 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 |
---|---|
return | Returns 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. |