AX 2012 Transfer Order Post Receipt Action

Solution (Verified) This post has 1 verified solution | 2,413 Views | 4 Replies | 1 Follower

Male
148 Posts
3,250 Points
Joined: 2012-2-21
Last Online:
2015-7-24 16:45
Location: Portland, USA
Silvano DiVirgillio posted on 2012-12-20 20:56 rated by 0 users

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,926 Posts
75,170 Points
Joined: 2007-11-12
Last Online:
2016-2-4 14:42
Location: Hyderabad - India
DynamicsMVP

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

No Pain, No Gain

  • | Post Points: 106

All Replies

Male
3,926 Posts
75,170 Points
Joined: 2007-11-12
Last Online:
2016-2-4 14:42
Location: Hyderabad - India
DynamicsMVP

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

No Pain, No Gain

  • | Post Points: 106
Male
148 Posts
3,250 Points
Joined: 2012-2-21
Last Online:
2015-7-24 16:45
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.

  • | Post Points: 6
Male
72 Posts
524 Points
Joined: 2010-7-8
Last Online:
2016-1-29 8:21
Location: Mumbai, INDIA

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

  • | Post Points: 5
Male
72 Posts
524 Points
Joined: 2010-7-8
Last Online:
2016-1-29 8:21
Location: Mumbai, INDIA

Hi Silvano,

 

Are you through with this  Transfer Order Posting[Receive] issue?

 

Regards,

Muneeb

  • | Post Points: 5
Page 1 of 1 (5 items) | Get this RSS feed