web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

How to add SalesQuotationLine.Name field to Project Quotation Report.

(0) ShareShare
ReportReport
Posted on by 2,382

Hi Experts,

I am trying to add SalesQuotationLine.Name field to Project Quotation Report. But not appearing.

0020.ProjQuotation.jpg

I have updated the method in DP.

[SysEntryPointAttribute(false)]
public void processReport()
{
    QuotationIdBase         m_eQuotation;
    QueryRun                tradeLoopTrans;

    m_tPSAQuotationsTmp.setConnection(this.parmUserConnection());

    contract    = this.parmDataContract() as PSAQuotationsContract;
    m_eQuotation = contract.parmQuotations();
    m_bPrintNonCharge = contract.parmM_bPrintNonCharge();
    salesQuotationTable  =  SalesQuotationTable::find(m_eQuotation);
   
    salesQuotationTotals =  SalesQuotationTotals::construct(salesQuotationTable);
    salesQuotationTotals.calc();
    tax = salesQuotationTotals.tax();
    tmpTaxWorkTrans.setTmpData(tax.tmpTaxWorkTrans());
    
     //SFA added 28-OCT-21
    
    salesQuotationLineTmp = SalesQuotationLine::find(m_eQuotation);
    //Ended

public void insertPSAQuotationsTmp()
{
    TaxJournalTrans     taxJournalTrans;

    m_tPSAQuotationsTmp.QuotationId             = salesQuotationTable.QuotationId;
    m_tPSAQuotationsTmp.QuotationName           = salesQuotationTable.QuotationName;
    m_tPSAQuotationsTmp.DeliveryPostalAddress   = salesQuotationTable.DeliveryPostalAddress;
    m_tPSAQuotationsTmp.CurrencyCode            = salesQuotationTable.CurrencyCode;
    m_tPSAQuotationsTmp.ProjTransType           = custQuotationTransTmp.ProjTransType;
    m_tPSAQuotationsTmp.SalesQty                = custQuotationTransTmp.Qty;
    m_tPSAQuotationsTmp.ProjCategoryId          = custQuotationTransTmp.ProjCategoryId;
    m_tPSAQuotationsTmp.CustomerName            = salesQuotationTable.customerName();
    m_tPSAQuotationsTmp.ProjDescription         = custQuotationTransTmp.ProjDescription;

    //SFA added 28-OCT-21
    m_tPSAQuotationsTmp.Description = salesQuotationLineTmp.Name;
    //Ended

SalesQuotationLine Table

8715.SalesQuotationLine.jpg

Please help me.

I have the same question (0)
  • MuthukumaranAX Profile Picture
    2,903 on at

    if you are able to add the new fields but the values are not showing in the output, then restart SSRS service once and check.

    thanks

  • MuthukumaranAX Profile Picture
    2,903 on at

    if you are able to add the new fields but the values are not showing in the output, then restart SSRS service once and check.

    thanks

  • faiz7049 Profile Picture
    2,382 on at

    Hi Muthukumaran,

    Problem has been fixed after updating code

     m_tPSAQuotationsTmp.Description = custQuotationConfirmTransTmp.Name;

    instead of 

    m_tPSAQuotationsTmp.Description = salesQuotationLineTmp.Name;

    Thanks,

    Faiz

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 584 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 499 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 254 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans