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 6 Current »

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
  • PwsVendorRef
    • VendorId: Int32
    • VendorName: String (50)
    • VendorUid: Int64
    • VendorNumber: String (50)

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 (50)

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 (50)

See VendorName

The vendor number is a unique identifier for a vendor

CC123

Usage Example(s)


Example 01
                  <a:VendorIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:VendorId i:nil="true"/>
                     <b:VendorName>Company Card</b:VendorName>
                     <b:VendorUid>1152921504607055834</b:VendorUid>
                     <b:VendorNumber>CC123</b:VendorNumber>
                  </a:VendorIdentity>
  • No labels