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

addCompany

Previous  Top  Next

This method enables to add/edit:

Data of companies;

Add customers, manufacturers, suppliers;

 

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

 

This method enables to associate attribute values with companies. To insert each of these items, it is necessary to follow the standard documented below:

Java class

Request

web\wwwroot\ws\java\admin\AddCompanyRequestType.java

Return

web\wwwroot\ws\java\admin\AddCompanyResponseType.java

 

Request

ID #

Required

Description

idcommercial

X

Company ID.

nmcompany

X

Company name.

dsaddress

 

Address.

nmcity

 

City.

idstate

 

State.

nmcountry

 

Country.

idzipcode

 

Postal code.

idphone

 

Phone #.

idfax

 

FAX #.

nmhomepage

 

Home Page.

fgcustomer

X

Customer company: 1 – Yes; 2 - No.

fgsupplier

X

Supplier company: 1 – Yes; 2 - No.

fgmanufacturer

X

Manufacturer company: 1 – Yes; 2 - No.

dscompany

 

Description.

idcompany

 

Company code.

Note: It has to be a unique value.

idcompanytype

X

Company type ID #.

cdisosystem

 

Code of the SoftExpert Suite component which the company will be associated with (separated by ";"). Example:109;107.

IDCUSTOMERTYPE

X1

Customer category ID #.

IDSUPPLIERTYPE

X2

Supplier category ID #.

fgeducationalentity

 

Educational entity: 1 - Yes; No

 

X1 - Required when FGCUSTOMER is 1;

X2 - Required when FGSUPPLIER is 1.

 

Return

ID #

Description

return

SUCCESS: a company is created;

FAILURE: message regarding the error that occurred;