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, ...
Answered

Invoiced SO Delete but records appearing in Report

(0) ShareShare
ReportReport
Posted on by 534

Hello Experts,

I m facing an issue,,, i m working on PowerBI for dashboards... i accidently found that an invoiced SO can be deleted, and its lines record also not found in data entities tables.

but wonder that its record showing in customer transactions and also in customer reports. can anybody help me that from which table report is getting data...even its not in tables...i know it should appear in customer transactions but i want to know the table name... 

thanks in advance.

Regards

I have the same question (0)
  • Suggested answer
    Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,625 Super User 2025 Season 2 on at

    If you're looking for customer invoice data, that will be in the CustTrans table.

  • YasirShahzad Profile Picture
    534 on at

    hy frank,

    thanks for your response, its mean reports are generation source is custtrans table not SO line table..

    pls correct me if i am wrong

    Regards

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,625 Super User 2025 Season 2 on at

    If you're looking for invoice transactions, then yes, it's CustTrans.  If you need SO line data, that's in the SalesLine table. SO header details are in the SalesTable.

  • Verified answer
    Alireza Eshaghzadeh Profile Picture
    14,686 Super User 2025 Season 2 on at

    Hi Yasir,

    Customer invoices can be found on following tables:

    -Customer Invoice Journal : CustInvoiceJour table

    -Customer transactions: CustTrans table

  • YasirShahzad Profile Picture
    534 on at

    Hi Alireza,

    i got your point, but understand what i want to say... invoiced data deleted from front end and also removed from table...will it make any impact anywhere??

    thanks in advance.

    Regards

  • Mariano Gracia Profile Picture
    on at

    I think you are misunderstanding concepts, invoice data cannot be deleted, Alireza has told you were is the data stored, sales orders are not part of invoice data, are just sales orders and can be deleted once invoiced, may the problem is in your BI model, you should ask the person who has designed it, because if he has designed a powerBI model using sales order as the source of data for invoice then you have a problem. Take notice that there is a parameter that prevents sales order to be deleted once invoiced:

    8715.Captura.JPG

  • YasirShahzad Profile Picture
    534 on at

    Hello Mariano Gracia

    thanks for your response, really appreciate your comment... i got your point... just tell me that as per my understanding reports are generating from custtrans table not from sales order lines data...i m right? Also tell me that deleting of invoiced sales order has any financial impact?

    Regards

  • Verified answer
    Mariano Gracia Profile Picture
    on at

    Deleting sales orders has no financial impact, regarding your BI model, as Alireza has said, CustInvoiceJour contains data from the invoice header, CustInvoiceTrans contains data from invoice lines, CustTrans contains data from the customer transaction (debt information)

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
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 384 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans