Versions Compared

Key

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

...

This structure contains the complete set of information about a vendor (less any subordinate entities). 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


Panel
titlePwsVendorElement

Elements


Element

Data Type

Description

Sample Data

LastUpdatedByUser

PwsUserRef

The identity of the user who last updated the vendor record.


LastUpdatedTimestamp

DateTime

The date and time

(in UTC)

this vendor was last updated (in UTC format).

2013-08-08T15:13:50.347Z

ResourceIdentity

PwsResourceRef

The resource identities that are allowed to utilize this vendor.

 


VendorDetail

PwsVendorDetail

This structure contains the complete set of information about a vendor

 

.


Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
                <b:PwsVendorElement>
                  <b:LastUpdatedByUser>
                     <b:UserDisplayName>Jack Spratt</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>E123</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607011057</b:UserUid>
                  </b:LastUpdatedByUser>
                  <b:LastUpdatedTimestamp>2013-08-08T15:13:50.347Z</b:LastUpdatedTimestamp>
                  <b:ResourceIdentity i:nil="true"/>
                  <b:VendorDetail>
                     <b:VendorId i:nil="true"/>
                     <b:VendorName>American Express</b:VendorName>
                     <b:VendorUid>1152921504606937722</b:VendorUid>
                     <b:VendorNumber>AMEX001</b:VendorNumber>
                     <b:ExpenseReportPayeeFlag>false</b:ExpenseReportPayeeFlag>
                     <b:InactiveFlag>true</b:InactiveFlag>
                     <b:ResourceVendorFlag>false</b:ResourceVendorFlag>
                     <b:VendorInvoicePayeeFlag>false</b:VendorInvoicePayeeFlag>
                     <b:SubcontractorInvoicePayeeFlag>false</b:SubcontractorInvoicePayeeFlag>
                     <b:AnyResourceFlag i:nil="true"/>
                     <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:Timestamp>AAAAAARdgxM=</b:Timestamp>
                     <b:VendorReconciliationGlAcct>Vendor Reconcile</b:VendorReconciliationGlAcct>
                  </b:VendorDetail>
               </b:PwsVendorElement>
               <b:PwsVendorElement>
                  <b:LastUpdatedByUser>
                     <b:UserDisplayName>Jack Spratt</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>E123</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607011057</b:UserUid>
                  </b:LastUpdatedByUser>
                  <b:LastUpdatedTimestamp>2017-12-14T21:37:09.797Z</b:LastUpdatedTimestamp>
                  <b:ResourceIdentity i:nil="true"/>
                  <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>
               </b:PwsVendorElement>