Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Help with VS Tools development

Posted on by 15

Hello, 

I am working on a Payroll batch entry window to add a custom process that updates Batch Number on the transactions from current batch based on some criteria. 

As part of my logic, I need to be able to set range on UprTrxBatchDetailTable (UPR10302)  by Batch Number field. However there is no Key available with Batch Number field. How can I achieve this? How can I add a secondary key on UPR10302 table, that can be available in my VS Tools project? 

Appreciate any help or guidance on this. New to VS Tools. Hence not sure how to go around this. 

Thanks in advance. 

Vidya

Categories:
  • Suggested answer
    VidyaG Profile Picture
    VidyaG 15 on at
    RE: Help with VS Tools development

    David,

    Thank you. Now I see it.

    I got misleaded by table keys in SQL :).

    Regards,

    Vidya

  • Verified answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,928 Most Valuable Professional on at
    RE: Help with VS Tools development

    The UPR_TRX_Batch_Detail (UPR10302) table has Batch Number as its second key.

    Just clear the Computer TRX Number field for start of the range and fill it for the end of the range.

    Regards

    David

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans