Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview


The PwsVendorSummary data type 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 to be useful in a listing of vendors. Vendors are suppliers of goods and services that need to be paid.

Format


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

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 enabled for specific resources 

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 subcontract invoices 

false  

Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
                 <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>

...