Skip to main content
Version: 2.2.3

deleteSupplier

This method allows disassociating a supplier from the item.

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

Java class
Requestweb\wwwroot\ws\java\item\DeleteSupplierRequestType.java
Returnweb\wwwroot\ws\java\item\DeleteSupplierResponseType.java

Request:

ID #RequiredDescription
IDOBJECTXObject ID #
IDCOMMERCIALName of the object type
NMCOMPANYCompany name
IDCOMPANYCompany code
info
  • X¹ - Required if the “Company code” is not filled out.
  • X² - Required if the “Company ID” and/or the “Company name” fields are not filled out.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:item">
<soapenv:Header/>
<soapenv:Body>
<urn:deleteSupplier>
<!--You may enter the following 4 items in any order-->
<urn:IDOBJECT>?</urn:IDOBJECT>
<urn:IDCOMMERCIAL>?</urn:IDCOMMERCIAL>
<urn:NMCOMPANY>?</urn:NMCOMPANY>
<urn:IDCOMPANY>?</urn:IDCOMPANY>
</urn:deleteSupplier>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: 1.
FAILURE: Returns a message regarding the error that occurred