I am migrating a Client UI customization to a Server side BPM. This customization adds a operation to a Quote using QuoteAsm BO. I am making what appear to be identical calls in the BPM and the UI customization (thru the Adapter though) but in the BPM it is throwing the following message
Cannot manually update the Production Labor Rate in QuoteOpr.
Cannot manually update the Production Burden Rate in QuoteOpr.
Cannot manually update the Setup Labor Rate in QuoteOpr.
Cannot manually update the Setup Burden Rate in QuoteOpr.
But not in the UI.
Here is the code segment from the BPM, OpCode is set earlie, _tsQuoteAsm is the Tableset and Opr is a newly added row to the Tableset.
If you can’t catch it it’s already being caught and handled so maybe event viewer on the server? Hopefully they don’t have an empty catch somewhere (though it does happen…)
I thought of that and that might be the way around this, but I’d prefer to go thru the BO. Its frustrating that clearly the adapter has some way of preventing the the exception or catching it so it doesn’t throw the message and abort the update.
This is part of a customization to Quote Entry - sort of a mini-configurator. It works well as a UI customization but it is way too slow. So I am moving it to the server side using a Quote.Update BPM. The code has been migrated and adjusted to the BPM requirements and it is working really well except for this situation.
Got it. So this is a BPM, but the code snippet you sent does not appear to be the full code. This means we can’t help you understand what is causing the error (or suggest simpler code).