Working with Resource Assignment Budgets in PHP
Contents
[
Hide
]
Aspose.Tasks - Assignment Budget
To get Assignment Budget using Aspose.Tasks Java for PHP, simply invoke AssignmentBudget module. Here you can see example code.
$project = new Project('test_tasks.mpp');
$resource_assignments = $project->getResourceAssignments()->toList();
$asn = new Asn();
$i = 0;
while ($i < sizeof($resource_assignments))
{
$assignment = $resource_assignments->get($i);
print "Budget Cost: " . (string)$assignment -> get($asn -> BUDGET_COST);
print "\nBudget Work: " . (string)$assignment -> get($asn -> BUDGET_WORK);
print "\n--------------------------------------------------------";
$i += 1;
}
Download Running Code
Download Assignment Budget (Aspose.Tasks) from any of the below mentioned social coding sites: