Hi Experts,
I am working on a report to calculate closing with specific main accounts and Cost Center dimensions.I have seen LedgerTrialBalanceDP class, it is calculating fiscal year and financial dimension set wise, but i want any date range with dimension parameter value like cost center 009.
public void processReport()
{
LedgerTrialBalanceTmp cfzLedgerTrialBalanceTmp;
LedgerTrialBalanceDP trialBalanceDP = new LedgerTrialBalanceDP();
List selected = new List(Types::Enum);
selected.addEnd(CurrentOperationsTax::Current);
LedgerTrialBalanceTmp::calculateBalances(
LedgerTrialBalanceTmp,
"MA CC",
mkDate(1,1,2015),
mkDate(5,1,2015),
false,
false,
false,
selected,
true,
true,
Ledger::current());
cfzLedgerTrialBalanceTmp = trialBalanceDP.getLedgerTrialBalanceTmp();
}
written below code for testing purpose in my custom dp class, but it returns no records to table buffer at the end. Some one please guide me how to achieve this.