Overview
This structure represents the unique key fields associated with identifying a vendor. Vendors are suppliers of goods and services that need to be paid. Vendors can be identified by VendorName, VendorUid or VendorNumber. When specifying a PwsVendorRef as an input to a web service, you may specify one or all three fields the VendorName, VendorUid or VendorNumber. However, if you do specify more than one field, they must both refer to the same vendor or the vendor reference will not be considered valid. When a PwsVendorRef is returned in the response to a web service, the VendorName, VendorUid and VendorNumber will be populated, and guaranteed to refer to a single vendor.
Format
- PwsVendorRef
- VendorId: Int32
- VendorName: String
- VendorUid: Int64
- VendorNumber: String
Elements
Element | Data Type | Required? | Description | Sample Data |
---|---|---|---|---|
VendorId | Int32 | No | The vendor Id is a unique identifier for a vendor. For internal use only. | |
VendorName | String | One of VendorName, VendorUid and/or VendorNumber is required | The vendor name is a unique identifier for a vendor | Company Card |
VendorUid | Int64 | See VendorName | A unique and immutable identifier for a vendor | 1152921504607055836 |
VendorNumber | String | See VendorName | The vendor number is a unique identifier for a vendor | CC123 |