Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Updating BatchID on payables batch entry screen using code

Posted on by 75,730

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:
  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 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.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,928 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
    Richard Wheeler 75,730 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?

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,928 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

  • Suggested answer
    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

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans