...
This structure is used to uniquely identify a company. Companies can be identified by CompanyName, CompanyUid or CompanyNumber. When specifying a PwsCompanyRef as an input to a web service, you may specify one, two or all three fields, CompanyName, CompanyUid or CompanyNumber. However, if you do specify more than one field, both all specified values must refer to the same cost center company or the cost center company reference will not be considered valid. When a PwsCompanyRef is returned in the response to a web service, the CompanyName, CompanyUid and CompanyNumber will be populated, and guaranteed to refer to a single company.
...
Panel | ||
---|---|---|
| ||
|
Elements
Element | Data Type | Required? |
---|
Description | Sample Data | |
---|---|---|
CompanyId | Int32 |
No | The company Id is a unique identifier for a company. For internal use only. | |
CompanyName | String |
On Insert: Yes
On Update: Yes (if(50) | One of CompanyName, CompanyUid or CompanyNumber is |
required | The company name is a unique identifier for a company. | USA |
CompanyUid | Int64 |
On Insert: No
On Update: Yes (if CompanyName or CompanyNumber is not provided)See CompanyName | The company Uid is a unique and immutable identifier for a company. | 1152921504606850739 |
CompanyNumber | String |
On Insert: No
On Update: Yes (if CompanyName or CompanyUid is not provided)(20) | See CompanyName | The company number is a unique identifier for a company. | USA |
Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<b:CompanyIdentity> <b:CompanyId i:nil="true"/> <b:CompanyName>USA</b:CompanyName> <b:CompanyUid>1152921504606850739</b:CompanyUid> <b:CompanyNumber>USA</b:CompanyNumber> </b:CompanyIdentity> |