Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

Find a DIMENSIONATTRIBUTEVALUESET recid for a given profit center and cost center.

(0) ShareShare
ReportReport
Posted on by 100

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

  • D356FO_Dev Profile Picture
    D356FO_Dev 100 on at
    RE: Find a DIMENSIONATTRIBUTEVALUESET recid for a given profit center and cost center.

    Thank you so much.

  • Verified answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: Find a DIMENSIONATTRIBUTEVALUESET recid for a given profit center and cost center.

    Refer to the below blog.

    http://msdynamics.nevoitech.com/microsoft/create-default-dimension-using-x/

    Thanks,

    Girish S.

  • D356FO_Dev Profile Picture
    D356FO_Dev 100 on at
    RE: Find a DIMENSIONATTRIBUTEVALUESET recid for a given profit center and cost center.

    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?

  • Suggested answer
    BillurSamdancioglu Profile Picture
    BillurSamdancioglu 16,455 Most Valuable Professional on at
    RE: Find a DIMENSIONATTRIBUTEVALUESET recid for a given profit center and cost center.

    Can you please check this link if may help you.

    erconsult.eu/.../

    https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/financial/dimension-defaulting

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: Find a DIMENSIONATTRIBUTEVALUESET recid for a given profit center and cost center.

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans