PwsApprovalSet

Overview


This structure represents and "approval set". An approval set is a list of users capable of approving expenses on a list of projects. Since an expense document may contain cost cards on mutliple projects, there may be multiple approval sets representing approvers for the expense document.


PwsApprovalSet

Elements


Element

Data Type

Description

Sample Data

Approvers

PwsUserSummary

This structure includes basic information about each user in the approval set.


Projects

PwsProjectSummary

This structure includes basic information about each project in the approval set.


Usage Example(s)


Example 01
               <a:PwsApprovalSet>
                  <a:Approvers xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:PwsUserSummary>
                        <b:UserDisplayName>Jack Spratt</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>E123</b:UserReferenceSystemId>
                        <b:UserUid>1152921504607112369</b:UserUid>
                        <b:EmailAddress>jack@revcorp.bb</b:EmailAddress>
                        <b:FirstName>Jack</b:FirstName>
                        <b:LastName>Spratt</b:LastName>
                        <b:MiddleName i:nil="true"/>
                     </b:PwsUserSummary>
                     <b:PwsUserSummary>
                        <b:UserDisplayName>Katrina Barden</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>EX (USA) - 01</b:UserReferenceSystemId>
                        <b:UserUid>1152921504607062079</b:UserUid>
                        <b:EmailAddress>katrina@revcorp.bb</b:EmailAddress>
                        <b:FirstName>Katrina</b:FirstName>
                        <b:LastName>Barden</b:LastName>
                        <b:MiddleName i:nil="true"/>
                     </b:PwsUserSummary>
                     <b:PwsUserSummary>
                        <b:UserDisplayName>Mike Martin</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>E100</b:UserReferenceSystemId>
                        <b:UserUid>1152921504607112371</b:UserUid>
                        <b:EmailAddress>mike@revcorp.bb</b:EmailAddress>
                        <b:FirstName>Mike</b:FirstName>
                        <b:LastName>Martin</b:LastName>
                        <b:MiddleName i:nil="true"/>
                     </b:PwsUserSummary>
                  </a:Approvers>
                  <a:Projects xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:PwsProjectSummary>
                        <b:ProjectCode>P001407-001</b:ProjectCode>
                        <b:ProjectId i:nil="true"/>
                        <b:ProjectUid>1152921504607413030</b:ProjectUid>
                        <b:EngagementIdentity>
                           <b:EngagementCode>P001407</b:EngagementCode>
                           <b:EngagementId i:nil="true"/>
                           <b:EngagementUid>1152921504607325242</b:EngagementUid>
                        </b:EngagementIdentity>
                        <b:ProjectName>Project A</b:ProjectName>
                     </b:PwsProjectSummary>
                  </a:Projects>
               </a:PwsApprovalSet>