HcmBudgetPurposeTypeDetail::getBudgetPurposeTypeDetailByCycleRange Method
Retrieves a record in the HcmBudgetPurposeTypeDetail table that is based on the specified BudgetPurposeType record, LegalEntity record, and a HcmForecastScenario record.
Syntax
client server public static HcmBudgetPurposeTypeDetail getBudgetPurposeTypeDetailByCycleRange(
HcmBudgetPurposeTypeRecId _budgetPurposeType,
CompanyInfoRecId _legalEntity,
HcmForecastScenarioRecId _forecastScenarioRecId)
Run On
Called
Parameters
- _budgetPurposeType
Type: HcmBudgetPurposeTypeRecId Extended Data Type
The value of the BudgetPurposeType field to find.
- _legalEntity
Type: CompanyInfoRecId Extended Data Type
The value of the LegalEntity field to find.
- _forecastScenarioRecId
Type: HcmForecastScenarioRecId Extended Data Type
The record ID value of the HcmForecastScenario record used to determine the budget cycle.
Return Value
Type: HcmBudgetPurposeTypeDetail Table
A HcmBudgetPurposeTypeDetail table record.
Remarks
The method requires the HcmForecastScenario record to determine the budget cycle date range. This table has the denormalized budget cycle start and end dates with which to constrain the query.
This method is consumed when we need to retrieve a single detail record for calculating costs.