I am trying to create a post-processing BPM for Quote using GetCustomerInfo method so that when a Customer is selected the “ShipVia”, “Terms”, “Disc %”, “Territory” and “Primary Salesperson” fields get automatically populated.
The first four fields get populated as intended but the “Primary Salesperson” field default to “Sales” when what I am trying to accomplish is to get the Name of the Salesperson associated with a given customer. Here is the BPM:
I think that’s exactly why. Looking at the db table, there is no Sales Rep field at all. There is in the associated QSalesRP table, which is linked on Company and QuoteNum. Looks like it is accessible from the same method, though, so you can set it like this: