web
You’re offline. This is a read only version of the page.
close
Skip to main content
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,848 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:
I have the same question (0)
  • Suggested answer
    Derek Albaugh Profile Picture
    on at
    RE: Updating BatchID on payables batch entry screen using code

    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,069 Most Valuable Professional on at
    RE: Updating BatchID on payables batch entry screen using code

    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,848 Moderator on at
    RE: Updating BatchID on payables batch entry screen using code

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

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,069 Most Valuable Professional on at
    RE: Updating BatchID on payables batch entry screen using code

    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,848 Moderator on at
    RE: Updating BatchID on payables batch entry screen using code

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 734 Super User 2025 Season 2

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 636

#3
Martin Dráb Profile Picture

Martin Dráb 553 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans