Skip to main content

Notifications

Announcements

No record found.

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

Creating financial dimension from json file on service

(0) ShareShare
ReportReport
Posted on by 10

hello all,

I am creating a service class, which needs to create a Resource record on : Organization administration > Resources > Resources (WrkCtrTable).

The values for the creation of this record comes from Json file, which it is structured like this:

"contract":{

        "LegalEntity": "XX",

        "Resource": "2570",

        "Description": "TEST",

        "Type" : "Machine",

        "GUID": "9a063dea-45ac-45d3-8ccf-cfe773e08863",

        "FinancialDimensions" : {

            "resource" : "2570"

            },

        "ResourceCalendarAssignment":[{

            "WorkCalendar" : 2,

            "ValidFrom" : "1900-01-01",

            "ValidTo " : "2154-12-31"

            }],

        "ResourceGroupMembership":[{

            "ResourceGroup": "TEST",

            "ValidFrom": "1900-01-01",

            "ValidTo ": "2154-12-31"

            }]

    }

All the types of fields above should be added on contract of the service class.

My question is: 

How can I create financial dimension on this service class, and assign it to this resource that I am creating? The format is coming like this from Json file. 

"FinancialDimensions" : {

            "resource" : "2570"

            },

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…

Vahid Ghafarpour – Community Spotlight

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

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,187 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,966 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans