PSA Apex API Developer Reference

pse.APIActualsService

global with sharing class APIActualsService

Methods

ProcessTransactionDeltas

global static pse.APICommonsService.BatchStatus ProcessTransactionDeltas()

Processes transaction deltas immediately.

Return Value

This service returns an APICommonsService.BatchStatus object

Sample Code

//Note: This sample code is for demonstration purposes only. It is not intended for
//use in a production environment, is not guaranteed against defects or errors, and
//is in no way optimized or streamlined.

pse.APICommonsService.BatchStatus bs = pse.ProcessTransactionDeltas();

RecalcProjectActualsByProjects

global static pse.APICommonsService.BatchStatus RecalcProjectActualsByProjects(pse.APIActualsService.ActualsContextRecalcProjectActualsByProjects ac)

Recalculates project actuals for the specified projects.

Input Parameters

Name Type Description
ac pse.APIActualsService.ActualsContextRecalcProjectActualsByProjects A structure containing the projects to recalculate actuals for.

Return Value

This service returns an APICommonsService.BatchStatus object.

Sample Code

//Note: This sample code is for demonstration purposes only. It is not intended for
//use in a production environment, is not guaranteed against defects or errors, and
//is in no way optimized or streamlined.

pse.APICommonsService.BatchStatus bs = pse.RecalcProjectActualsByProjects(ac);

RecalcProjectActualsWithActualsNeedsRecalc

global static pse.APICommonsService.BatchStatus RecalcProjectActualsWithActualsNeedsRecalc(pse.APIActualsService.ActualsContextRecalcProjectActualsWithActualsNeedsRecalc ac)

Recalculates project actuals on projects where the Actuals: Needs Recalc checkbox is selected.

Input Parameters

Name Type Description
ac pse.APIActualsService.ActualsContextRecalcProjectActualsWithActualsNeedsRecalc Structure containing the IDs of regions, practices, groups and accounts for which to recalculate project actuals where the Actuals Needs Recalc checkbox is selected.

Return Value

This service returns an APICommonsService.BatchStatus object.

Sample Code

//Note: This sample code is for demonstration purposes only. It is not intended for
//use in a production environment, is not guaranteed against defects or errors, and
//is in no way optimized or streamlined.

pse.APIActualsService.ActualsContextRecalcProjectActualsByProjects

global class ActualsContextRecalcProjectActualsByProjects extends APICommonsService.BatchContext

A structure containing the projects to recalculate actuals for. This class/type extends APICommonsService.BatchContext.

This class extends pse.APICommonsService.BatchContext

Properties

Name Type Description
projectIDs set<ID> IDs of the projects to filter actuals data for.

pse.APIActualsService.ActualsContextRecalcProjectActualsWithActualsNeedsRecalc

global class ActualsContextRecalcProjectActualsWithActualsNeedsRecalc extends APICommonsService.BatchContext

Structure containing the IDs of regions, practices, groups and accounts for which to recalculate project actuals where the Actuals Needs Recalc checkbox is selected. This class/type extends APICommonsService.BatchContext.

This class extends pse.APICommonsService.BatchContext

Properties

Name Type Description
regionID ID ID of the region on which to filter projects on which to recalculate actuals.
practiceID ID ID of the practice on which to filter projects on which to recalculate actuals.
groupID ID ID of the group on which to filter project on which to recalculate actuals.
accountID ID ID of the account on which to filter project on which to recalculate actuals.
© Copyright 2009–2020 FinancialForce.com, inc. Confidential – all rights reserved. Various trademarks held by their respective owners.