
Hi when adding a line from Copy Line in Purchase requisition, I want to replace/update the financial dimension in all the selected lines based on the Department and Division supplied while creating a new Purchase requisition. How to do this customization ?
*This post is locked for comments
I have the same question (0)Hi Tushar,
You need to modify PurchCopying_PurchReq.copyLine() method.
You have header there so you need to copy dimension values from header to line.
Please refer to this blog post, there is some code that will give you idea how to set individual values of defaultDimension stoneridgesoftware.com/setting-financial-dimension-values-in-ax-2012