Codeunit "Import Consolidation from API"

ID 102
Namespace: Microsoft.Finance.Consolidation

Implements

Properties

Name Value
Permissions tabledata "General Ledger Setup" = R, tabledata "Gen. Journal Batch" = R

Methods

ImportConsolidationDataForBusinessUnit

procedure ImportConsolidationDataForBusinessUnit(ConsolidationProcess: Record "Consolidation Process", BusinessUnit: Record "Business Unit", var BusUnitConsolidationData: Record "Bus. Unit Consolidation Data" temporary)

Parameters

Name Type Description
ConsolidationProcess Table Microsoft.Finance.Consolidation."Consolidation Process"
BusinessUnit Table Microsoft.Finance.Consolidation."Business Unit"
BusUnitConsolidationData Table Microsoft.Finance.Consolidation."Bus. Unit Consolidation Data"

Events

OnBeforeGetGLSetup

[IntegrationEvent(False,False)]
local procedure OnBeforeGetGLSetup(var IsHandled: Boolean, var Response: Text)

Parameters

Name Type Description
IsHandled Boolean
Response Text

OnBeforeGetCurrencyExchangeRates

[IntegrationEvent(False,False)]
local procedure OnBeforeGetCurrencyExchangeRates(CurrencyFilter: Text, EndingDate: Date, var IsHandled: Boolean, var Response: Text)

Parameters

Name Type Description
CurrencyFilter Text
EndingDate Date
IsHandled Boolean
Response Text

OnBeforeGetGLEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeGetGLEntries(DateFilter: Text, AccountNoFilter: Text, var IsHandled: Boolean, var Response: Text)

Parameters

Name Type Description
DateFilter Text
AccountNoFilter Text
IsHandled Boolean
Response Text

OnBeforeGetDimensions

[IntegrationEvent(False,False)]
local procedure OnBeforeGetDimensions(DimensionFilter: Text, var IsHandled: Boolean, var Response: Text)

Parameters

Name Type Description
DimensionFilter Text
IsHandled Boolean
Response Text

OnBeforeGetGLEntriesCountAtDate

[IntegrationEvent(False,False)]
local procedure OnBeforeGetGLEntriesCountAtDate(GLAccountNo: Code[20], ClosingDate: Date, var IsHandled: Boolean, var Response: Text)

Parameters

Name Type Description
GLAccountNo Code[20]
ClosingDate Date
IsHandled Boolean
Response Text

OnBeforeGetAccountingPeriods

[IntegrationEvent(False,False)]
local procedure OnBeforeGetAccountingPeriods(StartingDate: Date, EndingDate: Date, var IsHandled: Boolean, var Response: Text)

Parameters

Name Type Description
StartingDate Date
EndingDate Date
IsHandled Boolean
Response Text

OnBeforeGetPostingGLAccounts

[IntegrationEvent(False,False)]
local procedure OnBeforeGetPostingGLAccounts(var IsHandled: Boolean, var Response: Text)

Parameters

Name Type Description
IsHandled Boolean
Response Text

See also