Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Access to Approval Status by PSI

$
0
0

Hello,

We have Project Server 2010 installed and I have the task to integrate a legacy system for worktime recording. The reported actuals shall be inserted into the project plans via the WebService Statusing of the PSI. The process shall be automated according to the following sequence:

#1: Extract the worktime changes from the legacy system after approval by the project managers.
#2: Apply changes to published assignments with XML change strings (UpdateStatus).
#3: Submit changed assignments to the Approval Center for approval (SubmitStatusForResource).
#4: Automatic approval of the submitted assignments by the Approval Center (Manage Rules).
#5: Check whether approvals were set for all changed assignments.
#6: Update project plan in the Working Store with changed assignments (QueueApplyStatusApprovals).
#7: ... (perfom subsequent actions on the project plan, not in the scope of this question)

The missing item is #5: Check for approvals.

The approval decision is stored in the field ASSN_TRANS_ACTION_ENUM. It can be found as a property in the StatusTransactionDataSet.StatusTransactionsRow Class. Unfortunately this dataset is returned by the method QueueApplyStatusApprovals in the next step #6.

Can anybody give me advice how to monitor the approval decision prior to invoke QueueApplyStatusApprovals?

Best regards,
Gregor


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>