I have table PPLDecreeRePostingAttrXds with xds method:
public RefreshFrequency xds()
{
PPLDecreeRePostingAttrXds PPLDecreeRePostingAttrXds;
int Lp;
DimensionEnumeration dimEnum;
DimensionAttributeSetItem dimAttrSetItem;
DimensionAttribute dimAttr;
;
ttsBegin;
// Get the financial dimensions
dimEnum = DimensionCache::getDimensionAttributeSetForLedger();
//dimensions
while
select * from dimAttr
order by dimAttr.Name asc
join dimAttrSetItem
where dimAttrSetItem.DimensionAttribute == dimAttr.RecId
&& dimAttrSetItem.DimensionAttributeSet == dimEnum
{
Lp++;
PPLDecreeRePostingAttrXds.Lp = Lp;
PPLDecreeRePostingAttrXds.DimAttrName = dimAttr.Name;
PPLDecreeRePostingAttrXds.DimAttrIsDim = NoYes::Yes;
PPLDecreeRePostingAttrXds.insert();
}
ttsCommit;
return RefreshFrequency::PerInvocation;
}
In Ax2012 this table works OK without CIL.For example:
select * from PPLDecreeRePostingAttrXds;
works fine.
But in CIL I have error:
ClassFactory object not initialized.
Stack trace
(S)\Classes\LedgerCache\getValue - line 3
(S)\Data Dictionary\Tables\Ledger\Methods\current - line 13
(S)\Classes\DimensionCache\getDimensionAttributeSetForLedger - line 11
(S)\Data Dictionary\Tables\PPLDecreeRePostingAttrXds\Methods\XDS - line 34
What can I do with this error ?
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (