Navigation: Integration via SOAP web services > Published web services > Supply >
This method enables to add/edit:
▪Data of the association between supply and supplier.
To add/edit each of these items, the standard documented below must be followed.
Java class
Request
web\wwwroot\ws\java\supply\AddEditSupplySupplierRequestType.java
Return
web\wwwroot\ws\java\supply\AddEditSupplySupplierResponseType.java
ID #
Required
Description
IDOBJECT
X
Supply ID #.
IDCOMMERCIAL
X1
Supplier company ID.
NMCOMPANY
Supplier company name.
IDCOMPANY
X2
Supplier ID #.
IDINPUTSUPP
Supply reference in the supplier.
DSINPUTSUPP
Description of the supply in the supplier.
VLCOST
Cost.
FGDEFAULT
1 - Defines that the supplier is preferential.
2 - Defines that it is NOT preferential.
When inserting, for a blank value or any other value different from 1, the record will be defined as 2.
When editing, if a blank or any other value different from 1 and 2 is entered, the field will not be changed, it will keep the value previously set.
X1 - Field required if the "Supplier ID #" is empty.
X2 - Field required if “Company ID” and/or “Company name” are empty.
return
SUCCESS: 1
FAILURE: -1