Hi, please suggest a simplest way to find a DIMENSIONATTRIBUTEVALUESET recid for a given cost center and profit center. If the combination does not exists then also create one.
Best Regards
Thank you so much.
Refer to the below blog.
http://msdynamics.nevoitech.com/microsoft/create-default-dimension-using-x/
Thanks,
Girish S.
Hi Girish and Billur, Thanks for your reply I am inserting default dimension in PurchReqLine table and my question is how can I get a default dimension recid if the combination does not exists. Is there any way to create it as we did for InventDim with findorcreate method?
Can you please check this link if may help you.
https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/financial/dimension-defaulting
Hi D365 FO Dev,
Use DefaultDimensionView to get the DIMENSIONATTRIBUTEVALUESET RecId - There is a field named "Name" where you can filter cost center and Display value field which shows cost center value.
DefaultDimension field will be the field that is storing the DIMENSIONATTRIBUTEVALUESET recid.
Thanks,
Girish S.
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,836
Most Valuable Professional
nmaenpaa
101,156