I make one field with name : Description. I want to get information from table EcoResProductTranslation with field Description and insert this information in InventValueReport(InventValueReportTmpLine).
After this I mean , i must go to InventValueReportPopulateItem , but I don’t know how to implement code ther first to join tables and after this to insert information in field.
\Classes\InventValueReportPopulateResource\findReportLine-> this is where the itemId value is assigned. Try having your code here.
tmpReportLine.Description = _inventTable.defaultProductDescription();
Look at the _inventTable record values. Are you getting a value for inventTable.product field.
If not, use find method. InventTable::find(_inventTable.ItemId).defaultProductDescription();