BudgetPlanAllocateRequest::newForAllocateByPeriod Method [AX 2012]
Creates an instance of the BudgetPlanAllocateRequestByPeriod class.
Syntax
client server public static BudgetPlanAllocateRequestByPeriod newForAllocateByPeriod(
LegalEntityRecId _legalEntityRecId,
Set _budgetPlanLineRecIds,
BudgetPlanScenarioRecId _targetBudgetPlanScenarioRecId,
Factor _factor,
LedgerAllocateKeyId _ledgerAllocateKeyId)
Run On
Called
Parameters
- _legalEntityRecId
Type: LegalEntityRecId Extended Data Type
The legal entity record ID to process the records under.
- _budgetPlanLineRecIds
Type: Set Class
The set of source BudgetPlanLine record IDs to allocate.
- _targetBudgetPlanScenarioRecId
Type: BudgetPlanScenarioRecId Extended Data Type
The target BudgetPlanScenario record ID to allocate the budget plan lines to.
- _factor
Type: Factor Extended Data Type
The value to multiple by the source budget plan line's quantity and amount fields.
- _ledgerAllocateKeyId
Type: LedgerAllocateKeyId Extended Data Type
The LedgerAllocateKey ID to allocate the budget plan lines from.
Return Value
Type: BudgetPlanAllocateRequestByPeriod Class
An instance of the BudgetPlanAllocateRequestByPeriod class.