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 :
Microsoft Dynamics AX (Archived)

Project Invoice Proposal not Showing Item Id and Item Name after posting to Project Invoice

(0) ShareShare
ReportReport
Posted on by 1,883

Hello Experts - I have customized  PSAProjInvoice report with two new fields ItemID and ItemName. ProjInvoiceProposal contains all the data like Item number(Item Id), Description(Item Name). PSAProjInvoice report is populating this two fields before posting to Project Invoice, but once I posted to Project Invoice this two fields data completely disappears. Could any one tell me how to resolve my issue!!!

Thanks

Faqru Shaik

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,064 Super User 2025 Season 2 on at

    Hi Faqru,

    Can you provide how you did include these two fields in the invoice data provider? Probably you have used the wrong source to get the information.

  • Verified answer
    Faqruddin Profile Picture
    1,883 on at

    Hi Andre - Thanks for your reply. I resolved above issue, my mistake is First I develop  the code in  insertProformaPSAProjInvoiceTmp(). In this method before posting to Project Invoices everything is perfect but once its posted to Project Invoices the Customized fields not populated the data. For that I refer to insertPSAProjInvoiceTmp() method and added my below code.

    private void insertPSAProjInvoiceTmp(Common _cursor, char _lineSign = '')
    {
    if (_cursor.TableId == tableNum(ProjInvoiceItem))
        {
      tmpPSAProjInvoice.ItemId         =  projInvoiceItem.ItemId;
      tmpPSAProjInvoice.Txt            =  InventItemGroup::find(InventItemGroupItem::findByItemIdLegalEntity(projInvoiceItem.ItemId).ItemGroupId).Name;
      tmpPSAProjInvoice.ProductName    =  InventTable::find(projInvoiceItem.ItemId).NameAlias;
    }
    }
    private void insertProformaPSAProjInvoiceTmp(Common _cursor, char _lineSign = '')
    {
     if (_cursor.TableId == tableNum(ProjInvoiceItem))
        { tmpPSAProjInvoice.ItemId = projProposalItem.ItemId; tmpPSAProjInvoice.Txt = InventItemGroup::find(InventItemGroupItem::findByItemIdLegalEntity(projProposalItem.ItemId).ItemGroupId).Name; tmpPSAProjInvoice.ProductName = InventTable::find(projProposalItem.ItemId).NameAlias; }

    }

  • André Arnaud de Calavon Profile Picture
    301,064 Super User 2025 Season 2 on at

    Thanks for the feedback. I was already thinking you missed the part about proforma and the final invoice.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans