Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Version published after converting to the new editor


Description

This method can be used to create new companies in SupplyStream. This includes new suppliers and ship to companies. The Company Type field is used to specify the type of company you are creating.
If this service is being used only to create Company→ Company Type→ Ship To, this service may not be required if the 'on the fly' Ship To Company creation is used in Load Sales Orders instead.

...

Address







Field

Description

Data Type

Value Limits

Requirement

Use on standard documents

Field returned in service ID/table/field (multi services split by ";")

AddressType

Type of address. Select 'Delivery' when to be used in conjunction with 'Load Sales Orders' for delivery address. Adding a new address to an existing CompanyCode through this service will make the new address of the specified address type, the default address (used in Load Sales ordersèDeliveryAddressLookup).

nvarchar(100)

Delivery, Bank, Primary, Supplier, Billing, Forwarding Agent

Mandatory



AddressLocationType

Location type: Business or Residential.

nvarchar(100)

Business, Residential




AddressLine1

Part of address

nvarchar(100)


Mandatory

Dispatch Note, Commercial Inv


AddressLine2

Part of address

nvarchar(100)



Dispatch Note, Commercial Inv


AddressLine3

Part of address

nvarchar(100)



Dispatch Note, Commercial Inv


AddressLine4

Part of address

nvarchar(100)



Dispatch Note, Commercial Inv


City

Part of address

nvarchar(50)


Mandatory

Dispatch Note, Commercial Inv


County

Part of address

nvarchar(50)



Dispatch Note, Commercial Inv


PostCodeZIP

Part of address

nvarchar(20)


Mandatory

Dispatch Note, Commercial Inv


CountryCode

Part of address. (ISO-2).

nvarchar(2)


Mandatory

Dispatch Note, Commercial Inv


...