I have a table Purchase Header with Enum field Invoice category with number of options.Now,I need that when i select one option here ,the selected option should be displayed on another page posted invoices.How can i achieve this?I am using this code after pageextension where i want to display but it is not working.
If my previous reply to your other question worked, you can verify it there if you want.
your previous reply worked
When you say documents are "Invoice" type, not sure if you are referring to the system's fields or your custom fields.
If you are referring to your custom field, I think same field Id trick won't work here.. so you need to use one of the events when posting the purchase order to modify the values in vendor ledger entries,
You have to write code to pass the data from Purchase Header to Vendor Ledger Entry table.
Ex: community.dynamics.com/.../flow-data-purchase-header-to-detailed-vendor-ledger-entry
hello,when i tried the same thing on vendor ledger entry table to get data with same field no. it is not showing any data.In that table only few documents are of Incvoice type where are in purchase header and posted purchase header all were of invoice,does this has something to do with the probelm of data not showing on vendor ledger entry table
yes its working now.Thanks
Hi Pragya752,
You can try selecting the ID 50000 range for your invoice category field, as suggested by Nitin Verma. I tested this solution and it worked on my end.
Please look at the screenshots below
Here is the screenshot of the Purchase Order with the Invoice category field before posting
Posted Purchase Invoice page
Regards
yes i think the issue was with field id only
Also are you able to define Field id 231 In purchase table?
I am not sure it will allow you to do that, can you define with custom range started from 50000..99999
Thanks
Have you posted any invoice after selecting this value on Purch. Header table?
Thanks
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... 291,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156