web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Updating BatchID on payables batch entry screen using code

(0) ShareShare
ReportReport
Posted on by 75,854 Moderator

I am creating a C# application that will build a batch of manual checks. These batches will be prefixed with 'APMC-' and then today's date.

I have added a menu option so I only want this change to happen when this menu option is chosen.

When I try to update PmBatchEntryWindow.BatchID on the Payables Batch Entry Window it tells me field is read-only.

Is there any way around this?

Categories:
  • Suggested answer
    Derek Albaugh Profile Picture
    Microsoft Employee on at

    I looked but didn't find much as to why the Batch ID field would be showing as read-only, when by default it's an editable field in the window.

    Hopefully others in the Community will have run into something similar that may be able to shed light on what the cause may be....

    Thanks

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,157 Most Valuable Professional on at

    While the prompt is Batch ID, the actual field is Batch Number.

    Richard, time for you to learn some Dexterity techniques or at least use GP Power Tools to prototype your C# code using the .Net Execute window as this will ensure you get the correct field names. 

    David

  • Richard Wheeler Profile Picture
    75,854 Moderator on at

    I am open to suggestions in learning Dexterity. Are there any training videos?

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,157 Most Valuable Professional on at

    Hi Richard

    You missed the training at this year's Summit.

    You can try Self Study, but this is not as good as classroom training. Experience has also shown that remote training via screen sharing is also not as good as classroom training.

    The materials are available from 

    https://winthropdc.wordpress.com/training/

    This article will also help 

    https://winthropdc.wordpress.com/2008/08/10/dex-how-to-get-started-with-dexterity/

    More links 

    https://winthropdc.wordpress.com/dexterity/

    Regards

    David 

  • Richard Wheeler Profile Picture
    75,854 Moderator on at

    David, if only there were more hours in a day perhaps I could take a week off for training. Thanks for the links.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 528 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 424 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 374

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans