AX 2012 Transfer Order Post Receipt Action

Latest Axapta / Dynamics AX FAQ Pages

Get our Free Newletter

Don't you have the time to be online here at DUG every day? So how do you follow what is going on in the Dynamics industry and community?
If you subscribe to the DUG Newsletter then you can relax! We will make sure that you don't miss the big news!

Check out our
Newsletter Subscription Center
page a complete list of our different newsletters.

Solution (Verified) This post has 1 verified solution | 3 Replies | 1 Follower

Male
148 Posts
3,342 Points
Joined: 2012-2-21
Last Online:
2014-10-17 18:33
Location: Portland, USA
Silvano DiVirgillio posted on 2012-12-20 20:56

Hello,

I would like to add a custom action to fire off upon the successful update of a transfer order line to received.  I see it uses several classes, including InventTransferUpdReceive ( which inherits InventTransferUpd ).

Where would you suggest is the best place to inject a process, which we would only want to perform when an update completes successfully?

~S

 

Solution (Verified) Verified Solution

Male
3,233 Posts
78,504 Points
Joined: 2007-11-12
Last Online:
2014-10-8 18:31
Location: Hyderabad - India
DynamicsAXMVP
Solution (Verified) Kranthi replied on 2012-12-21 7:51
Verified by Silvano DiVirgillio

Place your code in \Classes\InventTransferUpdReceive\updateInventTransferTable, after updating the inventtransferTable

 

 

Kranthi

All Replies

Male
3,233 Posts
78,504 Points
Joined: 2007-11-12
Last Online:
2014-10-8 18:31
Location: Hyderabad - India
DynamicsAXMVP
Solution (Verified) Kranthi replied on 2012-12-21 7:51
Verified by Silvano DiVirgillio

Place your code in \Classes\InventTransferUpdReceive\updateInventTransferTable, after updating the inventtransferTable

 

 

Kranthi

Male
148 Posts
3,342 Points
Joined: 2012-2-21
Last Online:
2014-10-17 18:33
Location: Portland, USA

Kranthi,

Thank you, did you mean the updateInventTransferLine method?  

I believe this is called before the TransferOrderTable is updated as the line status must first be updated and if all items are received, then the order header status is set to received.

I believe the updateInventTransferLine will be a good candidate.

Male
34 Posts
255 Points
Joined: 2010-7-8
Last Online:
2014-10-21 15:53
Location: Mumbai, INDIA
Muneeb replied on 2014-9-6 6:56

Hi Silvano,

 

Even I am struggling to post[Receive] my already shipped Transfer Order via AIF. Can you please let me know what code have you added in order to achieve this? Moreover, I am assuming you must have used the out of box posting service provided by AX i.e "InventTransferOrderPostingService". Please correct me if I am wrong.

 

Can you please share the details on how you achieved the above posting via AIF.

 

Would appreciate for your help.

 

Regards,

Muneeb

Page 1 of 1 (4 items) | Get this RSS feed | Bookmark and Share