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.
...
Panel | ||
---|---|---|
| ||
|
...
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 |
DirectPaymentVendorFlag | Boolean | No | fasle | If set to 'true', the vendor is enabled for direct payments. | |
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 PwsSaveVendorto 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') but, and is not enabled only for all resources in the disbursing cost center's company specific resources (i.e. AnyResourceFlag ErAllowedResourceCode = 'falseS') 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 ErAllowedResouceCode is set to 'falseS'. | |||
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 |
Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<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:ErAllowedResourceCode>D</b:ErAllowedResourceCode> </b:VendorDetail> |
...