Company object

First available in 2014.2.

For External SystemsLink for TMWSuite use only.

The company master file contains profiles of all organizations with which your company does business, such as shippers, consignees, and companies responsible for payment of invoices. In addition, it may include profiles for any locations where you want to show resources, such as drop and hook locations, truck stops where you commonly schedule driver check calls, fuel stops, trailer wash sites, or trailer storage yards. Company profiles are recorded in the Company Profile window.

External methods

The Return Value for all methods is Company.ReturnObject.
Method Name Parameters Company.ReturnObject.ReturnCode Description

Name

Data type (in C#)

NewCompany

tokenValue

string

0 = successful

1000 = errors occurred

Authenticates the token value and creates a new Company object in memory

NewCompanies

tokenValue

string

0 = successful

1000 = errors occurred

Authenticates the token value and creates the specified number of new Company objects in memory

total

int

RetrieveCompany

tokenValue

string

0 = successful

100 = no records found

1000 = errors occurred

Authenticates the token value and returns all Company objects that meet the provided criteria

criteria

Company.Criteria

SaveCompany

tokenValue

string

0 = successful

100 = validation errors occurred and updates prevented

500 = update proceeded with warnings

1000 = error occurred and updates prevented

Authenticates the token values, saves the provided Company objects, and updates the database if requested, then returns the saved objects if the save was successful

companies

List<Company>

updateDB

bool