Skip to main content

Notifications

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,234

Hi Experts,

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

6646.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

4807.SalesQuotationLine.jpg

Please help me.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,241 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,982 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans