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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Add a new field in Arrival Overview form D365Fo X++

(0) ShareShare
ReportReport
Posted on by 152

Hello all,

I have a task where i need to add the InventColorid field on Arrival Overview form. The path of this form is : Inventory management\Inbound orders\ Arrival overview

The field InventColorId should be related to the order, so if this order has InventcolorId = 001 , even on the lines of Arrival Overview should be the same. How can i add that? should i follow the same logic as InventSiteid or warehouse? Can someone show me how please?

arrival-overview.png

I have the same question (0)
  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    I took a quick look, but it seems unlikely to add InvenColor.

    Of course it is possible if you follow InventSiteId, but many places has grouping codes. Since you cannot add in the middle of the code, you will need to write methods that override a lot of code.(almost all  tmp tables's fill/update codes and other calculated values)

    This is both a problem for possible future microsoft updates and will not be as healthy as you want.

  • PaulaRystemi6 Profile Picture
    152 on at

    can it be added as a simple Edit method ?

  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    Edit method needs to be fed from tmp otherwise it won't make sense.

    While the Tmp is filling, you must also fill in the InventColorId. At the same time, many unbound fields are calculated with InventSite and InventLocation groups. You need to add the InventColorId value to those sections.

  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    To fill in tmp tables, you need to look at the form, the tables themselves, and the WmsArrivalOverviewGeneration class.

    I think there is a structure that creates a journal behind it. If the new field will be written in the journal in the continuation of the development (which you should not do if you do not have such a purpose), you should also consider the WmsArrivalCreateJournal class.

  • André Arnaud de Calavon Profile Picture
    301,158 Super User 2025 Season 2 on at

    Hi Paula,

    Looking at this question and replies provided, I can share some additional thoughts. There are various methods inserting the temporary data where you can't hook in directly.

    A display method is possible, but I have no experience myself with adding a display method as part of an extension.

    If you want to have a physical field, then you have to add additional information after the data collection from standard coding by looping the created records and search for the correct color.

    You can find the InventColorId by using the InventTransID value on the lines. Using this identification field, you can find the inventory transaction which has a value in the InventDim field. Using this value, you can find the InventDim record containing the value for InventColorID.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans