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 3 Next »

Overview


This structure contains the complete set of information about a vendor. The structure is used both to retrieve detailed vendor information and to pass information about a vendor back to the server to get updated.

Format


PwsVendorDetail
  • PwsVendorDetail
    • VendorId: Int32
    • VendorName: String
    • VendorUid: Int64
    • VendorNumber: String
    • ExpenseReportPayeeFlag: Boolean
    • InactiveFlag: Boolean
    • ResourceVendorFlag: Boolean
    • VendorInvoicePayeeFlag: Boolean
    • SubcontractorInvoicePayeeFlag: Boolean
    • AnyResourceFlag: Boolean
    • CostCenterIdentity: PwsCostCenterRef
    • NewVendorName: String
    • NewVendorNumber: String
    • ResourceVendorPayeeIdentities: PwsResourceRef [???]
    • Timestamp: String
    • VendorReconciliationGlAcct: String

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

One of VendorName, VendorUid or VendorNumber is required 


The vendor name is a unique identifier for a vendor.

Visa USA 

VendorUid

Int64

See VendorName 


A unique and immutable Id for a vendor.

1152921504606942269 

VendorNumber

String

See VendorName


The vendor number is a unique identifier for a vendor.

Visa USA

ExpenseReportPayeeFlag

Boolean

No

false

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

true

InactiveFlag

Boolean

No

false

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

false

ResourceVendorFlag

Boolean

No 

false

If set to 'true', the vendor is linked to a resource. When a resource pays an expense out of their own pocket, the vendor that is linked to the particular resource is the vendor that is associated with the expense.

false

VendorInvoicePayeeFlag

Boolean

No

false

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

true

SubcontractorInvoicePayeeFlag

Boolean

No

false

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

false

AnyResourceFlag

Boolean

No

false

If set to 'true', the vendor is enabled for expense reports for all resources in the disbursing cost center's company.

Note: This is applicable only if the ExpenseReportPayeeFlag is set to 'true'.

false

CostCenterIdentity

PwsCostCenterRef

Yes


The vendor's disbursing cost center.


NewVendorName

String

No 


The new vendor name. This is used by PwsSaveVendor to support changing an existing vendor name. You can both identify a vendor by vendor name and modify the vendor name by specifying the original name in VendorName and the new value in NewVendorName. NewVendorName will always be null in responses from PwsGetVendor, PwsGetVendors and PwsGetVendorList.


NewVendorNumber

String

No 


The new vendor number. This is used by PwsSaveVendor to support changing an existing vendor number. You can both identify a vendor by vendor number and modify the vendor number by specifying the original number in VendorNumber and the new value in NewVendorNumber. NewVendorNumber will always be null in responses from PwsGetVendor, PwsGetVendors and PwsGetVendorList.


ResourceVendorPayeeIdentities

PwsResourceRef []

If the vendor is enabled for expense reports (i.e. ExpenseReportPayeeFlag is set to 'true') but, is not enabled for all resources in the disbursing cost center's company (i.e. AnyResourceFlag = 'false') at least one ResourceVendorPayeeIdentity is required


For vendors that are enabled as expense report payees, this list identifies all resources that are enabled to use this vendor.

Note: This is applicable only if the ExpenseReportPayeeFlag is set to 'true' and AnyResourceFlag is set to 'false'.


Timestamp

String

No


Base64 encoded timestamp.

AAAAAA61L1A= 

VendorReconciliationGlAcct

String

No


The vendor reconciliation general ledger account.  Projector's vendor reconciliation features allow you to issue payment to the vendor before all expenses have completed the approval process. Vendor reconciliation can also be used to accommodate payments for costs that will never be entered into Projector, such as late payment fees.

Visa USA

Usage Example(s)


Example 01
                   <b:VendorDetail>
                     <b:VendorId i:nil="true"/>
                     <b:VendorName>Visa USA</b:VendorName>
                     <b:VendorUid>1152921504606942269</b:VendorUid>
                     <b:VendorNumber>Visa USA</b:VendorNumber>
                     <b:ExpenseReportPayeeFlag>true</b:ExpenseReportPayeeFlag>
                     <b:InactiveFlag>false</b:InactiveFlag>
                     <b:ResourceVendorFlag>false</b:ResourceVendorFlag>
                     <b:VendorInvoicePayeeFlag>true</b:VendorInvoicePayeeFlag>
                     <b:SubcontractorInvoicePayeeFlag>false</b:SubcontractorInvoicePayeeFlag>
                     <b:AnyResourceFlag>false</b:AnyResourceFlag>
                     <b:CostCenterIdentity>
                        <b:CostCenterId i:nil="true"/>
                        <b:CostCenterName>USA</b:CostCenterName>
                        <b:CostCenterNumber>USA</b:CostCenterNumber>
                        <b:CostCenterUid>1152921504606867361</b:CostCenterUid>
                     </b:CostCenterIdentity>
                     <b:NewVendorName i:nil="true"/>
                     <b:NewVendorNumber i:nil="true"/>
                     <b:ResourceVendorPayeeIdentities>
                        <b:PwsResourceRef>
                           <b:ResourceDisplayName>Mark Wilson</b:ResourceDisplayName>
                           <b:ResourceId i:nil="true"/>
                           <b:ResourceReferenceSystemId>IT (USA) - 02</b:ResourceReferenceSystemId>
                           <b:ResourceUid>1152921504607057127</b:ResourceUid>
                        </b:PwsResourceRef>
                        <b:PwsResourceRef>
                           <b:ResourceDisplayName>Lawrence Jones</b:ResourceDisplayName>
                           <b:ResourceId i:nil="true"/>
                           <b:ResourceReferenceSystemId>IT (USA) - 11</b:ResourceReferenceSystemId>
                           <b:ResourceUid>1152921504607076390</b:ResourceUid>
                        </b:PwsResourceRef>
                     </b:ResourceVendorPayeeIdentities>
                     <b:Timestamp>AAAAAA61L1A=</b:Timestamp>
                     <b:VendorReconciliationGlAcct>Visa USA</b:VendorReconciliationGlAcct>
                  </b:VendorDetail>
  • No labels