Hii,
I have a requirement to show customer invoice createdBy id and name on CustInvoice report.
I added two new fields in CustInvoiceTmp table of string type.
I wrote following code in CustInvoiceDP -> insertCustInvoiceTmp() method and before insert.
custInvoiceTmp.Invoice_CreatedBy_Id = custInvoiceJour.createdBy;
select name from userInfo where userInfo.id == custInvoiceJour.createdBy;
custInvoiceTmp.Invoice_CreatedBy_Name = userInfo.name;
Nothing is saving in Invoice_CreatedBy_Id and Invoice_CreatedBy_Name new fields in custInvoiceTmp table.
If saving some static values then is saves.
Restarted AOS, full compile but nothing work.
Please guide is this correct way to get createdBy id and name.
Thanks,
*This post is locked for comments
I have the same question (0)