PwsVendorSummary

Overview


This structure includes basic information about a vendor. The information represented in this structure is not comprehensive and only includes certain key attributes of a vendor deemed to be useful in a listing of vendors.

Format


PwsVendorSummary
  • PwsVendorSummary
    • VendorId: Int32
    • VendorName: String (50)
    • VendorUid: Int64
    • VendorNumber: String (50)
    • ExpenseReportPayeeFlag: Boolean
    • DirectPaymentVendorFlag: Boolean
    • InactiveFlag: Boolean
    • ResourceVendorFlag: Boolean
    • VendorInvoicePayeeFlag: Boolean
    • SubcontractorInvoicePayeeFlag: Boolean

Elements


Element

Data Type

Required?

Default

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 Vendor Number 


The vendor name is a unique identifier for a vendor.

Company Card 

VendorUid

Int64

See VendorName


A unique and immutable identifier for a vendor.

1152921504607055834 

VendorNumber

String (50)

See VendorName 


The vendor number is a unique identifier for a vendor.

CC123 

ExpenseReportPayeeFlag

Boolean

No 

false

If set to 'true', this vendor is enabled for expense reports.

true 
DirectPaymentVendorFlagBooleanNofalseIf set to 'true', this vendor is enabled for direct payments.

InactiveFlag

Boolean

No 

false 

If set to 'true', this vendor is marked as inactive.

false 

ResourceVendorFlag

Boolean

No 

false 

If set to 'true', this vendor is linked to a resource.

true  

VendorInvoicePayeeFlag

Boolean

No 

false 

If set to 'true', this vendor is enabled for vendor invoices.

false  

SubcontractorInvoicePayeeFlag

Boolean

No 

false 

If set to 'true', this vendor is enabled for subcontractor invoices. 

false  

Usage Example(s)


Example 01
                 <a:Vendor 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>
                     <b:ExpenseReportPayeeFlag>true</b:ExpenseReportPayeeFlag>
                     <b:InactiveFlag>false</b:InactiveFlag>
                     <b:ResourceVendorFlag>true</b:ResourceVendorFlag>
                     <b:VendorInvoicePayeeFlag>false</b:VendorInvoicePayeeFlag>
                     <b:SubcontractorInvoicePayeeFlag>false</b:SubcontractorInvoicePayeeFlag>
                  </a:Vendor>