Professional Services Automation Apex API Developer Reference

pse.HoursToDaysRuleService

global with sharing class HoursToDaysRuleService

pse.HoursToDaysRuleService.IHoursToDaysRulePlugin

global interface IHoursToDaysRulePlugin

Methods

calculate

void calculate(pse.HoursToDaysRuleService.HoursToDaysRuleCalculation calc)

This method is called during the calculation of number of timecard days based on the number of timecard hours

Input Parameters

Name Type Description
calc pse.HoursToDaysRuleService.HoursToDaysRuleCalculation The calculation request

pse.HoursToDaysRuleService.HoursToDaysRuleCalculation

global inherited sharing class HoursToDaysRuleCalculation

Properties

Name Type Description
rule pse__Hours_To_Days_Rule__c
sundayHours Decimal
mondayHours Decimal
tuesdayHours Decimal
wednesdayHours Decimal
thursdayHours Decimal
fridayHours Decimal
saturdayHours Decimal
sundayDays Decimal
mondayDays Decimal
tuesdayDays Decimal
wednesdayDays Decimal
thursdayDays Decimal
fridayDays Decimal
saturdayDays Decimal

Methods

HoursToDaysRuleCalculation

global HoursToDaysRuleCalculation()

getTotalDays

global Decimal getTotalDays()

pse.HoursToDaysRuleService.RoundUpFirstOnDaysClosestToBillableThresholds

global inherited sharing class RoundUpFirstOnDaysClosestToBillableThresholds implements HoursToDaysRuleService.iHoursToDaysRulePlugin

Methods

calculate

global void calculate(pse.HoursToDaysRuleService.HoursToDaysRuleCalculation calc)

This method is called during the calculation of number of timecard days based on the number of timecard hours

Input Parameters

Name Type Description
calc pse.HoursToDaysRuleService.HoursToDaysRuleCalculation Information about the context of the job.

Return Value

This method does not return a value.

© Copyright 2009–2024 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.