Hi All,
I need suggestions.
I am working on Ax 2009. My requirement is:
I have 3 new fields in purchparmline when we do purchase order and post GRN(PurchEditLines form), these 3 fields to be inserted in Inventtrans
and when we post Invoice these 3 fields to be inserted into AssetTrans.
Please help me where to write the code for insertion.
Thanks in Advance
Place a breakpoint at the Insert() /Update() method of the table based on the action and find the appropriate place.
kranthi
3
I wouldn’t recommend adding new fields to inventTrans unless you have a good reason for that.
Hi,
I tried it, din’t get any clue.
how the insert\update is done for inventTrans when doing PO invice please suggest, any method
and also for inventTrans when PO GRN.
kranthi
5
InventUpd* classes are responsible for updating the inventTrans.
inventMov* classes behaves as the data carriers
You need to debug a little closer to understand the flow.
ok thank you,
how about assettrans.
I tried hard, but not able to find.
kranthi
7
This class will do that, \Classes\AssetPost
Look at \Classes\AssetPost\initFromInventMovement