Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Confirmation to packing slip fields flow

Posted on by 2,420

Good morning,

As i am trying to flow fields from sales table to till invoice.

As i have added two fields on salestable and 2 more fields on salesline.

I added two fields to salesparmtable and salesparmline.

From salestable to salesparmtable i flowed properly and from salesparmtable to custconfirmjour flowed properly.

But then packing slip i must initialize salesparmtable from custconfirmjour data.

In ax2012 r3 we can write method in Salesformletterparmdata.CreateParmTable().

But in new version what can i do ?

1.Should i use chain of command ?

2.Should i copy event handler for Createparmtable and initialize values from custconfirmjournal.

Please provide some light on this.

Please provide some code example

Regards.

Have a great day.

*This post is locked for comments

  • AX 2012 r3 Profile Picture
    AX 2012 r3 2,420 on at
    RE: Confirmation to packing slip fields flow

    Hi Ievgen,

    Thanks for your reply.

    I got stuck here .Please check this link

    community.dynamics.com/.../836179

    If this is resolved then i can do this confirm to packing.

    Please provide some help on this.

    Regards.

    Have a great day.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Confirmation to packing slip fields flow

    Hi,

    Use chain of command. It is a much easier approach to add pre and post functionality to extensible methods.

    Please refer to the following link for examples:

    community.dynamics.com/.../ax7-d365-chain-of-command-with-example

  • Suggested answer
    Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: Confirmation to packing slip fields flow

    Hi AX 2012 r3,

    createParmTable is protected method, so you can use Chain of Command to initialize a field you want. If you need an example of CoC usage you can find it in documentation docs.microsoft.com/.../method-wrapping-coc

  • AX 2012 r3 Profile Picture
    AX 2012 r3 2,420 on at
    RE: Confirmation to packing slip fields flow

    Experts please help on this.

  • AX 2012 r3 Profile Picture
    AX 2012 r3 2,420 on at
    RE: Confirmation to packing slip fields flow

    Experts please reply.

  • AX 2012 r3 Profile Picture
    AX 2012 r3 2,420 on at
    RE: Confirmation to packing slip fields flow

    Experts please reply

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans