web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

HowTo Add Custom fields into a \Data Dictionary\Map

(0) ShareShare
ReportReport
Posted on by 46

Hello All,

I need to add my custom field  Tables\JmgStamJournalTrans.AKS_CostCategoryId (EDT: RouteCostCategoryId) in to the \Data Dictionary\Maps\JmgStampTransMap so I can make jmgStamTransMap.AKS_CostCategoryId.

the reason is to bypass the my custom field from the Classes\JmgJobBundle\postTime() to the  Classes\JmgPostStandardSystem\postTime() using the jobTime Array  of type Records which is holding the jmgStampJournalTransTmp with the Category I need in order to Update CategoryHoursId and Price furthermore at  ProdJournalTrans and ProdRouteTrans tables.

I haven't work with Maps so I wonder if you guys can tell me if if possible to modify and how, without it messing it :)

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    Is your question about Dynamics AX (2012) or D365FO?

    In AX2012 you can just add them by customizing the map.

    In D365FO you can't add custom fields to an AOT map.

    But in your code where you handle the map, you can instead fetch the actual underlying table (find it by mapBuffer.TableId and mapBuffer.RecId), and access your custom fields this way.

  • CBNestor Profile Picture
    46 on at

    HI Nikolaos,

    My mistake the question is for AX 2012.

    is a way to do somthing like this (jmgStampTransMap.RecId).AKS_CostCategoryId ? or you saying by making a Select over those given value so a have the table row to work with

  • Verified answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    In the map definition in AOT you can add your custom field, and map it with the data source table(s) of the map. Once that's done, you can access it as jmgStampTransMap.AKS_CostCategoryId.

  • CBNestor Profile Picture
    46 on at

    Done Nikolaos, Thanks. Added the field and mapped.

    I still want to know about this buffeTable.TableId could you develop a little bit how would be if the field is not custom added to the map?

    thanks a lot for your help!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 616

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 460 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 331 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans