Skip to main content

Notifications

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

  • Jana Glaser-MacDonald Profile Picture
    on at
    Re: How can I purge legacy projects?

    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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

#1
Community Member Profile Picture

Community Member 136

#2
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 102 Super User 2025 Season 1

#3
REUser Profile Picture

REUser 8

Featured topics

Product updates

Dynamics 365 release plans