Dear Sir
I Would Like to add Item Name to the order lines Report ( report name is SalesLinesExtended) that is present in AX 2012 in the model Sales and marketing under Reports - > Transactions -> Sales orders -> order Lines
I have add ItemName to the table SalesLinesExtendedTmp I Move ItemName from Extended Data Type to the SalesLinesExtendedTmp .
I have added the following statement in the Class
salesLinesExtededDP -> ClassDeclaration
EcoResProduct _ecoResProduct;
EcoResProductTranslation _ecoResProductTranslation;
InventSum _inventSum;
And I have insert those lines in to the Class InserIntoTmpTable
select * from inventTable
where inventTable.ItemId == _inventSum.ItemId;
select * from _ecoResProduct
where _ecoResProduct.RecId == inventTable.product;
select * from _ecoResProductTranslation
where _ecoResProductTranslation.Product == _ecoResProduct.RecId;
salesLinesExtendedTmp.ItemName = _ecoResProductTranslation.Name;
but when I run the report I am not getting the Name of the Item I am getting blank
any help will be appreciated
Waiting for your valuable replay
Best Regards
Jamil