Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

Changing Project Controller Status to "Inactive" using Transaction Import

Posted on by 420

Hi Folks - I'm looking to flag a good number of projects across multiple databases as "Inactive," but am wondering if there is a better way to do so than manually? Is this something I could use Transaction Import for, or might there be another method?

I'm on SL V7.

Many thanks,

Justin Fishwick

*This post is locked for comments

  • JustinOP Profile Picture
    JustinOP 420 on at
    RE: Changing Project Controller Status to "Inactive" using Transaction Import

    Never mind, I commented out the other fields from the macro and it seems to work. Thanks!

  • JustinOP Profile Picture
    JustinOP 420 on at
    RE: Changing Project Controller Status to "Inactive" using Transaction Import

    Hi Perumalsamy,

    I seem to run into a lot of errors on the TI import attempt, is there a sample you can give of what the code might look like if I just want to update the given field of Set Status_pa in the TI file?

    Many thanks,

    Justin

  • JustinOP Profile Picture
    JustinOP 420 on at
    RE: Changing Project Controller Status to "Inactive" using Transaction Import

    Ahh - thank you! This is just the lead I needed. I know to get the triggers to run correctly TI would work best. I'm going to give this a try and report back in the next week or so.

    Thanks again, Perumalsamy!

  • Suggested answer
    Ram Peru Profile Picture
    Ram Peru 2,830 on at
    RE: Changing Project Controller Status to "Inactive" using Transaction Import

    Hello Justin,

    You can use Transaction Import to update the status flag of Project Maintenance screen.You need to prepare  data file with comma separated format(csv) and generate the control file of Project Maintenance screen using the Control macro Generator screen from Administrator Module.

    The data file should start with "Level0,Update"

    You can import the data using the Transaction Import screen.

    You can also use below Query to update the flag of Project maintenance Screen

    Update PJProj Set Status_pa ='I' where Project in ('Project Id which need to change as Inactive')

    Hope this help.

    Thanks,

    Perumalsamy R

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Changing Project Controller Status to "Inactive" using Transaction Import

    You could update the pjproj records with a SQL command.

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans