How I can access objects of DAC and BLC?
class BaseDACExtension : PXCacheExtension<BaseDAC>
{
public void SomeMethod()
{
BaseDAC dac = Base;
}
}
Assuming I understand your question correctly, just call GetExtension
on either your base DAC or base Graph...
For DAC extensions: (where baseDac is an instance of BaseDac)
var dacExt = baseDac.GetExtension<BaseDACExtension>();
For Graph extensions: (where baseGraph is an instance of BaseGraph)
var graphExt = baseGraph.GetExtension<BaseGraphExtension>();