Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Overview


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 values must refer to the same cost center or the cost center 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.

Format


PwsCompanyRef
  • PwsCompanyRef
    • CompanyId: Int32
    • CompanyName: String
    • CompanyUid: Int64
    • CompanyNumber: String

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

One of CompanyName, CompanyUid or CompanyNumber is required



CompanyUid

Int64

See CompanyName



CompanyNumber

String

See CompanyName



Usage Example(s)

Example 01
                  <b:CompanyIdentity>
                     <b:CompanyId i:nil="true"/>
                     <b:CompanyName>USA</b:CompanyName>
                     <b:CompanyUid>1152921504606850739</b:CompanyUid>
                     <b:CompanyNumber>USA</b:CompanyNumber>
                  </b:CompanyIdentity>
  • No labels