Resource Assignment Cost Zero After Executing P6 API Code to Set Actual Period Cost and Actual Period Unit Values
(Doc ID 2053112.1)
Last updated on JUNE 29, 2016
Applies to:Primavera P6 Enterprise Project Portfolio Management - Version 8.0 and later
Information in this document applies to any platform.
Executing P6 API code to create / update Resource Assignments in P6. Setting Actual Period Cost and Actual Period Unit values in Financial Periods on the Resource Assignment.
For Labor type Resource Assignments created /updated the Actual and At Completion Cost or Unit values are incorrectly set to zero in P6 after code has been executed (although the Actual Period Cost and Actual Period Unit values are correctly set in Financial Periods).
The Resource Assignment Actual and At Completion Cost or Unit values should both be positive and set according to values set in P6 API code executed.
The following P6 API code snippet should set the Actual Period Cost and Actual Period Unit values on the ResourceAssignmentPeriodActual object of the ResourceAssignment object being created / updated (resourceAssignmentActualThisPeriodCost = 50.00 and resourceAssignmentActualThisPeriodUnits = 30.00):
ObjectId resAssignPerActId = rAssignPeriodAct.create();
After executing P6 API code check the Resource Assignment created / updated in P6 find that the Actual Period Cost and Actual Period Unit values have been correctly set in the correct Financial Periods however the Actual and At Completion Cost of the Resource Assignment is incorrectly set to zero (Actual and At Completion Unit value correctly set as 30.00).
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document