Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Header to line

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a field in header when I add data into the field It should show it in the same field in line also.This should be based on the update order line where should I write the code for this

*This post is locked for comments

  • Suggested answer
    Ajit Profile Picture
    Ajit 8,755 on at
    RE: Header to line

    In your case, you can review below and related classes -

    1. SalesPurchTableToLineParametersForm

    2. PurchTable2LineField

    3. PurchTable2LineParametersForm

    4. PurchTable2LineUpdate

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,996 Super User 2025 Season 1 on at
    RE: Header to line

    Hi code beginner,

    I wanted to verify a similar customization done in the past. That was based on an older version of Dynamics AX. So there might be changes between that version and AX 2012. You can read the next blog for understanding this part: 

    SalesTable2Line custom field update prompt on Sales order in AX 2012

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Header to line

    Yeah I have added a field on the header and line also I have added the field in param form also but I dont know how to link it with header.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Header to line

    Hi Andre

    Yeah please explain me how it is working in standard

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Header to line

    Same thing only i need

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,996 Super User 2025 Season 1 on at
    RE: Header to line

    Hi Code beginner,

    Did you add new fields on the header and lines or are you just interested how it has been achieved in the standard?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Header to line

    I have a field in the purchase order header view and same field in line view If add value  in header view It should come in the line view if that field is "always" in the parameter form

    Path: Procurement and sourcing parameters -> update -> Update order lines

  • Martin Dráb Profile Picture
    Martin Dráb 230,853 Most Valuable Professional on at
    RE: Header to line

    Can you give us more information, please? It's not clear what you're doing and what problem you have with it.

    If you want to duplicate from a header to all lines and keep it in sync all the time, what's point of doing it?

  • RE: Header to line

    You tried to use a display method

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... 291,996 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,853 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans