i have added added a custom field "remarks" in "PurchTable " system form header ""Purchase Order Header".now i want to add this field into "Purch Packing slip " report.
Can any one help me with code? i have been trying to do it through eventhandler class .if i can not do it with event handler class how can i do it?
i have replied you there as i am facing errors
Please read what I told you in your previous thread (how can i add field into a system(existing) report.?), which is about the same report.
You need to decide whether you want to store the field in the journal, or you'll always fetch the latest value from the order (which may be different than the value when the packing slip was posting).
If you want to store in the journal, you'll add a field there, initialize it from the order and then simply refer to the field in the data provider class.
If you don't, get the order from the journal (similarly to how I showed it to you for the order line) and read the field value from there.
André Arnaud de Cal...
292,074
Super User 2025 Season 1
Martin Dráb
230,900
Most Valuable Professional
nmaenpaa
101,156