axapta - DimensionAttributeSetStorage by DefaultDimension -


i need create dimensionattributesetstorage items defaultdimension field (custtable.defaultdimension example).
how can this?

on form use dimensiondefaultingcontroller.

also see implementing account , financial dimensions framework ax2012 white paper (http://download.microsoft.com/download/4/e/3/4e36b655-568e-4d4a-b161-152b28baaf30/implementing_the_account_and_financial_dimensions_framework_ax2012.pdf).


if need create default dimension code can use dmfdimensionhelper::generatedefaultdimension method.

sample:

dmfdatasourceproperties sourceproperties; sourceproperties.chartofaccountsdelimiter = dimensionledgeraccountdelimiter::hyphen; sourceproperties.dimensionattribute = "dim1-dim2"; // dimension codes  x.defaultdimension = dmfdimensionhelper::generatedefaultdimension("001-abc", sourceproperties, ""); 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -