Hi,
This seems like a fairly straight forward request.
On the new RSS LPL action form there is a vendor field on the RequisitionLine business class with the parameter name of PrmLineVendor. Our end users would like to see the Vendor Name associated with this Vendor ID which is numeric 9. I would think this should be "out of the box" functionality since a vendor id isn't very helpful to the end users who associate by the more recognizable vendor name - enhancement request forthcoming here.
In any event, I need to establish a custom relationship to the vendor business class in order to try and grab this vendor name value. Relationship below.
When I try and replace "related.Vendor = Vendor" with "related.Vendor = PrmLineVendor" I get the error message "invalid field". Vendor alone compiles successfully. The code below compiles fine with no errors, but I am worried I am not passing the correct parameter for the field mapping since the field I want to pass is PrmLineVendor which is on the form.
How can I pass this parameter value on the form to this relationship to get the correct Vendor Name I need from the Vendor business class? In addition, I have created an action override and placed my custom field (GCSHVendorName) on this form right next to vendor id. Eventually, I will need to populate that vendor name field via LPL. Not sure how that would look. Thoughts? I really appreciate your thoughts and expertise here.
PrmLineVendor
when value changed
GCSHVendorName= DerivedVendorIDNameTranslation or ???????????????????????????
Thanks.
Jeff
GCSHReqLine
one-to-one relation to Vendor
Field Mapping uses symbolic key
related.VendorGroup = "GCSH"
related.Vendor = Vendor