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
- VendorId: Int32
- VendorName: String
- VendorUid: Int64
- VendorNumber: String
- ExpenseReportPayeeFlag: Boolean
- InactiveFlag: Boolean
- ResourceVendorFlag: Boolean
- VendorInvoicePayeeFlag: Boolean
- SubcontractorInvoicePayeeFlag: Boolean
- AnyResourceFlag: Boolean **deprecated**
- CostCenterIdentity: PwsCostCenterRef
- NewVendorName: String
- NewVendorNumber: String
- ResourceVendorPayeeIdentities: PwsResourceRef [???]
- Timestamp: String
- VendorReconciliationGlAcct: String
- ErAllowedResourceCode: String (1)
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 | **deprecated** | |||
CostCenterIdentity | 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. On Insert, if both the VendorName and NewVendorName are specified, the NewVendorName will take precedence. | ||
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. On Insert, if both the VendorNumber and NewVendorNumber are specified, the NewVendorNumber will take precedence. | ||
ResourceVendorPayeeIdentities | If the vendor is enabled for expense reports (i.e. ExpenseReportPayeeFlag is set to 'true') and is enabled only for specific resources (i.e. ErAllowedResourceCode = 'S') 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 ErAllowedResouceCode is set to 'S'. | |||
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 | |
ErAllowedResourceCode | String (1) | For vendors enabled for use in expense reports, this specifies which resources are permitted to use the vendor: C - All resources in the same company as the vendor's cost center may use it D - All resources whose disbursing currency matches the vendor's cost center's company's currency may use it S - Only specific resources, as listed in ResourceVendorPayeeIdentities, may use it |