Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 1,879

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans