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 SL (Archived)

How can I purge legacy projects?

(0) ShareShare
ReportReport
Posted on by 207

I want to purge several old projects but when I run analysis I get message the projects contain record(s) in the invoice detail table (PJINVDET) with a selected or unbilled status.  These projects were started in legacy system with summary information imported into DSL.  Checking the detail shows offsetting entries resulting in -0- balance.  Can I change the entry values to -0- through SQL?  If so, what other tables would I need to adjust?

DSL version 7, SQL 2009 R2.

Jeanne Fischer

 

*This post is locked for comments

I have the same question (0)
  • Jana Glaser-MacDonald Profile Picture
    on at

    Dear Jeanne,

    You can update the Pjinvdet.Bill_status field to B (indicating that the item has been billed.

    You can update the Pjinvhdr.inv_status field to PO

    the where clause on the sql statement should include the draft_num of the invoice in question.

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 SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans