# Question: getting the next HeadNum value for Cash Receipts?

**URL:** <https://www.epiusers.help/t/question-getting-the-next-headnum-value-for-cash-receipts/50218>\
**Category:** Epicor ERP 10\
**Tags:** dmt, customization, csharp, e10\
**Created:** [November 30, 2018, 6:16pm UTC](https://www.epiusers.help/t/question-getting-the-next-headnum-value-for-cash-receipts/50218 "2018-11-30T18:16:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JMyers56](https://www.epiusers.help/letter_avatar_proxy/v4/letter/j/ec9cab/32.png) [@JMyers56](https://www.epiusers.help/u/JMyers56)\
**Post date:** [November 30, 2018, 6:16pm UTC](https://www.epiusers.help/t/question-getting-the-next-headnum-value-for-cash-receipts/50218/1 "2018-11-30T18:16:50Z")

</div>

I’m trying to convert a program we have for E9 to a C# program in E10.2.200 that creates files for DMT to load a Cash Receipts batch. The current program uses the CURRENT-VALUE(CashHeadSeq) from Progress to get the last Cash Receipt HeadNum value, however I can’t find an equivalent method to do the same thing in E10. Has anyone found a solution for this issue? Any help is greatly appreciated!
