I have my table with field "EntryType" of Option datatype with options new, renewal &cancellation I want to add this particular option for specific entryNo to the code of "reason code"
table(231)
For Example for entry 001, EntryType is "New" then I want to add this to code of "Reason code" Table similar for different entries I tried some code but it doesnt working
Hi, Maybe it's an Enum value issue?
Hope the following will help.
https://www.kauffmann.nl/2020/07/16/converting-enum-values-in-al/
Thanks.
ZHU
Hi,
I have run your code and it seems working. in my test i used Item ledger entry -> entry Type column and value is inserting into Reason code.
and below is a result after execute a code.
May i know how you are calling procedure reason code? better to enable debugger and check execution flow.
Regards,
Alok Kulshreshtha
Please Verify my answer if you find my post helpful.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,900 Super User 2024 Season 2
Martin Dráb 229,275 Most Valuable Professional
nmaenpaa 101,156