This is a tale of two BPMs…. One on sales order, the other on quote. They do exactly the same thing: verify the type of customer (UD field) , verify the type of part (classID) and throw an error if the customer is not authorized for the part.
Post-processing directive works just fine on SalesOrder.ChangePartNumMaster.
The directive for the quote does not work. I have stepped through it (with messages at each step) and determined that it is not evaluating the classID.
So, starting at the most basic level, I tried to get a message box to display the part number from the line. That’s it. Still nothing.
Is it possible that the dataset just doesn’t have that information filled in (can’t imagine why)?
A lot of times there is a parameter passed in addition to the dataset that contains the data that’s changing. Is there a PartNum parameter? Perhaps that has the part number in it.