Navigation:  Integration via SOAP web services > Published web services > PDM >

addSupplier

Previous  Top  Next

This method enables to associate and edit the supplier of the item.

 

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

 

Java class

Request

web\wwwroot\ws\java\item\AddSupplierRequestType.java

Return

web\wwwroot\ws\java\item\AddSupplierResponseType.java

 

Request

ID #

Required

Description

IDOBJECT

X

Object ID #

IDCOMMERCIAL

X1

Name of the object type

NMCOMPANY

X1

Company name

IDCOMPANY

X2

Company code

DSINPUTSUPP

X

Description of the supply in the supplier

IDINPUTSUPP

X

Supply ID # in the supplier

VLQTMINREPLAC

 

Minimum reorder quantity

QTEXPECTARRIVED

 

Supply expected delivery

FGEXPECTARRIVED

 

Expected delivery measurement:

1 - Day

2 - Week

3 - Month

4 - Year

VLCOST

 

Cost

FGDEFAULT

 

1 - Defines that the supplier is preferential.

2 - Defines that it is NOT preferential.

When inserting, for blank value or any other value different from 1, the record will be non-preferential.

When editing, if a blank value 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 - Required if the “Company code” is not filled in.

X2 - Required if the “Company ID” and/or the “Company name” fields are not filled in.

 

Return

ID #

Description

return

SUCCESS: 1

FAILURE: Returns a message regarding the error that occurred