Hi
I try to add customer reference in customer statement report
Using the following code :
class CustAccountStatmentExtHelper
{
/// <summary>
///
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
[DataEventHandler(tableStr(CustAccountStatementExtTmp), DataEventType::Inserting)]
public static void CustAccountStatementExtTmp_onInserting(Common sender, DataEventArgs e)
{
CustAccountStatementExtTmp CustAccountStatementExtTmp;
CustAccountStatementExtTmp=sender;
CustAccountStatementExtTmp.CustRef_ANS = SalesTable::find(CustInvoiceJour::findFromCustTrans(custAccountStatementExtTmp.CustTrans_Invoice,custAccountStatementExtTmp.CustTrans_TransDate,custAccountStatementExtTmp.AccountNum).SalesId).CustomerRef;
}
}
but not showing me any Value after deployment ..
Is there another way to write code?