Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

"You cannot modify this Cost Category ID" when selecting a cost catagory from the find window in the PA Project Budget window.

(0) ShareShare
ReportReport
Posted on by 447

I am trying to create a macro in GP2013 SP1 for deleting cost catagories from the PA Project Budget window.  When I point to the cost catagory in the Project Budget window to delete, the macro records a 3 field key - Project ID, Seq no., cost catagory - instead of just the cost catagory.  It looks like this:

# Key 2: '1000040', '4', 'PROFACSCREDCARD'

I want to mail merge a large file with just the Project ID and cost catagory so I want to create a macro that just looks at the cost catagory.  I tried using the Find window but when I finf the cost catagory and select it, I get a warning:

17:20:04  'Lookup_Window_Name Select Button_CHG on form PA_Cost_Category_Lookup1'

17:20:04  'PA_Budget_Maintenance_Scroll2 PA Cost Category ID_CHG on form PA_Budget_Maintenance'

17:20:04  'PA_Warning_Dialog', "You cannot modify this Cost Category ID."

If I click past the warning I am able to use Edit > Delete Row to delete the cost catagory so I do not understand what is causing the warning.  A Dex SQL Log does not show anything meaningful.

Is there any way around this warning or is there a way for me to isolate the cost catagory in this macro so I can run a mail merge?  Thanks for your feedback.

*This post is locked for comments

  • soma Profile Picture
    24,410 on at
    RE: "You cannot modify this Cost Category ID" when selecting a cost catagory from the find window in the PA Project Budget window.

    Are you able to manually delete the cost category id without warning?

  • Heather Roggeveen Profile Picture
    9,146 on at
    RE: "You cannot modify this Cost Category ID" when selecting a cost catagory from the find window in the PA Project Budget window.

    Hi

    Is the sequence number related to the Cost Category?  I.e. every time PROFACSCREDCARD cost category is used, it is sequence number 4?  If so, you could add the sequence number into the macro to merge.

    Otherwise I am not able to help in this area - done lots of mail merge macros, but not in projects.

    Cheers

    Heather

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 >

Featured topics

Product updates

Dynamics 365 release plans