Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Error while importing expense categories using Data management.

(0) ShareShare
ReportReport
Posted on by 95

Hi All,

Facing the below error while importing Expense categories. 

Results. The value 'Brokerage charge Accommodation' in field 'Expense category' is not found in the related table 'Category table'.
Results. validateField failed on field 'TrvExpenseCategoryEntity.ExpenseCategory'

Please advise.

The same is working fine when we create it manually.

Thanks 
Deepa.

  • Deepa Paranthaman Profile Picture
    95 on at
    RE: Error while importing expense categories using Data management.

    Noted with Thanks.

    Clarified.

  • Verified answer
    Alireza Eshaghzadeh Profile Picture
    13,585 Super User 2025 Season 1 on at
    RE: Error while importing expense categories using Data management.

    Hei Deepa,

    Category table is needed in data management before a project categories created.

    It maps the category ID to shared category that need to create project category. Project category use categori ID for this mapping. Please check the following screenshots for more info:

    pastedimage1653309909494v1.png

    pastedimage1653309976400v2.png

  • Deepa Paranthaman Profile Picture
    95 on at
    RE: Error while importing expense categories using Data management.

    Thanks Andre & Alireza.

    I was importing Shared category and Expense Category, But Category table is something which i didnt do becoz i was not aware.

    What is this category table? is this available in the Frontend or Is this required to be updated for using data management?

    When i imported shared category using data management, i didnt have any issues. But while having expense category imported, system stopped.

    If category table is missing, how was i able to create expense category manually?

    Bit confused on this. Please clarify.

    Thanks

    Deepa

  • Verified answer
    Alireza Eshaghzadeh Profile Picture
    13,585 Super User 2025 Season 1 on at
    RE: Error while importing expense categories using Data management.

    Hi Deepa,

    Like Andre mentioned, before you import Expense categories you need to import some other entities. You can try with following entities:

    1-Shared category

    2-Category table

    3-Expense category

  • Deepa Paranthaman Profile Picture
    95 on at
    RE: Error while importing expense categories using Data management.

    Yes, I have created the shared category using data management.

    But when the expense category are imported, system says the record is not found. But the record is available in the Shared category master and enabled as Use in Expense.

    Currently, I had to create the masters manually.

    Thanks

    Deepa

  • Suggested answer
    Michal Krejza Profile Picture
    on at
    RE: Error while importing expense categories using Data management.

    Hi Deepa,

    Expense categories as well as Project categories extend Shared categories. Any category you import into Expense categories must first exists in Shared categories. You can use Shared category data entity for import. 

  • André Arnaud de Calavon Profile Picture
    293,129 Super User 2025 Season 1 on at
    RE: Error while importing expense categories using Data management.

    Hi Deepa,

    Have you tried to import the category as Shared Category using data management first?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,129 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,895 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans