I am not sure what you mean by the field is created with a domain. But in 4c4 I can modify a standard report, add a script to it(or edit the current script), and a before.layout section for like detail.1. Then in the before.layout I can go look up or build any information I want in that section.
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.
systems provided free by Baan Board
Play the Google game and help Baanboard get better rankings. Do your part. Click here
to find how.