Hello,
I have inserted charges values (markUpTrans.values) for sales order '000711' (custInvoiceJour.SalesId) and want to retrieve this value.
I have then linked these two tables in my x++ code as below:
select markupTrans where markupTrans.TransRecId == custInvoiceJour.RecId;
(In the relations for MarkUpTrans there is also " markupTrans.TransTableId == custInvoiceJour.TableId; " but I can't find any field named tableId in custInvoiceJour so I used on TransRecId to link the tables.)
However, I am not obtaining the right value and when I checked in sql it is returning the markuptrans.value for salesOrder '000014' which means that this relation is not working. How do I link these tables?
And also, is there any way to link MarkUpTable to custInvoiceJour?
*This post is locked for comments
I have the same question (0)