We are trying to add a customer drop down box in RQ10 to link the customer to the req. What are the steps ? I looked at BL120D for the field and BL.SR for the definition and select, but I'm not sure how to proceed. Any help would be appreciated. Thanks
You really have three parts to this customization:
Items 1 & 2 are fairly common tasks that can be accomplished with Design Studio. It's item 3 that is the tough one. Likely, you will incur future technical debt (read: upgrade pain) if you modify the base RQRQH/REQHEADER table. You should consider storing it in a user field or what I call a "shadow table".
Of course, if you're using OE/BL, you might be able to relate back from the requisition to the OE tables via the WHDEMAND records.
We have a modification library on our iSeries that we copy lawson screens and programs to for modification. The code pieces are in RPGLE. We are using a user field in the req header file to hold the customer number. I want to change the user field to a drop down and the key number field in the scrn to point to the AR customer field. I think this requires changing the RQ.SR and doing a srgen. Does any of this sound familiar to anyone ???